From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#22267: 24.4; Docs misspell c-set-offset command Date: Tue, 29 Dec 2015 22:58:12 +0200 Message-ID: <83r3i5c6qj.fsf@gnu.org> References: <877fjx851m.fsf@optonline.net> <83si2lc9hl.fsf@gnu.org> <87r3i5dnak.fsf@md5i.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1451422702 11052 80.91.229.3 (29 Dec 2015 20:58:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Dec 2015 20:58:22 +0000 (UTC) Cc: jlquinn@optonline.net, 22267-done@debbugs.gnu.org To: Michael Welsh Duggan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 29 21:58:11 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 1aE1LP-0000FZ-Hw for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Dec 2015 21:58:11 +0100 Original-Received: from localhost ([::1]:50117 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aE1LP-00057w-1b for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Dec 2015 15:58:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aE1LL-000552-8A for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 15:58:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aE1LG-0003Uf-Gu for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 15:58:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41370) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aE1LG-0003UW-EZ; Tue, 29 Dec 2015 15:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aE1LG-0002AW-9m; Tue, 29 Dec 2015 15:58:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Tue, 29 Dec 2015 20:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 22267 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Mail-Followup-To: 22267@debbugs.gnu.org, eliz@gnu.org, jlquinn@optonline.net Original-Received: via spool by 22267-done@debbugs.gnu.org id=D22267.14514226518276 (code D ref 22267); Tue, 29 Dec 2015 20:58:02 +0000 Original-Received: (at 22267-done) by debbugs.gnu.org; 29 Dec 2015 20:57:31 +0000 Original-Received: from localhost ([127.0.0.1]:48971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aE1Kl-00029Q-2k for submit@debbugs.gnu.org; Tue, 29 Dec 2015 15:57:31 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35126) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aE1Kj-000298-Lx for 22267-done@debbugs.gnu.org; Tue, 29 Dec 2015 15:57:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aE1KZ-0003HT-TA for 22267-done@debbugs.gnu.org; Tue, 29 Dec 2015 15:57:24 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aE1KZ-0003HP-Pt; Tue, 29 Dec 2015 15:57:19 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4708 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aE1KZ-0004pY-1T; Tue, 29 Dec 2015 15:57:19 -0500 In-reply-to: <87r3i5dnak.fsf@md5i.com> (message from Michael Welsh Duggan on Tue, 29 Dec 2015 15:15:15 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:110984 Archived-At: > From: Michael Welsh Duggan > Cc: Jerry Quinn , 22267@debbugs.gnu.org > Date: Tue, 29 Dec 2015 15:15:15 -0500 > > >> -- Command: c-set-offset (‘C-c C-o’) > >> This command changes the entry for a syntactic symbol in the > >> current binding of ‘c-offsets-alist’, or it inserts a new entry if > >> there isn’t already one for that syntactic symbol. > >> > >> You can use ‘c-set-offsets’ interactively within a CC Mode buffer > ^ > > >> to make experimental changes to your indentation settings. ‘C-c > >> C-o’ prompts you for the syntactic symbol to change (defaulting to > >> that of the current line) and the new offset (defaulting to the > >> current offset). > >> > >> ‘c-set-offsets’ takes two arguments when used programmatically: > ^ > > >> SYMBOL, the syntactic element symbol to change and OFFSET, the new > >> offset for that syntactic element. You can call the command in > >> your ‘.emacs’ to change the global binding of ‘c-offsets-alist’ > >> (*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. > > > > Sorry, but where exactly did you see misspelling here? > > There are a couple of extraneous letters 's' in the marked locations. Thanks, fixed.