emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/emacs-24 r107946: Small edits for programs.


From: Glenn Morris
Subject: [Emacs-diffs] /srv/bzr/emacs/emacs-24 r107946: Small edits for programs.texi in Emacs manual
Date: Wed, 02 May 2012 23:43:02 -0700
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 107946
committer: Glenn Morris <address@hidden>
branch nick: emacs-24
timestamp: Wed 2012-05-02 23:43:02 -0700
message:
  Small edits for programs.texi in Emacs manual
  
  * doc/emacs/programs.texi (Programs, Electric C): Copyedits.
  (Program Modes): Add xref to Fortran.
  (Left Margin Paren): Remove what was (oddly enough) the only use
  of defvar in the entire Emacs manual.
  (Hungry Delete): Remove footnote about ancient Emacs version.
  (Other C Commands): Use example rather than smallexample.
modified:
  doc/emacs/ChangeLog
  doc/emacs/programs.texi
=== modified file 'doc/emacs/ChangeLog'
--- a/doc/emacs/ChangeLog       2012-05-03 06:22:54 +0000
+++ b/doc/emacs/ChangeLog       2012-05-03 06:43:02 +0000
@@ -1,5 +1,12 @@
 2012-05-03  Glenn Morris  <address@hidden>
 
+       * programs.texi (Programs, Electric C): Copyedits.
+       (Program Modes): Add xref to Fortran.
+       (Left Margin Paren): Remove what was (oddly enough) the only use
+       of defvar in the entire Emacs manual.
+       (Hungry Delete): Remove footnote about ancient Emacs version.
+       (Other C Commands): Use example rather than smallexample.
+
        * text.texi (Pages, Filling, Foldout, Org Mode, HTML Mode)
        (Nroff Mode, Enriched Indentation, Table Rows and Columns):
        Tweak line and page breaks.

=== modified file 'doc/emacs/programs.texi'
--- a/doc/emacs/programs.texi   2012-04-26 00:31:47 +0000
+++ b/doc/emacs/programs.texi   2012-05-03 06:43:02 +0000
@@ -9,7 +9,7 @@
 @cindex program editing
 
   This chapter describes Emacs features for facilitating editing
-programs.  Some of these features can:
+programs.  Some of the things these features can do are:
 
 @itemize @bullet
 @item
@@ -128,8 +128,7 @@
 @ifnotinfo
   The Emacs distribution contains Info manuals for the major modes for
 Ada, C/C++/Objective C/Java/Corba IDL/Pike/AWK, and IDLWAVE.  For
-Fortran mode, see the ``Fortran'' section in the Info version of the
-Emacs manual, which is not included in this printed version.
+Fortran mode, @pxref{Fortran,,, emacs-xtra, Specialized Emacs Features}.
 @end ifnotinfo
 
 @node Defuns
@@ -186,15 +185,13 @@
 highlights confusing opening delimiters (those that ought to be
 quoted) in bold red.
 
address@hidden open-paren-in-column-0-is-defun-start
   If you need to override this convention, you can do so by setting
-this user option:
-
address@hidden open-paren-in-column-0-is-defun-start
+the variable @code{open-paren-in-column-0-is-defun-start}.
 If this user option is set to @code{t} (the default), opening
-parentheses or braces at column zero always start defuns.  When it's
+parentheses or braces at column zero always start defuns.  When it is
 @code{nil}, defuns are found by searching for parens or braces at the
 outermost level.
address@hidden defvar
 
   Usually, you should leave this option at its default value of
 @code{t}.  If your buffer contains parentheses or braces in column
@@ -1553,8 +1550,8 @@
 @kindex C-c C-l @r{(C mode)}
 @findex c-toggle-electric-state
 Toggle electric action (@code{c-toggle-electric-state}).  With a
-prefix argument, this command enables electric action if the argument
-is positive, disables it if it is negative.
+positive prefix argument, this command enables electric action, with a
+negative one it disables it.
 @end table
 
   Electric characters insert newlines only when, in addition to the
@@ -1591,8 +1588,7 @@
 @findex c-hungry-delete-backwards
 @kindex C-c address@hidden (C Mode)
 @kindex C-c @key{DEL} (C Mode)
address@hidden the entire block of whitespace
-preceding point.
+Delete the entire block of whitespace preceding point 
(@code{c-hungry-delete-backwards}).
 
 @item C-c C-d
 @itemx C-c address@hidden
@@ -1601,8 +1597,7 @@
 @kindex C-c C-d (C Mode)
 @kindex C-c address@hidden (C Mode)
 @kindex C-c @key{DELETE} (C Mode)
address@hidden the entire block of whitespace
-following point.
+Delete the entire block of whitespace after point 
(@code{c-hungry-delete-forward}).
 @end table
 
   As an alternative to the above commands, you can enable @dfn{hungry
@@ -1615,9 +1610,7 @@
 @item M-x c-toggle-hungry-state
 @findex c-toggle-hungry-state
 Toggle the hungry-delete feature
-(@code{c-toggle-hungry-state})@footnote{This command had the binding
address@hidden C-d} in earlier versions of Emacs.  @kbd{C-c C-d} is now
-bound to @code{c-hungry-delete-forward}.}.  With a prefix argument,
+(@code{c-toggle-hungry-state}).  With a prefix argument,
 this command turns the hungry-delete feature on if the argument is
 positive, and off if it is negative.
 @end table
@@ -1656,11 +1649,11 @@
 @kbd{C-j}.  We use @code{c-initialization-hook} here to make sure
 the keymap is loaded before we try to change it.
 
address@hidden
address@hidden
 (defun my-bind-clb ()
   (define-key c-mode-base-map "\C-j" 'c-context-line-break))
 (add-hook 'c-initialization-hook 'my-bind-clb)
address@hidden smallexample
address@hidden example
 
 @item C-M-h
 Put mark at the end of a function definition, and put point at the


reply via email to

[Prev in Thread] Current Thread [Next in Thread]