My Blog https://aeyes.com/ My WordPress Blog Wed, 16 Feb 2022 05:11:11 +0000 en-US hourly 1 https://wordpress.org/?v=6.7 214450228 How to create directories in emacs https://aeyes.com/2022/02/16/21/ https://aeyes.com/2022/02/16/21/#respond Wed, 16 Feb 2022 01:45:00 +0000 https://aeyes.com/?p=21 Things I learn and use from emacs, posted here as I learn about them. Note that everything posted here is using emacs 26.3 on windows 10. First off, how to make a new directory. Reference from: https://stackoverflow.com/questions/155507/how-do-i-create-a-directory-from-within-emacs To create the directory dir/to/create, type: M-x make-directory RET dir/to/create RET To create directories dir/parent1/node and dir/parent2/node, type: ...

The post How to create directories in emacs appeared first on My Blog.

]]>

Things I learn and use from emacs, posted here as I learn about them. Note that everything posted here is using emacs 26.3 on windows 10.

First off, how to make a new directory. Reference from: https://stackoverflow.com/questions/155507/how-do-i-create-a-directory-from-within-emacs

To create the directory dir/to/create, type:

M-x make-directory RET dir/to/create RET

To create directories dir/parent1/node and dir/parent2/node, type:

M-! mkdir -p dir/parent{1,2}/node RET

It assumes that Emacs’s inferior shell is bash/zsh or other compatible shell.

To use Dired mode

Use +

C-x d *.py RET ; shows python source files in the CWD in `Dired` mode

+ test RET ; create `test` directory in the CWD

CWD stands for Current Working Directory.

Press q to get out of dired mode.

Just create a new file with non-existing parent directories using C-x C-f and then type:

M-x make-directory RET RET

All non-existent directories will be created.

The post How to create directories in emacs appeared first on My Blog.

]]>
https://aeyes.com/2022/02/16/21/feed/ 0 21
Hello, Buffer https://aeyes.com/2022/02/15/hello-buffer-2/ https://aeyes.com/2022/02/15/hello-buffer-2/#respond Tue, 15 Feb 2022 07:02:00 +0000 https://aeyes.com/?p=19 some dummy org to prove that everything work To post it, use: org2blog-buffer-post-save And to edit a page already up, just reuse the post id.

The post Hello, Buffer appeared first on My Blog.

]]>

some

dummy

org

to prove that everything work

To post it, use: org2blog-buffer-post-save

And to edit a page already up, just reuse the post id.

The post Hello, Buffer appeared first on My Blog.

]]>
https://aeyes.com/2022/02/15/hello-buffer-2/feed/ 0 19
Hello, Buffer 2 https://aeyes.com/2022/02/15/hello-buffer/ https://aeyes.com/2022/02/15/hello-buffer/#respond Tue, 15 Feb 2022 07:02:00 +0000 https://aeyes.com/?p=16 some dummy org to prove that everything work To post it, use: org2blog-buffer-post-save And to edit a page already up, just reuse the post id.

The post Hello, Buffer 2 appeared first on My Blog.

]]>

some

dummy

org

to prove that everything work

To post it, use: org2blog-buffer-post-save

And to edit a page already up, just reuse the post id.

The post Hello, Buffer 2 appeared first on My Blog.

]]>
https://aeyes.com/2022/02/15/hello-buffer/feed/ 0 16
Let’s Get Started https://aeyes.com/2022/02/15/lets-get-started/ https://aeyes.com/2022/02/15/lets-get-started/#respond Tue, 15 Feb 2022 00:44:54 +0000 https://aeyes.com/?p=8 The post Let’s Get Started appeared first on My Blog.

]]>

The post Let’s Get Started appeared first on My Blog.

]]>
https://aeyes.com/2022/02/15/lets-get-started/feed/ 0 8
Hello world! https://aeyes.com/2022/02/14/hello-world/ https://aeyes.com/2022/02/14/hello-world/#comments Mon, 14 Feb 2022 10:40:05 +0000 https://aeyes.com/?p=1 Welcome to WordPress. This is your first post. Edit or delete it, then start writing!

The post Hello world! appeared first on My Blog.

]]>

Welcome to WordPress. This is your first post. Edit or delete it, then start writing!

The post Hello world! appeared first on My Blog.

]]>
https://aeyes.com/2022/02/14/hello-world/feed/ 1 1