From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jerry Quinn Newsgroups: gmane.emacs.bugs Subject: bug#22267: 24.4; Docs misspell c-set-offset command Date: Tue, 29 Dec 2015 13:48:21 -0500 Message-ID: <877fjx851m.fsf@optonline.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1451415748 2664 80.91.229.3 (29 Dec 2015 19:02:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Dec 2015 19:02:28 +0000 (UTC) To: 22267@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 29 20:02:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aDzXA-0000AW-Sz for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Dec 2015 20:02:13 +0100 Original-Received: from localhost ([::1]:49784 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDzXA-0004ds-2C for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Dec 2015 14:02:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDzX5-0004dY-SB for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 14:02:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDzX0-0000er-Oj for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 14:02:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41305) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDzX0-0000ek-Ls for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 14:02:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aDzX0-0005sv-AS for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 14:02:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jerry Quinn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Dec 2015 19:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22267 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.145141570922590 (code B ref -1); Tue, 29 Dec 2015 19:02:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Dec 2015 19:01:49 +0000 Original-Received: from localhost ([127.0.0.1]:48907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDzWm-0005sI-PR for submit@debbugs.gnu.org; Tue, 29 Dec 2015 14:01:49 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56895) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDzK4-0005W8-1h for submit@debbugs.gnu.org; Tue, 29 Dec 2015 13:48:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDzJx-00064C-8I for submit@debbugs.gnu.org; Tue, 29 Dec 2015 13:48:34 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:42224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDzJx-000648-5P for submit@debbugs.gnu.org; Tue, 29 Dec 2015 13:48:33 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDzJv-00019o-M4 for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 13:48:33 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDzJs-00063V-D8 for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 13:48:31 -0500 Original-Received: from e17.ny.us.ibm.com ([129.33.205.207]:53193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDzJs-00063F-6X for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 13:48:28 -0500 Original-Received: from localhost by e17.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 29 Dec 2015 13:48:25 -0500 Original-Received: from d01dlp03.pok.ibm.com (9.56.250.168) by e17.ny.us.ibm.com (146.89.104.204) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 29 Dec 2015 13:48:24 -0500 X-IBM-Helo: d01dlp03.pok.ibm.com X-IBM-MailFrom: jlquinn@optonline.net X-IBM-RcptTo: bug-gnu-emacs@gnu.org Original-Received: from b01cxnp22033.gho.pok.ibm.com (b01cxnp22033.gho.pok.ibm.com [9.57.198.23]) by d01dlp03.pok.ibm.com (Postfix) with ESMTP id 29A19C9003E for ; Tue, 29 Dec 2015 13:48:23 -0500 (EST) Original-Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by b01cxnp22033.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id tBTImN9R28114988 for ; Tue, 29 Dec 2015 18:48:23 GMT Original-Received: from d01av04.pok.ibm.com (localhost [127.0.0.1]) by d01av04.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id tBTImM67024566 for ; Tue, 29 Dec 2015 13:48:22 -0500 Original-Received: from tiamat (sig-9-65-211-164.ibm.com [9.65.211.164]) by d01av04.pok.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id tBTImLhg024506 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Tue, 29 Dec 2015 13:48:22 -0500 X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15122918-0041-0000-0000-000002EB51DB X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Tue, 29 Dec 2015 14:01:47 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:110975 Archived-At: In the info pages of CC mode, the following description appears. c-set-offset is incorectly pluralized in the 2nd and 3rd paragraphs: -- Command: c-set-offset (=E2=80=98C-c C-o=E2=80=99) This command changes the entry for a syntactic symbol in the current binding of =E2=80=98c-offsets-alist=E2=80=99, or it inserts a = new entry if there isn=E2=80=99t already one for that syntactic symbol. You can use =E2=80=98c-set-offsets=E2=80=99 interactively within a CC = Mode buffer to make experimental changes to your indentation settings. =E2=80=98C= -c C-o=E2=80=99 prompts you for the syntactic symbol to change (defaultin= g to that of the current line) and the new offset (defaulting to the current offset). =E2=80=98c-set-offsets=E2=80=99 takes two arguments when used programm= atically: SYMBOL, the syntactic element symbol to change and OFFSET, the new offset for that syntactic element. You can call the command in your =E2=80=98.emacs=E2=80=99 to change the global binding of =E2=80= =98c-offsets-alist=E2=80=99 (*note Style Variables::); you can use it in a hook function to make changes from the current style. CC Mode itself uses this function when initializing styles. In GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.9) of 2015-03-21 on kissel, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11701000 System Description: Ubuntu 15.04 Configured using: `configure --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24= .4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-li= sp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24= .4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-li= sp:/usr/share/emacs/site-lisp --with-x=3Dyes --with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars 'CFLAGS=3D-g -O2 -fstack-protector-strong -Wformat -Werror=3Dformat-security -Wall' CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2 'LDFLAGS=3D-Wl,-Bsymbolic-functions -Wl,-z,relro'' Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: shell-dirtrack-mode: t show-paren-mode: t iswitchb-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-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 line-number-mode: t transient-mark-mode: t Recent input: C-x o C-h v c - h a g n g b=20 r C-x o C-x o C-x 4 b =20 =20 =20 C-s s e t - C-a =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 =20 C-x o M-> C-x o i h o o k C-x o C-x=20 o C-x o C-SPC C-w C-x C-s M-<=20 C-x C-f =20 . e m C-a M-> C-x C-g=20 C-g M-( c - s e t - o f f M-/ SPC C-x o M-<=20 l C-x o s i n n a m e s p a c e SPC=20 0 C-e C-x C-e q C-g C-g C-h f c - s e t SPC o=20 f C-g =20 C-x o C-h C-g C-g M-x e m a =20 v C-x o M-x e m a r e p o =20 r r e p o r t SPC=20 e m a Recent messages: Expansion found in '*info*' Mark set Entering debugger... Back to top level. Quit [2 times] Making completion list... Quit C-h C-g is undefined Quit GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.9) of 2015-03-21 o= n kissel, modified by Debian Load-path shadows: /usr/share/emacs/24.4/site-lisp/debian-startup hides /usr/share/emacs/site-= lisp/debian-startup /usr/share/emacs/24.4/site-lisp/bhl hides /usr/share/emacs/site-lisp/bhl /usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides /usr/share/= emacs/24.4/lisp/textmodes/flyspell /usr/share/emacs24/site-lisp/dictionaries-common/ispell hides /usr/share/em= acs/24.4/lisp/textmodes/ispell Features: (shadow sort mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums debug cus-edit apropos kmacro two-column iso-transl cmacexp pp vc-git byte-opt bytecomp byte-compile cconv misearch multi-isearch shell pcomplete compile comint ansi-color ring help-mode dabbrev info jka-compr tar-mode add-log dired sh-script smie executable perl-mode conf-mode vc-hg todoo noutline outline make-mode vc-dispatcher vc-svn cc-langs cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs desktop frameset saveplace paren iswitchb gnus gnus-ems nnheader gnus-util mail-utils mm-util help-fns mail-prsvr wid-edit cl-loaddefs cl-lib cus-start cus-load emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs easy-mmode time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer 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 make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 471504 97546) (symbols 48 35497 0) (miscs 40 930 2258) (strings 32 51738 17919) (string-bytes 1 1540242) (vectors 16 29847) (vector-slots 8 1594272 190497) (floats 8 102 805) (intervals 56 45738 35) (buffers 960 190) (heap 1024 59109 2752))