Questions tagged [save]
14 questions
3
votes
2 answers
How to force Yes/y answer to `emacs has changed since visited or saved. Save anyway?` prompt
I am working in a git-repo using zsh shell.
On the background, git-auto-fetch plugin is running in order to automatically fetch all changes from all remotes while I am working in a git-initialized directory.
Due to this, if the buffer I am using in…

alper
- 1,238
- 11
- 30
2
votes
1 answer
What does `nil` as second argument do in `write-file` command?
In a previous question I asked how to add a "Save as" button to the toolbar:
Add Save as button to org mode toolbar
and got a great answer:
(tool-bar-add-item-from-menu 'write-file "save" nil :label "Save As")
I then asked "What does the nil do?"…

ironfish
- 149
- 8
2
votes
2 answers
Loading charset map: No such file or directory, JISX0208
Trying to save files I have suddenly started recieving the following error:
Loading charset map: No such file or directory, JISX0208
In *Messages* this is reported as:
find-coding-systems-region: Loading charset map: No such file or directory,…

Matt Nolan
- 121
- 4
2
votes
0 answers
How to save a Slime Debugger buffer into a file, preserving all its data?
I am using Common Lisp, SBCL, Emacs, and Slime. Often, an error will happen while programming.
When an error occurs, Slime opens a Debugger buffer. Sometimes, I would like to save this debugger buffer to a file so that other people could open and be…

Pedro Delfino
- 1,369
- 3
- 13
1
vote
1 answer
How can I apply `bibtex-fill-entry` to the whole buffer?
When I run bibtex-fill-entry it formats the current entry block where the cursor is at. Note that bibtex-fill-entry (C-c C-q) Fill current BibTeX entry. So I have to traverse all the entries to align them one by one which is time consuming.
Instead…

alper
- 1,238
- 11
- 30
1
vote
1 answer
Is it necessary to save buffers as files in order to use command highlight-compare-buffer?
Based on a nice comment from @Drew on this previous question, I tried to use the command highlight-compare-buffers (although he did not mention exactly this comment).
My first attempt was actually using ediff. But that attempt failed because I would…

Pedro Delfino
- 1,369
- 3
- 13
1
vote
1 answer
What is the difference between writing and saving a file in Emacs?
What is the problem if I keep writing a file while editing it instead of saving it?
What exactly am I going to lose? Some sort of backup? Is this a "bad" practice?

Pedro Delfino
- 1,369
- 3
- 13
1
vote
1 answer
how to automatically clean indented blank lines?
In python mode when I'm done with an inner indented block I hit return, then backspace to return to the previous indentation and then another return so that there's a blank line before I start the code following that indented block. This leaves a…

lumpynose
- 111
- 3
1
vote
1 answer
Changing file names automatically generated by save-buffer
When I create an email message in Emacs (C-x m) I generally save the file before sending it. Emacs generates an automatic filename usually with this format:
\*message\*-20210127-065515
How can I customise this file name? I would like to remove the…

Edman
- 1,167
- 7
- 13
0
votes
1 answer
How to save what I see in an 'Emacs window'?
There is a nice concept of 'WYSIWYG' meaning 'What You See Is What You Get', but it seems that it is hard to get what I can see in an 'Emacs window' ('Emacs window' is what would in common sense be called 'multiline text element/widget').
If I…

Claudio
- 410
- 2
- 11
0
votes
1 answer
Is it possible to save buffers right before emacs freezes?
Once in a while, emacs freezes while there is unsaved progress on my buffers. When it freezes, it does not accept my C-s or save-buffer attempts. Hence I have to restart it. When I restart emacs, my edits always get lost.
Is there any functions like…

alper
- 1,238
- 11
- 30
0
votes
2 answers
Emacs ruby-mode how to prevent narrowed buffer from widening when manual save is triggered
I just discovered narrowing in Emacs, and it's great to be able to focus on a single function or block of code.
However, after I narrow with C-x n n, make some changes and then save manually with C-x C-s the buffer widens again while I am in Ruby…

Nick
- 125
- 7
0
votes
0 answers
Error in dired-find-file-place when saving
I've been an Emacs user for 30 years. This week I'm switching to a new machine with Ubuntu 21.10 installed.
Now when I save a file, it always errors out with the error message: "Error in dired-find-file-place" (nothing more, nothing less). In half…

rew
- 101
- 1
0
votes
1 answer
Problems saving files and creating directory
I have recently set-up a new Emacs on my OSx 10.15. Every time I try to create a directory in Dired with + I got a warning telling the files already exist. Another strange result I got when I try to save a file (here I use for example saving an…

Enrico Pirani
- 367
- 2
- 10