From unknown Thu Aug 14 17:30:48 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#10783 <10783@debbugs.gnu.org> To: bug#10783 <10783@debbugs.gnu.org> Subject: Status: Some built-in functions lost their argument names Reply-To: bug#10783 <10783@debbugs.gnu.org> Date: Fri, 15 Aug 2025 00:30:48 +0000 retitle 10783 Some built-in functions lost their argument names reassign 10783 emacs submitter 10783 Glenn Morris severity 10783 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 10 16:27:15 2012 Received: (at submit) by debbugs.gnu.org; 10 Feb 2012 21:27:15 +0000 Received: from localhost ([127.0.0.1]:35359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rvxzv-0007OG-5i for submit@debbugs.gnu.org; Fri, 10 Feb 2012 16:27:15 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:57718 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rvxzt-0007O9-2S for submit@debbugs.gnu.org; Fri, 10 Feb 2012 16:27:13 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Rvxyf-0003Z8-M7; Fri, 10 Feb 2012 16:25:57 -0500 From: Glenn Morris To: submit@debbugs.gnu.org Subject: Some built-in functionslost their argument names X-Spook: assassinate Ron Brown BROMURE Perl-RSA World Trade Center X-Ran: fWaW8k3sx-Y!]y6D7E(&5'$3WzBG]KFpjV33Lo6LB~Edhv!l}]}Y,zM/oTU9IMx5\*d'/1 X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Fri, 10 Feb 2012 16:25:57 -0500 Message-ID: <3tfwei753u.fsf@fencepost.gnu.org> 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: -4.2 (----) 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: -4.2 (----) Package: emacs Version: 24.0.93 Current trunk on x86_64 GNU/Linux: emacs -Q C-h f x-get-selection-internal x-get-selection-internal is a built-in function in `xselect.c'. (x-get-selection-internal ARG1 ARG2 &optional ARG3 ARG4) It has lost the argument names. Actually, it is also missing the entire second paragraph of the doc ("TERMINAL should be a terminal object..."). In 23.4, it says: x-get-selection-internal is a built-in function in `C source code'. (x-get-selection-internal SELECTION-SYMBOL TARGET-TYPE &optional TIME-STAMP) Similar problem for at least x-disown-selection-internal, x-own-selection-internal. It still works for eg x-get-atom-name though. `documentation' no longer returns the "(fn )" part, which causes help-split-fundoc to return nil. From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 10 18:05:28 2012 Received: (at 10783) by debbugs.gnu.org; 10 Feb 2012 23:05:28 +0000 Received: from localhost ([127.0.0.1]:35412 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RvzWy-0001GX-2O for submit@debbugs.gnu.org; Fri, 10 Feb 2012 18:05:28 -0500 Received: from mail-out.m-online.net ([212.18.0.10]:58490) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RvzWu-0001GN-Nu for 10783@debbugs.gnu.org; Fri, 10 Feb 2012 18:05:26 -0500 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3CFF518001D6; Sat, 11 Feb 2012 00:04:08 +0100 (CET) X-Auth-Info: 7qCeA1CaxB8UANchaxkifdVkKF1Qn3NmjCePasQxMwI= Received: from igel.home (ppp-93-104-130-54.dynamic.mnet-online.de [93.104.130.54]) by mail.mnet-online.de (Postfix) with ESMTPA id 1CEF51C00198; Sat, 11 Feb 2012 00:04:08 +0100 (CET) Received: by igel.home (Postfix, from userid 501) id 70F2DCA29E; Sat, 11 Feb 2012 00:04:06 +0100 (CET) From: Andreas Schwab To: Glenn Morris Subject: Re: bug#10783: Some built-in functionslost their argument names References: <3tfwei753u.fsf@fencepost.gnu.org> X-Yow: You should all JUMP UP AND DOWN for TWO HOURS while I decide on a NEW CAREER!! Date: Sat, 11 Feb 2012 00:04:06 +0100 In-Reply-To: <3tfwei753u.fsf@fencepost.gnu.org> (Glenn Morris's message of "Fri, 10 Feb 2012 16:25:57 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10783 Cc: 10783@debbugs.gnu.org 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.9 (-) Glenn Morris writes: > Package: emacs > Version: 24.0.93 > > Current trunk on x86_64 GNU/Linux: > > emacs -Q > C-h f x-get-selection-internal > > x-get-selection-internal is a built-in function in `xselect.c'. > > (x-get-selection-internal ARG1 ARG2 &optional ARG3 ARG4) > > > It has lost the argument names. > Actually, it is also missing the entire second paragraph of the doc > ("TERMINAL should be a terminal object..."). That's because of the duplicate definition in term/pc-win.el (you get the doc string of the definition that comes last in DOC). Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 10 18:32:20 2012 Received: (at 10783) by debbugs.gnu.org; 10 Feb 2012 23:32:20 +0000 Received: from localhost ([127.0.0.1]:35420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rvzwy-0001ss-6A for submit@debbugs.gnu.org; Fri, 10 Feb 2012 18:32:20 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:59392 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rvzwu-0001sj-Cz for 10783@debbugs.gnu.org; Fri, 10 Feb 2012 18:32:17 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Rvzvf-0001dW-RH; Fri, 10 Feb 2012 18:30:59 -0500 From: Glenn Morris To: Andreas Schwab Subject: Re: bug#10783: Some built-in functionslost their argument names References: <3tfwei753u.fsf@fencepost.gnu.org> X-Spook: Afghanistan enemy of the state ANDVT SEAL Team 6 LABLINK X-Ran: RMbF/wY|!|ZbX$yMAW6b\4SU@lADE=nlc5A?S4cZ=}wWj]]km 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: -4.2 (----) X-Debbugs-Envelope-To: 10783 Cc: 10783@debbugs.gnu.org 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: -4.2 (----) Andreas Schwab wrote: >> It has lost the argument names. >> Actually, it is also missing the entire second paragraph of the doc >> ("TERMINAL should be a terminal object..."). > > That's because of the duplicate definition in term/pc-win.el Oh, this nuisance again. Sync'ing the doc-strings won't help with the argument names. At least it is better than 23.4, where eg x-own-selection-internal is a built-in function in `C source code'. [Missing arglist. Please make a bug report.] Deleting the doc-strings altogether from the duplicate definitions in pc-win.el would make this problem go away. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 11 02:45:02 2012 Received: (at 10783) by debbugs.gnu.org; 11 Feb 2012 07:45:02 +0000 Received: from localhost ([127.0.0.1]:35547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rw7dk-0004n5-C3 for submit@debbugs.gnu.org; Sat, 11 Feb 2012 02:45:02 -0500 Received: from mail-out.m-online.net ([212.18.0.10]:51600) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rw7dd-0004mp-8c for 10783@debbugs.gnu.org; Sat, 11 Feb 2012 02:44:55 -0500 Received: from frontend1.mail.m-online.net (frontend1.mail.intern.m-online.net [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id A769A18001DA; Sat, 11 Feb 2012 08:43:33 +0100 (CET) X-Auth-Info: WpRVFSjGIclKzc2InTvK+PdFur02FHH5rWX5F4c5XnA= Received: from igel.home (ppp-88-217-110-192.dynamic.mnet-online.de [88.217.110.192]) by mail.mnet-online.de (Postfix) with ESMTPA id E23081C00085; Sat, 11 Feb 2012 08:43:33 +0100 (CET) Received: by igel.home (Postfix, from userid 501) id 119A8CA29E; Sat, 11 Feb 2012 08:43:32 +0100 (CET) From: Andreas Schwab To: Glenn Morris Subject: Re: bug#10783: Some built-in functionslost their argument names References: <3tfwei753u.fsf@fencepost.gnu.org> X-Yow: "DARK SHADOWS" is on!! Hey, I think the VAMPIRE forgot his UMBRELLA!! Date: Sat, 11 Feb 2012 08:43:32 +0100 In-Reply-To: (Glenn Morris's message of "Fri, 10 Feb 2012 18:30:59 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10783 Cc: 10783@debbugs.gnu.org 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.9 (-) Glenn Morris writes: > Deleting the doc-strings altogether from the duplicate definitions in > pc-win.el would make this problem go away. There are more duplicates in nsselect.m, w16select.c and w32select.c, that are not up-to-date wrt xselect.c. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 11 04:55:32 2012 Received: (at 10783) by debbugs.gnu.org; 11 Feb 2012 09:55:32 +0000 Received: from localhost ([127.0.0.1]:35626 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rw9g3-0007ip-OF for submit@debbugs.gnu.org; Sat, 11 Feb 2012 04:55:31 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:39725) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rw9fy-0007iX-RG for 10783@debbugs.gnu.org; Sat, 11 Feb 2012 04:55:28 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LZ800F003D2WF00@a-mtaout23.012.net.il> for 10783@debbugs.gnu.org; Sat, 11 Feb 2012 11:54:01 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.150.51]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LZ800FBW3I0UH60@a-mtaout23.012.net.il>; Sat, 11 Feb 2012 11:54:01 +0200 (IST) Date: Sat, 11 Feb 2012 11:54:01 +0200 From: Eli Zaretskii Subject: Re: bug#10783: Some built-in functionslost their argument names In-reply-to: X-012-Sender: halo1@inter.net.il To: Andreas Schwab Message-id: <834nux1yrq.fsf@gnu.org> References: <3tfwei753u.fsf@fencepost.gnu.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 10783 Cc: rgm@gnu.org, 10783@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii 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 (-) > From: Andreas Schwab > Date: Sat, 11 Feb 2012 08:43:32 +0100 > Cc: 10783@debbugs.gnu.org > > There are more duplicates in nsselect.m, w16select.c and w32select.c, > that are not up-to-date wrt xselect.c. Thanks, I fixed w16select.c and pc-win.el in revision 107240, and w32select.c in revision 107241. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 11 05:04:56 2012 Received: (at 10783) by debbugs.gnu.org; 11 Feb 2012 10:04:56 +0000 Received: from localhost ([127.0.0.1]:35632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rw9p9-0007wJ-NS for submit@debbugs.gnu.org; Sat, 11 Feb 2012 05:04:56 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:40295) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rw9p8-0007w8-9Z for 10783@debbugs.gnu.org; Sat, 11 Feb 2012 05:04:55 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LZ800F003OQWU00@a-mtaout23.012.net.il> for 10783@debbugs.gnu.org; Sat, 11 Feb 2012 12:01:55 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.150.51]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LZ800FQD3V6VH50@a-mtaout23.012.net.il>; Sat, 11 Feb 2012 12:01:55 +0200 (IST) Date: Sat, 11 Feb 2012 12:01:55 +0200 From: Eli Zaretskii Subject: Re: bug#10783: Some built-in functionslost their argument names In-reply-to: To: Glenn Morris Message-id: <8339ah1yek.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il References: <3tfwei753u.fsf@fencepost.gnu.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 10783 Cc: 10783@debbugs.gnu.org, schwab@linux-m68k.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii 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 (-) > From: Glenn Morris > Date: Fri, 10 Feb 2012 18:30:59 -0500 > Cc: 10783@debbugs.gnu.org >=20 > Deleting the doc-strings altogether from the duplicate definitions = in > pc-win.el would make this problem go away. Maybe I'm missing something, but deleting the doc string from pc-win.el shows x-get-selection-internal as "not documented" in the MS-DOS build. So for now, I sync'ed the doc strings with the X sources. Note that some doc strings seem to require "more work=E2=84=A2". E.g= ., this: DEFUN ("x-disown-selection-internal", Fx_disown_selection_internal, =09 Sx_disown_selection_internal, 1, 3, 0, =09 doc: /* If we own the selection SELECTION, disown it. Disowning it means there is no such selection. TERMINAL should be a terminal object or a frame specifying the X server to query. If omitted or nil, that stands for the selected frame's display, or the first available X display. */) (Lisp_Object selection, Lisp_Object time_object, Lisp_Object term= inal) (TIME_OBJECT is not mentioned). Or this: DEFUN ("x-get-selection-internal", Fx_get_selection_internal, =09 Sx_get_selection_internal, 2, 4, 0, =09 doc: /* Return text selected from some X window. SELECTION is a symbol, typically `PRIMARY', `SECONDARY', or `CLIPBO= ARD'. \(Those are literal upper-case symbol names, since that's what X ex= pects.) TYPE is the type of data desired, typically `STRING'. TIME_STAMP is the time to use in the XConvertSelection call for for= eign selections. If omitted, defaults to the time for the last event. TERMINAL should be a terminal object or a frame specifying the X server to query. If omitted or nil, that stands for the selected frame's display, or the first available X display. */) (Lisp_Object selection_symbol, Lisp_Object target_type, Lisp_Object time_stamp, Lisp_Object terminal) (refers to SELECTION, TYPE and TIME_STAMP, whereas the actual parameters are SELECTION-SYMBOL, TARGET-TYPE, and TIME-STAMP). From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 11 17:41:37 2012 Received: (at 10783) by debbugs.gnu.org; 11 Feb 2012 22:41:37 +0000 Received: from localhost ([127.0.0.1]:36507 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwLdR-0002Nd-F2 for submit@debbugs.gnu.org; Sat, 11 Feb 2012 17:41:37 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:50474 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwLdP-0002NW-GG for 10783@debbugs.gnu.org; Sat, 11 Feb 2012 17:41:36 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RwLc5-0007N1-JS; Sat, 11 Feb 2012 17:40:13 -0500 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#10783: Some built-in functionslost their argument names References: <3tfwei753u.fsf@fencepost.gnu.org> <8339ah1yek.fsf@gnu.org> X-Spook: halcon unclassified constitution Axis of Evil domestic X-Ran: {Io[=*f**&$RtI'eI}+v)CbXBv0oFv)Okk)@d!158xTM$G!^Ec/]f<8K\w0-i?KWI=?LY| X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sat, 11 Feb 2012 17:40:13 -0500 In-Reply-To: <8339ah1yek.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 11 Feb 2012 12:01:55 +0200") Message-ID: <8qzkcpj8oi.fsf@fencepost.gnu.org> 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: -4.2 (----) X-Debbugs-Envelope-To: 10783 Cc: 10783@debbugs.gnu.org, schwab@linux-m68k.org 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: -4.2 (----) Eli Zaretskii wrote: >> Deleting the doc-strings altogether from the duplicate definitions in >> pc-win.el would make this problem go away. > > Maybe I'm missing something, but deleting the doc string from > pc-win.el shows x-get-selection-internal as "not documented" in the > MS-DOS build. I hadn't got round to checking whether that happened, or whether it picked up a doc string from one of the other definitions. I was also thinking that there would not be many users of the MS-DOS build wanting to look at the doc of the x-* functions, so rather than you having to keep them in sync all the time, you could just remove them. Eg there are already many compat x-* functions without docs in pc-win.el. > So for now, I sync'ed the doc strings with the X sources. Thanks. It still leaves the initial problem I noticed of the argument names being lost. I wonder if it helps if to also add the "(fn ..." part to the end of the pc-win.el doc strings? From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 11 22:25:07 2012 Received: (at 10783) by debbugs.gnu.org; 12 Feb 2012 03:25:07 +0000 Received: from localhost ([127.0.0.1]:36598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwQ3m-00013q-P1 for submit@debbugs.gnu.org; Sat, 11 Feb 2012 22:25:07 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:57659 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwQ3k-00013i-6X for 10783@debbugs.gnu.org; Sat, 11 Feb 2012 22:25:05 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RwQ2O-0005mZ-Vr; Sat, 11 Feb 2012 22:23:40 -0500 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#10783: Some built-in functionslost their argument names References: <3tfwei753u.fsf@fencepost.gnu.org> <8339ah1yek.fsf@gnu.org> <8qzkcpj8oi.fsf@fencepost.gnu.org> X-Spook: spies Al Jazeera espionage offensive information warfare X-Ran: de2Q:Xz+X/je7alFC{fao:l=?Jrk6:'Tl}!Uz[5.E]gBv" (Glenn Morris's message of "Sat, 11 Feb 2012 17:40:13 -0500") Message-ID: <9nobt43fb7.fsf@fencepost.gnu.org> 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: -4.2 (----) X-Debbugs-Envelope-To: 10783 Cc: 10783@debbugs.gnu.org, schwab@linux-m68k.org 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: -4.2 (----) Glenn Morris wrote: > I wonder if it helps if to also add the "(fn ..." part to the end of > the pc-win.el doc strings? That fixes the problem on GNU/Linux. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 11 23:04:16 2012 Received: (at 10783) by debbugs.gnu.org; 12 Feb 2012 04:04:16 +0000 Received: from localhost ([127.0.0.1]:36638 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwQfg-0001yN-5S for submit@debbugs.gnu.org; Sat, 11 Feb 2012 23:04:16 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:53284) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwQfe-0001yA-PE for 10783@debbugs.gnu.org; Sat, 11 Feb 2012 23:04:15 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LZ900I00HTY5M00@a-mtaout23.012.net.il> for 10783@debbugs.gnu.org; Sun, 12 Feb 2012 06:02:45 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.150.51]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LZ900IF7HWK4U10@a-mtaout23.012.net.il>; Sun, 12 Feb 2012 06:02:45 +0200 (IST) Date: Sun, 12 Feb 2012 06:02:45 +0200 From: Eli Zaretskii Subject: Re: bug#10783: Some built-in functionslost their argument names In-reply-to: <8qzkcpj8oi.fsf@fencepost.gnu.org> X-012-Sender: halo1@inter.net.il To: Glenn Morris Message-id: <83fwegzoka.fsf@gnu.org> References: <3tfwei753u.fsf@fencepost.gnu.org> <8339ah1yek.fsf@gnu.org> <8qzkcpj8oi.fsf@fencepost.gnu.org> X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 10783 Cc: 10783@debbugs.gnu.org, schwab@linux-m68k.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii 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: -0.5 (/) > From: Glenn Morris > Cc: schwab@linux-m68k.org, 10783@debbugs.gnu.org > Date: Sat, 11 Feb 2012 17:40:13 -0500 > > I was also thinking that there would not be many users of the MS-DOS > build wanting to look at the doc of the x-* functions I don't understand how this would be TRT. The MS-DOS build of Emacs supports the clipboard, so these functions are there not just for beauty. > Eg there are already many compat x-* functions without docs in > pc-win.el. They all lack a doc string in their X versions as well, AFAICS. > I wonder if it helps if to also add the "(fn ..." part to the end of > the pc-win.el doc strings? Sorry, I don't follow. Can you give an example? From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 11 23:07:59 2012 Received: (at 10783) by debbugs.gnu.org; 12 Feb 2012 04:07:59 +0000 Received: from localhost ([127.0.0.1]:36642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwQjG-00023I-Vv for submit@debbugs.gnu.org; Sat, 11 Feb 2012 23:07:59 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:45213) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwQjE-000235-Mi for 10783@debbugs.gnu.org; Sat, 11 Feb 2012 23:07:57 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LZ900900HWARL00@a-mtaout20.012.net.il> for 10783@debbugs.gnu.org; Sun, 12 Feb 2012 06:05:50 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.150.51]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LZ9009HUI1PPF10@a-mtaout20.012.net.il>; Sun, 12 Feb 2012 06:05:50 +0200 (IST) Date: Sun, 12 Feb 2012 06:05:51 +0200 From: Eli Zaretskii Subject: Re: bug#10783: Some built-in functionslost their argument names In-reply-to: <9nobt43fb7.fsf@fencepost.gnu.org> X-012-Sender: halo1@inter.net.il To: Glenn Morris Message-id: <83bop4zof4.fsf@gnu.org> References: <3tfwei753u.fsf@fencepost.gnu.org> <8339ah1yek.fsf@gnu.org> <8qzkcpj8oi.fsf@fencepost.gnu.org> <9nobt43fb7.fsf@fencepost.gnu.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 10783 Cc: 10783@debbugs.gnu.org, schwab@linux-m68k.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii 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 (-) > From: Glenn Morris > Cc: 10783@debbugs.gnu.org, schwab@linux-m68k.org > Date: Sat, 11 Feb 2012 22:23:40 -0500 > > Glenn Morris wrote: > > > I wonder if it helps if to also add the "(fn ..." part to the end of > > the pc-win.el doc strings? > > That fixes the problem on GNU/Linux. How and why does it do that? And what problem is that? From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 12 00:15:52 2012 Received: (at 10783) by debbugs.gnu.org; 12 Feb 2012 05:15:52 +0000 Received: from localhost ([127.0.0.1]:36691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwRmw-0005y7-Vt for submit@debbugs.gnu.org; Sun, 12 Feb 2012 00:15:51 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:59754 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwRmt-0005xx-NZ for 10783@debbugs.gnu.org; Sun, 12 Feb 2012 00:15:48 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RwRlX-00046T-EE; Sun, 12 Feb 2012 00:14:23 -0500 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#10783: Some built-in functionslost their argument names References: <3tfwei753u.fsf@fencepost.gnu.org> <8339ah1yek.fsf@gnu.org> <8qzkcpj8oi.fsf@fencepost.gnu.org> <9nobt43fb7.fsf@fencepost.gnu.org> <83bop4zof4.fsf@gnu.org> X-Spook: Taiwan doctrine quiche analyzer Roswell New World Order X-Ran: yI=3w4\(cC4apMy/_gk3h!9P!a@9W_0FFk)uF7!\Z6a-4jZ4@4~:#'9%"ng{fAyCUbazMe X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sun, 12 Feb 2012 00:14:23 -0500 In-Reply-To: <83bop4zof4.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 12 Feb 2012 06:05:51 +0200") Message-ID: <7h62fcmy4w.fsf@fencepost.gnu.org> 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: -4.2 (----) X-Debbugs-Envelope-To: 10783 Cc: 10783@debbugs.gnu.org, schwab@linux-m68k.org 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: -4.2 (----) Eli Zaretskii wrote: >> That fixes the problem on GNU/Linux. > > How and why does it do that? And what problem is that? The problem that I reported with the argument names being lost (replaced by ARG1 etc). Because help-function-arglist calls help-split-fundoc which expects to find \n\n(fn in the doc of built-in functions. It doesn't expect functions to be built-in on some platforms and not on others. Example: --- pc-win.el 2012-02-11 19:22:20.968856000 -0800 +++ pc-win.el.~1~ 2012-02-11 19:21:36.185359943 -0800 @@ -289,7 +289,9 @@ FRAME should be a frame that should own the selection. If omitted or nil, it defaults to the selected frame. -On Nextstep, FRAME is unused." +On Nextstep, FRAME is unused. + +\(fn SELECTION VALUE &optional FRAME)" (ignore-errors (x-select-text value)) value) From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 12 10:30:50 2012 Received: (at 10783) by debbugs.gnu.org; 12 Feb 2012 15:30:50 +0000 Received: from localhost ([127.0.0.1]:37672 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwbO6-0007Bh-7b for submit@debbugs.gnu.org; Sun, 12 Feb 2012 10:30:50 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:30848) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwbO2-0007BT-21 for 10783@debbugs.gnu.org; Sun, 12 Feb 2012 10:30:49 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsIAGTZN0/O+IED/2dsb2JhbABDrnZ+gQiBcwEFViMQCzQSFBgNJDG/OYkxgkNMDAcIBgQFAQIBg2MFhBMEiEqbEIRa X-IronPort-AV: E=Sophos;i="4.73,408,1325480400"; d="scan'208";a="162748787" Received: from 206-248-129-3.dsl.teksavvy.com (HELO ceviche.home) ([206.248.129.3]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 12 Feb 2012 10:28:27 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 7D715A0783; Sun, 12 Feb 2012 10:28:27 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#10783: Some built-in functionslost their argument names Message-ID: References: <3tfwei753u.fsf@fencepost.gnu.org> <8339ah1yek.fsf@gnu.org> <8qzkcpj8oi.fsf@fencepost.gnu.org> <83fwegzoka.fsf@gnu.org> Date: Sun, 12 Feb 2012 10:28:27 -0500 In-Reply-To: <83fwegzoka.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 12 Feb 2012 06:02:45 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10783 Cc: Glenn Morris , 10783@debbugs.gnu.org, schwab@linux-m68k.org 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.9 (-) Just for the record: such duplicate definitions should be removed. E.g. the C and pc-win.el definitions should be refactored such that there is only one C definition (which might call an Elisp implementation in the MS-DOS case). Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 12 11:30:56 2012 Received: (at 10783) by debbugs.gnu.org; 12 Feb 2012 16:30:56 +0000 Received: from localhost ([127.0.0.1]:37684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwcKF-00005b-Nj for submit@debbugs.gnu.org; Sun, 12 Feb 2012 11:30:55 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:47833) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwcKC-00005P-DT for 10783@debbugs.gnu.org; Sun, 12 Feb 2012 11:30:53 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LZA00K00FYK8V00@a-mtaout20.012.net.il> for 10783@debbugs.gnu.org; Sun, 12 Feb 2012 18:29:20 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.150.51]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LZA00JIOGGTM9B0@a-mtaout20.012.net.il>; Sun, 12 Feb 2012 18:29:18 +0200 (IST) Date: Sun, 12 Feb 2012 18:29:19 +0200 From: Eli Zaretskii Subject: Re: bug#10783: Some built-in functionslost their argument names In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <837gzsyq00.fsf@gnu.org> References: <3tfwei753u.fsf@fencepost.gnu.org> <8339ah1yek.fsf@gnu.org> <8qzkcpj8oi.fsf@fencepost.gnu.org> <83fwegzoka.fsf@gnu.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 10783 Cc: rgm@gnu.org, 10783@debbugs.gnu.org, schwab@linux-m68k.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii 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 (-) > From: Stefan Monnier > Cc: Glenn Morris , 10783@debbugs.gnu.org, schwab@linux-m68k.org > Date: Sun, 12 Feb 2012 10:28:27 -0500 > > Just for the record: such duplicate definitions should be removed. > E.g. the C and pc-win.el definitions should be refactored such that > there is only one C definition (which might call an Elisp implementation > in the MS-DOS case). That would require extracting the common parts from the various *select.c source files and putting them on a common file compiled into all ports. Not something for the current pretest, IMO. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 12 11:31:42 2012 Received: (at 10783) by debbugs.gnu.org; 12 Feb 2012 16:31:42 +0000 Received: from localhost ([127.0.0.1]:37688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwcL0-00007I-8t for submit@debbugs.gnu.org; Sun, 12 Feb 2012 11:31:42 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:41484) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwcKy-00006y-BS for 10783@debbugs.gnu.org; Sun, 12 Feb 2012 11:31:41 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LZA00M00FTGHS00@a-mtaout23.012.net.il> for 10783@debbugs.gnu.org; Sun, 12 Feb 2012 18:30:08 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.150.51]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LZA00LJUGI5NXI0@a-mtaout23.012.net.il>; Sun, 12 Feb 2012 18:30:06 +0200 (IST) Date: Sun, 12 Feb 2012 18:30:07 +0200 From: Eli Zaretskii Subject: Re: bug#10783: Some built-in functionslost their argument names In-reply-to: <7h62fcmy4w.fsf@fencepost.gnu.org> X-012-Sender: halo1@inter.net.il To: Glenn Morris Message-id: <8362fcypyo.fsf@gnu.org> References: <3tfwei753u.fsf@fencepost.gnu.org> <8339ah1yek.fsf@gnu.org> <8qzkcpj8oi.fsf@fencepost.gnu.org> <9nobt43fb7.fsf@fencepost.gnu.org> <83bop4zof4.fsf@gnu.org> <7h62fcmy4w.fsf@fencepost.gnu.org> X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 10783 Cc: 10783@debbugs.gnu.org, schwab@linux-m68k.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii 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: -0.5 (/) > From: Glenn Morris > Cc: 10783@debbugs.gnu.org, schwab@linux-m68k.org > Date: Sun, 12 Feb 2012 00:14:23 -0500 > > -On Nextstep, FRAME is unused." > +On Nextstep, FRAME is unused. > + > +\(fn SELECTION VALUE &optional FRAME)" > (ignore-errors > (x-select-text value)) > value) OK, I will do that for DOS-related Lisp functions that shadow C primitives. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 12 12:03:27 2012 Received: (at 10783) by debbugs.gnu.org; 12 Feb 2012 17:03:27 +0000 Received: from localhost ([127.0.0.1]:37707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rwcpj-0001LV-4q for submit@debbugs.gnu.org; Sun, 12 Feb 2012 12:03:27 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:39579 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rwcpg-0001LO-UZ for 10783@debbugs.gnu.org; Sun, 12 Feb 2012 12:03:25 -0500 Received: from dsl-67-204-2-91.acanac.net ([67.204.2.91]:61842 helo=ceviche.home) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1RwcoG-0005de-EB; Sun, 12 Feb 2012 12:01:56 -0500 Received: by ceviche.home (Postfix, from userid 20848) id 5D2506620B; Sun, 12 Feb 2012 12:01:53 -0500 (EST) From: Stefan Monnier To: Eli Zaretskii Subject: Re: bug#10783: Some built-in functionslost their argument names Message-ID: References: <3tfwei753u.fsf@fencepost.gnu.org> <8339ah1yek.fsf@gnu.org> <8qzkcpj8oi.fsf@fencepost.gnu.org> <83fwegzoka.fsf@gnu.org> <837gzsyq00.fsf@gnu.org> Date: Sun, 12 Feb 2012 12:01:53 -0500 In-Reply-To: <837gzsyq00.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 12 Feb 2012 18:29:19 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 10783 Cc: rgm@gnu.org, 10783@debbugs.gnu.org, schwab@linux-m68k.org 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: -3.5 (---) >> Just for the record: such duplicate definitions should be removed. >> E.g. the C and pc-win.el definitions should be refactored such that >> there is only one C definition (which might call an Elisp implementation >> in the MS-DOS case). > That would require extracting the common parts from the various > *select.c source files and putting them on a common file compiled into > all ports. Yup. > Not something for the current pretest, IMO. Yup. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 12 14:54:49 2012 Received: (at 10783) by debbugs.gnu.org; 12 Feb 2012 19:54:49 +0000 Received: from localhost ([127.0.0.1]:37770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwfVZ-0007YR-3D for submit@debbugs.gnu.org; Sun, 12 Feb 2012 14:54:49 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:41628 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwfVT-0007YC-TQ for 10783@debbugs.gnu.org; Sun, 12 Feb 2012 14:54:47 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RwfU4-00082Y-I0; Sun, 12 Feb 2012 14:53:16 -0500 From: Glenn Morris To: Stefan Monnier Subject: Re: bug#10783: Some built-in functionslost their argument names References: <3tfwei753u.fsf@fencepost.gnu.org> <8339ah1yek.fsf@gnu.org> <8qzkcpj8oi.fsf@fencepost.gnu.org> <83fwegzoka.fsf@gnu.org> X-Spook: BLU-97 A/B anarchy Fedayeen basement Ansar al-Islam X-Ran: tlz#iA`"frZmWAd[:F&|!Z>wus;AzxA9{p)q.j)ONO([Ta)QZ(2kFj:N_Rnja9Hn/eo`*f X-Hue: green X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sun, 12 Feb 2012 14:53:16 -0500 In-Reply-To: (Stefan Monnier's message of "Sun, 12 Feb 2012 10:28:27 -0500") 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: -4.2 (----) X-Debbugs-Envelope-To: 10783 Cc: Eli Zaretskii , schwab@linux-m68k.org, 10783@debbugs.gnu.org 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: -4.2 (----) Stefan Monnier wrote: > Just for the record: such duplicate definitions should be removed. > E.g. the C and pc-win.el definitions should be refactored such that > there is only one C definition (which might call an Elisp implementation > in the MS-DOS case). http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4402 :) Obviously for 24.1 we can keep papering over it by syncing up all the various docs, and doing something about this arglist issue. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 12 15:00:20 2012 Received: (at 10783) by debbugs.gnu.org; 12 Feb 2012 20:00:20 +0000 Received: from localhost ([127.0.0.1]:37775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rwfat-0007jj-8D for submit@debbugs.gnu.org; Sun, 12 Feb 2012 15:00:19 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:41679 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rwfaq-0007jZ-NR for 10783@debbugs.gnu.org; Sun, 12 Feb 2012 15:00:17 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RwfZR-0008IL-P4; Sun, 12 Feb 2012 14:58:49 -0500 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#10783: Some built-in functionslost their argument names References: <3tfwei753u.fsf@fencepost.gnu.org> <8339ah1yek.fsf@gnu.org> <8qzkcpj8oi.fsf@fencepost.gnu.org> <83fwegzoka.fsf@gnu.org> X-Spook: SAPO Iran Manfurov sniper LABLINK NORAD Ft. Bragg condor X-Ran: W{"tAqbA?ud~_[50Xyh#\0lyF=2EP\IQw[;jS7KM"{(%B=Mm:()Ll|s*5*FtoT!ckp^P"c X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sun, 12 Feb 2012 14:58:49 -0500 In-Reply-To: <83fwegzoka.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 12 Feb 2012 06:02:45 +0200") 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: -4.2 (----) X-Debbugs-Envelope-To: 10783 Cc: 10783@debbugs.gnu.org, schwab@linux-m68k.org 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: -4.2 (----) Eli Zaretskii wrote: >> Eg there are already many compat x-* functions without docs in >> pc-win.el. > > They all lack a doc string in their X versions as well, AFAICS. The only one I looked at was x-server-vendor, which does have a doc in X. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 13 08:21:28 2012 Received: (at 10783) by debbugs.gnu.org; 13 Feb 2012 13:21:28 +0000 Received: from localhost ([127.0.0.1]:38516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwvqR-0005ZB-R7 for submit@debbugs.gnu.org; Mon, 13 Feb 2012 08:21:28 -0500 Received: from mail-pw0-f44.google.com ([209.85.160.44]:41605) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwvqP-0005Yw-F7 for 10783@debbugs.gnu.org; Mon, 13 Feb 2012 08:21:26 -0500 Received: by pbcwz7 with SMTP id wz7so4082176pbc.3 for <10783@debbugs.gnu.org>; Mon, 13 Feb 2012 05:19:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=7YyLh35obsgMiuko5IkvIew5wehU2wVFgqocCuZzxBc=; b=ERSHyM+2+2L0LswEnfpPv6u2kCFEMnEYVzvtiV/Ah/FupDwwuHOqZwVuK9lAKTzPSv RPCcJWKCYVn4kmXhZireglqTZoeLFJDA9ZZ/tgHQ7O+GFSkroZarMvBgdkPtecNw/Bv4 yxp/pEb92lWMPewtc4fYR7qEv0RhLCrdr5rm4= Received: by 10.68.218.5 with SMTP id pc5mr47230390pbc.101.1329139188775; Mon, 13 Feb 2012 05:19:48 -0800 (PST) Received: from home.jasonrumney.net ([180.75.182.173]) by mx.google.com with ESMTPS id f1sm19709328pbq.15.2012.02.13.05.19.43 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 13 Feb 2012 05:19:47 -0800 (PST) Received: by home.jasonrumney.net (Postfix, from userid 1000) id 7D10D1949; Mon, 13 Feb 2012 21:19:38 +0800 (MYT) From: Jason Rumney To: Stefan Monnier Subject: Re: bug#10783: Some built-in functionslost their argument names References: <3tfwei753u.fsf@fencepost.gnu.org> <8339ah1yek.fsf@gnu.org> <8qzkcpj8oi.fsf@fencepost.gnu.org> <83fwegzoka.fsf@gnu.org> Date: Mon, 13 Feb 2012 21:19:38 +0800 In-Reply-To: (Stefan Monnier's message of "Sun, 12 Feb 2012 10:28:27 -0500") Message-ID: <871upydg5x.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 10783 Cc: Eli Zaretskii , schwab@linux-m68k.org, 10783@debbugs.gnu.org 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 (--) Stefan Monnier writes: > Just for the record: such duplicate definitions should be removed. > E.g. the C and pc-win.el definitions should be refactored such that > there is only one C definition (which might call an Elisp implementation > in the MS-DOS case). Wouldn't it be better for the common definition to be Lisp, with calls into C where neccesary? From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 13 10:21:12 2012 Received: (at 10783) by debbugs.gnu.org; 13 Feb 2012 15:21:12 +0000 Received: from localhost ([127.0.0.1]:39100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwxiK-0008UP-16 for submit@debbugs.gnu.org; Mon, 13 Feb 2012 10:21:12 -0500 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:49188) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RwxiH-0008UH-TX for 10783@debbugs.gnu.org; Mon, 13 Feb 2012 10:21:10 -0500 Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q1DFJY9O031130; Mon, 13 Feb 2012 10:19:35 -0500 Received: by pastel.home (Postfix, from userid 20848) id 920B259537; Mon, 13 Feb 2012 10:19:34 -0500 (EST) From: Stefan Monnier To: Jason Rumney Subject: Re: bug#10783: Some built-in functionslost their argument names Message-ID: References: <3tfwei753u.fsf@fencepost.gnu.org> <8339ah1yek.fsf@gnu.org> <8qzkcpj8oi.fsf@fencepost.gnu.org> <83fwegzoka.fsf@gnu.org> <871upydg5x.fsf@gnu.org> Date: Mon, 13 Feb 2012 10:19:34 -0500 In-Reply-To: <871upydg5x.fsf@gnu.org> (Jason Rumney's message of "Mon, 13 Feb 2012 21:19:38 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4131=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4131> : streams <728237> : uri <1064645> X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 10783 Cc: Eli Zaretskii , schwab@linux-m68k.org, 10783@debbugs.gnu.org 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: -3.5 (---) >> Just for the record: such duplicate definitions should be removed. >> E.g. the C and pc-win.el definitions should be refactored such that >> there is only one C definition (which might call an Elisp implementation >> in the MS-DOS case). > Wouldn't it be better for the common definition to be Lisp, with calls > into C where necessary? Depends on the actual code in the common part. It will have some kind of dispatch to the appropriate backend, which can either go through the terminal methods or through some case/switch. In the case we use case/switch it can just as well be performed in Elisp, indeed. But the common code may also include more shared code which may require the use of C, or in some other cases we won't want to expose the backend-specific code to Elisp. Stefan PS: Of course, the common code should not use the "x-" prefix. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 06 12:11:48 2012 Received: (at control) by debbugs.gnu.org; 6 Mar 2012 17:11:48 +0000 Received: from localhost ([127.0.0.1]:36162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4xvP-0003Ts-Tc for submit@debbugs.gnu.org; Tue, 06 Mar 2012 12:11:48 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:36300) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S4xvE-0003TQ-Ie for control@debbugs.gnu.org; Tue, 06 Mar 2012 12:11:36 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1S4xuL-0001K8-Q9 for control@debbugs.gnu.org; Tue, 06 Mar 2012 12:10:41 -0500 Date: Tue, 06 Mar 2012 12:10:41 -0500 Message-Id: Subject: control message for bug 10957 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control 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.9 (------) merge 10783 10957 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 06 14:53:15 2012 Received: (at 10783-done) by debbugs.gnu.org; 6 Mar 2012 19:53:15 +0000 Received: from [127.0.0.1] (port=36370 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S50RV-00085M-C8 for submit@debbugs.gnu.org; Tue, 06 Mar 2012 14:53:05 -0500 Received: from [208.118.235.10] (port=39999 helo=fencepost.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S50Q9-00083K-Eq for 10783-done@debbugs.gnu.org; Tue, 06 Mar 2012 14:52:08 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1S50Oa-0002vH-Kg; Tue, 06 Mar 2012 14:50:04 -0500 From: Glenn Morris To: 10783-done@debbugs.gnu.org Subject: Re: bug#10783: Some built-in functionslost their argument names References: <3tfwei753u.fsf@fencepost.gnu.org> <8339ah1yek.fsf@gnu.org> <8qzkcpj8oi.fsf@fencepost.gnu.org> <9nobt43fb7.fsf@fencepost.gnu.org> X-Spook: red noise Skipjack Watergate ASLET threat assassinate X-Ran: 0Os(t!-3)2pHxl:9G$oCm^jkJ/eLE_Y+`>96&"feiKK/1Qfkixj*$bvy=2=Z09g>/TFjh4 X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 06 Mar 2012 14:50:04 -0500 In-Reply-To: <9nobt43fb7.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sat, 11 Feb 2012 22:23:40 -0500") Message-ID: <8w8vjdzez7.fsf@fencepost.gnu.org> 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: -1.1 (-) X-Debbugs-Envelope-To: 10783-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.1 (-) Version: 24.0.95 Glenn Morris wrote: >> I wonder if it helps if to also add the "(fn ..." part to the end of >> the pc-win.el doc strings? > > That fixes the problem on GNU/Linux. Installed. From unknown Thu Aug 14 17:30:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 04 Apr 2012 11:24:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator