Move to the beginning of the file in EmacsHow do I control how Emacs makes backup files?How do I rename an open file in Emacs?Differences between Emacs and VimHow can I reload .emacs after changing it?Using gdb within Emacs breaks horizontal scrollingMeta-x doesn't work in EmacsEmacs - cursor misalignment, and disappearing textmessage display behavior changed in emacs 24Emacs Prelude, Smartparens, and OsXChange Pycharm Emacs key bindings to use different word delimiter
Why is it called a 9-8 suspension instead of 2-1 suspension?
Size Does Matter (at least referring to bottles)
What is the purpose of this circuit?
Can I "read" from English books to my infant, but use words from my native language?
:wq command not found
How can a person Insulate copper wire in a medieval world?
Selecting elements of a list based on range
Are results that are derived simply by using more computational power publishable?
What is this yellow sticky substance Mulder puts in his vodka?
On the method described by Purcell for finding the magnetic field by measuring the force on a test particle
Should a young man establish an income/house first and then marry or vice versa?
Can increasing the amount of training data make overfitting worse?
What is the communications range of a standard Starfleet combadge?
Why is the Australian ETA application fee cheaper on a 3rd party website?
Crack hashed passwords using a known password
Raised concerns about a security vulnerability to various managers, for more than a year, with no results. Should I mention it to external auditors?
Why does the media continue to hide the identity of the Trump-Ukraine whistle blower when they have already been outed?
Reducing table scans using group by and window functions
What are the benefits of the classic f-number scheme?
Why do the Rebels probe the section of the shield within the gate?
How to react to unfair reviewer comments?
What is the last point where one can throw away fruits if one has indicated "not bringing any fruit" on the US customs form when flying to the US?
Does the horse hair in a bow all go in the same direction?
How to understand quality of Google Maps transport info in advance?
Move to the beginning of the file in Emacs
How do I control how Emacs makes backup files?How do I rename an open file in Emacs?Differences between Emacs and VimHow can I reload .emacs after changing it?Using gdb within Emacs breaks horizontal scrollingMeta-x doesn't work in EmacsEmacs - cursor misalignment, and disappearing textmessage display behavior changed in emacs 24Emacs Prelude, Smartparens, and OsXChange Pycharm Emacs key bindings to use different word delimiter
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
How do I move to the beginning of the file in emacs (i.e. the effect of Ctrl+Home in windowed text editors)?
Mashing pageup does not move the cursor to the beginning (nor does Ctrl+Home
, ofc).
Here the shortcut for the desired result is described as:
M-<
:
Move to the top of the buffer (beginning-of-buffer). With numeric argument n, move to n/10 of the way from the top.
M->
:
Move to the end of the buffer (end-of-buffer).
However Meta + <
yields "No M-x tags-search or M-x tags-query-replace in progress" message.
I am typing the shortcut as Alt + Shift + ,
since to get the "<
" I have to type "Shift + ,
"
Am I doing something wrong?
Thank you.
Edit:
Turns out this is an issue only when running emacs through screen, where the keyboard shortcuts are, for some reason, misinterpreted.
For example, C-Home
gives this error message:
M-[ 1 ; 5 h (translated from M-[ 1 ; 5 H) is undefined
Any way around it?
emacs
|
show 2 more comments
How do I move to the beginning of the file in emacs (i.e. the effect of Ctrl+Home in windowed text editors)?
Mashing pageup does not move the cursor to the beginning (nor does Ctrl+Home
, ofc).
Here the shortcut for the desired result is described as:
M-<
:
Move to the top of the buffer (beginning-of-buffer). With numeric argument n, move to n/10 of the way from the top.
M->
:
Move to the end of the buffer (end-of-buffer).
However Meta + <
yields "No M-x tags-search or M-x tags-query-replace in progress" message.
I am typing the shortcut as Alt + Shift + ,
since to get the "<
" I have to type "Shift + ,
"
Am I doing something wrong?
Thank you.
Edit:
Turns out this is an issue only when running emacs through screen, where the keyboard shortcuts are, for some reason, misinterpreted.
For example, C-Home
gives this error message:
M-[ 1 ; 5 h (translated from M-[ 1 ; 5 H) is undefined
Any way around it?
emacs
Um... Google emacs keyboard shortcuts?
– Ken White
Aug 22 '17 at 23:12
I mention the relevant shortcut in the quotation, which is the standard one as I can see (e.g. same one in this emacs cheatsheet). It does not work for me though, as I explain in my post.
– npit
Aug 22 '17 at 23:38
3
Check that key sequence is bound tobeginning-of-buffer
withC-h k
followed byM-<
. You are entering it correctly
– pickle rick
Aug 22 '17 at 23:53
1
Are you using Emacs inside a terminal, or are you using the GUI version of Emacs. In case it makes a difference, you might as well mention also the operating system and version of Emacs that you are presently using.M-x emacs-version
– lawlist
Aug 22 '17 at 23:59
1
I am undeleting and updating the question.
– npit
Aug 23 '17 at 15:29
|
show 2 more comments
How do I move to the beginning of the file in emacs (i.e. the effect of Ctrl+Home in windowed text editors)?
Mashing pageup does not move the cursor to the beginning (nor does Ctrl+Home
, ofc).
Here the shortcut for the desired result is described as:
M-<
:
Move to the top of the buffer (beginning-of-buffer). With numeric argument n, move to n/10 of the way from the top.
M->
:
Move to the end of the buffer (end-of-buffer).
However Meta + <
yields "No M-x tags-search or M-x tags-query-replace in progress" message.
I am typing the shortcut as Alt + Shift + ,
since to get the "<
" I have to type "Shift + ,
"
Am I doing something wrong?
Thank you.
Edit:
Turns out this is an issue only when running emacs through screen, where the keyboard shortcuts are, for some reason, misinterpreted.
For example, C-Home
gives this error message:
M-[ 1 ; 5 h (translated from M-[ 1 ; 5 H) is undefined
Any way around it?
emacs
How do I move to the beginning of the file in emacs (i.e. the effect of Ctrl+Home in windowed text editors)?
Mashing pageup does not move the cursor to the beginning (nor does Ctrl+Home
, ofc).
Here the shortcut for the desired result is described as:
M-<
:
Move to the top of the buffer (beginning-of-buffer). With numeric argument n, move to n/10 of the way from the top.
M->
:
Move to the end of the buffer (end-of-buffer).
However Meta + <
yields "No M-x tags-search or M-x tags-query-replace in progress" message.
I am typing the shortcut as Alt + Shift + ,
since to get the "<
" I have to type "Shift + ,
"
Am I doing something wrong?
Thank you.
Edit:
Turns out this is an issue only when running emacs through screen, where the keyboard shortcuts are, for some reason, misinterpreted.
For example, C-Home
gives this error message:
M-[ 1 ; 5 h (translated from M-[ 1 ; 5 H) is undefined
Any way around it?
emacs
emacs
edited Apr 15 '18 at 17:55
Billal Begueradj
7,27414 gold badges42 silver badges68 bronze badges
7,27414 gold badges42 silver badges68 bronze badges
asked Aug 22 '17 at 23:09
npitnpit
1,0591 gold badge12 silver badges18 bronze badges
1,0591 gold badge12 silver badges18 bronze badges
Um... Google emacs keyboard shortcuts?
– Ken White
Aug 22 '17 at 23:12
I mention the relevant shortcut in the quotation, which is the standard one as I can see (e.g. same one in this emacs cheatsheet). It does not work for me though, as I explain in my post.
– npit
Aug 22 '17 at 23:38
3
Check that key sequence is bound tobeginning-of-buffer
withC-h k
followed byM-<
. You are entering it correctly
– pickle rick
Aug 22 '17 at 23:53
1
Are you using Emacs inside a terminal, or are you using the GUI version of Emacs. In case it makes a difference, you might as well mention also the operating system and version of Emacs that you are presently using.M-x emacs-version
– lawlist
Aug 22 '17 at 23:59
1
I am undeleting and updating the question.
– npit
Aug 23 '17 at 15:29
|
show 2 more comments
Um... Google emacs keyboard shortcuts?
– Ken White
Aug 22 '17 at 23:12
I mention the relevant shortcut in the quotation, which is the standard one as I can see (e.g. same one in this emacs cheatsheet). It does not work for me though, as I explain in my post.
– npit
Aug 22 '17 at 23:38
3
Check that key sequence is bound tobeginning-of-buffer
withC-h k
followed byM-<
. You are entering it correctly
– pickle rick
Aug 22 '17 at 23:53
1
Are you using Emacs inside a terminal, or are you using the GUI version of Emacs. In case it makes a difference, you might as well mention also the operating system and version of Emacs that you are presently using.M-x emacs-version
– lawlist
Aug 22 '17 at 23:59
1
I am undeleting and updating the question.
– npit
Aug 23 '17 at 15:29
Um... Google emacs keyboard shortcuts?
– Ken White
Aug 22 '17 at 23:12
Um... Google emacs keyboard shortcuts?
– Ken White
Aug 22 '17 at 23:12
I mention the relevant shortcut in the quotation, which is the standard one as I can see (e.g. same one in this emacs cheatsheet). It does not work for me though, as I explain in my post.
– npit
Aug 22 '17 at 23:38
I mention the relevant shortcut in the quotation, which is the standard one as I can see (e.g. same one in this emacs cheatsheet). It does not work for me though, as I explain in my post.
– npit
Aug 22 '17 at 23:38
3
3
Check that key sequence is bound to
beginning-of-buffer
with C-h k
followed by M-<
. You are entering it correctly– pickle rick
Aug 22 '17 at 23:53
Check that key sequence is bound to
beginning-of-buffer
with C-h k
followed by M-<
. You are entering it correctly– pickle rick
Aug 22 '17 at 23:53
1
1
Are you using Emacs inside a terminal, or are you using the GUI version of Emacs. In case it makes a difference, you might as well mention also the operating system and version of Emacs that you are presently using.
M-x emacs-version
– lawlist
Aug 22 '17 at 23:59
Are you using Emacs inside a terminal, or are you using the GUI version of Emacs. In case it makes a difference, you might as well mention also the operating system and version of Emacs that you are presently using.
M-x emacs-version
– lawlist
Aug 22 '17 at 23:59
1
1
I am undeleting and updating the question.
– npit
Aug 23 '17 at 15:29
I am undeleting and updating the question.
– npit
Aug 23 '17 at 15:29
|
show 2 more comments
1 Answer
1
active
oldest
votes
I cannot reproduce the exact behavior as C-HOME that you experience. For me it translates to M-[ 1 ;
, without the 5H
(but that is actually inserted...).
But, given that, here's how I would set up the binding.
I'd go into the *scratch*
buffer and type
(read-key-sequence "please type C-home ")
C-j
Which will prompt you for a key sequence, so do C-HOME and Emacs should insert the following right after the read-key-sequence
line:
"^[[1;"
5H
This shows me the actual string for the key sequence, as well as the mysterious
5H
.Using the string, I'd set up the binding in my .emacs like so:
(global-set-key "^[[1;" 'beginning-of-buffer)
This will define the key binding appropriately, except that (for me) it now inserts 5H
at the top of the buffer. I believe the 5H
is a product of screen somehow...
Updated to add:
The 5H
annoys me, but as far as I can tell, Emacs thinks we are literally typing it. So, I coded up two alternatives which result in the same behavior.
The first uses keyboard-quit
to interrupt the key sequence after getting to the beginning of the buffer. This prevents the 5H
from being inserted. But it has the downside of doing a keyboard-quit
- which will flash/ding at you ever time. Kind of annoying.
(global-set-key "^[[1;" 'my-bob)
(defun my-bob ()
"Go to beginning of buffer, then quit"
(interactive)
(beginning-of-buffer)
(keyboard-quit))
To avoid the keyboard-quit
, I wrote a different version which runs a little snippet of code which deletes the 5H
if it exists. It's a little more involved, but does the job.
(global-set-key "^[[1;" 'my-bob)
(defun my-bob ()
"Go to beginning of buffer, then delete any 5H inserted by the binding"
(interactive)
(beginning-of-buffer)
(run-with-idle-timer 0.1 nil 'delete-inserted-chars "5H"))
(defun delete-inserted-chars (chars)
(save-excursion
(backward-char (length chars))
(if (looking-at (regexp-quote chars))
(delete-char (length chars)))))
The delete-inserted-chars
can be reused for other bindings in screen which happen to insert characters as well.
add a comment
|
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f45828271%2fmove-to-the-beginning-of-the-file-in-emacs%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I cannot reproduce the exact behavior as C-HOME that you experience. For me it translates to M-[ 1 ;
, without the 5H
(but that is actually inserted...).
But, given that, here's how I would set up the binding.
I'd go into the *scratch*
buffer and type
(read-key-sequence "please type C-home ")
C-j
Which will prompt you for a key sequence, so do C-HOME and Emacs should insert the following right after the read-key-sequence
line:
"^[[1;"
5H
This shows me the actual string for the key sequence, as well as the mysterious
5H
.Using the string, I'd set up the binding in my .emacs like so:
(global-set-key "^[[1;" 'beginning-of-buffer)
This will define the key binding appropriately, except that (for me) it now inserts 5H
at the top of the buffer. I believe the 5H
is a product of screen somehow...
Updated to add:
The 5H
annoys me, but as far as I can tell, Emacs thinks we are literally typing it. So, I coded up two alternatives which result in the same behavior.
The first uses keyboard-quit
to interrupt the key sequence after getting to the beginning of the buffer. This prevents the 5H
from being inserted. But it has the downside of doing a keyboard-quit
- which will flash/ding at you ever time. Kind of annoying.
(global-set-key "^[[1;" 'my-bob)
(defun my-bob ()
"Go to beginning of buffer, then quit"
(interactive)
(beginning-of-buffer)
(keyboard-quit))
To avoid the keyboard-quit
, I wrote a different version which runs a little snippet of code which deletes the 5H
if it exists. It's a little more involved, but does the job.
(global-set-key "^[[1;" 'my-bob)
(defun my-bob ()
"Go to beginning of buffer, then delete any 5H inserted by the binding"
(interactive)
(beginning-of-buffer)
(run-with-idle-timer 0.1 nil 'delete-inserted-chars "5H"))
(defun delete-inserted-chars (chars)
(save-excursion
(backward-char (length chars))
(if (looking-at (regexp-quote chars))
(delete-char (length chars)))))
The delete-inserted-chars
can be reused for other bindings in screen which happen to insert characters as well.
add a comment
|
I cannot reproduce the exact behavior as C-HOME that you experience. For me it translates to M-[ 1 ;
, without the 5H
(but that is actually inserted...).
But, given that, here's how I would set up the binding.
I'd go into the *scratch*
buffer and type
(read-key-sequence "please type C-home ")
C-j
Which will prompt you for a key sequence, so do C-HOME and Emacs should insert the following right after the read-key-sequence
line:
"^[[1;"
5H
This shows me the actual string for the key sequence, as well as the mysterious
5H
.Using the string, I'd set up the binding in my .emacs like so:
(global-set-key "^[[1;" 'beginning-of-buffer)
This will define the key binding appropriately, except that (for me) it now inserts 5H
at the top of the buffer. I believe the 5H
is a product of screen somehow...
Updated to add:
The 5H
annoys me, but as far as I can tell, Emacs thinks we are literally typing it. So, I coded up two alternatives which result in the same behavior.
The first uses keyboard-quit
to interrupt the key sequence after getting to the beginning of the buffer. This prevents the 5H
from being inserted. But it has the downside of doing a keyboard-quit
- which will flash/ding at you ever time. Kind of annoying.
(global-set-key "^[[1;" 'my-bob)
(defun my-bob ()
"Go to beginning of buffer, then quit"
(interactive)
(beginning-of-buffer)
(keyboard-quit))
To avoid the keyboard-quit
, I wrote a different version which runs a little snippet of code which deletes the 5H
if it exists. It's a little more involved, but does the job.
(global-set-key "^[[1;" 'my-bob)
(defun my-bob ()
"Go to beginning of buffer, then delete any 5H inserted by the binding"
(interactive)
(beginning-of-buffer)
(run-with-idle-timer 0.1 nil 'delete-inserted-chars "5H"))
(defun delete-inserted-chars (chars)
(save-excursion
(backward-char (length chars))
(if (looking-at (regexp-quote chars))
(delete-char (length chars)))))
The delete-inserted-chars
can be reused for other bindings in screen which happen to insert characters as well.
add a comment
|
I cannot reproduce the exact behavior as C-HOME that you experience. For me it translates to M-[ 1 ;
, without the 5H
(but that is actually inserted...).
But, given that, here's how I would set up the binding.
I'd go into the *scratch*
buffer and type
(read-key-sequence "please type C-home ")
C-j
Which will prompt you for a key sequence, so do C-HOME and Emacs should insert the following right after the read-key-sequence
line:
"^[[1;"
5H
This shows me the actual string for the key sequence, as well as the mysterious
5H
.Using the string, I'd set up the binding in my .emacs like so:
(global-set-key "^[[1;" 'beginning-of-buffer)
This will define the key binding appropriately, except that (for me) it now inserts 5H
at the top of the buffer. I believe the 5H
is a product of screen somehow...
Updated to add:
The 5H
annoys me, but as far as I can tell, Emacs thinks we are literally typing it. So, I coded up two alternatives which result in the same behavior.
The first uses keyboard-quit
to interrupt the key sequence after getting to the beginning of the buffer. This prevents the 5H
from being inserted. But it has the downside of doing a keyboard-quit
- which will flash/ding at you ever time. Kind of annoying.
(global-set-key "^[[1;" 'my-bob)
(defun my-bob ()
"Go to beginning of buffer, then quit"
(interactive)
(beginning-of-buffer)
(keyboard-quit))
To avoid the keyboard-quit
, I wrote a different version which runs a little snippet of code which deletes the 5H
if it exists. It's a little more involved, but does the job.
(global-set-key "^[[1;" 'my-bob)
(defun my-bob ()
"Go to beginning of buffer, then delete any 5H inserted by the binding"
(interactive)
(beginning-of-buffer)
(run-with-idle-timer 0.1 nil 'delete-inserted-chars "5H"))
(defun delete-inserted-chars (chars)
(save-excursion
(backward-char (length chars))
(if (looking-at (regexp-quote chars))
(delete-char (length chars)))))
The delete-inserted-chars
can be reused for other bindings in screen which happen to insert characters as well.
I cannot reproduce the exact behavior as C-HOME that you experience. For me it translates to M-[ 1 ;
, without the 5H
(but that is actually inserted...).
But, given that, here's how I would set up the binding.
I'd go into the *scratch*
buffer and type
(read-key-sequence "please type C-home ")
C-j
Which will prompt you for a key sequence, so do C-HOME and Emacs should insert the following right after the read-key-sequence
line:
"^[[1;"
5H
This shows me the actual string for the key sequence, as well as the mysterious
5H
.Using the string, I'd set up the binding in my .emacs like so:
(global-set-key "^[[1;" 'beginning-of-buffer)
This will define the key binding appropriately, except that (for me) it now inserts 5H
at the top of the buffer. I believe the 5H
is a product of screen somehow...
Updated to add:
The 5H
annoys me, but as far as I can tell, Emacs thinks we are literally typing it. So, I coded up two alternatives which result in the same behavior.
The first uses keyboard-quit
to interrupt the key sequence after getting to the beginning of the buffer. This prevents the 5H
from being inserted. But it has the downside of doing a keyboard-quit
- which will flash/ding at you ever time. Kind of annoying.
(global-set-key "^[[1;" 'my-bob)
(defun my-bob ()
"Go to beginning of buffer, then quit"
(interactive)
(beginning-of-buffer)
(keyboard-quit))
To avoid the keyboard-quit
, I wrote a different version which runs a little snippet of code which deletes the 5H
if it exists. It's a little more involved, but does the job.
(global-set-key "^[[1;" 'my-bob)
(defun my-bob ()
"Go to beginning of buffer, then delete any 5H inserted by the binding"
(interactive)
(beginning-of-buffer)
(run-with-idle-timer 0.1 nil 'delete-inserted-chars "5H"))
(defun delete-inserted-chars (chars)
(save-excursion
(backward-char (length chars))
(if (looking-at (regexp-quote chars))
(delete-char (length chars)))))
The delete-inserted-chars
can be reused for other bindings in screen which happen to insert characters as well.
edited Mar 28 at 22:11
answered Mar 28 at 21:52
Trey JacksonTrey Jackson
67.8k9 gold badges171 silver badges207 bronze badges
67.8k9 gold badges171 silver badges207 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f45828271%2fmove-to-the-beginning-of-the-file-in-emacs%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Um... Google emacs keyboard shortcuts?
– Ken White
Aug 22 '17 at 23:12
I mention the relevant shortcut in the quotation, which is the standard one as I can see (e.g. same one in this emacs cheatsheet). It does not work for me though, as I explain in my post.
– npit
Aug 22 '17 at 23:38
3
Check that key sequence is bound to
beginning-of-buffer
withC-h k
followed byM-<
. You are entering it correctly– pickle rick
Aug 22 '17 at 23:53
1
Are you using Emacs inside a terminal, or are you using the GUI version of Emacs. In case it makes a difference, you might as well mention also the operating system and version of Emacs that you are presently using.
M-x emacs-version
– lawlist
Aug 22 '17 at 23:59
1
I am undeleting and updating the question.
– npit
Aug 23 '17 at 15:29