Questions tagged [save]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
2 answers
461 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 ...
alper's user avatar
  • 1,300
2 votes
1 answer
135 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 "...
ironfish's user avatar
  • 148
2 votes
2 answers
386 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: ...
Matt Nolan's user avatar
2 votes
0 answers
66 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 ...
Pedro Delfino's user avatar
1 vote
1 answer
310 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 ...
lumpynose's user avatar
  • 111
1 vote
1 answer
201 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?
Pedro Delfino's user avatar
1 vote
1 answer
52 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 ...
alper's user avatar
  • 1,300
1 vote
1 answer
59 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 ...
Edman's user avatar
  • 1,177
1 vote
1 answer
20 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 ...
Pedro Delfino's user avatar
0 votes
2 answers
31 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 ...
Nick's user avatar
  • 125
0 votes
1 answer
48 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 ...
Eric Auld's user avatar
0 votes
1 answer
67 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 ...
Claudio's user avatar
  • 420
0 votes
1 answer
51 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 ...
alper's user avatar
  • 1,300
0 votes
1 answer
61 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 ...
Enrico Pirani's user avatar
0 votes
0 answers
11 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 ...
AhLeung's user avatar
  • 1,083
0 votes
0 answers
18 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-...
rew's user avatar
  • 101