* bug#23151: 25.1.50; Emacs should have a convenient command for saving unchanged buffers
@ 2016-03-29 15:36 Lars Magne Ingebrigtsen
2016-03-29 16:30 ` Drew Adams
` (3 more replies)
0 siblings, 4 replies; 15+ messages in thread
From: Lars Magne Ingebrigtsen @ 2016-03-29 15:36 UTC (permalink / raw)
To: 23151
During an unrelated discussion on emacs-devel, it turns out that
virtually everybody is in the habit of making a change, then deleting
the change, just to make `C-x C-s' work. This means that there is a
need for Emacs to offer a command to save buffers, even if they aren't
changed.
(All the electricity in the Emacs modes means that even if you find
typing `SPC DEL C-x C-s' convenient, sometimes it makes Stuff Happens,
and that DEL doesn't really undo what you've done.)
Several options exist:
1) Have the interactive `C-x C-s' command always save the buffer, no
matter whether it's unchanged or not. I think many people would object
to this, as they're used to just `C-x C-s'-ing idly while thinking of
other things.
2) Have the prefix to that command save the unchanged buffer. This
would be the obvious choice, but:
--------------
(save-buffer &optional ARG)
Save current buffer in visited file if modified.
Variations are described below.
By default, makes the previous version into a backup file
if previously requested or if this is the first save.
Prefixed with one C-u, marks this version
to become a backup when the next save is done.
Prefixed with two C-u’s,
unconditionally makes the previous version into a backup file.
Prefixed with three C-u’s, marks this version
to become a backup when the next save is done,
and unconditionally makes the previous version into a backup file.
--------------
Eh. Four `C-u's? I don't think so. We could bind `C-x C-s' to a new
`save-buffer-command' that has different prefix rules. Does anybody use
the backup stuff?
3) Add a new keystroke.
4) Something else.
In GNU Emacs 25.1.50.20 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.2)
of 2016-03-28 built on stories
Repository revision: a30e7e12ed8465e2565dd318d921bc87f52ce18e
Windowing system distributor 'The X.Org Foundation', version 11.0.11604000
System Description: Debian GNU/Linux 7.9 (wheezy)
Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GSETTINGS NOTIFY GNUTLS
LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11
Important settings:
value of $LANG: en_US
locale-coding-system: iso-latin-1-unix
Major mode: Group
Minor modes in effect:
gnus-topic-mode: t
gnus-undo-mode: t
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
buffer-read-only: t
line-number-mode: t
Recent messages:
Auto-saving...done
Mark set
Sending...
Mark set [2 times]
Sending news via news.gmane.org using nntp...
Mark set
Saving file /home/larsi/Mail/archive/sent/2016w13...
Wrote /home/larsi/Mail/archive/sent/2016w13
Sending...done
Making completion list...
Load-path shadows:
/home/larsi/src/clock.el/clock hides /home/larsi/lisp/clock
/home/larsi/src/cddb.el/expect hides /home/larsi/lisp/expect
/home/larsi/src/pvr.el/pvr hides /home/larsi/lisp/pvr
~/pgnus/contrib/vcard hides /home/larsi/lisp/vcard
/home/larsi/src/cddb.el/captitle hides /home/larsi/lisp/captitle
~/lisp/zenirc-2.112/src/zenirc-example hides /home/larsi/lisp/zenirc-example
/home/larsi/lisp/dom hides /home/larsi/src/emacs/trunk/lisp/dom
~/pgnus/contrib/compface hides /home/larsi/src/emacs/trunk/lisp/image/compface
Features:
(shadow emacsbug canlock ecomplete mailalias smtpmail sendmail pp eww
flow-fill shr-color color mm-archive vc vc-dispatcher copyright vc-cvs
gnus-html url-queue help-fns url-cache gnus-picon sort smiley ansi-color
gnus-cite gnus-async gnus-dup qp gnus-ml gmane spam-gmane dns mm-url
disp-table gnus-fun gnus-mdrtn pop3 nndoc nnmbox nndraft utf-7
gnus-topic nnmh nnml nnfolder network-stream nsm starttls nnir
spam-report spam spam-stat gnus-uu yenc gnus-agent gnus-srvr gnus-score
score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime
smime dig nntp gnus-cache gnus-sum gnus-group gnus-undo gnus-start
gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time
gnus-spec gnus-int gnus-range message format-spec rfc822 mml mml-sec epa
epg mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util
rmail rmail-loaddefs mail-utils movie mkv shr svg imdb dom pvr debug
debbugs-gnu easy-mmode derived debbugs soap-client mm-decode mm-bodies
mm-encode url-http tls gnutls url-auth mail-parse rfc2231 rfc2047
rfc2045 ietf-drums url-gw puny url url-proxy url-privacy url-expand
url-methods url-history url-cookie url-domsuf url-util mailcap warnings
rng-xsd rng-dt rng-util xsd-regexp xml ido seq flyspell ispell benchmark
w3m browse-url doc-view subr-x dired dired-loaddefs image-mode timezone
w3m-hist w3m-fb w3m-ems wid-edit w3m-ccl ccl w3m-favicon w3m-image
w3m-proc w3m-util add-log mail-extr mm-util mail-prsvr jka-compr cl
finder-inf package epg-config url-handlers url-parse auth-source cl-seq
eieio byte-opt bytecomp byte-compile cl-extra help-mode easymenu cconv
eieio-core cl-macs gv eieio-loaddefs cl-loaddefs pcase cl-lib
password-cache url-vars time-date mule-util tooltip eldoc electric
uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core term/tty-colors frame cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese charscript case-table epa-hook
jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice
loaddefs button faces cus-face macroexp files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote inotify dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty make-network-process emacs)
Memory information:
((conses 16 1005682 78299)
(symbols 48 170020 42)
(miscs 40 459 1268)
(strings 32 242952 10814)
(string-bytes 1 17792152)
(vectors 16 42307)
(vector-slots 8 1751093 224622)
(floats 8 6934 679)
(intervals 56 58542 6650)
(buffers 976 52)
(heap 1024 124930 33067))
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23151: 25.1.50; Emacs should have a convenient command for saving unchanged buffers
2016-03-29 15:36 bug#23151: 25.1.50; Emacs should have a convenient command for saving unchanged buffers Lars Magne Ingebrigtsen
@ 2016-03-29 16:30 ` Drew Adams
[not found] ` <mailman.8597.1459265831.843.bug-gnu-emacs@gnu.org>
` (2 subsequent siblings)
3 siblings, 0 replies; 15+ messages in thread
From: Drew Adams @ 2016-03-29 16:30 UTC (permalink / raw)
To: Lars Magne Ingebrigtsen, 23151
> During an unrelated discussion on emacs-devel, it turns out that
> virtually everybody
Uh, 3 people? OK, 3 out of the 3 who bothered to say something about
this. But "virtually everybody" might be a bit of an exaggeration, no?
> is in the habit of making a change, then deleting
> the change, just to make `C-x C-s' work.
>
> This means that there is a need for Emacs to offer a command to save
> buffers, even if they aren't changed.
No, it does not mean that.
(But I have no objection to your adding such a command.)
> 1) Have the interactive `C-x C-s' command always save the buffer, no
> matter whether it's unchanged or not. I think many people would object
> to this, as they're used to just `C-x C-s'-ing idly while thinking of
> other things.
I would object, for one. If you feel you must add a command, add
a command. But please do not mess with `C-x C-s'.
> 2) Have the prefix to that command save the unchanged buffer. This
> would be the obvious choice, but:
<yes, a prefix arg already has meaning for `C-x C-s'>
> Eh. Four `C-u's? I don't think so. We could bind `C-x C-s' to a new
> `save-buffer-command' that has different prefix rules. Does anybody use
> the backup stuff?
Yes, of course they do. Hard to believe you wonder about this,
or would even consider changing the UI of `C-x C-s'.
> 3) Add a new keystroke.
>
> 4) Something else.
Just add the command. Users can bind it themselves, if they like.
Time will then tell whether Emacs should at some point bind a key
for the command by default.
5) Use `C-u C-x C-w RET' instead of `C-x C-s'. If you like, bind
that to another key.
Much ado about nothing, IMO.
^ permalink raw reply [flat|nested] 15+ messages in thread
[parent not found: <mailman.8597.1459265831.843.bug-gnu-emacs@gnu.org>]
* bug#23151: 25.1.50; Emacs should have a convenient command for saving unchanged buffers
[not found] ` <mailman.8597.1459265831.843.bug-gnu-emacs@gnu.org>
@ 2016-03-29 19:14 ` Alan Mackenzie
0 siblings, 0 replies; 15+ messages in thread
From: Alan Mackenzie @ 2016-03-29 19:14 UTC (permalink / raw)
To: Lars Magne Ingebrigtsen; +Cc: 23151
In article <mailman.8597.1459265831.843.bug-gnu-emacs@gnu.org> you wrote:
> During an unrelated discussion on emacs-devel, it turns out that
> virtually everybody is in the habit of making a change, then deleting
> the change, just to make `C-x C-s' work. This means that there is a
> need for Emacs to offer a command to save buffers, even if they aren't
> changed.
> (All the electricity in the Emacs modes means that even if you find
> typing `SPC DEL C-x C-s' convenient, sometimes it makes Stuff Happens,
> and that DEL doesn't really undo what you've done.)
> Several options exist:
> 1) Have the interactive `C-x C-s' command always save the buffer, no
> matter whether it's unchanged or not. I think many people would object
> to this, as they're used to just `C-x C-s'-ing idly while thinking of
> other things.
> 2) Have the prefix to that command save the unchanged buffer. This
> would be the obvious choice, but:
> --------------
> (save-buffer &optional ARG)
> Save current buffer in visited file if modified.
> Variations are described below.
> By default, makes the previous version into a backup file
> if previously requested or if this is the first save.
> Prefixed with one C-u, marks this version
> to become a backup when the next save is done.
> Prefixed with two C-u’s,
> unconditionally makes the previous version into a backup file.
> Prefixed with three C-u’s, marks this version
> to become a backup when the next save is done,
> and unconditionally makes the previous version into a backup file.
> --------------
> Eh. Four `C-u's? I don't think so. We could bind `C-x C-s' to a new
> `save-buffer-command' that has different prefix rules. Does anybody use
> the backup stuff?
> 3) Add a new keystroke.
> 4) Something else.
User: C-x C-s
Emacs: "Buffer unmodified: save anyway? (y or n): "
User: y
> --
> (domestic pets only, the antidote for overdose, milk.)
> bloggy blog: http://lars.ingebrigtsen.no
--
Alan Mackenzie (Nuremberg, Germany).
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23151: 25.1.50; Emacs should have a convenient command for saving unchanged buffers
2016-03-29 15:36 bug#23151: 25.1.50; Emacs should have a convenient command for saving unchanged buffers Lars Magne Ingebrigtsen
2016-03-29 16:30 ` Drew Adams
[not found] ` <mailman.8597.1459265831.843.bug-gnu-emacs@gnu.org>
@ 2016-03-29 23:07 ` Johan Bockgård
2016-03-29 23:41 ` Drew Adams
2016-03-30 12:09 ` Richard Stallman
3 siblings, 1 reply; 15+ messages in thread
From: Johan Bockgård @ 2016-03-29 23:07 UTC (permalink / raw)
To: Lars Magne Ingebrigtsen; +Cc: 23151
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> 4) Something else.
C-u M-~
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23151: 25.1.50; Emacs should have a convenient command for saving unchanged buffers
2016-03-29 15:36 bug#23151: 25.1.50; Emacs should have a convenient command for saving unchanged buffers Lars Magne Ingebrigtsen
` (2 preceding siblings ...)
2016-03-29 23:07 ` Johan Bockgård
@ 2016-03-30 12:09 ` Richard Stallman
2016-03-30 14:19 ` Óscar Fuentes
3 siblings, 1 reply; 15+ messages in thread
From: Richard Stallman @ 2016-03-30 12:09 UTC (permalink / raw)
To: Lars Magne Ingebrigtsen; +Cc: 23151
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
> During an unrelated discussion on emacs-devel, it turns out that
> virtually everybody is in the habit of making a change, then deleting
> the change, just to make `C-x C-s' work.
That's how I do it. It's convenient and natural.
> This means that there is a
> need for Emacs to offer a command to save buffers, even if they aren't
> changed.
I draw a different conclusion: Emacs already has a simple and obvious
way to save an unchanged buffer, so no new features are needed for this.
--
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23151: 25.1.50; Emacs should have a convenient command for saving unchanged buffers
2016-03-30 12:09 ` Richard Stallman
@ 2016-03-30 14:19 ` Óscar Fuentes
2016-03-30 15:05 ` Andreas Schwab
0 siblings, 1 reply; 15+ messages in thread
From: Óscar Fuentes @ 2016-03-30 14:19 UTC (permalink / raw)
To: Richard Stallman; +Cc: Lars Magne Ingebrigtsen, 23151
Richard Stallman <rms@gnu.org> writes:
> > During an unrelated discussion on emacs-devel, it turns out that
> > virtually everybody is in the habit of making a change, then deleting
> > the change, just to make `C-x C-s' work.
>
> That's how I do it. It's convenient and natural.
If certain modes are enabled, that method does not give back the
original content depending on the exact keys used.
> > This means that there is a
> > need for Emacs to offer a command to save buffers, even if they aren't
> > changed.
>
> I draw a different conclusion: Emacs already has a simple and obvious
> way to save an unchanged buffer, so no new features are needed for this.
I'll like to see that feature implemented as a safe method of forcing
Emacs to save the file without altering the buffer's content.
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23151: 25.1.50; Emacs should have a convenient command for saving unchanged buffers
2016-03-30 14:19 ` Óscar Fuentes
@ 2016-03-30 15:05 ` Andreas Schwab
2016-03-30 15:40 ` Óscar Fuentes
0 siblings, 1 reply; 15+ messages in thread
From: Andreas Schwab @ 2016-03-30 15:05 UTC (permalink / raw)
To: Óscar Fuentes; +Cc: Lars Magne Ingebrigtsen, 23151, Richard Stallman
Óscar Fuentes <ofv@wanadoo.es> writes:
> a safe method of forcing Emacs to save the file without altering the
> buffer's content.
Two methods were already presented in this thread.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23151: 25.1.50; Emacs should have a convenient command for saving unchanged buffers
2016-03-30 15:05 ` Andreas Schwab
@ 2016-03-30 15:40 ` Óscar Fuentes
2016-03-30 16:04 ` Andreas Schwab
` (2 more replies)
0 siblings, 3 replies; 15+ messages in thread
From: Óscar Fuentes @ 2016-03-30 15:40 UTC (permalink / raw)
To: Andreas Schwab; +Cc: Lars Magne Ingebrigtsen, 23151, Richard Stallman
Andreas Schwab <schwab@suse.de> writes:
> Óscar Fuentes <ofv@wanadoo.es> writes:
>
>> a safe method of forcing Emacs to save the file without altering the
>> buffer's content.
>
> Two methods were already presented in this thread.
Someone mentioned C-u C-x C-w, which shows a prompt where you are
supposed to write the file name of the buffer you are visiting. If you
type the wrong file name, hopefully you will notice the mistake before
creating too much damage.
This is not a safe method.
Other mentioned C-u M-~ (which actually should be C-u M-~ C-x C-s).
Apart from being a long finger-twisting sequence, M-~ is impossible to
type on some keyboards where ~ is written as AltGr-~, or difficult in
some input methods, where ~ is a dead key.
This is not convenient.
The char&del C-x C-s method is popular because Emacs does not offer
something better out of the box. It is about time that Emacs provides an
intuitive (as per Emacs standards), convenient and safe method for doing
that task.
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23151: 25.1.50; Emacs should have a convenient command for saving unchanged buffers
2016-03-30 15:40 ` Óscar Fuentes
@ 2016-03-30 16:04 ` Andreas Schwab
2016-03-30 16:28 ` Óscar Fuentes
2016-03-30 16:12 ` Drew Adams
2016-03-31 7:54 ` Richard Stallman
2 siblings, 1 reply; 15+ messages in thread
From: Andreas Schwab @ 2016-03-30 16:04 UTC (permalink / raw)
To: Óscar Fuentes; +Cc: Lars Magne Ingebrigtsen, 23151, Richard Stallman
Óscar Fuentes <ofv@wanadoo.es> writes:
> Someone mentioned C-u C-x C-w, which shows a prompt where you are
> supposed to write the file name of the buffer you are visiting. If you
> type the wrong file name,
You don't need to type anything but RET.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23151: 25.1.50; Emacs should have a convenient command for saving unchanged buffers
2016-03-30 16:04 ` Andreas Schwab
@ 2016-03-30 16:28 ` Óscar Fuentes
2016-03-30 17:02 ` Drew Adams
0 siblings, 1 reply; 15+ messages in thread
From: Óscar Fuentes @ 2016-03-30 16:28 UTC (permalink / raw)
To: Andreas Schwab; +Cc: Lars Magne Ingebrigtsen, 23151, Richard Stallman
Andreas Schwab <schwab@suse.de> writes:
>> Someone mentioned C-u C-x C-w, which shows a prompt where you are
>> supposed to write the file name of the buffer you are visiting. If you
>> type the wrong file name,
>
> You don't need to type anything but RET.
Being an Emacs users guarantees that one learns something new
everyday...
So it is `C-u C-x C-w ENTER'. Or, if you are using Ido: `C-u C-x C-w
C-j'. Other completion packages might require their own variations.
Considering that `x' and `w' are typed with the same finger on Qwerty
keyboards, it is not the most convenient sequence.
Given how popular the practice seems to be, I still think that is
preferable to use an specific command that doesn't query redundant info
such as a file name and with a more convenient shortcut (something that
can improve over `<char> DEL C-x C-s')
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23151: 25.1.50; Emacs should have a convenient command for saving unchanged buffers
2016-03-30 16:28 ` Óscar Fuentes
@ 2016-03-30 17:02 ` Drew Adams
0 siblings, 0 replies; 15+ messages in thread
From: Drew Adams @ 2016-03-30 17:02 UTC (permalink / raw)
To: Óscar Fuentes, Andreas Schwab
Cc: Lars Magne Ingebrigtsen, 23151, Richard Stallman
> So it is `C-u C-x C-w ENTER'. Or, if you are using Ido: `C-u C-x C-w
> C-j'. Other completion packages might require their own variations.
> Considering that `x' and `w' are typed with the same finger on Qwerty
> keyboards, it is not the most convenient sequence.
`x' and `s' are also typed with the same finger. But I agree
that hitting `C-u' and `RET' (or `C-j') is additional work.
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23151: 25.1.50; Emacs should have a convenient command for saving unchanged buffers
2016-03-30 15:40 ` Óscar Fuentes
2016-03-30 16:04 ` Andreas Schwab
@ 2016-03-30 16:12 ` Drew Adams
2016-03-31 7:54 ` Richard Stallman
2 siblings, 0 replies; 15+ messages in thread
From: Drew Adams @ 2016-03-30 16:12 UTC (permalink / raw)
To: Óscar Fuentes, Andreas Schwab
Cc: Lars Magne Ingebrigtsen, 23151, Richard Stallman
> >> a safe method of forcing Emacs to save the file without altering the
> >> buffer's content.
> >
> > Two methods were already presented in this thread.
>
> Someone mentioned C-u C-x C-w, which shows a prompt where you are
> supposed to write the file name of the buffer you are visiting. If you
> type the wrong file name, hopefully you will notice the mistake before
> creating too much damage.
I mentioned it. And no - just hit RET. End of story.
You need not enter any file name. The file you are visiting is
saved (rewritten), without any name change. There is really
nothing error prone about this, AFAICS.
> This is not a safe method.
Seems safe enough to me. Have you encountered danger when using
it? (Have you even tried to use it?)
But you are welcome to define a command that does the same thing
without any need to hit RET. And bind that to a key. Trivial to do.
I see no special reason why we need to add such a command to Emacs,
and a fortiori why we should need to bind such a command to a key
by default, and super a fortiori why we should modify `C-x C-s' so
that it does this. Let's please keep someone's clever idea of DWIM
away from our good old stalwart `C-x C-s'.
This all seems to be a tempest in a teapot.
YAGNI, or if YNI then you can easily write it.
> Other mentioned C-u M-~ (which actually should be C-u M-~ C-x C-s).
> Apart from being a long finger-twisting sequence, M-~ is impossible to
> type on some keyboards where ~ is written as AltGr-~, or difficult in
> some input methods, where ~ is a dead key.
>
> This is not convenient.
Again, trivial to bind to any key you like.
> The char&del C-x C-s method is popular because Emacs does
> not offer something better out of the box.
Again with the "popular" claim? 3 people said they use it,
sometimes. Hardly a groundswell.
And neither method mentioned is a difficult workaround, if
you really want to force rewriting of the visited file.
> It is about time that Emacs provides an intuitive (as per
> Emacs standards), convenient and safe method for doing that task.
"That task" - again hyperbole. Not much of a task, IMHO.
So no, I disagree that it is "about time that Emacs provide"
something to fill this great lack.
Nothing wrong with adding a command, if others really feel
it is lacking. But I don't see why we would bind it by
default, and even less why we should mess with `C-x C-s'
to handle this "need".
Here's another thing to ponder: Of the 3 people who expressed
a need for force-saving the current file, how many bothered
to trivially define and bind a command to do that? None of
them should have any problem doing that - they all Lisp well.
None did it (AFAIK). Why not? Because it isn't needed.
Even by them. If enough users define and bind such a key,
we'll hear about it and we can then reconsider. Until then,
WAGNI.
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23151: 25.1.50; Emacs should have a convenient command for saving unchanged buffers
2016-03-30 15:40 ` Óscar Fuentes
2016-03-30 16:04 ` Andreas Schwab
2016-03-30 16:12 ` Drew Adams
@ 2016-03-31 7:54 ` Richard Stallman
2016-03-31 16:11 ` John Wiegley
2 siblings, 1 reply; 15+ messages in thread
From: Richard Stallman @ 2016-03-31 7:54 UTC (permalink / raw)
To: Óscar Fuentes; +Cc: schwab, larsi, 23151
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
> The char&del C-x C-s method is popular because Emacs does not offer
> something better out of the box.
I don't think the hypothetical "something better" would be enough of
an improvement to justify the increased complexity of one more option
or command.
--
Dr Richard Stallman
President, Free Software Foundation (gnu.org, fsf.org)
Internet Hall-of-Famer (internethalloffame.org)
Skype: No way! See stallman.org/skype.html.
^ permalink raw reply [flat|nested] 15+ messages in thread
* bug#23151: 25.1.50; Emacs should have a convenient command for saving unchanged buffers
2016-03-31 7:54 ` Richard Stallman
@ 2016-03-31 16:11 ` John Wiegley
0 siblings, 0 replies; 15+ messages in thread
From: John Wiegley @ 2016-03-31 16:11 UTC (permalink / raw)
To: Richard Stallman; +Cc: Óscar Fuentes, schwab, larsi, 23151
>>>>> Richard Stallman <rms@gnu.org> writes:
> I don't think the hypothetical "something better" would be enough of an
> improvement to justify the increased complexity of one more option or
> command.
I agree. If I ever want to "force saving", I use C-x C-w, or modify/unmodify
and C-x C-s, as others have mentioned.
--
John Wiegley GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com 60E1 46C4 BD1A 7AC1 4BA2
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2016-03-31 16:11 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-29 15:36 bug#23151: 25.1.50; Emacs should have a convenient command for saving unchanged buffers Lars Magne Ingebrigtsen
2016-03-29 16:30 ` Drew Adams
[not found] ` <mailman.8597.1459265831.843.bug-gnu-emacs@gnu.org>
2016-03-29 19:14 ` Alan Mackenzie
2016-03-29 23:07 ` Johan Bockgård
2016-03-29 23:41 ` Drew Adams
2016-03-30 12:09 ` Richard Stallman
2016-03-30 14:19 ` Óscar Fuentes
2016-03-30 15:05 ` Andreas Schwab
2016-03-30 15:40 ` Óscar Fuentes
2016-03-30 16:04 ` Andreas Schwab
2016-03-30 16:28 ` Óscar Fuentes
2016-03-30 17:02 ` Drew Adams
2016-03-30 16:12 ` Drew Adams
2016-03-31 7:54 ` Richard Stallman
2016-03-31 16:11 ` John Wiegley
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).