Questions tagged [save]
The save tag has no usage guidance.
19
questions
0
votes
1
answer
36
views
How can I debug the "file changed on disk" message when working on SMB files?
I get this constantly when I try to save a file on an SMB drive.
If I abort, then hit save again, it works.
I believe there is some time difference between the two files, or something like that, which ...
0
votes
1
answer
34
views
Can't save file that contain German character ß in Emacs?
I'm trying to save a file in Emacs that contain ß. This is name Wißkirchen. When I try to save, got this error:
Debugger entered--Lisp error: (file-missing "Loading charset map" "Nie ma ...
0
votes
1
answer
36
views
erroneous message editing SMB file
I'm running GNU Emacs 29.1 on a Mac mini. I've used Emacs uninterruptedly since 1987. I don't normally participate in discussion groups like this.
When I edit a file in a directory that is in a SMB ...
0
votes
0
answers
33
views
How to save a new buffer to a new file with helm?
(It's likely a dumb question as I'm new to emacs buffer saving commands.)
After creating and editing a new buffer (with a temp name "untitled"), I would like to save it to a new file (not ...
0
votes
1
answer
54
views
save-some-buffers diff prevents scrolling
After invoking save-some-buffers, I almost always want to check the diffs with d. But when I do so, I'm not able to do any scrolling in the diff window, nor to change its size, or indeed any window's ...
0
votes
1
answer
86
views
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 ...
0
votes
1
answer
65
views
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 ...
2
votes
1
answer
150
views
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 "...
1
vote
1
answer
62
views
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 ...
1
vote
1
answer
22
views
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 ...
3
votes
2
answers
802
views
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: ...
0
votes
2
answers
47
views
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 ...
0
votes
0
answers
23
views
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-...
0
votes
1
answer
65
views
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 ...
2
votes
0
answers
71
views
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 ...
3
votes
2
answers
526
views
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 ...
1
vote
1
answer
302
views
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?
1
vote
1
answer
376
views
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 ...
1
vote
1
answer
64
views
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 ...