GNU bug report logs - #10334
24.0.92; Doc fix

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Tue, 20 Dec 2011 18:59:02 UTC

Severity: minor

Found in version 24.0.92

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 10334 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: 10334 <at> debbugs.gnu.org
Subject: Re: bug#10334: 24.0.92; Doc fix
Date: Tue, 20 Dec 2011 23:09:50 +0200
> Date: Tue, 20 Dec 2011 19:56:37 +0100
> From: Dani Moncayo <dmoncayo <at> gmail.com>
> 
> Here's a documentation patch:

Thanks.

>   One reason to create a new buffer is to use it for making temporary
> -notes.  If you try to save it, Emacs asks for the file name to use.
> -The default value of the variable @code{major-mode} determines the new
> -buffer's major mode; the default value is Fundamental mode.  @xref{Major
> -Modes}.
> +notes.  The default value of the variable @code{major-mode} determines
> +the new buffer's major mode; the default value is Fundamental mode.
> +@xref{Major Modes}.  If you try to save it, Emacs asks for the file
> +name to use, and the major mode is then re-established, based on that
> +file name.

This change makes the text harder to understand.  Previously, it was
clear that "it" in "If you try to save it" referred to the new buffer,
because that sentence directly followed the one which talked about
creating a new buffer.  By moving "If you try to save it", you made
"it" ambiguous: now it's unclear what it refers to; it could be the
major mode, for example.

Here's what I think is a better version:

 One reason to create a new buffer is to use it for making temporary
 notes.  If you try to save it, Emacs asks for the file name to use.
 The default value of the variable @code{major-mode} determines the
 new buffer's major mode; the default value is Fundamental mode
 (@pxref{Major Modes}).  However, the file name you give when saving
 the buffer may cause Emacs to change the buffer's major mode as
 appropriate for that file name.





This bug report was last modified 13 years and 93 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.