From unknown Tue Jun 24 15:41:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14087: [PATCH] Some fixes for refcard.tex Resent-From: Xue Fuqiao Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Mar 2013 09:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14087 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 14087@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.136454791417417 (code B ref -1); Fri, 29 Mar 2013 09:06:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Mar 2013 09:05:14 +0000 Received: from localhost ([127.0.0.1]:50610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ULVFJ-0004Wp-Ui for submit@debbugs.gnu.org; Fri, 29 Mar 2013 05:05:14 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49443) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ULVFF-0004Wg-Vh for submit@debbugs.gnu.org; Fri, 29 Mar 2013 05:05:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULVCj-0004mv-C5 for submit@debbugs.gnu.org; Fri, 29 Mar 2013 05:02:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:32948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULVCj-0004mr-9I for submit@debbugs.gnu.org; Fri, 29 Mar 2013 05:02:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULVCg-0005OE-If for bug-gnu-emacs@gnu.org; Fri, 29 Mar 2013 05:02:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULVCe-0004iX-Mv for bug-gnu-emacs@gnu.org; Fri, 29 Mar 2013 05:02:30 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:61164) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULVCe-0004hG-D5 for bug-gnu-emacs@gnu.org; Fri, 29 Mar 2013 05:02:28 -0400 Received: by mail-pd0-f182.google.com with SMTP id 3so180660pdj.41 for ; Fri, 29 Mar 2013 02:02:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; bh=HJKq2oQDGlpGciMhmHdkGqjL7rlzvd3yL+zoa5CUSSk=; b=ZX4lJuLpE+QOWjzUyn0zZg5+hjb1O+0Q221F1GCEszyWGyHE1eNdze0+wjndtfWiF8 30O9tZ7qsTpGIi5k5BA6VpAo8WF3YqZumoy8Ts5KGtroODPuOaT69CAo45ArKQnH06vd f+joWN14VQDQ+5vp86mZEVJHel021RfXQt6/l7fxKDt7MVq3WvS4z2K0Pekb72UX2gaN gwxbG7jarGBblXfnqsCqKAtLqOeFk4YUR0aX0HrzJVAYQUfX9cVMqgIYHlVJtlN7kv7M YsjSblXs7WHKaM2PKk181prRtW5GwK4Zmck/BMDcVgAm76JUoifipTqF+EJipO+zz9QY hDNA== X-Received: by 10.66.227.228 with SMTP id sd4mr3380963pac.38.1364547747176; Fri, 29 Mar 2013 02:02:27 -0700 (PDT) Received: from debian.emacs ([61.149.227.151]) by mx.google.com with ESMTPS id dl1sm2154803pbc.17.2013.03.29.02.02.24 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 29 Mar 2013 02:02:26 -0700 (PDT) Date: Fri, 29 Mar 2013 17:02:27 +0800 From: Xue Fuqiao Message-Id: <20130329170227.38fd7e5d5ce1b8590b79a659@gmail.com> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) The following patch refines some entries in etc/refcards/refcard.tex: diff -cp trunk/etc/refcards/refcard.tex.orig trunk/etc/refcards/refcard.tex *** trunk/etc/refcards/refcard.tex.orig 2013-03-10 06:42:26.000000000 +0800 --- trunk/etc/refcards/refcard.tex 2013-03-29 16:54:48.000000000 +0800 *************** If Emacs is still searching, \kbd{C-g} c *** 355,360 **** --- 355,361 ---- \key{scroll current line to center, top, bottom}{C-l} \key{goto line}{M-g g} + \key{goto char}{M-g c} \key{back to indentation}{M-m} \section{Killing and Deleting} *************** minibuffer. Type \kbd{F10} to activate *** 504,509 **** --- 505,511 ---- \key{check spelling of current word}{M-\$} \metax{check spelling of all words in region}{M-x ispell-region} \metax{check spelling of entire buffer}{M-x ispell-buffer} + \metax{toggle on-the-fly spell checking}{M-x flyspell-mode} \section{Tags} *************** minibuffer. Type \kbd{F10} to activate *** 512,523 **** \metax{specify a new tags file}{M-x visit-tags-table} \metax{regexp search on all files in tags table}{M-x tags-search} ! \metax{run query-replace on all the files}{M-x tags-query-replace} \key{continue last tags search or query-replace}{M-,} \section{Shells} \key{execute a shell command}{M-!} \key{run a shell command on the region}{M-|} \key{filter region through a shell command}{C-u M-|} \key{start a shell in window \kbd{*shell*}}{M-x shell} --- 514,526 ---- \metax{specify a new tags file}{M-x visit-tags-table} \metax{regexp search on all files in tags table}{M-x tags-search} ! \metax{run {\bf query-replace-regexp} on all files listed in tags table}{M-x tags-query-replace} \key{continue last tags search or query-replace}{M-,} \section{Shells} \key{execute a shell command}{M-!} + \key{execute a shell command asynchronously}{M-&} \key{run a shell command on the region}{M-|} \key{filter region through a shell command}{C-u M-|} \key{start a shell in window \kbd{*shell*}}{M-x shell} *************** minibuffer. Type \kbd{F10} to activate *** 554,562 **** --- 557,568 ---- \key{zero or more repeats}{*} \key{one or more repeats}{+} \key{zero or one repeat}{?} + \key{quote special characters}{\\} \key{quote regular expression special character {\it c\/}}{\\{\it c}} \key{alternative (``or'')}{\\|} \key{grouping}{\\( {\rm$\ldots$} \\)} + \key{shy grouping}{\\(:? {\rm$\ldots$} \\)} + \key{explicit numbered grouping}{\\(:NUM {\rm$\ldots$} \\)} \key{same text as {\it n\/}th group}{\\{\it n}} \key{at word break}{\\b} \key{not at word break}{\\B} *************** minibuffer. Type \kbd{F10} to activate *** 565,576 **** --- 571,585 ---- \threecol{{\bf entity}}{{\bf match start}}{{\bf match end}} \threecol{line}{^}{\$} \threecol{word}{\\<}{\\>} + \threecol{symbol}{\\_<}{\\_>} \threecol{buffer}{\\`}{\\'} + %% FIXME: "`" and "'" isn't displayed correctly in the output PDF file \threecol{{\bf class of characters}}{{\bf match these}}{{\bf match others}} \threecol{explicit set}{[ {\rm$\ldots$} ]}{[^ {\rm$\ldots$} ]} \threecol{word-syntax character}{\\w}{\\W} \threecol{character with syntax {\it c}}{\\s{\it c}}{\\S{\it c}} + \threecol{character with category {\it c}}{\\c{\it c}}{\\C{\it c}} } \section{International Character Sets} *************** Moving within a node: *** 592,598 **** \key{scroll forward}{SPC} \key{scroll reverse}{DEL} ! \key{beginning of node}{. {\rm (dot)}} Moving between nodes: --- 601,607 ---- \key{scroll forward}{SPC} \key{scroll reverse}{DEL} ! \key{beginning of node}{b} Moving between nodes: *************** Other: *** 630,646 **** \key{{\bf start} defining a keyboard macro}{C-x (} \key{{\bf end} keyboard macro definition}{C-x )} \key{{\bf execute} last-defined keyboard macro}{C-x e} ! \key{append to last keyboard macro}{C-u C-x (} \metax{name last keyboard macro}{M-x name-last-kbd-macro} \metax{insert Lisp definition in buffer}{M-x insert-kbd-macro} \section{Commands Dealing with Emacs Lisp} ! \key{eval {\bf sexp} before point}{C-x C-e} \key{eval current {\bf defun}}{C-M-x} \metax{eval {\bf region}}{M-x eval-region} \key{read and eval minibuffer}{M-:} ! \metax{load from standard system directory}{M-x load-library} \section{Simple Customization} --- 639,655 ---- \key{{\bf start} defining a keyboard macro}{C-x (} \key{{\bf end} keyboard macro definition}{C-x )} \key{{\bf execute} last-defined keyboard macro}{C-x e} ! \key{record subsequent keyboard input, then append to last keyboard macro}{C-u C-x (} \metax{name last keyboard macro}{M-x name-last-kbd-macro} \metax{insert Lisp definition in buffer}{M-x insert-kbd-macro} \section{Commands Dealing with Emacs Lisp} ! \key{eval {\bf sexp} before point}{C-x C-e} % sexp? form? expression? S-expression? \key{eval current {\bf defun}}{C-M-x} \metax{eval {\bf region}}{M-x eval-region} \key{read and eval minibuffer}{M-:} ! \metax{load a Lisp library from {\bf load-path}}{M-x load-library} \section{Simple Customization} *************** An example: *** 669,675 **** \beginexample% (defun this-line-to-top-of-window (line) "Reposition current line to top of window. ! With ARG, put point on line ARG." (interactive "P") (recenter (if (null line) 0 --- 678,684 ---- \beginexample% (defun this-line-to-top-of-window (line) "Reposition current line to top of window. ! With prefix argument LINE, put point on LINE." (interactive "P") (recenter (if (null line) 0 *************** With ARG, put point on line ARG." *** 677,683 **** \endexample The \kbd{interactive} spec says how to read arguments interactively. ! Type \kbd{C-h f interactive} for more details. \copyrightnotice --- 686,692 ---- \endexample The \kbd{interactive} spec says how to read arguments interactively. ! Type \kbd{C-h f interactive RET} for more details. \copyrightnotice diff -cp trunk/etc/ChangeLog.orig trunk/etc/ChangeLog *** trunk/etc/ChangeLog.orig 2013-03-23 18:14:12.000000000 +0800 --- trunk/etc/ChangeLog 2013-03-29 17:00:51.000000000 +0800 *************** *** 1,3 **** --- 1,7 ---- + 2013-03-29 Xue Fuqiao + + * refcards/refcard.tex: Refine some entries. + 2013-03-21 Eric Ludlam * srecode/ede-autoconf.srt: Change Copyright to FSF. -- Xue Fuqiao http://www.gnu.org/software/emacs/ From unknown Tue Jun 24 15:41:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14087: [PATCH] Some fixes for refcard.tex Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 May 2013 17:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14087 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Xue Fuqiao Cc: 14087@debbugs.gnu.org Received: via spool by 14087-submit@debbugs.gnu.org id=B14087.13680335058950 (code B ref 14087); Wed, 08 May 2013 17:19:01 +0000 Received: (at 14087) by debbugs.gnu.org; 8 May 2013 17:18:25 +0000 Received: from localhost ([127.0.0.1]:34077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ua80W-0002KJ-Gl for submit@debbugs.gnu.org; Wed, 08 May 2013 13:18:25 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:42619) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ua80U-0002K2-1h for 14087@debbugs.gnu.org; Wed, 08 May 2013 13:18:22 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Ua80T-0002Ak-3V; Wed, 08 May 2013 13:18:21 -0400 From: Glenn Morris References: <20130329170227.38fd7e5d5ce1b8590b79a659@gmail.com> X-Spook: pink noise Firewalls Saddam Hussein Ron Brown X-Ran: MaD\gvqyK"R3p1RUsVsQb5[q[t>h\q4/_Bv1<0T}u?zE"f`>ZtS-Kh?1ZKW/(nj)lw%2BN X-Hue: black X-Attribution: GM Date: Wed, 08 May 2013 13:18:20 -0400 In-Reply-To: <20130329170227.38fd7e5d5ce1b8590b79a659@gmail.com> (Xue Fuqiao's message of "Fri, 29 Mar 2013 17:02:27 +0800") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.9 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -8.3 (--------) Xue Fuqiao wrote: > ! \metax{run {\bf query-replace-regexp} on all files listed in tags table}{M-x tags-query-replace} Way too long. Looks terrible in generated pdf. > + \key{execute a shell command asynchronously}{M-&} Fails to LaTeX. Use '\&'. > ! \key{record subsequent keyboard input, then append to last keyboard macro}{C-u C-x (} Too long. > ! \key{eval {\bf sexp} before point}{C-x C-e} % sexp? form? expression? S-expression? sexp seems fine for a quick reference card. From unknown Tue Jun 24 15:41:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14087: [PATCH] Some fixes for refcard.tex Resent-From: Xue Fuqiao Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 May 2013 05:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14087 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Glenn Morris Cc: 14087@debbugs.gnu.org Received: via spool by 14087-submit@debbugs.gnu.org id=B14087.136807559327094 (code B ref 14087); Thu, 09 May 2013 05:00:02 +0000 Received: (at 14087) by debbugs.gnu.org; 9 May 2013 04:59:53 +0000 Received: from localhost ([127.0.0.1]:34383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UaIxM-00072v-Ea for submit@debbugs.gnu.org; Thu, 09 May 2013 00:59:53 -0400 Received: from mail-ie0-f171.google.com ([209.85.223.171]:36258) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UaIxJ-00072d-Q3 for 14087@debbugs.gnu.org; Thu, 09 May 2013 00:59:51 -0400 Received: by mail-ie0-f171.google.com with SMTP id e11so4776748iej.2 for <14087@debbugs.gnu.org>; Wed, 08 May 2013 21:59:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=Thkm6z+d7ymGckU9W0jPxZz/jNlq5LnIQa1b90kJX5w=; b=E9djEqyJdIDd95wstYakOyGfeDl2bZuL7XnegpcS+b2oRIvaBJpzqnBNEy3cnx3thf NMBbUbz3ZghJLofTTmkggS07H0666W8vmdADuM7gmSCLghTI6NPxIB7XTTp//bTbIcKL XNJRQzmC3mn2qJ60eP+Vr6Cxtqqb4HDztQ8EU9RYZ8fgqDQcyjDp6B6q1s2qFDiYANHL jcRIZoaElssQgc6RnfdVfMCp4Raq2kg/Y/QAVRMGmKax7k5fPtvXaC4bfnlG3wopFFnp whIcknfl4h2+Bp2xxrptR6c06/RbeiV0ofUcOxUH9DDKn4I/M0xDX08PPfvCY4OlWecH LhkQ== MIME-Version: 1.0 X-Received: by 10.50.100.201 with SMTP id fa9mr7141977igb.28.1368075586529; Wed, 08 May 2013 21:59:46 -0700 (PDT) Received: by 10.43.18.10 with HTTP; Wed, 8 May 2013 21:59:46 -0700 (PDT) In-Reply-To: References: <20130329170227.38fd7e5d5ce1b8590b79a659@gmail.com> Date: Thu, 9 May 2013 12:59:46 +0800 Message-ID: From: Xue Fuqiao Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Thu, May 9, 2013 at 1:18 AM, Glenn Morris wrote: (Sorry, but I cannot configure my email client to use `X-Debbugs-CC'.) > Xue Fuqiao wrote: > >> ! \metax{run {\bf query-replace-regexp} on all files listed in tags table}{M-x tags-query-replace} > > Way too long. Looks terrible in generated pdf. OK, I'll remove this change. >> + \key{execute a shell command asynchronously}{M-&} > > Fails to LaTeX. Use '\&'. I'll change it. >> ! \key{record subsequent keyboard input, then append to last keyboard macro}{C-u C-x (} > > Too long. I'll remove this change. >> ! \key{eval {\bf sexp} before point}{C-x C-e} % sexp? form? expression? S-expression? > > sexp seems fine for a quick reference card. In (info "(elisp) Intro Eval"): A Lisp object that is intended for evaluation is called a "form" or "expression". [...] It is sometimes also referred to as an "S-expression" or "sexp", but we generally do not use this terminology in this manual. IMO we can use "form" here since it is consistent with the manual and not too long. -- Best regards, Xue Fuqiao. http://www.gnu.org/software/emacs/ From unknown Tue Jun 24 15:41:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14087: [PATCH] Some fixes for refcard.tex Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 May 2013 06:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14087 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Xue Fuqiao Cc: 14087@debbugs.gnu.org Received: via spool by 14087-submit@debbugs.gnu.org id=B14087.13680804948155 (code B ref 14087); Thu, 09 May 2013 06:22:01 +0000 Received: (at 14087) by debbugs.gnu.org; 9 May 2013 06:21:34 +0000 Received: from localhost ([127.0.0.1]:34413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UaKEQ-00027T-8b for submit@debbugs.gnu.org; Thu, 09 May 2013 02:21:34 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:56295) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UaKEN-00027I-IO for 14087@debbugs.gnu.org; Thu, 09 May 2013 02:21:32 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UaKEI-0003Zx-NG; Thu, 09 May 2013 02:21:26 -0400 From: Glenn Morris References: <20130329170227.38fd7e5d5ce1b8590b79a659@gmail.com> X-Spook: JPL SEAL Team 6 covert video Ron Brown $400 million in X-Ran: g$/~3b/IJrzMu1~EIh[$yR+5aGic?Ob&>cWiNZ90wWKB1)g}|!K''SP::,-P@0f.q9w7!? X-Hue: magenta X-Attribution: GM Date: Thu, 09 May 2013 02:21:26 -0400 In-Reply-To: (Xue Fuqiao's message of "Thu, 9 May 2013 12:59:46 +0800") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -8.3 (--------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -8.3 (--------) Xue Fuqiao wrote: > (Sorry, but I cannot configure my email client to use `X-Debbugs-CC'.) i) That option only affects new reports, not replies to existing reports, so I don't see the relevance. ii) I guess your mail client doesn't let you add X- headers. Well, you can put it in the first line of the body instead. No, it probably isn't in the documentation. >>> ! \key{eval {\bf sexp} before point}{C-x C-e} % sexp? form? expression? S-expression? >> >> sexp seems fine for a quick reference card. > > In (info "(elisp) Intro Eval"): > > A Lisp object that is intended for evaluation is called a "form" or > "expression". > [...] > It is sometimes also referred to as an "S-expression" or "sexp", > but we generally do not use this terminology in this manual. > > IMO we can use "form" here since it is consistent with the manual and > not too long. A reference card is not a manual. The command is "eval-last-sexp"; "Evaluate sexp before point". Using the word "sexp" will therefore be confusing to literally no-one, and has added mnemonic value wrt the command-name. There is no need to change it. From unknown Tue Jun 24 15:41:47 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14087: [PATCH] Some fixes for refcard.tex Resent-From: Xue Fuqiao Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 May 2013 08:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14087 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Glenn Morris Cc: 14087@debbugs.gnu.org Received: via spool by 14087-submit@debbugs.gnu.org id=B14087.136808680430324 (code B ref 14087); Thu, 09 May 2013 08:07:01 +0000 Received: (at 14087) by debbugs.gnu.org; 9 May 2013 08:06:44 +0000 Received: from localhost ([127.0.0.1]:34491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UaLs9-0007t1-No for submit@debbugs.gnu.org; Thu, 09 May 2013 04:06:43 -0400 Received: from mail-ie0-f179.google.com ([209.85.223.179]:62555) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UaLs6-0007st-O4 for 14087@debbugs.gnu.org; Thu, 09 May 2013 04:06:40 -0400 Received: by mail-ie0-f179.google.com with SMTP id c13so5069440ieb.10 for <14087@debbugs.gnu.org>; Thu, 09 May 2013 01:06:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=bVP4LfT0qbHpLFicfPv5tXCN5iH4RKKsETqmNUKL0Fs=; b=d+o0YK4tDiKcV3/Zd8tKtsaf6aXslgogaa6BvznE5/B1Wc+fvRhl/lDduf7wPQ7umR QHeDhTNUkHdFqvVsZXwe4/cjb70mx+uWpY4RDP4dNNItB5dQVlqdyNW3iL+ITh2LQE+N 8Gyc2/yizfZ6iZkLQ7XTsmVlUhyDzpXNXb1ZDtdKHtCV0ZuHv3a/M0ShKyp1hDwWg7ur oStdB9IrCz1z4Wawf7j0hoctfTF56PTL+D3dV+O+FYc8JmF/4G7vYVole/s3OeWNRpdt affUpDwylRGJgXawlCnf7D9zz1tuIYp3/FHfZ7EGXBZ5y0YD8Ljf3eYbejMqwp/g4SVm BBrQ== MIME-Version: 1.0 X-Received: by 10.50.51.226 with SMTP id n2mr4438902igo.25.1368086794676; Thu, 09 May 2013 01:06:34 -0700 (PDT) Received: by 10.43.18.10 with HTTP; Thu, 9 May 2013 01:06:34 -0700 (PDT) In-Reply-To: References: <20130329170227.38fd7e5d5ce1b8590b79a659@gmail.com> Date: Thu, 9 May 2013 16:06:34 +0800 Message-ID: From: Xue Fuqiao Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Thu, May 9, 2013 at 2:21 PM, Glenn Morris wrote: > Xue Fuqiao wrote: > >> (Sorry, but I cannot configure my email client to use `X-Debbugs-CC'.) > > i) That option only affects new reports, not replies to existing > reports, so I don't see the relevance. > > ii) I guess your mail client doesn't let you add X- headers. > Well, you can put it in the first line of the body instead. > No, it probably isn't in the documentation. Ah, I see. Thank you. >>>> ! \key{eval {\bf sexp} before point}{C-x C-e} % sexp? form? expression? S-expression? >>> >>> sexp seems fine for a quick reference card. >> >> In (info "(elisp) Intro Eval"): >> >> A Lisp object that is intended for evaluation is called a "form" or >> "expression". >> [...] >> It is sometimes also referred to as an "S-expression" or "sexp", >> but we generally do not use this terminology in this manual. >> >> IMO we can use "form" here since it is consistent with the manual and >> not too long. > > A reference card is not a manual. > The command is "eval-last-sexp"; "Evaluate sexp before point". > Using the word "sexp" will therefore be confusing to literally no-one, > and has added mnemonic value wrt the command-name. > There is no need to change it. OK, you convinced me. -- Best regards, Xue Fuqiao. http://www.gnu.org/software/emacs/ From unknown Tue Jun 24 15:41:47 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Xue Fuqiao Subject: bug#14087: closed (Re: [PATCH] Some fixes for refcard.tex) Message-ID: References: <20130329170227.38fd7e5d5ce1b8590b79a659@gmail.com> X-Gnu-PR-Message: they-closed 14087 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 14087@debbugs.gnu.org Date: Sat, 25 May 2013 02:20:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1369448401-11126-1" This is a multi-part message in MIME format... ------------=_1369448401-11126-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #14087: [PATCH] Some fixes for refcard.tex which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 14087@debbugs.gnu.org. --=20 14087: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D14087 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1369448401-11126-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 14087-done) by debbugs.gnu.org; 25 May 2013 02:20:01 +0000 Received: from localhost ([127.0.0.1]:33100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ug45Q-0002tC-Bh for submit@debbugs.gnu.org; Fri, 24 May 2013 22:20:00 -0400 Received: from mail-ie0-f178.google.com ([209.85.223.178]:43263) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Ug45N-0002sy-Rq for 14087-done@debbugs.gnu.org; Fri, 24 May 2013 22:19:58 -0400 Received: by mail-ie0-f178.google.com with SMTP id f4so6523286iea.23 for <14087-done@debbugs.gnu.org>; Fri, 24 May 2013 19:18:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=niYx75jm/4BBGVEzKUAJvzpbnwJ/cnX1UIBu2gGo83Q=; b=BSE0XMVzbJuufnseUqY0Xq6N1lgUiL6dhTxRp46P0MK6CXmGIXxTT/D9YMkZQgnkR/ cDsbYNLi0AkA7h8/55MCY3Jvr+oFBKW9TIP/nH9nIRS2P0woN42JANi3JNhcpHvstG+7 A+N+vp4Y4Q5096aGWZ6FWUKQ6XBsm4CBguJRffblZFsjSNCgbxtaBWOs+TRnuDIxgAnq 2dYh6BdVTqb3c2rKQ/GAEWNETyLdq1CKDalAYg6pL+uTW0G9I7F0hIUXKXeaoQz1ahQ6 5V6XREusIVe7/ugL5X2Lq6ZT8AF4rukYW+OkNZMoQ9i09KFdK27ccJkAeCBIc5vRqSsc 8qZA== MIME-Version: 1.0 X-Received: by 10.50.118.37 with SMTP id kj5mr860127igb.70.1369448333350; Fri, 24 May 2013 19:18:53 -0700 (PDT) Received: by 10.42.121.138 with HTTP; Fri, 24 May 2013 19:18:53 -0700 (PDT) Date: Sat, 25 May 2013 10:18:53 +0800 Message-ID: Subject: Re: [PATCH] Some fixes for refcard.tex From: Xue Fuqiao To: 14087-done@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: 14087-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) Fixed and installed, thanks. ------------=_1369448401-11126-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 Mar 2013 09:05:14 +0000 Received: from localhost ([127.0.0.1]:50610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ULVFJ-0004Wp-Ui for submit@debbugs.gnu.org; Fri, 29 Mar 2013 05:05:14 -0400 Received: from eggs.gnu.org ([208.118.235.92]:49443) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ULVFF-0004Wg-Vh for submit@debbugs.gnu.org; Fri, 29 Mar 2013 05:05:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULVCj-0004mv-C5 for submit@debbugs.gnu.org; Fri, 29 Mar 2013 05:02:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:32948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULVCj-0004mr-9I for submit@debbugs.gnu.org; Fri, 29 Mar 2013 05:02:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULVCg-0005OE-If for bug-gnu-emacs@gnu.org; Fri, 29 Mar 2013 05:02:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULVCe-0004iX-Mv for bug-gnu-emacs@gnu.org; Fri, 29 Mar 2013 05:02:30 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:61164) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULVCe-0004hG-D5 for bug-gnu-emacs@gnu.org; Fri, 29 Mar 2013 05:02:28 -0400 Received: by mail-pd0-f182.google.com with SMTP id 3so180660pdj.41 for ; Fri, 29 Mar 2013 02:02:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; bh=HJKq2oQDGlpGciMhmHdkGqjL7rlzvd3yL+zoa5CUSSk=; b=ZX4lJuLpE+QOWjzUyn0zZg5+hjb1O+0Q221F1GCEszyWGyHE1eNdze0+wjndtfWiF8 30O9tZ7qsTpGIi5k5BA6VpAo8WF3YqZumoy8Ts5KGtroODPuOaT69CAo45ArKQnH06vd f+joWN14VQDQ+5vp86mZEVJHel021RfXQt6/l7fxKDt7MVq3WvS4z2K0Pekb72UX2gaN gwxbG7jarGBblXfnqsCqKAtLqOeFk4YUR0aX0HrzJVAYQUfX9cVMqgIYHlVJtlN7kv7M YsjSblXs7WHKaM2PKk181prRtW5GwK4Zmck/BMDcVgAm76JUoifipTqF+EJipO+zz9QY hDNA== X-Received: by 10.66.227.228 with SMTP id sd4mr3380963pac.38.1364547747176; Fri, 29 Mar 2013 02:02:27 -0700 (PDT) Received: from debian.emacs ([61.149.227.151]) by mx.google.com with ESMTPS id dl1sm2154803pbc.17.2013.03.29.02.02.24 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 29 Mar 2013 02:02:26 -0700 (PDT) Date: Fri, 29 Mar 2013 17:02:27 +0800 From: Xue Fuqiao To: bug-gnu-emacs@gnu.org Subject: [PATCH] Some fixes for refcard.tex Message-Id: <20130329170227.38fd7e5d5ce1b8590b79a659@gmail.com> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) The following patch refines some entries in etc/refcards/refcard.tex: diff -cp trunk/etc/refcards/refcard.tex.orig trunk/etc/refcards/refcard.tex *** trunk/etc/refcards/refcard.tex.orig 2013-03-10 06:42:26.000000000 +0800 --- trunk/etc/refcards/refcard.tex 2013-03-29 16:54:48.000000000 +0800 *************** If Emacs is still searching, \kbd{C-g} c *** 355,360 **** --- 355,361 ---- \key{scroll current line to center, top, bottom}{C-l} \key{goto line}{M-g g} + \key{goto char}{M-g c} \key{back to indentation}{M-m} \section{Killing and Deleting} *************** minibuffer. Type \kbd{F10} to activate *** 504,509 **** --- 505,511 ---- \key{check spelling of current word}{M-\$} \metax{check spelling of all words in region}{M-x ispell-region} \metax{check spelling of entire buffer}{M-x ispell-buffer} + \metax{toggle on-the-fly spell checking}{M-x flyspell-mode} \section{Tags} *************** minibuffer. Type \kbd{F10} to activate *** 512,523 **** \metax{specify a new tags file}{M-x visit-tags-table} \metax{regexp search on all files in tags table}{M-x tags-search} ! \metax{run query-replace on all the files}{M-x tags-query-replace} \key{continue last tags search or query-replace}{M-,} \section{Shells} \key{execute a shell command}{M-!} \key{run a shell command on the region}{M-|} \key{filter region through a shell command}{C-u M-|} \key{start a shell in window \kbd{*shell*}}{M-x shell} --- 514,526 ---- \metax{specify a new tags file}{M-x visit-tags-table} \metax{regexp search on all files in tags table}{M-x tags-search} ! \metax{run {\bf query-replace-regexp} on all files listed in tags table}{M-x tags-query-replace} \key{continue last tags search or query-replace}{M-,} \section{Shells} \key{execute a shell command}{M-!} + \key{execute a shell command asynchronously}{M-&} \key{run a shell command on the region}{M-|} \key{filter region through a shell command}{C-u M-|} \key{start a shell in window \kbd{*shell*}}{M-x shell} *************** minibuffer. Type \kbd{F10} to activate *** 554,562 **** --- 557,568 ---- \key{zero or more repeats}{*} \key{one or more repeats}{+} \key{zero or one repeat}{?} + \key{quote special characters}{\\} \key{quote regular expression special character {\it c\/}}{\\{\it c}} \key{alternative (``or'')}{\\|} \key{grouping}{\\( {\rm$\ldots$} \\)} + \key{shy grouping}{\\(:? {\rm$\ldots$} \\)} + \key{explicit numbered grouping}{\\(:NUM {\rm$\ldots$} \\)} \key{same text as {\it n\/}th group}{\\{\it n}} \key{at word break}{\\b} \key{not at word break}{\\B} *************** minibuffer. Type \kbd{F10} to activate *** 565,576 **** --- 571,585 ---- \threecol{{\bf entity}}{{\bf match start}}{{\bf match end}} \threecol{line}{^}{\$} \threecol{word}{\\<}{\\>} + \threecol{symbol}{\\_<}{\\_>} \threecol{buffer}{\\`}{\\'} + %% FIXME: "`" and "'" isn't displayed correctly in the output PDF file \threecol{{\bf class of characters}}{{\bf match these}}{{\bf match others}} \threecol{explicit set}{[ {\rm$\ldots$} ]}{[^ {\rm$\ldots$} ]} \threecol{word-syntax character}{\\w}{\\W} \threecol{character with syntax {\it c}}{\\s{\it c}}{\\S{\it c}} + \threecol{character with category {\it c}}{\\c{\it c}}{\\C{\it c}} } \section{International Character Sets} *************** Moving within a node: *** 592,598 **** \key{scroll forward}{SPC} \key{scroll reverse}{DEL} ! \key{beginning of node}{. {\rm (dot)}} Moving between nodes: --- 601,607 ---- \key{scroll forward}{SPC} \key{scroll reverse}{DEL} ! \key{beginning of node}{b} Moving between nodes: *************** Other: *** 630,646 **** \key{{\bf start} defining a keyboard macro}{C-x (} \key{{\bf end} keyboard macro definition}{C-x )} \key{{\bf execute} last-defined keyboard macro}{C-x e} ! \key{append to last keyboard macro}{C-u C-x (} \metax{name last keyboard macro}{M-x name-last-kbd-macro} \metax{insert Lisp definition in buffer}{M-x insert-kbd-macro} \section{Commands Dealing with Emacs Lisp} ! \key{eval {\bf sexp} before point}{C-x C-e} \key{eval current {\bf defun}}{C-M-x} \metax{eval {\bf region}}{M-x eval-region} \key{read and eval minibuffer}{M-:} ! \metax{load from standard system directory}{M-x load-library} \section{Simple Customization} --- 639,655 ---- \key{{\bf start} defining a keyboard macro}{C-x (} \key{{\bf end} keyboard macro definition}{C-x )} \key{{\bf execute} last-defined keyboard macro}{C-x e} ! \key{record subsequent keyboard input, then append to last keyboard macro}{C-u C-x (} \metax{name last keyboard macro}{M-x name-last-kbd-macro} \metax{insert Lisp definition in buffer}{M-x insert-kbd-macro} \section{Commands Dealing with Emacs Lisp} ! \key{eval {\bf sexp} before point}{C-x C-e} % sexp? form? expression? S-expression? \key{eval current {\bf defun}}{C-M-x} \metax{eval {\bf region}}{M-x eval-region} \key{read and eval minibuffer}{M-:} ! \metax{load a Lisp library from {\bf load-path}}{M-x load-library} \section{Simple Customization} *************** An example: *** 669,675 **** \beginexample% (defun this-line-to-top-of-window (line) "Reposition current line to top of window. ! With ARG, put point on line ARG." (interactive "P") (recenter (if (null line) 0 --- 678,684 ---- \beginexample% (defun this-line-to-top-of-window (line) "Reposition current line to top of window. ! With prefix argument LINE, put point on LINE." (interactive "P") (recenter (if (null line) 0 *************** With ARG, put point on line ARG." *** 677,683 **** \endexample The \kbd{interactive} spec says how to read arguments interactively. ! Type \kbd{C-h f interactive} for more details. \copyrightnotice --- 686,692 ---- \endexample The \kbd{interactive} spec says how to read arguments interactively. ! Type \kbd{C-h f interactive RET} for more details. \copyrightnotice diff -cp trunk/etc/ChangeLog.orig trunk/etc/ChangeLog *** trunk/etc/ChangeLog.orig 2013-03-23 18:14:12.000000000 +0800 --- trunk/etc/ChangeLog 2013-03-29 17:00:51.000000000 +0800 *************** *** 1,3 **** --- 1,7 ---- + 2013-03-29 Xue Fuqiao + + * refcards/refcard.tex: Refine some entries. + 2013-03-21 Eric Ludlam * srecode/ede-autoconf.srt: Change Copyright to FSF. -- Xue Fuqiao http://www.gnu.org/software/emacs/ ------------=_1369448401-11126-1--