From MAILER-DAEMON Mon Feb 01 00:03:07 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQ6dn-0002HS-84 for mharc-help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 00:03:07 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42413) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQ6dk-0002GB-AE for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 00:03:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQ6dh-0003Kd-2w for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 00:03:04 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:43529) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQ6dg-0003Jh-Sq for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 00:03:01 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aQ6dC-0004jd-KE; Mon, 01 Feb 2016 06:02:31 +0100 From: Lars Magne Ingebrigtsen To: nljlistbox2@gmail.com (N. Jackson) Subject: Re: User interface to bad certificate warning -- how to use? References: Date: Mon, 01 Feb 2016 06:02:25 +0100 In-Reply-To: (N. Jackson's message of "Sun, 31 Jan 2016 16:53:45 -0400") Message-ID: <8760y9qazi.fsf@gnus.org> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aQ6dC-0004jd-KE X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: lmi@gnus.org MailScanner-NULL-Check: 1454907752.64327@rW7EUxFKuZh4D2Ecl4+Ycg X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2016 05:03:05 -0000 nljlistbox2@gmail.com (N. Jackson) writes: > The warning is shown in a help window while simultaneously there is a > prompt displayed in the minibuffer: > > Continue connecting? (No, Session only, Always) > > Is the user intended to type in the full text of their choice or the > first letter or what? If the first letter, must it be capitalised as > shown? I think the standard in Emacs is to use capitalisation to say what characters you're supposed to hit. > The prompt seems to disappear when _any_ key is pressed; for > example I tried to copy the prompt to the clipboard and it disappeared > when I started to select it -- I've no idea which of the three choices > it decided I had entered. This seems rather surprising behaviour for the > minibuffer. I don't think that's what happened. When you tried selecting the text, you probably ended up aborting the function, just as if you'd hit `C-g'. > After the prompt is gone, the help window remains but the buffer itself > is gone. This seems to be rather the opposite of what would be useful. > Wouldn't it be better if the buffer with the details about the > problematic certificate persisted and the help window was closed? The help window should have gone away. Please report this as a bug with `M-x report-emacs-bug'. > Furthermore, the information in the help buffer is in a confusing order: > > Certificate information > Issued by: imap.example.com > Issued to: IMAP server > Hostname: imap.example.com > Public key: RSA, signature: RSA-SHA1 > Protocol: TLS1.2, key: ECDHE-RSA, cipher: AES-128-GCM, mac: AEAD > Security level: Low > Valid: From 2013-09-07 to 2014-09-07 > > The TLS connection to localhost:993 is insecure for the following > reasons: > > certificate signer was not found (self-signed) > certificate host does not match hostname > certificate has expired > the certificate was signed by an unknown and therefore untrusted authority > certificate could not be verified > > Would it not be better if the statement of the problem "The TLS > connection ... is insecure" came first, and the detailed certificate > information came at the end. Yeah, that might be better... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From MAILER-DAEMON Mon Feb 01 00:50:09 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQ7NJ-0006Ff-HD for mharc-help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 00:50:09 -0500 X-Received: by 10.182.65.167 with SMTP id y7mr22353027obs.29.1454305616054; Sun, 31 Jan 2016 21:46:56 -0800 (PST) X-Received: by 10.50.138.138 with SMTP id qq10mr144366igb.10.1454305616021; Sun, 31 Jan 2016 21:46:56 -0800 (PST) Path: usenet.stanford.edu!ks5no77578igb.0!news-out.google.com!l1ni3233igd.0!nntp.google.com!ks5no77573igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: gnu.emacs.help Date: Sun, 31 Jan 2016 21:46:55 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=61.2.50.39; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui NNTP-Posting-Host: 61.2.50.39 References: <0c4de83e-a21e-4819-8bfb-c054edcf6553@googlegroups.com> <5daa5bee-168a-4b6b-80fa-75cd65d4d541@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <705e1b28-d562-4757-a017-ffe5c6aecd5c@googlegroups.com> Subject: Re: python mode problem From: Rusi Injection-Date: Mon, 01 Feb 2016 05:46:56 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: usenet.stanford.edu gnu.emacs.help:216652 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2016 05:50:08 -0000 On Sunday, January 31, 2016 at 2:34:33 PM UTC+5:30, Andreas R=F6hler wrote: > On 31.01.2016 07:02, Rusi wrote: > > On Sunday, January 31, 2016 at 10:05:23 AM UTC+5:30, Rusi wrote: > >> On Sunday, January 31, 2016 at 8:47:33 AM UTC+5:30, Rusi wrote: > >>> emacs hanged while doing something in python > >>> Had to kill with killall emacs > >>> > >>> Thereafter emacs is misbehaving with python mode > >>> > >>> With plain run-python > >>> > >>> Python 2.7.10 (default, Oct 14 2015, 16:09:02) > >>> [GCC 5.2.1 20151010] on linux2 > >>> Type "help", "copyright", "credits" or "license" for more information= . > >>>>>> python.el: native completion setup loaded > >>>>>> > >>> With C-u run-python and using python3 > >>> > >>> Warning (python): Your 'python-shell-interpreter' doesn't seem to sup= port readline, yet 'python-shell-completion-native' was t and "python3" is = not part of the 'python-shell-completion-native-disabled-interpreters' list= . Native completions have been disabled locally. > >>> > >>> Too many interlocking bugs to make a clear bug-report > >>> For now: Where is python mode (or other related) cache? > >>> Because if emacs started with -Q there is no problem > >>> > >>> emacs 25 on linux > >> Seems to be some emacs 25 issue > > Zillions of > > Error reading dir-locals: (void-function map-merge-with) > > compiling emacs 25 > > > > So for now back to emacs 24 >=20 > For all who need v25 for other reasons: There is still python-mode.el=20 > available from Melpa Hi Andreas For many years Ive been a python-mode user. You will even find recommendat= ions from me for this here and on the python list. Of late however its been a source of increasing glitches. Dont remember all... The last one was when a number of students were using = the=20 same VM and found that only one could use python-mode -- some public temporary non-uniquified file in /tmp or some such issue. At this point I thought it time jump ship. Maybe I need to re-think this jump???... From MAILER-DAEMON Mon Feb 01 04:33:17 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQArF-0002Tb-41 for mharc-help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 04:33:17 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQArC-0002T7-TO for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 04:33:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQAr9-0007tQ-Mj for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 04:33:14 -0500 Received: from mout.kundenserver.de ([217.72.192.73]:56942) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQAr9-0007tM-E1 for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 04:33:11 -0500 Received: from [192.168.178.35] ([77.12.114.155]) by mrelayeu.kundenserver.de (mreue104) with ESMTPSA (Nemesis) id 0MEWGP-1aJIAn32YD-00FiS8 for ; Mon, 01 Feb 2016 10:33:08 +0100 Subject: Re: python mode problem To: help-gnu-emacs@gnu.org References: <0c4de83e-a21e-4819-8bfb-c054edcf6553@googlegroups.com> <5daa5bee-168a-4b6b-80fa-75cd65d4d541@googlegroups.com> <705e1b28-d562-4757-a017-ffe5c6aecd5c@googlegroups.com> From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Message-ID: <56AF2662.9000407@easy-emacs.de> Date: Mon, 1 Feb 2016 10:33:22 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Icedove/38.5.0 MIME-Version: 1.0 In-Reply-To: <705e1b28-d562-4757-a017-ffe5c6aecd5c@googlegroups.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:eMN+MifgRbnLV3lmoAGHJj0RrSfX0KK24kngQ+eV/knAj/3RMOC loKcu+Dbylji5j42JsFO8H+D97EJdHSyNvaekKhbcn7FKmyCNtcKSsb6wBBdZkr7p/NF+Qq J6OVzJXfB4SyRXeZlF+XRmjrZeotshOiizNR4SjQ9WImpdKAbrWvG4QFOKKu9XvoueitcfD cuVLBju0Aw5RHhq3goiOA== X-UI-Out-Filterresults: notjunk:1;V01:K0:T3OSWVUuZKI=:Oz2bB/5lnrtQDrw90bJBmF eQOmNsJ/HkTCgBkVjKOQ3leTxXuLx4Pej4vbnMecevkHjbN4JnBiSKhj6y6MD7KkUG1Y2TAvp NCzopuNxDtG1KTZM7Kql1XTKvNSGXKDykezJ8z94t8uyYFD1GooIccUhxdbneB6dqCumMFWcg 0y7BezJH3aIKk7ZtHzvuCNqvMiFB31Zpe6MApi8V+entNGC6h8p+9GE9NUvB4FScMXSa1E4dR kxiYauAYfWq+AQOYzXG7OVjZj1bw8TDdWUgY/XobvqpHUSGSC7uWlBwdKIBGT8WbYp/584dzZ lQM7iOYtTjENDXMlWkAla4qeMhXWndtwrN3RCCtS4AmwrD7HCNQm9FCsifKFtxUV2RkC6e8wb jE1TB3SHbAwpnHQtTb6zrRaSf20lyI+PPsfeU7Ylg1JoAKF7iFahPC04aApY2caJ04PcVR+TE bniMjjGbaPDOz2JVjXCjv8lbb4s/aLrqcXEU007ma2OfV4jQRQ18g9hxui2S+oywCINcFAmOc O0TD4bD9eAlbGoK07iWbsYSXZUy290aUhoOANDuTM9DLjCm10X/ltUBeh39pSJ4dgNS1eS4eL weAMAGwyC6KWtfyQRWl1kEOy805MHox4EGrOGAPGTXAtzIl3JLi6mIhURGHqF+W4k6UowI7j9 f2cix32xZuyufBa8ZOJTUhzxpiwrToWmOH+57foUWL9yvAg+rpAr5myYR03swLLG4krkzLmOq rFdhWmazSXQlaWl1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.72.192.73 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2016 09:33:16 -0000 On 01.02.2016 06:46, Rusi wrote: > On Sunday, January 31, 2016 at 2:34:33 PM UTC+5:30, Andreas Rhler wrote: >> On 31.01.2016 07:02, Rusi wrote: >>> On Sunday, January 31, 2016 at 10:05:23 AM UTC+5:30, Rusi wrote: >>>> On Sunday, January 31, 2016 at 8:47:33 AM UTC+5:30, Rusi wrote: >>>>> emacs hanged while doing something in python >>>>> Had to kill with killall emacs >>>>> >>>>> Thereafter emacs is misbehaving with python mode >>>>> >>>>> With plain run-python >>>>> >>>>> Python 2.7.10 (default, Oct 14 2015, 16:09:02) >>>>> [GCC 5.2.1 20151010] on linux2 >>>>> Type "help", "copyright", "credits" or "license" for more information. >>>>>>>> python.el: native completion setup loaded >>>>>>>> >>>>> With C-u run-python and using python3 >>>>> >>>>> Warning (python): Your 'python-shell-interpreter' doesn't seem to support readline, yet 'python-shell-completion-native' was t and "python3" is not part of the 'python-shell-completion-native-disabled-interpreters' list. Native completions have been disabled locally. >>>>> >>>>> Too many interlocking bugs to make a clear bug-report >>>>> For now: Where is python mode (or other related) cache? >>>>> Because if emacs started with -Q there is no problem >>>>> >>>>> emacs 25 on linux >>>> Seems to be some emacs 25 issue >>> Zillions of >>> Error reading dir-locals: (void-function map-merge-with) >>> compiling emacs 25 >>> >>> So for now back to emacs 24 >> For all who need v25 for other reasons: There is still python-mode.el >> available from Melpa > Hi Andreas > > For many years Ive been a python-mode user. You will even find recommendations > from me for this here and on the python list. > Of late however its been a source of increasing glitches. > Dont remember all... The last one was when a number of students were using the > same VM and found that only one could use python-mode Hmm, that's a bad thing indeed. Assume it's related to the locking done by Emacs. Seems we need a instance-related naming there, so every Emacs get its files. Any ideas, how to write this, are welcome. Will open a ticket at https://bugs.launchpad.net/python-mode. From MAILER-DAEMON Mon Feb 01 06:07:32 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQCKS-0005rb-31 for mharc-help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 06:07:32 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQCKP-0005rO-Fj for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 06:07:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQCKM-0005sG-1v for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 06:07:29 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:34593) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQCKL-0005qV-Qm for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 06:07:25 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 704149D2002; Mon, 1 Feb 2016 12:07:16 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bfFtNV0qlt7f; Mon, 1 Feb 2016 12:07:13 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 8C3F99D2001; Mon, 1 Feb 2016 12:07:13 +0100 (CET) References: <87oac34e2o.fsf@debian.uxu> <871t8z6tgc.fsf@robertthorpeconsulting.com> <87io297a26.fsf@debian.uxu> User-agent: mu4e 0.9.13; emacs 25.1.50.1 From: Marcin Borkowski To: Emanuel Berg Subject: Re: on ``An Introduction to Programming in Emacs Lisp'' In-reply-to: <87io297a26.fsf@debian.uxu> Date: Mon, 01 Feb 2016 12:07:12 +0100 Message-ID: <87h9hsheov.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2016 11:07:30 -0000 On 2016-01-31, at 21:45, Emanuel Berg wrote: > One of the great benefits with a modern Linux system > is that you don't have to do it. The Debian I'd like to point out that one nice benefit of compiling from source (apart from staying on the bleeding edge) is that you can easily use C-h f to jump to the source code of functions written in C. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Mon Feb 01 07:15:12 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQDNw-0003Kc-KZ for mharc-help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 07:15:12 -0500 Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!feeds.phibee-telecom.net!eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: Daniel Bastos Newsgroups: gnu.emacs.help Subject: on specifying the C source code directory (Was: Re: on ``An Introduction to Programming in Emacs Lisp'') Date: Mon, 01 Feb 2016 10:07:57 -0200 Organization: Aioe.org NNTP Server Lines: 14 Message-ID: <0q7fio63c2.fsf_-_@toledo.com> References: <87oac34e2o.fsf@debian.uxu> <871t8z6tgc.fsf@robertthorpeconsulting.com> <87io297a26.fsf@debian.uxu> NNTP-Posting-Host: 6Q/nXlteRk5tt3Ayy20lFQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) Cancel-Lock: sha1:nG9XEDa0EAqMDRA7lS5dSgG434Y= X-Notice: Filtered by postfilter v. 0.8.2 Xref: usenet.stanford.edu gnu.emacs.help:216655 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2016 12:15:10 -0000 Marcin Borkowski writes: [...] > I'd like to point out that one nice benefit of compiling from source > (apart from staying on the bleeding edge) is that you can easily use C-h > f to jump to the source code of functions written in C. You seem a good person to ask then. I'm able to look up source code in C source code in a Windows installation. But I always need to tell it which is the directory source code. How could I make sure it knows which directory that is? Thank you. From MAILER-DAEMON Mon Feb 01 07:38:31 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQDkV-0000RY-S5 for mharc-help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 07:38:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34908) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQDkT-0000RE-W2 for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 07:38:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQDkO-0002Eo-04 for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 07:38:29 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:49857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQDkN-0002EZ-Nv for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 07:38:23 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 357AC9D2002; Mon, 1 Feb 2016 13:38:21 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id l4wvi5tTDZLg; Mon, 1 Feb 2016 13:38:13 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 57AF49D2001; Mon, 1 Feb 2016 13:38:13 +0100 (CET) References: <87oac34e2o.fsf@debian.uxu> <871t8z6tgc.fsf@robertthorpeconsulting.com> <87io297a26.fsf@debian.uxu> <0q7fio63c2.fsf_-_@toledo.com> User-agent: mu4e 0.9.13; emacs 25.1.50.1 From: Marcin Borkowski To: Daniel Bastos Subject: Re: on specifying the C source code directory (Was: Re: on ``An Introduction to Programming in Emacs Lisp'') In-reply-to: <0q7fio63c2.fsf_-_@toledo.com> Date: Mon, 01 Feb 2016 13:38:12 +0100 Message-ID: <87egcwhah7.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2016 12:38:31 -0000 On 2016-02-01, at 13:07, Daniel Bastos wrote: > Marcin Borkowski writes: > > [...] > >> I'd like to point out that one nice benefit of compiling from source >> (apart from staying on the bleeding edge) is that you can easily use C= -h >> f to jump to the source code of functions written in C. > > You seem a good person to ask then. I'm able to look up source code in > C source code in a Windows installation. But I always need to tell it > which is the directory source code. How could I make sure it knows > which directory that is? No idea. It Just Works=E2=84=A2 on my (GNU/Linux) machine, after compili= ng from source, without specifying the directory even once. Best, --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Mon Feb 01 08:07:49 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQECr-0006iU-8I for mharc-help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 08:07:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQECp-0006iK-2n for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 08:07:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQECl-0001N4-5B for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 08:07:46 -0500 Received: from mail.tuxteam.de ([5.199.139.25]:39778 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQECk-0001MA-VX for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 08:07:43 -0500 Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1aQDf4-0003qz-HN for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 13:32:54 +0100 Date: Mon, 1 Feb 2016 13:32:54 +0100 To: help-gnu-emacs@gnu.org Subject: Re: on specifying the C source code directory (Was: Re: on ``An Introduction to Programming in Emacs Lisp'') Message-ID: <20160201123254.GA14737@tuxteam.de> References: <87oac34e2o.fsf@debian.uxu> <871t8z6tgc.fsf@robertthorpeconsulting.com> <87io297a26.fsf@debian.uxu> <0q7fio63c2.fsf_-_@toledo.com> <87egcwhah7.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit In-Reply-To: <87egcwhah7.fsf@mbork.pl> User-Agent: Mutt/1.5.21 (2010-09-15) From: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2016 13:07:48 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, Feb 01, 2016 at 01:38:12PM +0100, Marcin Borkowski wrote: > > On 2016-02-01, at 13:07, Daniel Bastos wrote: > > > Marcin Borkowski writes: > > > > [...] > > > >> I'd like to point out that one nice benefit of compiling from source > >> (apart from staying on the bleeding edge) is that you can easily use C-h > >> f to jump to the source code of functions written in C. > > > > You seem a good person to ask then. I'm able to look up source code in > > C source code in a Windows installation. But I always need to tell it > > which is the directory source code. How could I make sure it knows > > which directory that is? > > No idea. It Just Works™ on my (GNU/Linux) machine, after compiling from > source, without specifying the directory even once. There is a (documented) variable called "source-directory" which seems to do that. Try perhaps setting it to an appropriate value. regards - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlavUHYACgkQBcgs9XrR2kZpEgCffO99NhMmEiQVCV3QoQHnNXD5 a4QAnjeFyo5tVDYNTMWfVimCYvyq2V0O =fH+w -----END PGP SIGNATURE----- From MAILER-DAEMON Mon Feb 01 08:54:22 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQEvt-0001NK-Qa for mharc-help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 08:54:21 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52317) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQEvr-0001H0-6d for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 08:54:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQEvq-0003uU-5V for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 08:54:19 -0500 Received: from mail-oi0-x236.google.com ([2607:f8b0:4003:c06::236]:32908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQEvp-0003uG-Vh for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 08:54:18 -0500 Received: by mail-oi0-x236.google.com with SMTP id r14so89544368oie.0 for ; Mon, 01 Feb 2016 05:54:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=R1SABx9mm7AhaWHRpIOCq9m7wO5Ls/Hgw1pnRhhioW4=; b=Z6Jmsh9tpPcLJH4pAN5Z88blVtpzBOAvFvFd0UaynhcS+YRWau5pXmD08U+NO8DuBw iMVj1K/btBGCqqVHkcAxPCUDXTLowS0Fav7ZfzkmLTnj0r1Cx8HYR0jk+JAbjOumDec/ VjzgF/EijqV4qiAO2amnFUc9ZGVFKaCxufhGv4EjINafmh2oo1KiTKqikOB+Ab7X/O67 8xuhBDewPb8CZpIVhhTrEYHxl+mjLLMi1aIG+D7+dtVblIIlKwcQVVbkazSpp28Bv4GG xiZB7iFBIKzjR58b3dP3N13563+RdEPFWTI8fniSJQSRvhJNP5AOd3bRzCP2VJXY5KN1 xs+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=R1SABx9mm7AhaWHRpIOCq9m7wO5Ls/Hgw1pnRhhioW4=; b=KoInul6F9ltMwkPS8kyW/YIRDUZEBWK9ndhHm2ZYLcbuH8ryEIdqjoG621tPi9W3fO oTuJCte/L+Cji0PjehDOlACulm9cKB81LpL6GirEmZ4G2xY7JwwxnUTNfn0qn4ipGmgw 57xk8F1ldKNpXFCelwUJdQd7DCchslQPbI8N79eU77Rr71r0v3BGgDy/oD0S3zRaudW4 zOHoZOfrzuf0I5sUf039YV7R896n4Jv2CXpRocu6EHXSG1+5mvkEEi5dXcUh0PUotHih ttFFeq4CB39bhIEfjzXsus4ZrR/DopswPf/rOzK+Ref+MirPkyoMyZVXJneZ+1IdSPn5 LiQg== X-Gm-Message-State: AG10YORjDZmCgs7OrgyWW73kZwsApDEXHvMWCGH2b9tj2etnzoULREk0BQgguKtIj3nSnnqqB0LKE8LfNlpllQ== X-Received: by 10.202.168.15 with SMTP id r15mr17074582oie.23.1454334856856; Mon, 01 Feb 2016 05:54:16 -0800 (PST) MIME-Version: 1.0 References: <87oac34e2o.fsf@debian.uxu> <871t8z6tgc.fsf@robertthorpeconsulting.com> <87io297a26.fsf@debian.uxu> <0q7fio63c2.fsf_-_@toledo.com> <87egcwhah7.fsf@mbork.pl> <20160201123254.GA14737@tuxteam.de> In-Reply-To: <20160201123254.GA14737@tuxteam.de> From: Kaushal Modi Date: Mon, 01 Feb 2016 13:54:07 +0000 Message-ID: Subject: Re: on specifying the C source code directory (Was: Re: on ``An Introduction to Programming in Emacs Lisp'') To: help-gnu-emacs@gnu.org, dbastos@toledo.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c06::236 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2016 13:54:20 -0000 Also check out the find-function-C-source-directory. http://emacs.stackexchange.com/a/19597/115 If you build emacs from source, that variable is automatically set to "${BUILD_DIR}/src". If you haven't built emacs from source, you can download the src/ directory from source ( http://git.savannah.gnu.org/cgit/emacs.git/tree/src?h=emacs-25 ) and set this variable to point to the location where you downloaded the src/ dir. Of course, you should download the src/ dir corresponding to the emacs version you have installed. The example link I posted points to the latest version of the emacs-25 git branch. From MAILER-DAEMON Mon Feb 01 11:45:26 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQHbS-0000Me-6r for mharc-help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 11:45:26 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQHbQ-0000MP-CP for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 11:45:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQHbM-00024W-Vs for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 11:45:24 -0500 Received: from mail-qk0-x230.google.com ([2607:f8b0:400d:c09::230]:36235) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQHbM-00023b-Os for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 11:45:20 -0500 Received: by mail-qk0-x230.google.com with SMTP id s68so52873619qkh.3 for ; Mon, 01 Feb 2016 08:45:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toledo-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=mrFu8S91Vw3ZYGfJtwk54bWIk0xE9pdcfE4VIrwz2FI=; b=D91jGNiCofdmZs5viUZAJu3h4BuGjJdpNEZeIKeQrsZpKRrLiMb2QAs2mL4n8sZ1G2 G/S7VTRWVgc6XXUanE1N3Bvi9le74ISlG3vJKb/c/ZxWMLQ3FBWJ/RoE1uwjDqrZ/Gpm xWfoOyrHOcGnaC4AMAE947vFoImSPFVUvkESgeNOPSHvswzQlwibPP1A8Ler/0XRNEXY KWyp0+oYbsoYxgEVb9h4/8Oa7cEOLg0OFukVn44oLsVNB0LV0f9BE5EjGqHp9CMC/61M TkSDIsFUT9oX/65eqtwl31l9LQG7UBDflRURbP0RDp1E1PeWqXlRbSVXjq1QH9Uojt03 1nCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=mrFu8S91Vw3ZYGfJtwk54bWIk0xE9pdcfE4VIrwz2FI=; b=N1gWuZk4YhJK55HTIMuQIDDXX86bQ+R70mftNxxtPnAKCjrK0iL9CxpQmoaLnEM6+b FE1AJHHbelDrJ+RSZmIcbE884+QskeuO6OqC/fm+eT0ImWt+2dX95JIoh5xKOJhFmpKq RU2HhkCjgIkQZPPEr38RU1fhrI9+GwYv4SrAYW0slJUzg6Uzp6bqlsDi3hoSQaxNv/tc IOkWYrVrTlFa44eczZCMifSA+a2dPmMBSYdTMAWXFfIKUUhhSlP5bP1C8s5J+fJooVmg A1yg3cgC5l5GP30Q2kVzrvtOgCYNPN02/iRupXrf7v6GGwukl47UmYekUFIY5Cbg1SGb 8PJA== X-Gm-Message-State: AG10YOQ/tXgBSv24jdXI0/2q9S59M6P3TusaW22O0vojqm3mXbFQ7sVE6rTuea1aB55gSg== X-Received: by 10.55.75.77 with SMTP id y74mr29454786qka.19.1454345118408; Mon, 01 Feb 2016 08:45:18 -0800 (PST) Received: from DESENV-PC3 (fttx.cable-177122217.predialnet.com.br. [177.12.2.217]) by smtp.gmail.com with ESMTPSA id v185sm13265768qka.10.2016.02.01.08.45.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Feb 2016 08:45:17 -0800 (PST) From: Daniel Bastos To: Kaushal Modi Subject: Re: on specifying the C source code directory References: <87oac34e2o.fsf@debian.uxu> <871t8z6tgc.fsf@robertthorpeconsulting.com> <87io297a26.fsf@debian.uxu> <0q7fio63c2.fsf_-_@toledo.com> <87egcwhah7.fsf@mbork.pl> <20160201123254.GA14737@tuxteam.de> Date: Mon, 01 Feb 2016 14:42:58 -0200 In-Reply-To: (Kaushal Modi's message of "Mon, 01 Feb 2016 13:54:07 +0000") Message-ID: <0qlh744c19.fsf@toledo.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c09::230 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2016 16:45:25 -0000 Kaushal Modi writes: > Also check out the find-function-C-source-directory. Thanks so much. (setq find-function-C-source-directory (file-name-as-directory "path/to/my/emacs/src")) From MAILER-DAEMON Mon Feb 01 19:17:25 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQOer-00045r-I2 for mharc-help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 19:17:25 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQOeo-00044V-D5 for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 19:17:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQOej-0006wi-Ag for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 19:17:22 -0500 Received: from plane.gmane.org ([80.91.229.3]:40777) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQOej-0006vj-4A for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 19:17:17 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aQOeb-0008Bj-Se for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 01:17:09 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 01:17:09 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 01:17:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: on specifying the C source code directory Date: Tue, 02 Feb 2016 01:17:03 +0100 Lines: 18 Message-ID: <87zivk7yps.fsf@debian.uxu> References: <87oac34e2o.fsf@debian.uxu> <871t8z6tgc.fsf@robertthorpeconsulting.com> <87io297a26.fsf@debian.uxu> <0q7fio63c2.fsf_-_@toledo.com> <87egcwhah7.fsf@mbork.pl> <20160201123254.GA14737@tuxteam.de> <0qlh744c19.fsf@toledo.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:cAvwLfdCCJap7KUlmFwFfCEum5s= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 00:17:23 -0000 Daniel Bastos writes: > (setq find-function-C-source-directory > (file-name-as-directory "path/to/my/emacs/src")) `file-name-as-directory' just adds a trail slash so that can be added manually. Also, it doesn't seem to be necessary! I never thought about it, but I see now that I have it like this - no slash - and it has always worked just the same: (defvar find-function-C-source-directory) (setq find-function-C-source-directory "~/.emacs.d/emacs-24.1/src") -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Mon Feb 01 19:28:53 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQOpx-0007jk-7p for mharc-help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 19:28:53 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQOpu-0007iG-Ji for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 19:28:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQOpq-0003f5-9T for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 19:28:50 -0500 Received: from plane.gmane.org ([80.91.229.3]:41769) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQOpq-0003eb-2P for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 19:28:46 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aQOpi-0000jz-Rv for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 01:28:38 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 01:28:38 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 01:28:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: on ``An Introduction to Programming in Emacs Lisp'' Date: Tue, 02 Feb 2016 01:28:27 +0100 Lines: 23 Message-ID: <87vb687y6s.fsf@debian.uxu> References: <87oac34e2o.fsf@debian.uxu> <871t8z6tgc.fsf@robertthorpeconsulting.com> <87io297a26.fsf@debian.uxu> <87h9hsheov.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:72idO0oigJ2MRyjW2PBoo6i8NPM= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 00:28:51 -0000 Marcin Borkowski writes: > I'd like to point out that one nice benefit of > compiling from source (apart from staying on the > bleeding edge) ... There can be many definitions of "staying on the bleeding edge". One is: using software to be active, creative and productive with *your own projects* that perhaps nobody else knows about, until you release it for everyone to see and (sometimes) use. Using the latest releases of everything, including hardware components, is something some people take pride in. But often this is actually something that one shouldn't do because it is an obstacle to the own activity which benefits from reliable, familiar tools. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Mon Feb 01 21:17:44 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQQXI-0000Nn-7E for mharc-help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 21:17:44 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQQXG-0000Ne-Fy for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 21:17:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQQXD-0004JB-9Q for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 21:17:42 -0500 Received: from plane.gmane.org ([80.91.229.3]:51056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQQXD-0004J5-1t for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 21:17:39 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aQQXA-0005W1-LT for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 03:17:36 +0100 Received: from blk-30-140-134.eastlink.ca ([96.30.140.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 03:17:36 +0100 Received: from nljlistbox2 by blk-30-140-134.eastlink.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 03:17:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: nljlistbox2@gmail.com (N. Jackson) Subject: Re: User interface to bad certificate warning -- how to use? Date: Mon, 01 Feb 2016 22:17:27 -0400 Lines: 38 Message-ID: <87r3gvsvns.fsf@gmail.com> References: <8760y9qazi.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: blk-30-140-134.eastlink.ca User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) Cancel-Lock: sha1:Mj38G6RXVNcRsREjy8ctN6beYcQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 02:17:43 -0000 Thank you for your response Lars. At 06:02 +0100 on Monday 2016-02-01, Lars Magne Ingebrigtsen wrote: > nljlistbox2@gmail.com (N. Jackson) writes: > >> Is the user intended to type in the full text of their choice or the >> first letter or what? > > I think the standard in Emacs is to use capitalisation to say what > characters you're supposed to hit. I should probably know that. I just don't see prompts to choose between options very often, so I wasn't sure. >> The prompt seems to disappear when _any_ key is pressed > > I don't think that's what happened. When you tried selecting the text, > you probably ended up aborting the function, just as if you'd hit `C-g'. On further investigation, some invalid key presses (such as `z') correctly result in a followup prompt, but other invalid key presses (such as the arrow keys) result in the prompt silently disappearing. I've opened bug#22530 for this. I'm not sure what aborting the function would mean here. Is it the same as responding `n' to the prompt (i.e. don't continue connecting to the insecure server)? From the user's perspective, the command just issued was `M-x gnus', so if it were aborted Gnus "shouldn't" start. It's a bit fuzzy. Probably best though, if it didn't abort unless the user pressed `C-g'. >> After the prompt is gone, the help window remains > The help window should have gone away. Please report this as a bug with > `M-x report-emacs-bug'. This is now bug#22532. From MAILER-DAEMON Mon Feb 01 22:58:15 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQS6Z-0002LK-CB for mharc-help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 22:58:15 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQS6W-0002Ka-W5 for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 22:58:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQS6Q-0007eR-OK for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 22:58:12 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:35799) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQS6Q-0007eN-IQ for help-gnu-emacs@gnu.org; Mon, 01 Feb 2016 22:58:06 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aQS60-0001hn-KN; Tue, 02 Feb 2016 04:57:41 +0100 From: Lars Magne Ingebrigtsen To: nljlistbox2@gmail.com (N. Jackson) Subject: Re: User interface to bad certificate warning -- how to use? References: <8760y9qazi.fsf@gnus.org> Date: Tue, 02 Feb 2016 04:57:36 +0100 In-Reply-To: (N. Jackson's message of "Mon, 01 Feb 2016 22:17:27 -0400") Message-ID: <87twlr932n.fsf@gnus.org> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aQS60-0001hn-KN X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: lmi@gnus.org MailScanner-NULL-Check: 1454990263.54395@dge6w7pMqJPMSXqXbTM7GQ X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 03:58:14 -0000 nljlistbox2@gmail.com (N. Jackson) writes: > I'm not sure what aborting the function would mean here. Is it the same > as responding `n' to the prompt (i.e. don't continue connecting to the > insecure server)? From the user's perspective, the command just issued > was `M-x gnus', so if it were aborted Gnus "shouldn't" start. It's a bit > fuzzy. Probably best though, if it didn't abort unless the user pressed > `C-g'. Well... you can abort most anything with `C-g'. And it means "stop whatever it is that you're doing". It might make sense to interpret it as "no" and carry on, but it would be rather unusual. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From MAILER-DAEMON Tue Feb 02 02:22:45 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQVIT-0005Z6-E4 for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 02:22:45 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQVIR-0005Yw-Gd for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 02:22:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQVIN-0003oG-H8 for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 02:22:43 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:46204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQVIN-0003ns-AK for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 02:22:39 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 76BD99D2002; Tue, 2 Feb 2016 08:22:37 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 50SqOup58uQk; Tue, 2 Feb 2016 08:22:34 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 8DD8B9D2001; Tue, 2 Feb 2016 08:22:34 +0100 (CET) References: <87oac34e2o.fsf@debian.uxu> <871t8z6tgc.fsf@robertthorpeconsulting.com> <87io297a26.fsf@debian.uxu> <87h9hsheov.fsf@mbork.pl> <87vb687y6s.fsf@debian.uxu> User-agent: mu4e 0.9.13; emacs 25.1.50.1 From: Marcin Borkowski To: Emanuel Berg Subject: Re: on ``An Introduction to Programming in Emacs Lisp'' In-reply-to: <87vb687y6s.fsf@debian.uxu> Date: Tue, 02 Feb 2016 08:22:33 +0100 Message-ID: <874mdrh8zq.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 07:22:44 -0000 On 2016-02-02, at 01:28, Emanuel Berg wrote: > Marcin Borkowski writes: > >> I'd like to point out that one nice benefit of >> compiling from source (apart from staying on the >> bleeding edge) ... > > There can be many definitions of "staying on the > bleeding edge". One is: using software to be active, > creative and productive with *your own projects* that > perhaps nobody else knows about, until you release it > for everyone to see and (sometimes) use. > > Using the latest releases of everything, including > hardware components, is something some people take > pride in. > > But often this is actually something that one > shouldn't do because it is an obstacle to the own > activity which benefits from reliable, familiar tools. Fair enough. I have to say, though, that the alleged unreliability of the development version of Emacs has yet to hit me. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Tue Feb 02 02:24:04 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQVJk-0006iJ-NK for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 02:24:04 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQVJi-0006i6-Bb for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 02:24:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQVJe-000478-8A for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 02:24:02 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:50046) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQVJe-000470-0r for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 02:23:58 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 751759D2002; Tue, 2 Feb 2016 08:23:57 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U5ZT3U+5WYc1; Tue, 2 Feb 2016 08:23:55 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 3310C9D2001; Tue, 2 Feb 2016 08:23:55 +0100 (CET) References: <87oac34e2o.fsf@debian.uxu> <871t8z6tgc.fsf@robertthorpeconsulting.com> <87io297a26.fsf@debian.uxu> <0q7fio63c2.fsf_-_@toledo.com> <87egcwhah7.fsf@mbork.pl> <20160201123254.GA14737@tuxteam.de> <0qlh744c19.fsf@toledo.com> <87zivk7yps.fsf@debian.uxu> User-agent: mu4e 0.9.13; emacs 25.1.50.1 From: Marcin Borkowski To: Emanuel Berg Subject: Re: on specifying the C source code directory In-reply-to: <87zivk7yps.fsf@debian.uxu> Date: Tue, 02 Feb 2016 08:23:54 +0100 Message-ID: <8737tbh8xh.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 07:24:03 -0000 On 2016-02-02, at 01:17, Emanuel Berg wrote: > Daniel Bastos writes: > >> (setq find-function-C-source-directory >> (file-name-as-directory "path/to/my/emacs/src")) > > `file-name-as-directory' just adds a trail slash so > that can be added manually. As the docstring says, in Unix this is so. I don't know about other systems. > Also, it doesn't seem to be necessary! I never thought > about it, but I see now that I have it like this - no > slash - and it has always worked just the same: > > (defvar find-function-C-source-directory) > (setq find-function-C-source-directory "~/.emacs.d/emacs-24.1/src") Out of curiosity: why defvar? Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Tue Feb 02 03:12:43 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQW4p-0003qy-1M for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 03:12:43 -0500 Path: usenet.stanford.edu!goblin3!goblin.stu.neva.ru!odin.sdf-eu.org!.POSTED!not-for-mail From: Bob Bernstein Newsgroups: gnu.emacs.help Subject: Meta key for 'emacs -nw' Date: Tue, 2 Feb 2016 04:06:46 +0000 (UTC) Organization: SDF Public Access UNIX System, Est. 1987 Lines: 19 Message-ID: NNTP-Posting-Host: sdf.org X-Trace: odin.sdf-eu.org 1454386006 2538 192.94.73.15 (2 Feb 2016 04:06:46 GMT) X-Complaints-To: usenet@odin.sdf-eu.org NNTP-Posting-Date: Tue, 2 Feb 2016 04:06:46 +0000 (UTC) User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (NetBSD/7.0 (amd64)) Xref: usenet.stanford.edu gnu.emacs.help:216664 To: help-gnu-emacs@gnu.org X-Mailman-Approved-At: Tue, 02 Feb 2016 03:12:41 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 04:15:08 -0000 Emacs, unless specifically told not to do it -- with the '-nw' option, will ordinarily launch here (in an xterm) in X window fashion, and the Meta key is then 'Alt'. Launched in the same xterm, with '-nw,' emacs uses Esc for its Meta key, which I find um disenchanting, for lack of a better term. Do I need to place some information in my .emacs, perhaps related to the minibuffer, instructing emacs to stay with Alt for its Meta key? Or is this a matter of setting my xterm correctly? (A thousand pardons if this is a F A Q.) -- Bob Bernstein From MAILER-DAEMON Tue Feb 02 03:58:18 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQWmw-0004G0-P9 for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 03:58:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQWmu-0004Fa-JP for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 03:58:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQWmt-0005vT-OR for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 03:58:16 -0500 Received: from mail-lf0-x232.google.com ([2a00:1450:4010:c07::232]:33144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQWmt-0005ux-DR for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 03:58:15 -0500 Received: by mail-lf0-x232.google.com with SMTP id m1so38907211lfg.0 for ; Tue, 02 Feb 2016 00:58:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=PKBIlBhQZZvTC1ustYSyUeg3dOsOUK6rt8bIST7x/BU=; b=NokPlag5JX0Cl5SnFVrUwDDzp2IfSPrQ8BhUvXK+nP1GGik36XIp3uMhfE45KMfeNV 3YtrvKmkV2gXVhS0nHaIOSuyhHwJukLESP2ejnlVQNbIKLEgiy/13g/7cwfnZ7l8SM4w e8+yLY0KuF57zUUNVIAnQ2A7cg3gnirj6C2A3tSSC/PijRaMUsYzxJJeJ4YA4kjOCouT XJwUZ1t6S2e/o5IxcmwN/V4nS4N9mDirTRYABsnQ+bAoeXeh0WFWG1na9HR9w4hMMbwI 8+HrRx4Q1gvtdYnXEA1AhgfknJE717lABYfwYgyOs0+IX2cslZO1mPNv/Xwh/JiYXcTx qtXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=PKBIlBhQZZvTC1ustYSyUeg3dOsOUK6rt8bIST7x/BU=; b=cj/PqKAqDuiobHB+K3K8zDEiytiagn1hyHlsA5jBWVQH7PXl02HsrMdReeTwNSJn+n K3t/NL3WN9kmc9UUIH4BEImJ1yCieS4woFaLpUZuK1NrHRDnACoNeWwggHmzYaUA5C/X Ti78mOqdlh7H1RyotS/q+4jhCf0SYpz1EBGe4scFwK7lfu5sG7YmdndZc8P9Me3IdhAU p0Kt5mZQrAMCmdJG/LfD+fw28nIH8F4c6NKH3wrPFkChG34GNZ7TxQI5aVy2zL9D9GWr 6swSZEKsjGqPHQw8pRVYikPGBtW8ISfA9usDFpvRCPWrdheadjDOE2/9yRs+PUQZ78xj 6BdQ== X-Gm-Message-State: AG10YOQj/4mgevHekdU05MnjOkVxR5wGUzmVpSPE5f1ZEBTU5e3HFWCTY26pVpwptG20R6neijv/V9E965fx8A== X-Received: by 10.25.29.147 with SMTP id d141mr9009415lfd.26.1454403494542; Tue, 02 Feb 2016 00:58:14 -0800 (PST) MIME-Version: 1.0 Sender: yurivkhan@gmail.com Received: by 10.112.7.100 with HTTP; Tue, 2 Feb 2016 00:57:55 -0800 (PST) In-Reply-To: References: From: Yuri Khan Date: Tue, 2 Feb 2016 14:57:55 +0600 X-Google-Sender-Auth: BlG9pNZ7KLXFIKsU3B4K564e2N8 Message-ID: Subject: Re: Meta key for 'emacs -nw' To: Bob Bernstein Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::232 Cc: "help-gnu-emacs@gnu.org" X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 08:58:17 -0000 On Tue, Feb 2, 2016 at 10:06 AM, Bob Bernstein w= rote: > Launched in [=E2=80=A6] xterm, with '-nw,' emacs uses Esc for > its Meta key, which I find um disenchanting, for lack of a > better term. > > [=E2=80=A6] is this a matter of setting my xterm correctly? This. With a typical PC keyboard (which has Alt keys but no dedicated hardware Meta keys), you=E2=80=99ll need to set the XTerm.vt100.metaSendsEscape resource to true. From MAILER-DAEMON Tue Feb 02 04:11:51 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQX03-0007Kn-9G for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 04:11:51 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQWzx-0007Ka-30 for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 04:11:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQWzt-0000IF-2j for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 04:11:45 -0500 Received: from plane.gmane.org ([80.91.229.3]:57408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQWzs-0000Hz-Rr for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 04:11:41 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aQWz2-0005Sn-QC for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 10:10:48 +0100 Received: from lapsgs09.informatik.uni-stuttgart.de ([129.69.213.139]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 10:10:48 +0100 Received: from mailinglists by lapsgs09.informatik.uni-stuttgart.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 10:10:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Florian Lindner Subject: Reparsing file makes Emacs freeze Date: Tue, 2 Feb 2016 10:09:58 +0100 Lines: 27 Message-ID: <20160202100958.3c760e18@asaru> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lapsgs09.informatik.uni-stuttgart.de X-Newsreader: Claws Mail 3.13.2 (GTK+ 2.24.29; x86_64-unknown-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 09:11:49 -0000 Hello, my Emacs 24.5 shows, imho only after recently, the message Reparsing /home/florian/precice/src/mapping/tests/PetRadialBasisFctMappingTest.cpp and freezes for a second or two. This happens inbetween, not just when saving and it's massively disturbing. I already disabled semantic-mode, but changed nothing. Also disabled global-company-mode, flycheck-mode, projectile Enabled minor modes are: Enabled minor modes: Abbrev Async-Bytecomp-Package Auto-Composition Auto-Compression Auto-Encryption Auto-Revert Blink-Cursor Diff-Auto-Refine Electric-Indent Electric-Pair File-Name-Shadow Font-Lock Global-Auto-Revert Global-Flycheck Global-Font-Lock Global-Git-Commit Gud-Tooltip Helm Helm-Flx Helm-Fuzzier Helm-Gtags Line-Number Magit-Auto-Revert Menu-Bar Mouse-Wheel Override-Global Recentf Savehist Shell-Dirtrack Show-Paren Subword Tooltip Transient-Mark Any idea what could cause this reparsing? Thanks, Florian From MAILER-DAEMON Tue Feb 02 04:14:40 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQX2m-00008k-Mp for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 04:14:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33922) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQX2f-00005I-7Y for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 04:14:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQX2a-0000yV-7t for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 04:14:33 -0500 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:34202) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQX2a-0000yR-0q for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 04:14:28 -0500 Received: by mail-wm0-x22f.google.com with SMTP id 128so107929384wmz.1 for ; Tue, 02 Feb 2016 01:14:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=therning-org.20150623.gappssmtp.com; s=20150623; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-type; bh=sUsZCYt9FVpQiqNUYSPifURtYTWmKzaMl1+9ph2vl6g=; b=VmQqgR4MzJjYeBJL0OgxvWqO0tez9fyPxUKtsFDFlHziDQFmsUPpy9zcdtJYnhBPem XggNW/umjv2hY63nSYkQocFrPpR1hMF2l7ZGfkNBbC7SBToLNv8EbxRXYrotYnTHBUbn Lt+rZoZjGcapVxvFUHEJ0xTFxk4r2eWH3WkmR97D9Tvw5R5mDAfotzYJZJtipk0KkIE/ uC8FyNwrovYVcrZXnNn0ivL3vK1ST0bDqPHrBhLjjdzbIAa1+9rRaBd7xXjIY5sTdUlG cCjgApQT8C3Xla5QlXixJ5KTZHYQxd13uOsXBWABihXuZacEY7zTkqUFx6Yp2a8oZkrl l8Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-type; bh=sUsZCYt9FVpQiqNUYSPifURtYTWmKzaMl1+9ph2vl6g=; b=A2chaicKK0iPzSbUG8yZ2g9YWLwaFvDCRQ5f/uMFNCXWtuErZGCYTV9QSkwXyzLjpE Wvpq9Kyf4xXu6z9jeZCBKzjMhIL/K3ECuE4vUIaY6r7JgruNYEPLndbn2myWGgG2Bo3h l3/F/5XaHkbjJ7Jx2H1HpVVULZh2rWjZYwuoG6ufO6XCpGWm204IeAhHtACfET8Cg4Jr 7n06o3yzBZzgSTiOv5Au3zXjMr6hZ/WLT8hyxjBmSks5DUQKDqiccgMJiaOQitCTtlcz V5Rw6N0p7M4qMs/ZkbyOt6mmHDSahRhQ0Qct4ArzJhmip+nJXU+HJZDLIAEEvWQaGCMX 9CAA== X-Gm-Message-State: AG10YOSUZcVMi0n/acm3Nh4ICE6aE43c94UFjwNHijs6lZF7o6mpZMYi6HqjAnBNk/VAig== X-Received: by 10.28.4.216 with SMTP id 207mr2772858wme.20.1454404467110; Tue, 02 Feb 2016 01:14:27 -0800 (PST) Received: from sobel.cipherstone.com (pc-132.aktiviteten.se. [194.218.229.132]) by smtp.gmail.com with ESMTPSA id qs1sm503251wjc.2.2016.02.02.01.14.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Feb 2016 01:14:25 -0800 (PST) References: User-agent: mu4e 0.9.17; emacs 24.5.1 From: Magnus Therning To: Bob Bernstein Subject: Re: Meta key for 'emacs -nw' In-reply-to: Date: Tue, 02 Feb 2016 10:14:24 +0100 Message-ID: <8737tbh3tb.fsf@sobel.cipherstone.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22f Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 09:14:38 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Bob Bernstein writes: > Emacs, unless specifically told not to do it -- with the=20 > '-nw' option, will ordinarily launch here (in an xterm) in X=20 > window fashion, and the Meta key is then 'Alt'. > > Launched in the same xterm, with '-nw,' emacs uses Esc for=20 > its Meta key, which I find um disenchanting, for lack of a=20 > better term. > > Do I need to place some information in my .emacs, perhaps=20 > related to the minibuffer, instructing emacs to stay with Alt=20 > for its Meta key?=20 > > Or is this a matter of setting my xterm correctly? > > (A thousand pardons if this is a F A Q.) For me it works beautifully out of the box in Gnome Terminal, but it doesn't work in xterm. I'm guessing this means it's something that should be fixed in the terminal rather than in emacs itself. No? Maybe you can try this: https://www.gnu.org/software/emacs/manual/html_node/efaq/Meta-key-does-not-= work-in-xterm.html /M =2D-=20 Magnus Therning OpenPGP: 0x927912051716CE39 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus You do not examine legislation in the light of the benefits it will convey if properly administered, but in the light of the wrongs it would do and the harms it would cause if improperly administered. -- Lyndon Johnson --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJWsHNwAAoJEJJ5EgUXFs45h3EP/R6KmZxTx/XGmqikrSvX7AOd vIZ+U3ak/IEvdg6fFg29agTxuLRka2MQNhIFR3F4yLs6IEgg3lz1n2PVE43eAXzr UrZgnf+2bSPUd1dloaUNv0IyXu32iJw02K6HsWfn4S7L+7W/P64RZ6ku2MttgQld C82h0wYaYLOzZ/0lzqHP9+n5isuuzuIWi0LC87BASRm1y6NDpAXlxImGRHN0z5Nz z5wUXTWGZfP3vXV0VQMeiLGbWKbTr25/VIedCKM5LBpPmBc50qVrwICUqPcLWzM1 PQgW2xKjSMKqRyB/jDUjafZXyxMf729M1uYBiSqeNlNZeLhSoeYZZyK++gPcoQky oNkebVFc5Ey/uHWTn4dDHHa6WXhiMNGzS5CiBecB/0a2Ig13rAYGOlPXJT2eQeOg u70fRlvEMV8wtN7436nDbBGZc9GlVvgjcLE/WSXOdGjGe9pJ6shBYLH8ibb7gdmd Q1fXXbuGsvKr+aqbg+0uUIjdl32Mn8NWFUdkSqjTXl7r8zvzSQlK6DrP5ndRNi00 TwvSND2te01mrihpbNclrtgZ9YKhr0yYEyIKu4hIn2PoCesYVQe1AzXHyxsROdPX X/AySKOEXV89Ft3XEpLhA/rATFWS0crEoP0/VWMHKqdx4VCdDC/uq0kejpzxgNRR rUqh3Hl5yK+XCeGh5ftd =Wkew -----END PGP SIGNATURE----- --=-=-=-- From MAILER-DAEMON Tue Feb 02 04:15:30 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQX3a-0000ge-2l for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 04:15:30 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQX3R-0000f7-E4 for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 04:15:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQX3M-00018c-9u for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 04:15:21 -0500 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]:37948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQX3M-00018Y-3Q for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 04:15:16 -0500 Received: by mail-wm0-x233.google.com with SMTP id p63so12577460wmp.1 for ; Tue, 02 Feb 2016 01:15:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=therning-org.20150623.gappssmtp.com; s=20150623; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-type; bh=vprABtU6kzCFdPOh95QtKuhmm2Y+R9v9TAnbS5Jdac8=; b=1M78vOmWS7+8ttXiq78u9FT5YlmX/r52ivDzIWPCaNilCaOCLGTJ9VUHZIYp7DLeXP E79/OV6IeJ7NVvBuCCIlVFZ8u0/i+Om5u/4wHQACLyvY75q6D4qRJm9/TGPQK/b/QCuC RZCjNbnMumwQYX0+S7AkqAz2MSbjThGI2M6mR9L43FdJMN226evZlojA3GDA+X+nDXjH bFiONfCwTGQKL275gunkvWd9Nrnzllv0OsVj/gNhdIw4tyfcOO9y54zOcM/OcJZ0du60 LFkTjlCbRsR0TwBqU2hRrUqnz5S9ENVwp9EbxBw7OAB519uurF4zE3a+dN1rUDn+gwKN a9bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-type; bh=vprABtU6kzCFdPOh95QtKuhmm2Y+R9v9TAnbS5Jdac8=; b=P4k1pJkrhRI/9lzxaSyL3z9W1PcSsga2FPu/JUxFq87krsi+f5isfaU5Pb5vABaXDX 1hOjYcNSJqa347n9jAiuxvQVWD0y/gzbPTvI0O+W0rkJEq1KY2X++LYMUpa0a4NkHyb9 eeKhmDfHh+pAom9YQHQ3YOVvVd+Hu0V/81rBMu16NHO6AJb8LAGJNTs4K4VmkfUU5cSt eSx1FN7NYuumbwz4I2rZV7ww/hHZyAN71cZrSHfgJXJDIDO7YUE1YX9Gd7PHiXJ8NrGc T0ZytxZHY2bxm+RjdOaPmgSfnJUodmXZtV8aZ4dSB8W1lthhnhbfMOrnOeWcQ6NAGWg7 Ds3Q== X-Gm-Message-State: AG10YORbRMjK3kthDhpiJ0ejHOIou4npe/KPaGFT1bk3SW8XSL3UKOkaDHcTUVVgmRKgZQ== X-Received: by 10.28.45.71 with SMTP id t68mr2738242wmt.46.1454404515506; Tue, 02 Feb 2016 01:15:15 -0800 (PST) Received: from sobel.cipherstone.com (pc-132.aktiviteten.se. [194.218.229.132]) by smtp.gmail.com with ESMTPSA id w136sm15494298wmw.0.2016.02.02.01.15.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 02 Feb 2016 01:15:14 -0800 (PST) References: User-agent: mu4e 0.9.17; emacs 24.5.1 From: Magnus Therning To: Bob Bernstein Subject: Re: Meta key for 'emacs -nw' In-reply-to: Date: Tue, 02 Feb 2016 10:15:13 +0100 Message-ID: <871t8vh3ry.fsf@sobel.cipherstone.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::233 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 09:15:29 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Bob Bernstein writes: > Emacs, unless specifically told not to do it -- with the=20 > '-nw' option, will ordinarily launch here (in an xterm) in X=20 > window fashion, and the Meta key is then 'Alt'. > > Launched in the same xterm, with '-nw,' emacs uses Esc for=20 > its Meta key, which I find um disenchanting, for lack of a=20 > better term. > > Do I need to place some information in my .emacs, perhaps=20 > related to the minibuffer, instructing emacs to stay with Alt=20 > for its Meta key?=20 > > Or is this a matter of setting my xterm correctly? > > (A thousand pardons if this is a F A Q.) Another thing to try: https://wiki.archlinux.org/index.php/Xterm#Fix_the_.2= 7Alt.27_key /M =2D-=20 Magnus Therning OpenPGP: 0x927912051716CE39 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus Finagle's Sixth Law: Don't believe in miracles -- rely on them. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJWsHOhAAoJEJJ5EgUXFs45rJcP/3yseVf45T1Argh7lXvwG04p Y13t4ZpMVam99BaYZlfxz+L1ZknuclTbva2XTrH9076bw+7lXwNllsO8Gwk2TP8c brpN8dPowLterfLeodavSnoNlYwOvPJPko0XnEV1ZRLMhHuo7L1PE+MfvBT4vOF8 v9itpBjmTc0/vRO62qhdpzteCFZopQWmSVQwWjiHWY2ZUnX+M8asyeLdfz8mHt2w mvk8bWpgx7joezJhrl0yAOz/PNzIMqvIxwtGkIHqoMPpCEiXrGPJOn+Ue4dnoWHH YNFFzVkQVSRnE037TpH752adjfhRyuK1J1Q9zYRhIVSTJOY2FS9pn5f5EelxjXiG owtDj4lny4wwzsuEwYsJkXV+nHAsUH6gBJJRf4jkeBRPh45KrGmYEwDQmYRebaVd OzUnmbav00dFWUQAdl1uzxPzFrc1Ze8ZKQ8LgSsV/n65orBZ7k7tnN2NNAIIrOwN oBsl3+sOzvOM179S3Y30yiUKaXeUyv5lfTkmfJu/T+0fZ61tBKS8rC4+6cmY9OPF hCl5hGj9VNn1/+rPhxFDf7cVGf7eHPHhcsAj6SmkWN9s7szYsgNHrZar32zfXWJx 8iNBHjKfcS+Jr+blfKOD8ad0a1OLLuWhXIZ5SJgN5mYJuodBXgKLvpAe/Opw+1KA nJOZoKL18HPMtbHh3vlT =W2aF -----END PGP SIGNATURE----- --=-=-=-- From MAILER-DAEMON Tue Feb 02 06:45:13 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQZOT-0000po-9T for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 06:45:13 -0500 X-Received: by 10.140.242.131 with SMTP id n125mr22790489qhc.14.1454413416789; Tue, 02 Feb 2016 03:43:36 -0800 (PST) X-Received: by 10.50.43.165 with SMTP id x5mr34285igl.9.1454413416741; Tue, 02 Feb 2016 03:43:36 -0800 (PST) Path: usenet.stanford.edu!94no33863qgt.1!news-out.google.com!kr2ni4399igb.0!nntp.google.com!ks5no266871igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: gnu.emacs.help Date: Tue, 2 Feb 2016 03:43:36 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=117.195.33.189; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui NNTP-Posting-Host: 117.195.33.189 References: <87oac34e2o.fsf@debian.uxu> <871t8z6tgc.fsf@robertthorpeconsulting.com> <87io297a26.fsf@debian.uxu> <87h9hsheov.fsf@mbork.pl> <87vb687y6s.fsf@debian.uxu> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0ec96568-4fa3-47e8-a224-722dc842181a@googlegroups.com> Subject: Re: on ``An Introduction to Programming in Emacs Lisp'' From: Rusi Injection-Date: Tue, 02 Feb 2016 11:43:36 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: usenet.stanford.edu gnu.emacs.help:216671 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 11:45:10 -0000 On Tuesday, February 2, 2016 at 12:52:47 PM UTC+5:30, Marcin Borkowski wrote: > On 2016-02-02, at 01:28, Emanuel Berg wrote: > > > Marcin Borkowski writes: > > > >> I'd like to point out that one nice benefit of > >> compiling from source (apart from staying on the > >> bleeding edge) ... > > > > There can be many definitions of "staying on the > > bleeding edge". One is: using software to be active, > > creative and productive with *your own projects* that > > perhaps nobody else knows about, until you release it > > for everyone to see and (sometimes) use. > > > > Using the latest releases of everything, including > > hardware components, is something some people take > > pride in. > > > > But often this is actually something that one > > shouldn't do because it is an obstacle to the own > > activity which benefits from reliable, familiar tools. > > Fair enough. > > I have to say, though, that the alleged unreliability of the development > version of Emacs has yet to hit me. See my other thread on python mode. In summary: Builtin python mode is giving various unfriendly messages in emacs 25 not 24 From MAILER-DAEMON Tue Feb 02 07:00:15 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQZd1-0006fO-4B for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 07:00:15 -0500 Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!feeder.erje.net!1.eu.feeder.erje.net!news.roellig-ltd.de!open-news-network.org!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: Daniel Bastos Newsgroups: gnu.emacs.help Subject: Re: on specifying the C source code directory Date: Tue, 02 Feb 2016 09:57:22 -0200 Organization: Aioe.org NNTP Server Lines: 13 Message-ID: <0qh9hrtjdp.fsf@toledo.com> References: <87oac34e2o.fsf@debian.uxu> <871t8z6tgc.fsf@robertthorpeconsulting.com> <87io297a26.fsf@debian.uxu> <0q7fio63c2.fsf_-_@toledo.com> <87egcwhah7.fsf@mbork.pl> NNTP-Posting-Host: 6Q/nXlteRk5tt3Ayy20lFQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:9c5De941KXe03evL5IKJslE1M2M= Xref: usenet.stanford.edu gnu.emacs.help:216672 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 12:00:13 -0000 writes: [...] > There is a (documented) variable called "source-directory" which seems > to do that. Try perhaps setting it to an appropriate value. This variable is documented as such, but it doesn't seem to take the desired effect. Other posts mentioned find-function-C-source-directory which does. From MAILER-DAEMON Tue Feb 02 07:27:27 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQa3L-00006F-H3 for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 07:27:27 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQa3I-0008Vo-KH for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 07:27:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQa3F-0006Li-C2 for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 07:27:24 -0500 Received: from mail.tuxteam.de ([5.199.139.25]:42593 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQa3F-0006LY-62 for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 07:27:21 -0500 Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1aQZVe-0006Pv-63 for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 12:52:38 +0100 Date: Tue, 2 Feb 2016 12:52:38 +0100 To: help-gnu-emacs@gnu.org Subject: Re: on specifying the C source code directory Message-ID: <20160202115238.GB24589@tuxteam.de> References: <87oac34e2o.fsf@debian.uxu> <871t8z6tgc.fsf@robertthorpeconsulting.com> <87io297a26.fsf@debian.uxu> <0q7fio63c2.fsf_-_@toledo.com> <87egcwhah7.fsf@mbork.pl> <0qh9hrtjdp.fsf@toledo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed In-Reply-To: <0qh9hrtjdp.fsf@toledo.com> User-Agent: Mutt/1.5.21 (2010-09-15) From: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 12:27:25 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Feb 02, 2016 at 09:57:22AM -0200, Daniel Bastos wrote: > writes: > > [...] > > > There is a (documented) variable called "source-directory" which seems > > to do that. Try perhaps setting it to an appropriate value. > > This variable is documented as such, but it doesn't seem to take the > desired effect. Other posts mentioned > > find-function-C-source-directory Yes, thanks regards - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlawmIYACgkQBcgs9XrR2kbAuQCfcgpHOsF67sUUJcktAkTvVgTk +98AoIE1cAJf+46co3i60ZjWZGL0dkVa =aHS6 -----END PGP SIGNATURE----- From MAILER-DAEMON Tue Feb 02 10:01:39 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQcSZ-0003Om-B6 for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 10:01:39 -0500 Path: usenet.stanford.edu!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: HASM Newsgroups: gnu.emacs.help Subject: Re: Meta key for 'emacs -nw' Date: Tue, 02 Feb 2016 06:43:00 -0800 Organization: A noiseless patient Spider Lines: 14 Message-ID: <87a8njuqa3.fsf@127.0.0.1> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: mx02.eternal-september.org; posting-host="439f31d8bc4e0de4f531f161d6a74e1c"; logging-data="28399"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19TTGzQpeDpwIjWXUXLKFyQPnYAx6pXKS0=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:lsRq+Tso7nth2QWhizoCE/2RAn0= sha1:OLU2+SpY7p/HqGp/jNHBHmv1lXI= Xref: usenet.stanford.edu gnu.emacs.help:216674 To: help-gnu-emacs@gnu.org X-Mailman-Approved-At: Tue, 02 Feb 2016 10:01:37 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 14:45:11 -0000 >> Launched in [=E2=80=A6] xterm, with '-nw,' emacs uses Esc for >> its Meta key, which I find um disenchanting, for lack of a >> better term. > This. With a typical PC keyboard (which has Alt keys but no dedicated > hardware Meta keys), you=E2=80=99ll need to set the > XTerm.vt100.metaSendsEscape resource to true. Alternatively you could set XTerm*eightBitInput: false (though this may have other side effects.) -- HASM From MAILER-DAEMON Tue Feb 02 10:42:52 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQd6S-0004k1-Kx for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 10:42:52 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQd6P-0004jt-L9 for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 10:42:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQd6L-00072M-F8 for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 10:42:49 -0500 Received: from plane.gmane.org ([80.91.229.3]:48910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQd6L-00072I-81 for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 10:42:45 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aQd6F-0001bE-IP for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 16:42:40 +0100 Received: from friends.grml.info ([136.243.234.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 16:42:39 +0100 Received: from news1142 by friends.grml.info with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 16:42:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Karl Voit Subject: Symbol's function definition is void: locating the code Date: Tue, 2 Feb 2016 16:42:27 +0100 Organization: www.karl-voit.at Lines: 22 Message-ID: <2016-02-02T16-40-22@devnull.Karl-Voit.at> X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: friends.grml.info X-GPG-Key: http://www.Karl-Voit.at/Karl_Voit_GnuPG_public_key.gpg X-Registered-Linux-User: 224337 X-Confession: Pastafarian http://www.venganza.org/ User-Agent: slrn/pre1.0.0-18 (Linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Karl Voit List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 15:42:50 -0000 Hi! I sometimes face errors like this: "avy-menu: Symbol's function definition is void: with-current-buffer-window" OK, so a package misses some function which is probably provided by another package (missing dependency). How do I locate the package which is able to provide me the function? Most of the time I get lucky by searching the web with the error message. However, this time (and some other times), I am not able to find the missing code. -- All in all, one of the most disturbing things today is the definitive fact that the NSA, GCHQ, and many more government organizations are massively terrorizing the freedom of us and the next generations. http://Karl-Voit.at From MAILER-DAEMON Tue Feb 02 11:21:42 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQdi2-0002zV-H7 for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 11:21:42 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55261) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQdhz-0002yH-SG for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 11:21:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQdhv-0007XO-JT for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 11:21:39 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54602) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQdhv-0007XK-Fo for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 11:21:35 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2001 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aQdhu-00048E-QV for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 11:21:35 -0500 Date: Tue, 02 Feb 2016 18:21:15 +0200 Message-Id: <83d1sfytfo.fsf@gnu.org> From: Eli Zaretskii To: help-gnu-emacs@gnu.org In-reply-to: <20160202100958.3c760e18@asaru> (message from Florian Lindner on Tue, 2 Feb 2016 10:09:58 +0100) Subject: Re: Reparsing file makes Emacs freeze References: <20160202100958.3c760e18@asaru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 16:21:41 -0000 > From: Florian Lindner > Date: Tue, 2 Feb 2016 10:09:58 +0100 > > my Emacs 24.5 shows, imho only after recently, the message > > Reparsing /home/florian/precice/src/mapping/tests/PetRadialBasisFctMappingTest.cpp > > and freezes for a second or two. This happens inbetween, not just when > saving and it's massively disturbing. > > I already disabled semantic-mode, but changed nothing. > Also disabled global-company-mode, flycheck-mode, projectile > > Enabled minor modes are: > > Enabled minor modes: Abbrev Async-Bytecomp-Package Auto-Composition > Auto-Compression Auto-Encryption Auto-Revert Blink-Cursor > Diff-Auto-Refine Electric-Indent Electric-Pair File-Name-Shadow > Font-Lock Global-Auto-Revert Global-Flycheck Global-Font-Lock > Global-Git-Commit Gud-Tooltip Helm Helm-Flx Helm-Fuzzier Helm-Gtags > Line-Number Magit-Auto-Revert Menu-Bar Mouse-Wheel Override-Global > Recentf Savehist Shell-Dirtrack Show-Paren Subword Tooltip > Transient-Mark > > Any idea what could cause this reparsing? Global flycheck mode? From MAILER-DAEMON Tue Feb 02 11:51:12 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQeAa-00083v-JD for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 11:51:12 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQeAX-0007zh-Fd for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 11:51:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQeAU-0005TD-A3 for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 11:51:09 -0500 Received: from plane.gmane.org ([80.91.229.3]:55984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQeAU-0005T6-2t for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 11:51:06 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aQeAM-00011k-Cf for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 17:50:58 +0100 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 17:50:58 +0100 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 17:50:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Nick Dokos Subject: Re: Symbol's function definition is void: locating the code Date: Tue, 02 Feb 2016 11:50:46 -0500 Lines: 24 Message-ID: <871t8vdpjt.fsf@alphaville.usersys.redhat.com> References: <2016-02-02T16-40-22@devnull.Karl-Voit.at> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nat-pool-bos-t.redhat.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:DcBc2tL7TJo2rWpJDO4rDMyIhcU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 16:51:10 -0000 Karl Voit writes: > Hi! > > I sometimes face errors like this: > > "avy-menu: Symbol's function definition is void: > with-current-buffer-window" > > OK, so a package misses some function which is probably provided by > another package (missing dependency). > > How do I locate the package which is able to provide me the > function? > > Most of the time I get lucky by searching the web with the error > message. However, this time (and some other times), I am not able to > find the missing code. with-current-buffer-window is defined in the emacs25 version of window.el, but not in emacs24 afaict. -- Nick From MAILER-DAEMON Tue Feb 02 11:53:10 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQeCU-0000xh-GB for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 11:53:10 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQeCS-0000xW-Dd for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 11:53:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQeCP-0005z4-8q for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 11:53:08 -0500 Received: from plane.gmane.org ([80.91.229.3]:56211) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQeCP-0005yw-1z for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 11:53:05 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aQeCL-0003tc-1T for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 17:53:01 +0100 Received: from 1.red-83-38-42.dynamicip.rima-tde.net ([83.38.42.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 17:53:01 +0100 Received: from ofv by 1.red-83-38-42.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 17:53:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: =?utf-8?Q?=C3=93scar_Fuentes?= Subject: Re: Symbol's function definition is void: locating the code Date: Tue, 02 Feb 2016 17:52:55 +0100 Lines: 35 Message-ID: <87powfgil4.fsf@wanadoo.es> References: <2016-02-02T16-40-22@devnull.Karl-Voit.at> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 1.red-83-38-42.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:1GXsQ32d3VXuafe8w1g+Je/TF5k= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 Cc: Karl Voit X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 16:53:09 -0000 Karl Voit writes: > Hi! > > I sometimes face errors like this: > > "avy-menu: Symbol's function definition is void: > with-current-buffer-window" > > OK, so a package misses some function which is probably provided by > another package (missing dependency). Which version is your Emacs? avy-menu requires the latest release of Emacs (24.5) > How do I locate the package which is able to provide me the > function? > > Most of the time I get lucky by searching the web with the error > message. However, this time (and some other times), I am not able to > find the missing code. What I do is searching the missing symbol, probably with "emacs". For your specific case above I searched the Emacs sources and found that with-current-buffer-window was introduced on 2014-03-16, which means that *probably* it was released on Emacs 24.4. That was an Emacs feature, if the missing piece is in a package, googling is the way to go, as mentioned above. However, any package worth its salt must mention its dependencies, versions included. The current avy-menu.el mentions ;; Package-Requires: ((emacs "24.3") (avy "0.3.0")) I think that (emacs "24.3") is wrong, because that version was released before with-current-buffer-window was coded into Emacs. From MAILER-DAEMON Tue Feb 02 11:59:34 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQeIg-0003yL-Id for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 11:59:34 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQeId-0003wg-Ep for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 11:59:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQeIa-00083Y-9r for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 11:59:31 -0500 Received: from plane.gmane.org ([80.91.229.3]:56688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQeIa-00083M-2w for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 11:59:28 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aQeIY-0005U1-Pk for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 17:59:26 +0100 Received: from 1.red-83-38-42.dynamicip.rima-tde.net ([83.38.42.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 17:59:26 +0100 Received: from ofv by 1.red-83-38-42.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 17:59:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: =?utf-8?Q?=C3=93scar_Fuentes?= Subject: Re: Symbol's function definition is void: locating the code Date: Tue, 02 Feb 2016 17:59:18 +0100 Lines: 36 Message-ID: <87fuxbgiah.fsf@wanadoo.es> References: <2016-02-02T16-40-22@devnull.Karl-Voit.at> <87powfgil4.fsf@wanadoo.es> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 1.red-83-38-42.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:MDnNHbJ0P8taIofTHJc317WobEo= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 16:59:32 -0000 Óscar Fuentes writes: >> I sometimes face errors like this: >> >> "avy-menu: Symbol's function definition is void: >> with-current-buffer-window" >> >> OK, so a package misses some function which is probably provided by >> another package (missing dependency). > > Which version is your Emacs? avy-menu requires the latest release of > Emacs (24.5) Correction: as implicitly stated below, avy-menu requires Emacs 24.4 (at least). >> How do I locate the package which is able to provide me the >> function? >> >> Most of the time I get lucky by searching the web with the error >> message. However, this time (and some other times), I am not able to >> find the missing code. > > What I do is searching the missing symbol, probably with "emacs". > > For your specific case above I searched the Emacs sources and found that > with-current-buffer-window was introduced on 2014-03-16, which means > that *probably* it was released on Emacs 24.4. That was an Emacs > feature, if the missing piece is in a package, googling is the way to > go, as mentioned above. However, any package worth its salt must mention > its dependencies, versions included. The current avy-menu.el mentions > > ;; Package-Requires: ((emacs "24.3") (avy "0.3.0")) > > I think that (emacs "24.3") is wrong, because that version was released > before with-current-buffer-window was coded into Emacs. From MAILER-DAEMON Tue Feb 02 12:00:15 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQeJK-0004by-Tb for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 12:00:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQeJI-0004ZP-Dw for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 12:00:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQeJA-0008D0-T3 for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 12:00:12 -0500 Received: from plane.gmane.org ([80.91.229.3]:56752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQeJA-0008Cu-Mw for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 12:00:04 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aQeJ9-0006Jd-1a for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 18:00:03 +0100 Received: from 1.red-83-38-42.dynamicip.rima-tde.net ([83.38.42.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 18:00:03 +0100 Received: from ofv by 1.red-83-38-42.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 18:00:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: =?utf-8?Q?=C3=93scar_Fuentes?= Subject: Re: Symbol's function definition is void: locating the code Date: Tue, 02 Feb 2016 17:57:20 +0100 Lines: 7 Message-ID: <87k2mngidr.fsf@wanadoo.es> References: <2016-02-02T16-40-22@devnull.Karl-Voit.at> <871t8vdpjt.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 1.red-83-38-42.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:ySIvh6CrbhmRYoc2NSqYQrlbHyc= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 17:00:13 -0000 Nick Dokos writes: > with-current-buffer-window is defined in the emacs25 version of > window.el, but not in emacs24 afaict. I just checked and with-current-buffer-window is present in the emacs-24.4 release tag, but not in the emacs-24.3 release tag. From MAILER-DAEMON Tue Feb 02 13:05:21 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQfKL-0003qa-7h for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 13:05:21 -0500 Path: usenet.stanford.edu!goblin3!goblin.stu.neva.ru!odin.sdf-eu.org!.POSTED!not-for-mail From: Bob Bernstein Newsgroups: gnu.emacs.help Subject: Re: Meta key for 'emacs -nw' Date: Tue, 2 Feb 2016 17:53:06 +0000 (UTC) Organization: SDF Public Access UNIX System, Est. 1987 Lines: 13 Message-ID: References: NNTP-Posting-Host: sdf.org X-Trace: odin.sdf-eu.org 1454435586 22157 192.94.73.15 (2 Feb 2016 17:53:06 GMT) X-Complaints-To: usenet@odin.sdf-eu.org NNTP-Posting-Date: Tue, 2 Feb 2016 17:53:06 +0000 (UTC) User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (NetBSD/7.0 (amd64)) Xref: usenet.stanford.edu gnu.emacs.help:216681 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 18:05:18 -0000 Magnus Therning wrote: > Another thing to try: https://wiki.archlinux.org/index.php/Xterm#Fix_the_.27Alt.27_key The link above contains the method I eventually used. This, in my ~/.Xdefaults, works: XTerm*metaSendsEscape: true Thanks all who chimed in! -- Bob Bernstein From MAILER-DAEMON Tue Feb 02 15:39:05 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQhj7-0007HR-6d for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 15:39:05 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQhj5-0007HL-JM for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 15:39:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQhj1-0000Ev-IX for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 15:39:03 -0500 Received: from plane.gmane.org ([80.91.229.3]:46277) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQhj1-0000Ei-CC for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 15:38:59 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aQhiz-0004Xy-AO for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 21:38:58 +0100 Received: from 142.227.16.2 ([142.227.16.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 21:38:57 +0100 Received: from nljlistbox2 by 142.227.16.2 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 21:38:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: nljlistbox2@gmail.com (N. Jackson) Subject: Re: User interface to bad certificate warning -- how to use? Date: Tue, 02 Feb 2016 16:38:49 -0400 Lines: 28 Message-ID: <87d1se6e5i.fsf@gmail.com> References: <8760y9qazi.fsf@gnus.org> <87twlr932n.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 142.227.16.2 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) Cancel-Lock: sha1:nnBFuJBcn1laTrNjgJNO/Uc6ZoY= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 20:39:04 -0000 At 04:57 +0100 on Tuesday 2016-02-02, Lars Magne Ingebrigtsen wrote: > nljlistbox2@gmail.com (N. Jackson) writes: > >> I'm not sure what aborting the function would mean here. Is it the same >> as responding `n' to the prompt (i.e. don't continue connecting to the >> insecure server)? From the user's perspective, the command just issued >> was `M-x gnus', so if it were aborted Gnus "shouldn't" start. It's a bit >> fuzzy. Probably best though, if it didn't abort unless the user pressed >> `C-g'. > > Well... you can abort most anything with `C-g'. And it means "stop > whatever it is that you're doing". It might make sense to interpret it > as "no" and carry on, but it would be rather unusual. Just following up for completeness: Hitting `n', hitting some invalid keys (such as cursor movement keys), and hitting `C-g' in response to the Continue connecting? (No, Session only, Always) prompt, _all__ seem to result in the same behaviour. Gnus starts but there is no connection made to the insecure server. This seems to be a safe interpretation of `C-g', but its a bit unexpected for invalid key presses. From MAILER-DAEMON Tue Feb 02 16:20:16 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQiMy-0008Vt-PB for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 16:20:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQgIO-0005Z7-PF for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 14:07:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQgII-00055M-Fn for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 14:07:24 -0500 Received: from kaffanke.at ([91.228.52.116]:42786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQgII-000558-9J for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 14:07:18 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by kaffanke.at (Postfix) with ESMTP id 52D7F44F0404 for ; Tue, 2 Feb 2016 20:07:16 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at kaffanke.at Received: from kaffanke.at ([127.0.0.1]) by localhost (vps1755.first-root.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AqdOMOz3mv6Y for ; Tue, 2 Feb 2016 20:07:15 +0100 (CET) Received: from martin-arch (91-115-106-211.adsl.highway.telekom.at [91.115.106.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by kaffanke.at (Postfix) with ESMTPSA id B378244F011E for ; Tue, 2 Feb 2016 20:07:15 +0100 (CET) User-agent: mu4e 0.9.16; emacs 24.5.1 From: Martin To: help-gnu-emacs@gnu.org Subject: ecb, desktop, mu4e Date: Tue, 02 Feb 2016 20:07:15 +0100 Message-ID: <87wpqn0w4c.fsf@kaffanke.at> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 91.228.52.116 X-Mailman-Approved-At: Tue, 02 Feb 2016 16:20:15 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 19:07:25 -0000 Hi there, I have some questions about ecb, bookmarks and mu4e to get it work together. (maybe also org agenda, but that I will see later) 1) If i open my desktop by desktop-change-dir to my rubyonrails project ecb is not restarted. What is the recommend way to implement that? Switching back doesn't close ecb. How to implement that. 2) Using ecb, and starting mu4e in the code buffer, this loads the mu4e buffer in the code buffer, what is correct for me. But pressing C-U (to update my emails) opens a new buffer seeing my offlineimap working. After that it closes the buffer and also the window for that buffer, now only the left sided buffers from ecb are visible. (only quit ecb and restart it gives me my layout back) What's wrong here? Thanks, Martin --=20 L=C3=B6sungen statt Diagnosen From MAILER-DAEMON Tue Feb 02 17:59:59 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQjvT-0000z7-NP for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 17:59:59 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQjvR-0000yi-Bq for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 17:59:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQjvO-00068w-6j for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 17:59:57 -0500 Received: from plane.gmane.org ([80.91.229.3]:55410) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQjvN-00068g-Vp for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 17:59:54 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aQjvI-00010j-I4 for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 23:59:48 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 23:59:48 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 02 Feb 2016 23:59:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: on ``An Introduction to Programming in Emacs Lisp'' Date: Tue, 02 Feb 2016 23:59:24 +0100 Lines: 27 Message-ID: <87zivi7m7n.fsf@debian.uxu> References: <87oac34e2o.fsf@debian.uxu> <871t8z6tgc.fsf@robertthorpeconsulting.com> <87io297a26.fsf@debian.uxu> <87h9hsheov.fsf@mbork.pl> <87vb687y6s.fsf@debian.uxu> <874mdrh8zq.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:4v0CyOe/RSsPvLatXiEsegh9hE4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 22:59:58 -0000 Marcin Borkowski writes: > I have to say, though, that the alleged > unreliability of the development version of Emacs > has yet to hit me. Even so, it requires some overhead to deal with it. For your favorite editor/OS it can be motivated. Not for too many applications tho. Actually the point isn't you should or shouldn't do it. The point is it shouldn't be a goal in itself. If you ever end up on the computer forums on the Internet it is significant how the kids talk. Firefox version x.y.z and just upgraded to one zillionbytes of RAM! Of course, I myself would like modern equipment just as well but it doesn't define me one "bit" as a computer person. Some of them kids have ten times the more modern equipment but will they turn out ten times the more creative as well? We'll see! -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Tue Feb 02 18:05:15 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQk0Z-00034h-3b for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 18:05:15 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54525) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQk0X-00034U-8Y for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 18:05:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQk0S-0007df-9e for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 18:05:13 -0500 Received: from plane.gmane.org ([80.91.229.3]:55662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQk0S-0007dG-3K for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 18:05:08 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aQk0O-0000Sw-K8 for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 00:05:04 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Feb 2016 00:05:04 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Feb 2016 00:05:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: defvar and "assignment to free variable" (was: Re: on specifying the C source code directory) Date: Wed, 03 Feb 2016 00:04:40 +0100 Lines: 25 Message-ID: <87vb667lyv.fsf_-_@debian.uxu> References: <87oac34e2o.fsf@debian.uxu> <871t8z6tgc.fsf@robertthorpeconsulting.com> <87io297a26.fsf@debian.uxu> <0q7fio63c2.fsf_-_@toledo.com> <87egcwhah7.fsf@mbork.pl> <20160201123254.GA14737@tuxteam.de> <0qlh744c19.fsf@toledo.com> <87zivk7yps.fsf@debian.uxu> <8737tbh8xh.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:73NzT5wH9QDxFjFIOlBfYNZ6/bI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 23:05:14 -0000 Marcin Borkowski writes: > As the docstring says, in Unix this is so. > I don't know about other systems. Me neither :) >> (defvar find-function-C-source-directory) >> (setq find-function-C-source-directory "~/.emacs.d/emacs-24.1/src") > > Out of curiosity: why defvar? Without it, when I compile, it says: In toplevel form: help-new.el:11:7:Warning: assignment to free variable `find-function-C-source-directory' `defvar' here is just used to communicate that you will use the variable. Because that's exactly what happens next, this isn't a hack. Really! -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Tue Feb 02 18:15:39 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQkAd-0006KJ-Bo for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 18:15:39 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQkAa-0006JI-OJ for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 18:15:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQkAV-0002eL-Pc for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 18:15:36 -0500 Received: from plane.gmane.org ([80.91.229.3]:56299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQkAV-0002eH-IR for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 18:15:31 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aQkAT-000812-UN for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 00:15:29 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Feb 2016 00:15:29 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Feb 2016 00:15:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Meta key for 'emacs -nw' Date: Wed, 03 Feb 2016 00:15:19 +0100 Lines: 41 Message-ID: <87r3gu7lh4.fsf@debian.uxu> References: Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:ms5fXUDDawNkjPle03RfKGESjYE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Feb 2016 23:15:38 -0000 Bob Bernstein writes: > Emacs, unless specifically told not to do it -- with > the '-nw' option, will ordinarily launch here (in an > xterm) in X window fashion, and the Meta key is > then 'Alt'. If you are on a Debian system or derivative, or some other Linux distro with style, you can install the emacs-nox package ("no X") to get -nw by default (well, you don't have a choice!). > Launched in the same xterm, with '-nw,' emacs uses > Esc for its Meta key, which I find um disenchanting, > for lack of a better term. Esc for Meta works in the GUI, X version of Emacs as well! This was once not as bad as today because the Escape key had another position. Here is a picture of a HP keyboard, as late as 1985: http://www.hpmuseum.net/images/HP-HILKeyboard-42.jpg > Or is this a matter of setting my xterm correctly? Put this is ~/.Xresources xterm*metaSendsEscape: true then put this in ~/.xinitrc xrdb ~/.Xresources > (A thousand pardons if this is a F A Q.) This is a good FAQ question actually. Or "RQ" perhaps (recurring questions). -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Tue Feb 02 20:45:57 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQmW5-00049o-8P for mharc-help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 20:45:57 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQmW3-00049i-8M for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 20:45:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQmW0-0001DH-3z for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 20:45:55 -0500 Received: from plane.gmane.org ([80.91.229.3]:35682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQmVz-0001D7-TX for help-gnu-emacs@gnu.org; Tue, 02 Feb 2016 20:45:52 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aQmVx-0005VG-EC for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 02:45:49 +0100 Received: from 69-196-166-146.dsl.teksavvy.com ([69.196.166.146]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Feb 2016 02:45:49 +0100 Received: from monnier by 69-196-166-146.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Feb 2016 02:45:49 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Stefan Monnier Subject: Re: Reparsing file makes Emacs freeze Date: Tue, 02 Feb 2016 20:45:42 -0500 Lines: 8 Message-ID: References: <20160202100958.3c760e18@asaru> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 69-196-166-146.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:0jQEtglC9m5GAA1VFKO0YFC1Zgg= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 01:45:56 -0000 > Reparsing /home/florian/precice/src/mapping/tests/PetRadialBasisFctMappingTest.cpp FWIW "grep Reparsing" in Emacs's source code indicates that it doesn't appear anywhere except in a comment, so it's probably coming from some third party package. Stefan From MAILER-DAEMON Wed Feb 03 04:25:51 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQth9-0008Sk-Px for mharc-help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 04:25:51 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQth7-0008S7-58 for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 04:25:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQth3-00068v-TR for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 04:25:49 -0500 Received: from plane.gmane.org ([80.91.229.3]:54561) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQth3-00068h-Lx for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 04:25:45 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aQth1-0007rv-O8 for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 10:25:43 +0100 Received: from lapsgs09.informatik.uni-stuttgart.de ([129.69.213.139]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Feb 2016 10:25:43 +0100 Received: from mailinglists by lapsgs09.informatik.uni-stuttgart.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Feb 2016 10:25:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Florian Lindner Subject: Re: Reparsing file makes Emacs freeze Date: Wed, 3 Feb 2016 10:25:30 +0100 Lines: 17 Message-ID: <20160203102530.1bd95d7c@asaru> References: <20160202100958.3c760e18@asaru> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lapsgs09.informatik.uni-stuttgart.de X-Newsreader: Claws Mail 3.13.2 (GTK+ 2.24.29; x86_64-unknown-linux-gnu) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 09:25:50 -0000 Good idea, I found out that rtags is causing this. Thanks! On Tue, 02 Feb 2016 20:45:42 -0500 Stefan Monnier wrote: > > Reparsing /home/florian/precice/src/mapping/tests/PetRadialBasisFctMappingTest.cpp > > FWIW "grep Reparsing" in Emacs's source code indicates that it doesn't > appear anywhere except in a comment, so it's probably coming from some > third party package. > > > Stefan > > > From MAILER-DAEMON Wed Feb 03 04:26:05 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQthN-0000Jl-DE for mharc-help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 04:26:05 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQthK-0000FO-7v for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 04:26:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQthH-0006Bl-16 for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 04:26:02 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:53778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQthG-0006Al-QB for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 04:25:58 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id B25739D2002; Wed, 3 Feb 2016 10:25:53 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x1LfOUtLPnR7; Wed, 3 Feb 2016 10:25:48 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 1E7789D2001; Wed, 3 Feb 2016 10:25:48 +0100 (CET) References: <87oac34e2o.fsf@debian.uxu> <871t8z6tgc.fsf@robertthorpeconsulting.com> <87io297a26.fsf@debian.uxu> <87h9hsheov.fsf@mbork.pl> <87vb687y6s.fsf@debian.uxu> <874mdrh8zq.fsf@mbork.pl> <87zivi7m7n.fsf@debian.uxu> User-agent: mu4e 0.9.13; emacs 25.1.50.1 From: Marcin Borkowski To: Emanuel Berg Subject: Re: on ``An Introduction to Programming in Emacs Lisp'' In-reply-to: <87zivi7m7n.fsf@debian.uxu> Date: Wed, 03 Feb 2016 10:25:47 +0100 Message-ID: <87y4b2cfhg.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 09:26:03 -0000 On 2016-02-02, at 23:59, Emanuel Berg wrote: > Marcin Borkowski writes: > >> I have to say, though, that the alleged >> unreliability of the development version of Emacs >> has yet to hit me. > > Even so, it requires some overhead to deal with it. > For your favorite editor/OS it can be motivated. > Not for too many applications tho. > > Actually the point isn't you should or shouldn't do > it. The point is it shouldn't be a goal in itself. > > If you ever end up on the computer forums on the > Internet it is significant how the kids talk. > Firefox version x.y.z and just upgraded to one > zillionbytes of RAM! > > Of course, I myself would like modern equipment just > as well but it doesn't define me one "bit" as > a computer person. Some of them kids have ten times > the more modern equipment but will they turn out ten > times the more creative as well? We'll see! All good points. Considered that currently I basically use mainly six applications most of the time, it seems reasonable /for me/ to do so: 1. Emacs. 2. Mail client (mu4e, in Emacs) 3. Pdf viewer (pdf-tools, in Emacs) 4. Music player (vlc through emms, in Emacs) 5. TeX (this I don't compile from source, but I don't install it from my Linux distro, either) 6. Web browser (FF/eww - FF is basically the only app I use from my distro) Of course, I mean /applications/ here, I don't count coreutils, ssh etc. Also, I /used/ to get excited by "the newest version of this and that, and that many megz RAM", but I agree that one outgrows that ultimately. When I was a kid, I was pretty excited by hardware ("look ma, a one-gigabyte-hdd - whoa!"). Now I consider my computer a shell for my data, and changing computers is an uncomfortable chore instead of a period of excitement. I have yet to outgrow excitement about cool features in newer versions of Emacs, though. ;-) Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Wed Feb 03 05:03:19 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQuHP-0006hL-Ml for mharc-help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 05:03:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41033) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQuHF-0006Ts-AA for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 05:03:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQuH5-0008Mc-Hu for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 05:03:09 -0500 Received: from mout.kundenserver.de ([212.227.126.135]:60785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQuH5-0008LQ-7x for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 05:02:59 -0500 Received: from [192.168.178.35] ([77.6.172.42]) by mrelayeu.kundenserver.de (mreue001) with ESMTPSA (Nemesis) id 0MK9VV-1aRjkg1wH7-001Nnz for ; Wed, 03 Feb 2016 11:02:55 +0100 Subject: Re: python mode problem To: help-gnu-emacs@gnu.org References: <0c4de83e-a21e-4819-8bfb-c054edcf6553@googlegroups.com> <5daa5bee-168a-4b6b-80fa-75cd65d4d541@googlegroups.com> <705e1b28-d562-4757-a017-ffe5c6aecd5c@googlegroups.com> From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Message-ID: <56B1D063.7070905@easy-emacs.de> Date: Wed, 3 Feb 2016 11:03:15 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Icedove/38.5.0 MIME-Version: 1.0 In-Reply-To: <705e1b28-d562-4757-a017-ffe5c6aecd5c@googlegroups.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:tRHn0K3yfBNuh8lPUbMoxfjQu0LEHbibn4jxhTZReHFf+7qaxIF LDCEKcsgBiulgg0nN8TVznLpRU07vk/CdH5B8aXONoqy4SKHgqknNDUdzB+grEOnguegKRt cG4jb+bGZT4aqZp8PbD6idUAK80YYwQMxoQvW/BIjxYbB3oXy2Gju9IXjSf9I6m0mLK1IK6 Ns9X8pkDIlyeDKbhfQk5w== X-UI-Out-Filterresults: notjunk:1;V01:K0:QWYBPYavUn8=:qwKl9zoh3Lu9G5y4XsUecA y3HwLrZoEJoDlAFzYGWXhS/HXhFDyotBjhlPjn3n+7D6WNDTeVEL9j8mcs5D6kD3VdtmatbkW ItEoGxfsex3NVYnX7i49veRsUkJmUaESF/FyuhfxGC6CmEL6t1ymp7Ro/KP3GFvY2FvK0h+Iv DEQ80hjSl+ei/BYjx6CbgFmax3+gg28Fu5lVScIx+0wcdA/F8RDqCplSFBw76Ylo7+73ZUYuH B1swdP7Kt2mAsYYboO0BQDqEstjPgbyw0KdH8fcqwMW76JKQbGnHrjV8erFW/51JYi0xA26WW FMYdsMRq8GFbznJ/I2pvobfxNK87NREUpJ+IhsmOKfWv0TmWa3UX1nWu7PwxeWgWZF6pHJj3X vCRxAvhTDFO2jVGr1jnI6KxqUnRkF6q4SBiKgsQaYH+i3CtibrlLsoEunsDYavFJ4GU/ZrGTN pBRdFmDky2AJQVBHlU71ct3SYH77wt+e3naLZ+38bAkkz1mqnC3jApD6XPOTr/Fr+hnR3ZCNm vCta8FMnp9gxF/UqJQRFPOQ2zlZdXwAv0JLOME8GOzlarmfDwHGx3L0BX2zIlbBZTH/nqPbfU hnAYBgWT/oZI9jrLJlTNhwYqBtOVVSovrBTGnD7zkviZoZ86j/1QEfEHUrjIkMaVkp6H+nkRo yw3FY6HL0HTWQyFfMGaGDxJwN5FHuhcP5fMPYtEt6/hxnfr9AaGDJ+2DqZH/JyraZQ7U1qpjl PNhlc6V9Ne2zPC1d X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.135 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 10:03:18 -0000 On 01.02.2016 06:46, Rusi wrote: > On Sunday, January 31, 2016 at 2:34:33 PM UTC+5:30, Andreas Rhler wrote: >> On 31.01.2016 07:02, Rusi wrote: >>> On Sunday, January 31, 2016 at 10:05:23 AM UTC+5:30, Rusi wrote: >>>> On Sunday, January 31, 2016 at 8:47:33 AM UTC+5:30, Rusi wrote: >>>>> emacs hanged while doing something in python >>>>> Had to kill with killall emacs >>>>> >>>>> Thereafter emacs is misbehaving with python mode >>>>> >>>>> With plain run-python >>>>> >>>>> Python 2.7.10 (default, Oct 14 2015, 16:09:02) >>>>> [GCC 5.2.1 20151010] on linux2 >>>>> Type "help", "copyright", "credits" or "license" for more information. >>>>>>>> python.el: native completion setup loaded >>>>>>>> >>>>> With C-u run-python and using python3 >>>>> >>>>> Warning (python): Your 'python-shell-interpreter' doesn't seem to support readline, yet 'python-shell-completion-native' was t and "python3" is not part of the 'python-shell-completion-native-disabled-interpreters' list. Native completions have been disabled locally. >>>>> >>>>> Too many interlocking bugs to make a clear bug-report >>>>> For now: Where is python mode (or other related) cache? >>>>> Because if emacs started with -Q there is no problem >>>>> >>>>> emacs 25 on linux >>>> Seems to be some emacs 25 issue >>> Zillions of >>> Error reading dir-locals: (void-function map-merge-with) >>> compiling emacs 25 >>> >>> So for now back to emacs 24 >> For all who need v25 for other reasons: There is still python-mode.el >> available from Melpa > Hi Andreas > > For many years Ive been a python-mode user. You will even find recommendations > from me for this here and on the python list. > Of late however its been a source of increasing glitches. > Dont remember all... The last one was when a number of students were using the > same VM and found that only one could use python-mode -- some public > temporary non-uniquified file in /tmp or some such issue. > > At this point I thought it time jump ship. > > Maybe I need to re-think this jump???... Hi, should you be able to test the current python-mode.el WRT this bug in VM, that would be helpful. From here it should work meanwhile. Thanks, Andreas From MAILER-DAEMON Wed Feb 03 06:50:25 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQvx3-0002EY-2O for mharc-help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 06:50:25 -0500 Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!feeder.erje.net!1.eu.feeder.erje.net!news.roellig-ltd.de!open-news-network.org!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: Daniel Bastos Newsgroups: gnu.emacs.help Subject: Re: on ``An Introduction to Programming in Emacs Lisp'' Date: Wed, 03 Feb 2016 09:43:19 -0200 Organization: Aioe.org NNTP Server Lines: 19 Message-ID: <0qfuxavx2g.fsf@toledo.com> References: <87oac34e2o.fsf@debian.uxu> <871t8z6tgc.fsf@robertthorpeconsulting.com> <87io297a26.fsf@debian.uxu> <87h9hsheov.fsf@mbork.pl> <87vb687y6s.fsf@debian.uxu> <874mdrh8zq.fsf@mbork.pl> <87zivi7m7n.fsf@debian.uxu> NNTP-Posting-Host: 6Q/nXlteRk5tt3Ayy20lFQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (windows-nt) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:00hcVHMkdxu7Ie/1na1wnZnT05U= Xref: usenet.stanford.edu gnu.emacs.help:216691 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 11:50:23 -0000 Marcin Borkowski writes: [...] > I have yet to outgrow excitement about cool features in newer versions > of Emacs, though. ;-) Lol. You're very fond of emacs, clearly. No wonder. I side with Emmanuel Berg's point of view because I tend to look at software as things which cannot fail whatever. If they fail, chances are I will look into the failure to see why. I don't want to find out that I'm spending hours investigating an experiment someone decided to try out since last week. IOW, if something failed, I must be dealing with a true exceptional situation here. Of course, nothing keeps from having a system that's used merely for playing. (Though I particularly don't have one. In fact, I don't have a computer at home. I use one at work.) From MAILER-DAEMON Wed Feb 03 08:51:48 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQxqW-0007r0-4z for mharc-help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 08:51:48 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQxqR-0007pm-EH for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 08:51:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQxqO-0006Hg-8B for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 08:51:43 -0500 Received: from plane.gmane.org ([80.91.229.3]:43153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQxqO-0006HW-1H for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 08:51:40 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aQxqL-00009M-Ag for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 14:51:37 +0100 Received: from exa2-in-fw-01-epn.hns.com ([139.85.223.11]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Feb 2016 14:51:37 +0100 Received: from ndbecker2 by exa2-in-fw-01-epn.hns.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Feb 2016 14:51:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Neal Becker Subject: is custom-set-variables saved somewhere? Date: Wed, 03 Feb 2016 08:51:09 -0500 Lines: 7 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: exa2-in-fw-01-epn.hns.com User-Agent: KNode/4.14.10 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 13:51:47 -0000 at the end of .emacs is : (custom-set-variables ... ) I'd like to somehow be able to re-execute this automatically later. Is there some way to do this? Is this set of customized variables saved somewhere so I can re-execute all the settings? From MAILER-DAEMON Wed Feb 03 09:20:30 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQyIH-0003i5-TP for mharc-help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 09:20:29 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQyIF-0003fv-Kr for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 09:20:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQyI9-0004kk-Pt for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 09:20:27 -0500 Received: from plane.gmane.org ([80.91.229.3]:45518) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQyI9-0004kf-Id for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 09:20:21 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aQyI2-0002Iu-RE for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 15:20:14 +0100 Received: from friends.grml.info ([136.243.234.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Feb 2016 15:20:14 +0100 Received: from news1142 by friends.grml.info with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Feb 2016 15:20:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Karl Voit Subject: Re: Symbol's function definition is void: locating the code Date: Wed, 3 Feb 2016 15:20:06 +0100 Organization: www.karl-voit.at Lines: 46 Message-ID: <2016-02-03T15-16-45@devnull.Karl-Voit.at> References: <2016-02-02T16-40-22@devnull.Karl-Voit.at> <87powfgil4.fsf@wanadoo.es> <87fuxbgiah.fsf@wanadoo.es> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: friends.grml.info X-GPG-Key: http://www.Karl-Voit.at/Karl_Voit_GnuPG_public_key.gpg X-Registered-Linux-User: 224337 X-Confession: Pastafarian http://www.venganza.org/ User-Agent: slrn/pre1.0.0-18 (Linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Karl Voit List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 14:20:28 -0000 * Óscar Fuentes wrote: > Óscar Fuentes writes: > >>> I sometimes face errors like this: >>> >>> "avy-menu: Symbol's function definition is void: >>> with-current-buffer-window" >>> >>> OK, so a package misses some function which is probably provided by >>> another package (missing dependency). >> >> Which version is your Emacs? avy-menu requires the latest release of >> Emacs (24.5) > > Correction: as implicitly stated below, avy-menu requires Emacs 24.4 (at > least). At home, I do run Emacs 24.4 (Debian). At work, I use 24.3 (Windows). So avy-menu has a bug in its dependency-list. Thanks! >> For your specific case above I searched the Emacs sources and found that >> with-current-buffer-window was introduced on 2014-03-16, which means >> that *probably* it was released on Emacs 24.4. That was an Emacs >> feature, if the missing piece is in a package, googling is the way to >> go, as mentioned above. However, any package worth its salt must mention >> its dependencies, versions included. The current avy-menu.el mentions >> >> ;; Package-Requires: ((emacs "24.3") (avy "0.3.0")) >> >> I think that (emacs "24.3") is wrong, because that version was released >> before with-current-buffer-window was coded into Emacs. Am I guessing right when the algorithm for locating missing functions is: 1. Web-search with "emacs" and the function name 2. Search the Emacs source code repository to find it in the most recent code 3. Ask for help at gmane.emacs.help (this mailinglist) -- All in all, one of the most disturbing things today is the definitive fact that the NSA, GCHQ, and many more government organizations are massively terrorizing the freedom of us and the next generations. http://Karl-Voit.at From MAILER-DAEMON Wed Feb 03 09:27:57 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aQyPV-0006PD-Nk for mharc-help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 09:27:57 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQyPU-0006Oh-4x for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 09:27:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aQyPQ-0006ro-W7 for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 09:27:56 -0500 Received: from mail.tuxteam.de ([5.199.139.25]:45733 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aQyPQ-0006r5-Px for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 09:27:52 -0500 Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1aQxrj-0001Fq-91 for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 14:53:03 +0100 Date: Wed, 3 Feb 2016 14:53:03 +0100 To: help-gnu-emacs@gnu.org Subject: Re: is custom-set-variables saved somewhere? Message-ID: <20160203135303.GA4601@tuxteam.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) From: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 14:27:57 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Feb 03, 2016 at 08:51:09AM -0500, Neal Becker wrote: > at the end of .emacs is : > > (custom-set-variables ... ) > > I'd like to somehow be able to re-execute this automatically later. Is > there some way to do this? Is this set of customized variables saved > somewhere so I can re-execute all the settings? I don't think so -- but you can achieve a similar effect with some forethought. It is possible to tell Emacs to keep the customizations in a separate file (not in the standard init file) by setting the variable "custom-file". You have to "bootstrap" this thing by including something in your init file along the lines of (setq custom-file "~/.emacs-custom.el") (load custom-file) (cf. the variable's documentation for "custom-file"). regards - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlayBj8ACgkQBcgs9XrR2kaVSwCeO0EVCPs8uucGyjJHLpql3jPj 7SEAn0nEjiqDef4HYu6QMiR+8TyOUXCw =gwc/ -----END PGP SIGNATURE----- From MAILER-DAEMON Wed Feb 03 12:20:29 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aR16T-0000rx-1M for mharc-help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 12:20:29 -0500 X-Received: by 10.66.240.3 with SMTP id vw3mr2521168pac.37.1454519804017; Wed, 03 Feb 2016 09:16:44 -0800 (PST) X-Received: by 10.50.77.75 with SMTP id q11mr202205igw.9.1454519803972; Wed, 03 Feb 2016 09:16:43 -0800 (PST) Path: usenet.stanford.edu!news.glorb.com!hb3no115136igb.0!news-out.google.com!l1ni1831igd.0!nntp.google.com!hb3no115135igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: gnu.emacs.help Date: Wed, 3 Feb 2016 09:16:43 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=98.176.102.8; posting-account=S61AnQkAAADt4_PSYpI-Tm-z1E4cd7xa NNTP-Posting-Host: 98.176.102.8 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <10be9a3e-1c12-4d87-b948-8e7e750d36b3@googlegroups.com> Subject: Re: is custom-set-variables saved somewhere? From: unfrostedpoptart Injection-Date: Wed, 03 Feb 2016 17:16:43 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: usenet.stanford.edu gnu.emacs.help:216695 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 17:20:27 -0000 On Wednesday, February 3, 2016 at 5:51:51 AM UTC-8, Neal Becker wrote: > at the end of .emacs is : >=20 > (custom-set-variables ... ) >=20 > I'd like to somehow be able to re-execute this automatically later. Is= =20 > there some way to do this? Is this set of customized variables saved=20 > somewhere so I can re-execute all the settings? It's saved right there in your .emacs file. To execute it, just put the cu= rsor right after the closing parenthesis of the (custom-set-variables ...) = block and type control-x control-e. This is the command eval-last-seep whi= ch will execute the custom-set-variables block. =20 You could also highlight (i.e. create a region) including that code in your= file and then Meta/Escape-x eval-region which runs all the highlighted co= de. David From MAILER-DAEMON Wed Feb 03 13:07:46 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aR1qD-0005Er-UD for mharc-help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 13:07:45 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50982) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR1qA-0005Ds-DT for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 13:07:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR1q6-0005md-AT for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 13:07:42 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:60248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR1q0-0005k0-Ed; Wed, 03 Feb 2016 13:07:32 -0500 Received: from mfilter26-d.gandi.net (mfilter26-d.gandi.net [217.70.178.154]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id F40621720A4; Wed, 3 Feb 2016 19:07:28 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter26-d.gandi.net Received: from relay4-d.mail.gandi.net ([IPv6:::ffff:217.70.183.196]) by mfilter26-d.gandi.net (mfilter26-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id Ne1vdLgL_Ijn; Wed, 3 Feb 2016 19:07:09 +0100 (CET) X-Originating-IP: 78.180.140.84 Received: from localhost (unknown [78.180.140.84]) (Authenticated sender: self@gkayaalp.com) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 48B2A1720A5; Wed, 3 Feb 2016 19:07:09 +0100 (CET) From: =?utf-8?Q?G=C3=B6ktu=C4=9F_Kayaalp?= To: eliz@gnu.org Subject: Re: =?utf-8?B?4oCYdHJ1bmNhdGXigJk=?= on (float-time) causes arith range error on 32bit emacs In-Reply-To: 83wpqsydm0.fsf@gnu.org Date: Wed, 03 Feb 2016 20:09:51 +0200 Message-ID: <877filoec0.fsf@xi.bootis> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.70.183.196 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 18:07:44 -0000 On Fri, 29 Jan 2016 10:49:27 +0200, Eli Zaretskii writes: > No. The usual ways of handling this are either (a) leave the numbers > as floats, and just be more careful about comparisons; and (b) > represent large numbers as cons cells. >=20 > Since these are time values, I'd suggest (a) in your case. What math > requires integers, exactly, and why? Hi, I guess (a) will work, I just sent a patch to the user to test (I do not have a 32bit machine, though the math worked). This is what the function does: (defun forecast--sun-position-graphic () "Visualise the time since the rise of the sun and the time to the set t= hereof. =20=20 E.g.: =20=20 Quasi-midday: >=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=98=89=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2= =80=94=E2=80=94=E2=80=94=E2=80=94< Sunrise: =E2=98=89=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2= =80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94< Sunset: >=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2= =80=94=E2=80=94=E2=80=94=E2=80=94=E2=98=89" (let* ((today (aref (forecast--assoca '(daily data) forecast--data) 0= )) (sunrise (forecast--assoca '(sunriseTime) today)) (sunset (forecast--assoca '(sunsetTime) today)) (now (truncate (float-time))) (daylen (- sunset sunrise)) (sunsec (- now sunrise)) (wwidth (window-body-width)) (graph (concat ">" (make-string (- wwidth 5) ?=E2=80=94) "<")) (sun ?=E2=98=89) (pos (cond ((< sunrise sunset now) (- wwidth 4)) ((> sunrise now) 0) (t (1- (/ sunsec (/ daylen wwidth))))))) (aset graph pos sun) graph)) The values =E2=80=98sunrise=E2=80=99 and =E2=80=98sunset=E2=80=99 come fro= m an API and they are integer timestamps. Sorry for the late reply, I somehow did not receive the replies to my message, I've some problems with e-mail. Please CC me directly if you reply, I'm not subscribed to the list. Thanks a lot, -gk. --=20 =C4=B0. G=C3=B6ktu=C4=9F Kayaalp. http://gkayaalp.com/ From MAILER-DAEMON Wed Feb 03 15:01:07 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aR3bv-0004n8-DL for mharc-help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 15:01:07 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR3bs-0004jg-36 for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 15:01:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR3bn-0006sq-3L for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 15:01:04 -0500 Received: from plane.gmane.org ([80.91.229.3]:46407) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR3bm-0006sg-SC for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 15:00:59 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aR3bj-0002Kg-Ss for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 21:00:55 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Feb 2016 21:00:55 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Feb 2016 21:00:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: on ``An Introduction to Programming in Emacs Lisp'' Date: Wed, 03 Feb 2016 21:00:48 +0100 Lines: 38 Message-ID: <87twlp36of.fsf@debian.uxu> References: <87oac34e2o.fsf@debian.uxu> <871t8z6tgc.fsf@robertthorpeconsulting.com> <87io297a26.fsf@debian.uxu> <87h9hsheov.fsf@mbork.pl> <87vb687y6s.fsf@debian.uxu> <874mdrh8zq.fsf@mbork.pl> <87zivi7m7n.fsf@debian.uxu> <87y4b2cfhg.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:fWpuI7dAxJi6LdEV/GA7Qg3xuGE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 20:01:05 -0000 Marcin Borkowski writes: > Of course, I mean /applications/ here, I don't count > coreutils, ssh etc. *iiiiii* - if your were to compile all that manually setting up even a rudimentary Unix system would be a challenge. But there are people who do it. I suppose they get a very solid under-the-hood understanding if nothing else. > Also, I /used/ to get excited by "the newest version > of this and that, and that many megz RAM", but > I agree that one outgrows that ultimately. > When I was a kid, I was pretty excited by hardware > ("look ma, a one-gigabyte-hdd - whoa!"). > Now I consider my computer a shell for my data, and > changing computers is an uncomfortable chore instead > of a period of excitement. That's exactly right! It was the exact same story only when I was I kid instead of the one-gigabyte HDD there was an exciting transition from 800K to 1.4M floppies :) Some people on this list should be able to tell us of huge coils of tape if not vacuum tubes :) > I have yet to outgrow excitement about cool features > in newer versions of Emacs, though. ;-) There is no reason to outgrow things that are good! -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Wed Feb 03 15:09:13 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aR3jl-0007pA-3W for mharc-help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 15:09:13 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57115) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR3jf-0007mX-2S for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 15:09:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR3ja-0000F5-Sk for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 15:09:06 -0500 Received: from plane.gmane.org ([80.91.229.3]:46995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR3ja-0000Ey-Lm for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 15:09:02 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aR3jY-00058Z-SV for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 21:09:01 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Feb 2016 21:09:00 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Feb 2016 21:09:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: on ``An Introduction to Programming in Emacs Lisp'' Date: Wed, 03 Feb 2016 21:08:54 +0100 Lines: 27 Message-ID: <87oabx36ax.fsf@debian.uxu> References: <87oac34e2o.fsf@debian.uxu> <871t8z6tgc.fsf@robertthorpeconsulting.com> <87io297a26.fsf@debian.uxu> <87h9hsheov.fsf@mbork.pl> <87vb687y6s.fsf@debian.uxu> <874mdrh8zq.fsf@mbork.pl> <87zivi7m7n.fsf@debian.uxu> <0qfuxavx2g.fsf@toledo.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:J7yQNVThbvqmQ2eUodCA3/bOtm8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 20:09:11 -0000 Daniel Bastos writes: > I tend to look at software as things which cannot > fail whatever. If they fail, chances are I will look > into the failure to see why. I don't want to find > out that I'm spending hours investigating an > experiment someone decided to try out since last > week. IOW, if something failed, I must be dealing > with a true exceptional situation here. Indeed. One of the many beauties to it. > (Though I particularly don't have one. In fact, > I don't have a computer at home. I use one at work.) Indeed. It is like going to the workshop instead of carrying around the toolbox everywhere, always thinking about it but still not being able to have everything cramped in. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Wed Feb 03 15:15:09 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aR3pV-0001Ds-Ri for mharc-help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 15:15:09 -0500 Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Pascal J. Bourguignon" Newsgroups: gnu.emacs.help Subject: Re: on ``An Introduction to Programming in Emacs Lisp'' Date: Wed, 03 Feb 2016 21:12:49 +0100 Organization: Informatimago Lines: 24 Message-ID: <87si19h7su.fsf@kuiper.lan.informatimago.com> References: <87oac34e2o.fsf@debian.uxu> <871t8z6tgc.fsf@robertthorpeconsulting.com> <87io297a26.fsf@debian.uxu> <87h9hsheov.fsf@mbork.pl> <87vb687y6s.fsf@debian.uxu> <874mdrh8zq.fsf@mbork.pl> <87zivi7m7n.fsf@debian.uxu> <87y4b2cfhg.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net AtxTz7aOFo/TUczdEftvHwQp/+9i/k1ogb5fE+e1aHULCANvY6 Cancel-Lock: sha1:MjlhZDljN2EzMDA5MzQwYTU2YWI4YTkxNGI4ZWJlNTNmMDA5MzEyZg== sha1:ywWkttOBgNbch52xAIBjZ2KPWhs= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Xref: usenet.stanford.edu gnu.emacs.help:216699 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 20:15:08 -0000 Emanuel Berg writes: > Marcin Borkowski writes: > >> Of course, I mean /applications/ here, I don't count >> coreutils, ssh etc. > > *iiiiii* - if your were to compile all that manually > setting up even a rudimentary Unix system would be > a challenge. > > But there are people who do it. I suppose they get > a very solid under-the-hood understanding if > nothing else. Yes, it's called Linux From Scratch LFS. If you ever have a lazy Sunday afternoon, try it. http://www.linuxfromscratch.org/ -- __Pascal Bourguignon__ http://www.informatimago.com/ “The factory of the future will have only two employees, a man and a dog. The man will be there to feed the dog. The dog will be there to keep the man from touching the equipment.” -- Carl Bass CEO Autodesk From MAILER-DAEMON Wed Feb 03 16:47:38 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aR5Gz-000286-Sn for mharc-help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 16:47:38 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR5Gy-00025W-09 for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 16:47:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR5Gu-000644-RE for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 16:47:35 -0500 Received: from plane.gmane.org ([80.91.229.3]:54655) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR5Gu-00063L-Kj for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 16:47:32 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aR5Gs-0001RZ-NL for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 22:47:30 +0100 Received: from 1.red-83-38-42.dynamicip.rima-tde.net ([83.38.42.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Feb 2016 22:47:30 +0100 Received: from ofv by 1.red-83-38-42.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Feb 2016 22:47:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: =?utf-8?Q?=C3=93scar_Fuentes?= Subject: Re: Symbol's function definition is void: locating the code Date: Wed, 03 Feb 2016 22:47:20 +0100 Lines: 22 Message-ID: <877fil4gbb.fsf@wanadoo.es> References: <2016-02-02T16-40-22@devnull.Karl-Voit.at> <87powfgil4.fsf@wanadoo.es> <87fuxbgiah.fsf@wanadoo.es> <2016-02-03T15-16-45@devnull.Karl-Voit.at> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 1.red-83-38-42.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:L1qMSgzN5P7XIqdCybbtPzKzqgQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 21:47:36 -0000 Karl Voit writes: > Am I guessing right when the algorithm for locating missing > functions is: > > 1. Web-search with "emacs" and the function name > 2. Search the Emacs source code repository to find it in the most > recent code Suppossing that it is expected to be defined on the Emacs sources, a symbol might be absent from your install either because it is too old (the symbol was introduced on a more recent Emacs version) or too new (the symbol was removed from the Emacs sources). The later case is not very frequent because the Emacs maintainers are very conservative when removing old stuff. > 3. Ask for help at gmane.emacs.help (this mailinglist) This is the slowest resource, yes. Personally I do 2 before 1, using the Changelog files, the NEWS files and the version control history. From MAILER-DAEMON Wed Feb 03 17:51:52 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aR6HA-0005BJ-LP for mharc-help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 17:51:52 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR6H8-0005AL-KB for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 17:51:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR6H4-0003js-I4 for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 17:51:50 -0500 Received: from plane.gmane.org ([80.91.229.3]:60246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR6H4-0003jm-B8 for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 17:51:46 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aR6Gy-0006Ml-Vb for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 23:51:41 +0100 Received: from f051039154.adsl.alicedsl.de ([78.51.39.154]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Feb 2016 23:51:40 +0100 Received: from tjolitz by f051039154.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 03 Feb 2016 23:51:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Thorsten Jolitz Subject: Bug in comment-region? Date: Wed, 03 Feb 2016 23:51:31 +0100 Lines: 26 Message-ID: <87d1sdif0s.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: f051039154.adsl.alicedsl.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:0umc/nyFTjNMNoqzdmVMvv7j2+o= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 22:51:51 -0000 Hi List, In emacs-lisp-mode, when marking lines 2 and 3 and calling M-x comment-region ,---- | ;; * WAITING foo | - State "WAITING" from "TODO" [2016-02-03 Mi 23:46] \\ | waiting for bar `---- I get this ,---- | ;; * WAITING foo | ;; - State "WAITING" from "TODO" [2016-02-03 Mi 23:46] \\ | ;; waiting for bar `---- which looks like a bug to me - the comment chars should always be at BOL, shouldn't they? -- cheers, Thorsten From MAILER-DAEMON Wed Feb 03 19:26:31 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aR7kl-00076A-4D for mharc-help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 19:26:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR7ki-000764-Ij for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 19:26:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR7kf-0000FB-Dw for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 19:26:28 -0500 Received: from plane.gmane.org ([80.91.229.3]:39894) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR7kf-0000F2-7Z for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 19:26:25 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aR7kc-0002sh-25 for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 01:26:22 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 01:26:22 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 01:26:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Bug in comment-region? Date: Thu, 04 Feb 2016 01:26:08 +0100 Lines: 14 Message-ID: <87bn7x2ue7.fsf@debian.uxu> References: <87d1sdif0s.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:kNKGWOlJjPjawYlnFQ9N1mJhdTg= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 00:26:29 -0000 Thorsten Jolitz writes: > which looks like a bug to me - the comment chars > should always be at BOL, shouldn't they? Not if you are to trust the `comment-region' docstring: By default, the `comment-start' markers are inserted at the current indentation of the region -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Wed Feb 03 19:30:10 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aR7oH-0008O6-VN for mharc-help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 19:30:09 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR7oG-0008MI-4a for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 19:30:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR7oC-0000tL-W8 for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 19:30:08 -0500 Received: from plane.gmane.org ([80.91.229.3]:40109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR7oC-0000t1-QE for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 19:30:04 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aR7oB-00081K-Ub for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 01:30:03 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 01:30:03 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 01:30:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Bug in comment-region? Date: Thu, 04 Feb 2016 01:29:31 +0100 Lines: 12 Message-ID: <877fil2u8k.fsf@debian.uxu> References: <87d1sdif0s.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:TEmZvtG7jlk7IDPzm0JFWFuD8q4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 00:30:09 -0000 Thorsten Jolitz writes: > which looks like a bug to me - the comment chars > should always be at BOL, shouldn't they? Try this: (setq comment-styles '(plain . (nil nil nil nil "Start comment at BOL."))) -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Wed Feb 03 20:14:08 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aR8Uq-0005Dd-Ro for mharc-help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 20:14:08 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR8Um-0005CA-AW for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 20:14:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR8Ui-0001bl-JW for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 20:14:03 -0500 Received: from plane.gmane.org ([80.91.229.3]:42484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR8Ui-0001be-CX for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 20:14:00 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aR8Ug-0002d3-Kp for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 02:13:58 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 02:13:58 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 02:13:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: "cl-case" with strings Date: Thu, 04 Feb 2016 02:13:47 +0100 Lines: 33 Message-ID: <8737t92s6s.fsf@debian.uxu> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:cw6zQM60ruFPiIiKUvGkcB/vPMI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 01:14:05 -0000 Today when I did a new interface to my interface [1] to `google-translate' which is an interface to Google Translate, I used `cl-case' with strings but was frustrated with failure, because `cl-case' uses equality function(s) that report nil for identical strings. So I wrote this. I guess I like it fine - so far. (defun string-case (string &rest clauses) "Search for STRING in CLAUSES and return the corresponding value.\n CLAUSES is a list of elements of the form ((KEY-1 ... KEY-N) VALUE). If STRING is a `member' of (KEY-1 ... KEY-N), return VALUE.\n The default clause is (t DEFAULT-VALUE). When found, DEFAULT-VALUE is unconditionally returned. Subsequent clauses are discarded, because clauses are examined left-to-right. This is also factor if STRING matches keys in several clauses.\n If there isn't a default clause, nil is returned if STRING isn't a key." (if clauses (let*((c (car clauses)) (keys (car c)) ) (if (or (member string keys) ; on match or (eq keys t) ) ; default (cadr c) ; return value (apply `(string-case ,string ,@(cdr clauses))) )))) [1] http://user.it.uu.se/~embe8573/conf/emacs-init/translate.el -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Wed Feb 03 20:20:14 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aR8ak-0007P7-Rj for mharc-help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 20:20:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47043) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR8aj-0007Nv-4J for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 20:20:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR8af-000344-U8 for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 20:20:13 -0500 Received: from plane.gmane.org ([80.91.229.3]:42836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR8af-00033v-Nw for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 20:20:09 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aR8aZ-0002zP-Q6 for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 02:20:03 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 02:20:03 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 02:20:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: on ``An Introduction to Programming in Emacs Lisp'' Date: Thu, 04 Feb 2016 02:15:32 +0100 Lines: 14 Message-ID: <87y4b11djf.fsf@debian.uxu> References: <87oac34e2o.fsf@debian.uxu> <871t8z6tgc.fsf@robertthorpeconsulting.com> <87io297a26.fsf@debian.uxu> <87h9hsheov.fsf@mbork.pl> <87vb687y6s.fsf@debian.uxu> <874mdrh8zq.fsf@mbork.pl> <87zivi7m7n.fsf@debian.uxu> <87y4b2cfhg.fsf@mbork.pl> <87si19h7su.fsf@kuiper.lan.informatimago.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:Y4l5LXCMbojQQl4buGVizmIHHss= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 01:20:14 -0000 "Pascal J. Bourguignon" writes: > Yes, it's called Linux From Scratch LFS. If you ever > have a lazy Sunday afternoon, try it. What I remember it is "Linux From Scratch from Linux" rather because you use a Linux system to do it. But perhaps that was only the early stages. Actually this is a cool project. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Wed Feb 03 20:25:18 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aR8fe-0008GK-3n for mharc-help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 20:25:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47575) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR8fb-0008G5-Jp for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 20:25:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR8fY-0003gh-CP for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 20:25:15 -0500 Received: from avasout02.plus.net ([212.159.14.17]:33951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR8fY-0003gT-5m for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 20:25:12 -0500 Received: from london.london ([212.56.101.125]) by avasout02 with smtp id E1R11s0042iKkuk011R4Vd; Thu, 04 Feb 2016 01:25:08 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=COHXJkfD c=1 sm=1 tr=0 a=Z6vFUnHZFshV1nOgW1CWSg==:117 a=Z6vFUnHZFshV1nOgW1CWSg==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=LlzXLoV6AAAA:8 a=iI7HsYTVAAAA:8 a=QALs-r5x756iWc_tEY0A:9 a=Pq-dluy3v9qm9ToJ:21 a=xhLqYap9JPxdSvC6:21 a=R2jlyd2ab8IA:10 a=m5sTBHoYey9j3TKoEJ4A:9 X-AUTH: skimble@:2500 From: Sharon Kimble To: help-emacs Subject: Showing who it was sent to in gnus summary buffer Date: Thu, 04 Feb 2016 01:24:54 +0000 Message-ID: <871t8tz2qh.fsf@skimble.plus.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 212.159.14.17 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 01:25:16 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable How can I have every email that I've sent using 'gnus' be displayed in its 'nnfolder+archive:sent.2016' folder showing who it was sent *to* instead of the current =3Dfrom=3D in the summary buffer please? Thanks Sharon. =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk Debian 8.3, fluxbox 1.3.7, emacs 24.5.3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJWsqhnAAoJEDaBgBkK+INbeQwP/0mc8W2+bLCK2AoDmj+gXxzD aIR95PFYtG9HeEg7e44gUHLdqmtd5fLCmCbMGrwaxeY9bAq8zHQywELF5J1I/RKJ 4QzjXV8wIWKCw/T3FGRHCqXxZefFdwPuLu+co4kMTOs9snijSOGUZgS+QlX/5yf6 YYOo4Ww1Ok1rHeDcgPclGJ3GHJ9NRX6/oLGIvUh20wOcfaTJjofIkugDcnzHR9kV wm/yYZA8W284mJf5eRMdO3teaBIx85iuUlLPFIFlYULsisQkpbmhWCXfoUkIPjny PSYCETQChi3ljCAO11pNtEqMSE51FReo2eljt7a8WvesAQ+/dqDDao+yDzxFcYtJ gaykiQpKM0dmTKfseqz/4AisXrH6cf5VVHx/STIcVsAQqcQ78D+/AhsmNwaVSIDV 50Rbw8cT0gxWeTPngKGCbNC0nmwaPeYKBoDyQ2RJbbooOsU+buxrsOaVYzM9J/uQ R1qpnZmTbEz0AVqboPTsYtAfvPp+Ib5gi2NzijEeW6c4Z0qCKLPP6qfiiyDk3WCk xQqwDmyWp3D9czIEXNEnDhoYh0IVR2Z1jeHU9xWtogNoJZJdbEnraydysGzDF8JN L0AAdZmqduDpi3nwtpHINx6nyKyronucFYLOz0NNIek68bM7hIIWCzI9x7/HdTiz Od914wS2GdLkIkAw59Zo =thBY -----END PGP SIGNATURE----- --=-=-=-- From MAILER-DAEMON Wed Feb 03 20:32:46 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aR8ms-00059t-1C for mharc-help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 20:32:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49061) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR8mp-000565-NB for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 20:32:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR8mm-0005iR-GP for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 20:32:43 -0500 Received: from plane.gmane.org ([80.91.229.3]:43465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR8mm-0005iI-AA for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 20:32:40 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aR8ml-0003rU-8o for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 02:32:39 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 02:32:39 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 02:32:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Showing who it was sent to in gnus summary buffer Date: Thu, 04 Feb 2016 02:32:33 +0100 Lines: 30 Message-ID: <87powd1cr2.fsf@debian.uxu> References: <871t8tz2qh.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:Q4fk/2rI/hhGheHBHX6IZjMwfJ4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 01:32:44 -0000 Sharon Kimble writes: > How can I have every email that I've sent using > 'gnus' be displayed in its > 'nnfolder+archive:sent.2016' folder showing who it > was sent *to* instead of the current =from= in the > summary buffer please? Look for an %F in `gnus-summary-line-format' and change it into %f. Try this: (setq gnus-summary-line-format "%*%U%3{%R%} %I%0{%f%} %1{%s%}\n") Or the default: "%U%R%z%I%(%[%4L: %-23,23f%]%) %s\n" Docstring of `gnus-summary-line-format': The format specification of the lines in the summary buffer. [...] %F Contents of the From: header (string) %f Contents of the From: or To: headers (string) -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Wed Feb 03 20:39:44 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aR8tc-0000dv-1D for mharc-help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 20:39:44 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR8ta-0000bE-0j for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 20:39:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aR8tV-0007O5-1E for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 20:39:41 -0500 Received: from mail-lf0-x236.google.com ([2a00:1450:4010:c07::236]:34531) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aR8tU-0007O1-ON for help-gnu-emacs@gnu.org; Wed, 03 Feb 2016 20:39:36 -0500 Received: by mail-lf0-x236.google.com with SMTP id j78so26476541lfb.1 for ; Wed, 03 Feb 2016 17:39:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=vFVErPYrsEi4CJIdyXkFTjCqKprJfKnhrar78uoimAk=; b=zQJs/KDj9gZotPab0216Jtkpuo+0I0qcRcapcM3Ibpg9EiOWTI+lbDQwJ7B7V9DE81 LSMmCDUYP8XPFkmfVoC7uwalgn4NnxjM6l1NBYpn0zdWT1sEQWnw9HJRJEwUkfJu03BZ WQdVVx8wrZKCNq3KYiPAYAItl6gbRVB9chWJyMKQz+kAjf94H8h7anmaIq8I7RVd8/HY h9m04sZEsC+9Jc0GdsDXj34qC1cjpALf2pzCaWoVdquuLRhxp4Adg9ygMJasFR2wLePS 6v/+O3ZCi4y2QnhIjy+H8tzw2EGTzznolf9sBgQUWNJPTrPwdaA00nhLAGIqX76pEZhR SMQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=vFVErPYrsEi4CJIdyXkFTjCqKprJfKnhrar78uoimAk=; b=SzD0GETIja/b0LGef7oCtdlY5WbDqeEeqmInVy5aHRX3fovOHH4hA22Y5EJ+zJCMg5 V2ujXgshDW810lEESezDe2ITovL2bjFETij8PZEz81z6/nXOOHq+EnywW5aS+k2Bxp7x AT0q/UkkHy6USk5wGl6iT1l51jZmTFpmtYgwqKz9uOJ2SOo7EQEtwC++R6JvHrWSlsgZ 85jVmklf0JtaSkvsLHg94GjC/nZQuW7QFmMypB3O623sX8/X/DNgNYpfzx/bXZ84qWOO acOthzRnfckx2U1EIMnNyCrKXcjO7NkNRB9c4rKJUSBpnhyO5x8pT8UUSlWMoxzNWHiv SYQA== X-Gm-Message-State: AG10YOQ2yswOKhQE+KTtwv3TqED0Xqz0rFdug5CbWKk/h0nyIntezYRqXfpFfw+5Tvq1yw== X-Received: by 10.25.211.70 with SMTP id k67mr2296481lfg.119.1454549975754; Wed, 03 Feb 2016 17:39:35 -0800 (PST) Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id t9sm1215203lfd.13.2016.02.03.17.39.34 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 03 Feb 2016 17:39:34 -0800 (PST) Sender: DG Subject: Re: "cl-case" with strings To: help-gnu-emacs@gnu.org References: <8737t92s6s.fsf@debian.uxu> From: Dmitry Gutov Message-ID: <56B2ABD6.6030902@yandex.ru> Date: Thu, 4 Feb 2016 04:39:34 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Thunderbird/44.0 MIME-Version: 1.0 In-Reply-To: <8737t92s6s.fsf@debian.uxu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::236 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 01:39:42 -0000 On 02/04/2016 04:13 AM, Emanuel Berg wrote: > Today when I did a new interface to my interface [1] > to `google-translate' which is an interface to > Google Translate, I used `cl-case' with strings but > was frustrated with failure, because `cl-case' uses > equality function(s) that report nil for > identical strings. > > So I wrote this. Or you could use pcase. From MAILER-DAEMON Thu Feb 04 02:24:06 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aREGs-0005ZL-Uo for mharc-help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 02:24:06 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aREGq-0005YL-DX for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 02:24:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aREGn-0006Zb-0J for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 02:24:04 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:52199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aREGm-0006ZV-PD for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 02:24:00 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 821659D2003; Thu, 4 Feb 2016 08:23:55 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HqSqLvTYB0n8; Thu, 4 Feb 2016 08:23:53 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 178C19D2001; Thu, 4 Feb 2016 08:23:53 +0100 (CET) References: <8737t92s6s.fsf@debian.uxu> <56B2ABD6.6030902@yandex.ru> User-agent: mu4e 0.9.13; emacs 25.1.50.1 From: Marcin Borkowski To: Dmitry Gutov Subject: Re: "cl-case" with strings In-reply-to: <56B2ABD6.6030902@yandex.ru> Date: Thu, 04 Feb 2016 08:23:52 +0100 Message-ID: <87d1sdc513.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 07:24:05 -0000 On 2016-02-04, at 02:39, Dmitry Gutov wrote: > On 02/04/2016 04:13 AM, Emanuel Berg wrote: >> Today when I did a new interface to my interface [1] >> to `google-translate' which is an interface to >> Google Translate, I used `cl-case' with strings but >> was frustrated with failure, because `cl-case' uses >> equality function(s) that report nil for >> identical strings. >> >> So I wrote this. > > Or you could use pcase. Or this idiom: (cl-case (intern string) ...) Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Thu Feb 04 11:00:22 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRMKU-0002lL-49 for mharc-help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 11:00:22 -0500 X-Received: by 10.182.33.74 with SMTP id p10mr7543062obi.34.1454601603561; Thu, 04 Feb 2016 08:00:03 -0800 (PST) X-Received: by 10.50.164.194 with SMTP id ys2mr417240igb.3.1454601603532; Thu, 04 Feb 2016 08:00:03 -0800 (PST) Path: usenet.stanford.edu!news.glorb.com!o2no2141908iga.0!news-out.google.com!kr2ni6512igb.0!nntp.google.com!hb3no564810igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: gnu.emacs.help Date: Thu, 4 Feb 2016 08:00:03 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=122.179.186.105; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui NNTP-Posting-Host: 122.179.186.105 References: <0c4de83e-a21e-4819-8bfb-c054edcf6553@googlegroups.com> <5daa5bee-168a-4b6b-80fa-75cd65d4d541@googlegroups.com> <705e1b28-d562-4757-a017-ffe5c6aecd5c@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: python mode problem From: Rusi Injection-Date: Thu, 04 Feb 2016 16:00:03 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: usenet.stanford.edu gnu.emacs.help:216710 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 16:00:20 -0000 On Wednesday, February 3, 2016 at 3:33:21 PM UTC+5:30, Andreas R=F6hler wro= te: > On 01.02.2016 06:46, Rusi wrote: > > On Sunday, January 31, 2016 at 2:34:33 PM UTC+5:30, Andreas R=F6hler wr= ote: > >> On 31.01.2016 07:02, Rusi wrote: > >>> On Sunday, January 31, 2016 at 10:05:23 AM UTC+5:30, Rusi wrote: > >>>> On Sunday, January 31, 2016 at 8:47:33 AM UTC+5:30, Rusi wrote: > >>>>> emacs hanged while doing something in python > >>>>> Had to kill with killall emacs > >>>>> > >>>>> Thereafter emacs is misbehaving with python mode > >>>>> > >>>>> With plain run-python > >>>>> > >>>>> Python 2.7.10 (default, Oct 14 2015, 16:09:02) > >>>>> [GCC 5.2.1 20151010] on linux2 > >>>>> Type "help", "copyright", "credits" or "license" for more informati= on. > >>>>>>>> python.el: native completion setup loaded > >>>>>>>> > >>>>> With C-u run-python and using python3 > >>>>> > >>>>> Warning (python): Your 'python-shell-interpreter' doesn't seem to s= upport readline, yet 'python-shell-completion-native' was t and "python3" i= s not part of the 'python-shell-completion-native-disabled-interpreters' li= st. Native completions have been disabled locally. > >>>>> > >>>>> Too many interlocking bugs to make a clear bug-report > >>>>> For now: Where is python mode (or other related) cache? > >>>>> Because if emacs started with -Q there is no problem > >>>>> > >>>>> emacs 25 on linux > >>>> Seems to be some emacs 25 issue > >>> Zillions of > >>> Error reading dir-locals: (void-function map-merge-with) > >>> compiling emacs 25 > >>> > >>> So for now back to emacs 24 > >> For all who need v25 for other reasons: There is still python-mode.el > >> available from Melpa > > Hi Andreas > > > > For many years Ive been a python-mode user. You will even find recomme= ndations > > from me for this here and on the python list. > > Of late however its been a source of increasing glitches. > > Dont remember all... The last one was when a number of students were us= ing the > > same VM and found that only one could use python-mode -- some public > > temporary non-uniquified file in /tmp or some such issue. > > > > At this point I thought it time jump ship. > > > > Maybe I need to re-think this jump???... >=20 > Hi, >=20 > should you be able to test the current python-mode.el WRT this bug in=20 > VM, that would be helpful. > From here it should work meanwhile. >=20 > Thanks, >=20 > Andreas Sorry Andreas... Dont have access to those VMs right now OTOH Multiple users logged in from multiple terminals should be a close equ= ivalent From MAILER-DAEMON Thu Feb 04 11:40:14 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRMx4-0003gX-3Z for mharc-help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 11:40:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRMx0-0003aK-R4 for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 11:40:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRMwx-0002Ff-Mn for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 11:40:10 -0500 Received: from plane.gmane.org ([80.91.229.3]:46230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRMwx-0002Dl-Fp for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 11:40:07 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aRMwv-0002KV-73 for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 17:40:05 +0100 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 17:40:05 +0100 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 17:40:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Nick Dokos Subject: Re: on ``An Introduction to Programming in Emacs Lisp'' Date: Thu, 04 Feb 2016 11:37:35 -0500 Lines: 22 Message-ID: <878u30ctyo.fsf@alphaville.usersys.redhat.com> References: <87oac34e2o.fsf@debian.uxu> <871t8z6tgc.fsf@robertthorpeconsulting.com> <87io297a26.fsf@debian.uxu> <87h9hsheov.fsf@mbork.pl> <87vb687y6s.fsf@debian.uxu> <874mdrh8zq.fsf@mbork.pl> <87zivi7m7n.fsf@debian.uxu> <87y4b2cfhg.fsf@mbork.pl> <87twlp36of.fsf@debian.uxu> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nat-pool-bos-t.redhat.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:Xct8lXCkHDSyjv5r4UzI5tZNU08= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 16:40:11 -0000 Emanuel Berg writes: > Marcin Borkowski writes: > >> Of course, I mean /applications/ here, I don't count >> coreutils, ssh etc. > > *iiiiii* - if your were to compile all that manually > setting up even a rudimentary Unix system would be > a challenge. > > But there are people who do it. I suppose they get > a very solid under-the-hood understanding if > nothing else. > See e.g. https://en.wikipedia.org/wiki/Linux_From_Scratch -- Nick From MAILER-DAEMON Thu Feb 04 11:50:10 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRN6g-0007AR-NZ for mharc-help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 11:50:10 -0500 X-Received: by 10.129.70.86 with SMTP id t83mr7512963ywa.22.1454604386977; Thu, 04 Feb 2016 08:46:26 -0800 (PST) X-Received: by 10.50.115.69 with SMTP id jm5mr190311igb.10.1454604386816; Thu, 04 Feb 2016 08:46:26 -0800 (PST) Path: usenet.stanford.edu!94no454141qgt.1!news-out.google.com!kr2ni6528igb.0!nntp.google.com!hb3no582260igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: gnu.emacs.help Date: Thu, 4 Feb 2016 08:46:26 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=205.203.128.141; posting-account=-o2QsAoAAADaaxdBWIzwf7pWGoMlXXiW NNTP-Posting-Host: 205.203.128.141 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0a146dd3-1521-42ac-a5d7-888cec342cb7@googlegroups.com> Subject: Gnu Emacs 24.3 Crashing On Cygwin From: joseph.koziatek@dowjones.com Injection-Date: Thu, 04 Feb 2016 16:46:26 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: usenet.stanford.edu gnu.emacs.help:216712 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 16:50:09 -0000 Hello All, In recent years I have been experiencing frequent core dumps with Gnu Emacs on cygwin. I run cygwin-xfree on Windows Enterprise 7. My versions are: Emacs Version: GNU Emacs 24.3.1 (x86_64-unknown-cygwin) Cygwin Version: CYGWIN_NT-6.1 SBK051BF31D2EMG 1.7.28(0.271/5/3) 2014-02-09 21:06 x86_64 Cygwin In my experimentation, I would startup 10 Emacs's. For 5 of them I would let sit, the other 5 I would simply start the shell (M-x shell). I would not use the shell buffer (no commands or interaction in shell buffer). In all the crashes, it is always in the Emacs's that I started a shell (no M-x shell and it never crashes). I am not loading any .emacs or .el customizations either. My run command is: emacs-w32 -title `whoami`@`uname -n` -geometry 100x44+10+10 -fn "consolas" & I have read about interference occurring with cygwin from other software in the article at: https://cygwin.com/faq/faq.html#faq.using.bloda . I have no problems with other cygwin programs. I run XWin.exe sessions for several months without crashes. My cygwin xterm's never crash. What is it with the (M-x) shell command that leads to these crashes? My experiment shows the crashes are related to (M-x shell). The crashes occur with no interaction with the Emacs process and occur also when emacs is minimized. I tried emacs-w32 and have the same crashing behavior. With emacs-w32 I get an abort dialog with instructions to run gdb with the process id. Below I have some stackdumps and some gdb stack traces (with the 'where' command). Is there anything I can do to resolve this? Do the stack traces show what's happening? Has this problem been dealt with in newer cygwin/emacs releases? What can I try? Joe ---------------------------------------------------------------------------------------------------------------------------- Here is ldd output: > ldd /usr/bin/emacs-w32 ldd /usr/bin/emacs-w32 ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x771f0000) kernel32.dll => /cygdrive/c/WINDOWS/system32/kernel32.dll (0x770d0000) KERNELBASE.dll => /cygdrive/c/WINDOWS/system32/KERNELBASE.dll (0x7fefd870000) cygwin1.dll => /usr/bin/cygwin1.dll (0x180040000) cygdbus-1-3.dll => /usr/bin/cygdbus-1-3.dll (0x424230000) cyggif-4.dll => /usr/bin/cyggif-4.dll (0x442580000) cygX11-6.dll => /usr/bin/cygX11-6.dll (0x4bae40000) cygxcb-1.dll => /usr/bin/cygxcb-1.dll (0x4cd4d0000) cygXau-6.dll => /usr/bin/cygXau-6.dll (0x5f2d20000) cygXdmcp-6.dll => /usr/bin/cygXdmcp-6.dll (0x500140000) cyggnutls-28.dll => /usr/bin/cyggnutls-28.dll (0x54d330000) cyggmp-10.dll => /usr/bin/cyggmp-10.dll (0x4029c0000) cyghogweed-2.dll => /usr/bin/cyghogweed-2.dll (0x504200000) cygnettle-4.dll => /usr/bin/cygnettle-4.dll (0x546610000) cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x5461d0000) cygintl-8.dll => /usr/bin/cygintl-8.dll (0x5ee2d0000) cygp11-kit-0.dll => /usr/bin/cygp11-kit-0.dll (0x55dca0000) cygtasn1-6.dll => /usr/bin/cygtasn1-6.dll (0x5ee220000) cygz.dll => /usr/bin/cygz.dll (0x597fd0000) cygjpeg-8.dll => /usr/bin/cygjpeg-8.dll (0x443d30000) cygncursesw-10.dll => /usr/bin/cygncursesw-10.dll (0x48ca30000) cygpng15-15.dll => /usr/bin/cygpng15-15.dll (0x4fd450000) cygtiff-5.dll => /usr/bin/cygtiff-5.dll (0x4e93d0000) cygxml2-2.dll => /usr/bin/cygxml2-2.dll (0x5f2ae0000) cyglzma-5.dll => /usr/bin/cyglzma-5.dll (0x593420000) cygXpm-noX-4.dll => /usr/bin/cygXpm-noX-4.dll (0x5b3130000) GDI32.dll => /cygdrive/c/WINDOWS/system32/GDI32.dll (0x7feff480000) USER32.dll => /cygdrive/c/WINDOWS/system32/USER32.dll (0x76fd0000) LPK.dll => /cygdrive/c/WINDOWS/system32/LPK.dll (0x7fefda20000) USP10.dll => /cygdrive/c/WINDOWS/system32/USP10.dll (0x7feff280000) msvcrt.dll => /cygdrive/c/WINDOWS/system32/msvcrt.dll (0x7feff140000) ADVAPI32.dll => /cygdrive/c/WINDOWS/system32/ADVAPI32.dll (0x7feff000000) sechost.dll => /cygdrive/c/WINDOWS/SYSTEM32/sechost.dll (0x7feff260000) RPCRT4.dll => /cygdrive/c/WINDOWS/system32/RPCRT4.dll (0x7fefdd70000) COMCTL32.dll => /cygdrive/c/WINDOWS/WinSxS/amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac/COMCTL32.dll (0x7fefbcb0000) SHLWAPI.dll => /cygdrive/c/WINDOWS/system32/SHLWAPI.dll (0x7fefec30000) comdlg32.dll => /cygdrive/c/WINDOWS/system32/comdlg32.dll (0x7fefef60000) SHELL32.dll => /cygdrive/c/WINDOWS/system32/SHELL32.dll (0x7fefdea0000) ole32.dll => /cygdrive/c/WINDOWS/system32/ole32.dll (0x7fefed50000) WINSPOOL.DRV => /cygdrive/c/WINDOWS/system32/WINSPOOL.DRV (0x7fef85e0000) IMM32.DLL => /cygdrive/c/WINDOWS/system32/IMM32.DLL (0x7feff430000) MSCTF.dll => /cygdrive/c/WINDOWS/system32/MSCTF.dll (0x7fefdc60000) --------------------------------------------------------------------------- emacs-w32.exe.stackdump1 Stack trace: Frame Function Args 00000427400 0018006F6D3 (00000000000, 00000000000, 00000000000, 00000000000) 0000000000B 00180070B8A (00000000000, 00100000000, 000000004C4, 00000000000) 000004275E0 00180118278 (006000A2C18, 0000042D440, 0000042772C, 006000A2CC0) 000000000C1 0018011536E (00000427A70, 00000000000, 00000000000, 001004B9FF0) 0000000000B 0018011583B (00000000000, 00000000000, 00000000000, 0000000000B) 0000000000B 00180115A0C (00000000000, 00000000000, 0018013354D, 00000000000) 0000000000B 0018011144B (00000000000, 00000000000, 0018013354D, 00000000000) End of stack trace emacs-w32.exe.stackdump2 Stack trace: Frame Function Args 000004289B0 0018006F6D3 (00000000000, 00000000000, 00000000000, 00000429910) 00000000006 00180070B8A (00000000000, 00100000000, 0000000046C, 00000000000) 00000428B90 00180118278 (006000A2C18, 0000042D440, 00000428CDC, 006000A2CC0) 000000000C1 0018011536E (00000429020, 00000000000, 00000000000, 001004B9FF0) 00000000006 0018011583B (00000000000, 00000000000, 00000000000, 00000000006) 00000000006 00180115A0C (0010091DC58, 0010091DB10, 00000000000, 000004291A8) 00000000006 0018011144B (0010091DB10, 00000000000, 000004291A8, 00000000020) 00000000006 00000428FC0 (00000000000, 000004291A8, 00000000020, 006000A6480) 00000000006 0010091DC58 (000004291A8, 00000000020, 006000A6480, 00000000006) 00000000006 0010091DB10 (000004291A8, 00000000020, 006000A6480, 00000000006) End of stack trace emacs-w32.exe.stackdump3 Stack trace: Frame Function Args 00000428650 0018006F6D3 (00000000000, 00000000000, 00000000000, 00000000000) 00000000006 00180070B8A (00000000000, 00100000000, 00000000448, 00000000000) 00000428830 00180118278 (006000A2818, 0000042D440, 0000042897C, 006000A28C0) 000000000C1 0018011536E (00000428CC0, 00000000000, 00000000000, 001004B9FF0) 00000000006 0018011583B (00000000000, 00000000000, 00000000000, 00000000006) 00000000006 00180115A0C (02C00000001, 000772146B4, 00000000000, 00000000000) 00000000006 0018011144B (000772146B4, 00000000000, 00000000000, 00000000020) 00000000006 00000A5EBF8 (00000000000, 00000000000, 00000000020, 00000000000) 00000000006 02C00000001 (00000000000, 00000000020, 00000000000, 00000000006) 00000000006 000772146B4 (00000000000, 00000000020, 00000000000, 00000000006) End of stack trace emacs-X11.exe.stackdump4 Stack trace: Frame Function Args 00000426FA0 0018006F6D3 (00000427360, 00100000000, 00000427360, 00000427360) 0000000000B 00180070B8A (00000000000, 00000000000, 000000001AC, 00000000000) 00000427180 00180118278 (00000427208, 00000427480, 00000427438, 00000000000) 000000000C1 0018011536E (00000427610, 00000000000, 00000000000, 001004E2580) 0000000000B 0018011583B (00000000000, 00000000000, 00000000000, 0000000000B) 0000000000B 00180115A0C (00000000000, 00000000000, 00000000000, 00000000000) 0000000000B 0018011144B (00000000000, 00000000000, 00000000000, 00000000000) End of stack trace /home/koziatekj> ################################ ################################ ##### CORE DUMP#1 ###### ################################ ################################ (gdb) thread 1 [Switching to thread 1 (Thread 213696.0x32758)] #0 0x0000000076fe933a in WaitMessage () from /cygdrive/c/WINDOWS/system32/USER32.dll (gdb) where #0 0x0000000076fe933a in WaitMessage () from /cygdrive/c/WINDOWS/system32/USER32.dll #1 0x0000000076ff4bc4 in USER32!GetComboBoxInfo () from /cygdrive/c/WINDOWS/system32/USER32.dll #2 0x0000000000000000 in ?? () (gdb) thread 2 [Switching to thread 2 (Thread 213696.0x341f8)] #0 0x000000007724131a in ntdll!ZwReadFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x000000007724131a in ntdll!ZwReadFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd871a7a in ReadFile () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x000000000042ce00 in ?? () #3 0x000000010055a020 in schedule_atimer () at /usr/src/debug/emacs-24.3-7/src/atimer.c:343 #4 0x00000001802dca00 in ?? () from /usr/bin/cygwin1.dll #5 0x0000000000000000 in ?? () (gdb) thread 3 [Switching to thread 3 (Thread 213696.0x343f0)] #0 0x000000007724186a in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x000000007724186a in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000000007720b037 in ntdll!TpIsTimerSet () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #2 0x0000000000000002 in ?? () #3 0x0000000000000000 in ?? () (gdb) thread 4 [Switching to thread 4 (Thread 213696.0x101cc)] #0 0x00000000772412fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x00000000772412fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd8710dc in WaitForSingleObjectEx () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x0000000000000000 in ?? () (gdb) thread 5 [Switching to thread 5 (Thread 213696.0x33730)] #0 0x0000000076fe9e6a in USER32!SfmDxSetSwapChainStats () from /cygdrive/c/WINDOWS/system32/USER32.dll (gdb) where #0 0x0000000076fe9e6a in USER32!SfmDxSetSwapChainStats () from /cygdrive/c/WINDOWS/system32/USER32.dll #1 0x0000000076fe9e9e in USER32!GetMessageW () from /cygdrive/c/WINDOWS/system32/USER32.dll #2 0x0000000100f7dc60 in bss_sbrk_buffer () #3 0x0000000076fd9bcc in USER32!CopyImage () from /cygdrive/c/WINDOWS/system32/USER32.dll #4 0x0000000000c80078 in ?? () #5 0x0000000076fe6274 in USER32!GetMessageA () from /cygdrive/c/WINDOWS/system32/USER32.dll #6 0x0000000003c0aaf0 in ?? () #7 0x000000010056f3bc in w32_msg_pump (msg_buf=0x3c0ac20) at /usr/src/debug/emacs-24.3-7/src/w32fns.c:2369 #8 0x000000010056fa10 in w32_msg_worker (arg=arg@entry=0x0) at /usr/src/debug/emacs-24.3-7/src/w32fns.c:2595 #9 0x000000018004611b in _cygtls::call2 (this=0x3c0ce00, func=0x10056f9b0 , arg=0x0, buf=0x3c0cd50) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/cygtls.cc:100 #10 0x000000018004627e in _cygtls::call (func=0x10056f9b0 , arg=0x5bbfd0) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/cygtls.cc:30 #11 0x00000000770e652d in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/WINDOWS/system32/kernel32.dll #12 0x0000000000000000 in ?? () (gdb) thread 6 [Switching to thread 6 (Thread 213696.0x33d24)] #0 0x000000007724164a in ntdll!ZwFsControlFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x000000007724164a in ntdll!ZwFsControlFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd883c2f in KERNELBASE!ConnectNamedPipe () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x0000000000000000 in ?? () (gdb) thread 7 [Switching to thread 7 (Thread 213696.0x33120)] #0 0x000000007724131a in ntdll!ZwReadFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x000000007724131a in ntdll!ZwReadFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd871a7a in ReadFile () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x00000001801cd4a8 in threads () from /usr/bin/cygwin1.dll #3 0x00000001800ba9c9 in CreateEventA (lpEventAttributes=0x4faaabc, bManualReset=0, bInitialState=0, lpName=) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/kernel32.cc:74 #4 0x00000001800454aa in cygthread::stub ( arg=arg@entry=0x1801cd4a8 ) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/cygthread.cc:93 #5 0x000000018004611b in _cygtls::call2 (this=0x4face00, func=0x180045450 , arg=0x1801cd4a8 , buf=0x0) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/cygtls.cc:100 #6 0x000000018004627e in _cygtls::call ( func=0x180045450 , arg=0x1801cd4a8 ) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/cygtls.cc:30 #7 0x00000000770e652d in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/WINDOWS/system32/kernel32.dll #8 0x0000000000000000 in ?? () (gdb) thread 8 [Switching to thread 8 (Thread 213696.0x33a0c)] #0 0x00000000772412fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x00000000772412fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd8710dc in WaitForSingleObjectEx () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x0000000000000000 in ?? () (gdb) thread 9 [Switching to thread 9 (Thread 213696.0x34488)] #0 0x0000000077240591 in ntdll!DbgBreakPoint () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x0000000077240591 in ntdll!DbgBreakPoint () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x00000000772e7f08 in ntdll!DbgUiRemoteBreakin () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #2 0x0000000000000000 in ?? () ################################ ################################ ##### CORE DUMP#2 ###### ################################ ################################ (gdb) thread 1 [Switching to thread 1 (Thread 216952.0x34f7c)] #0 0x0000000076fe933a in WaitMessage () from /cygdrive/c/WINDOWS/system32/USER32.dll (gdb) where #0 0x0000000076fe933a in WaitMessage () from /cygdrive/c/WINDOWS/system32/USER32.dll #1 0x0000000076ff4bc4 in USER32!GetComboBoxInfo () from /cygdrive/c/WINDOWS/system32/USER32.dll #2 0x0000000000000000 in ?? () (gdb) thread 2 [Switching to thread 2 (Thread 216952.0x34f80)] #0 0x000000007724131a in ntdll!ZwReadFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x000000007724131a in ntdll!ZwReadFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd871a7a in ReadFile () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x000000000042ce00 in ?? () #3 0x000000010055a020 in schedule_atimer () at /usr/src/debug/emacs-24.3-7/src/atimer.c:343 #4 0x00000001802dca00 in ?? () from /usr/bin/cygwin1.dll #5 0x0000000000000000 in ?? () (gdb) thread 3 [Switching to thread 3 (Thread 216952.0x34f84)] #0 0x000000007724186a in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x000000007724186a in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000000007720b037 in ntdll!TpIsTimerSet () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #2 0x0000000000000002 in ?? () #3 0x0000000000000000 in ?? () (gdb) thread 4 [Switching to thread 4 (Thread 216952.0x34f88)] #0 0x00000000772412fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x00000000772412fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd8710dc in WaitForSingleObjectEx () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x0000000000000000 in ?? () (gdb) thread 5 [Switching to thread 5 (Thread 216952.0x34f8c)] #0 0x0000000076fe9e6a in USER32!SfmDxSetSwapChainStats () from /cygdrive/c/WINDOWS/system32/USER32.dll (gdb) where #0 0x0000000076fe9e6a in USER32!SfmDxSetSwapChainStats () from /cygdrive/c/WINDOWS/system32/USER32.dll #1 0x0000000076fe9e9e in USER32!GetMessageW () from /cygdrive/c/WINDOWS/system32/USER32.dll #2 0xffffffffa96908ef in ?? () #3 0x0000000000000000 in ?? () (gdb) thread 6 [Switching to thread 6 (Thread 216952.0x34bd0)] #0 0x000000007724164a in ntdll!ZwFsControlFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x000000007724164a in ntdll!ZwFsControlFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd883c2f in KERNELBASE!ConnectNamedPipe () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x0000000000000000 in ?? () (gdb) thread 7 [Switching to thread 7 (Thread 216952.0x34af8)] #0 0x000000007724131a in ntdll!ZwReadFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x000000007724131a in ntdll!ZwReadFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd871a7a in ReadFile () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x00000001801cd4a8 in threads () from /usr/bin/cygwin1.dll #3 0x00000001800ba9c9 in CreateEventA (lpEventAttributes=0x596aabc, bManualReset=0, bInitialState=0, lpName=) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/kernel32.cc:74 #4 0x00000001800454aa in cygthread::stub ( arg=arg@entry=0x1801cd4a8 ) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/cygthread.cc:93 #5 0x000000018004611b in _cygtls::call2 (this=0x596ce00, func=0x180045450 , arg=0x1801cd4a8 , buf=0x0) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/cygtls.cc:100 #6 0x000000018004627e in _cygtls::call ( func=0x180045450 , arg=0x1801cd4a8 ) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/cygtls.cc:30 #7 0x00000000770e652d in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/WINDOWS/system32/kernel32.dll #8 0x0000000000000000 in ?? () (gdb) thread 8 [Switching to thread 8 (Thread 216952.0x33b68)] #0 0x00000000772412fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x00000000772412fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd8710dc in WaitForSingleObjectEx () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x0000000000000000 in ?? () (gdb) thread 9 [Switching to thread 9 (Thread 216952.0x34d80)] #0 0x0000000077240591 in ntdll!DbgBreakPoint () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x0000000077240591 in ntdll!DbgBreakPoint () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x00000000772e7f08 in ntdll!DbgUiRemoteBreakin () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #2 0x0000000000000000 in ?? () ################################ ################################ ##### CORE DUMP#3 ###### ################################ ################################ thread 1 [Switching to thread 1 (Thread 216548.0x34b08)] #0 0x0000000076fe933a in WaitMessage () from /cygdrive/c/WINDOWS/system32/USER32.dll (gdb) where #0 0x0000000076fe933a in WaitMessage () from /cygdrive/c/WINDOWS/system32/USER32.dll #1 0x0000000076ff4bc4 in USER32!GetComboBoxInfo () from /cygdrive/c/WINDOWS/system32/USER32.dll #2 0x0000000000000000 in ?? () (gdb) thread 2 [Switching to thread 2 (Thread 216548.0x34edc)] #0 0x000000007724131a in ntdll!ZwReadFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x000000007724131a in ntdll!ZwReadFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd871a7a in ReadFile () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x000000000042ce00 in ?? () #3 0x000000010055a020 in schedule_atimer () at /usr/src/debug/emacs-24.3-7/src/atimer.c:343 #4 0x00000001802dca00 in ?? () from /usr/bin/cygwin1.dll #5 0x0000000000000000 in ?? () (gdb) thread 3 [Switching to thread 3 (Thread 216548.0x341bc)] #0 0x000000007724186a in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x000000007724186a in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000000007720b037 in ntdll!TpIsTimerSet () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #2 0x0000000000000002 in ?? () #3 0x0000000000000000 in ?? () (gdb) thread 4 [Switching to thread 4 (Thread 216548.0x32ec8)] #0 0x00000000772412fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x00000000772412fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd8710dc in WaitForSingleObjectEx () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x0000000000000000 in ?? () (gdb) thread 5 [Switching to thread 5 (Thread 216548.0x34ffc)] #0 0x0000000076fe9e6a in USER32!SfmDxSetSwapChainStats () from /cygdrive/c/WINDOWS/system32/USER32.dll (gdb) where #0 0x0000000076fe9e6a in USER32!SfmDxSetSwapChainStats () from /cygdrive/c/WINDOWS/system32/USER32.dll #1 0x0000000076fe9e9e in USER32!GetMessageW () from /cygdrive/c/WINDOWS/system32/USER32.dll #2 0x00000000253c059f in ?? () #3 0x0000000000000000 in ?? () (gdb) thread 6 [Switching to thread 6 (Thread 216548.0x34d40)] #0 0x000000007724164a in ntdll!ZwFsControlFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x000000007724164a in ntdll!ZwFsControlFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd883c2f in KERNELBASE!ConnectNamedPipe () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x0000000000000000 in ?? () (gdb) thread 7 [Switching to thread 7 (Thread 216548.0x34040)] #0 0x000000007724131a in ntdll!ZwReadFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x000000007724131a in ntdll!ZwReadFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd871a7a in ReadFile () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x00000001801cd4a8 in threads () from /usr/bin/cygwin1.dll #3 0x00000001800ba9c9 in CreateEventA (lpEventAttributes=0x5afaabc, bManualReset=0, bInitialState=0, lpName=) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/kernel32.cc:74 #4 0x00000001800454aa in cygthread::stub ( arg=arg@entry=0x1801cd4a8 ) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/cygthread.cc:93 #5 0x000000018004611b in _cygtls::call2 (this=0x5afce00, func=0x180045450 , arg=0x1801cd4a8 , buf=0x0) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/cygtls.cc:100 #6 0x000000018004627e in _cygtls::call ( func=0x180045450 , arg=0x1801cd4a8 ) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/cygtls.cc:30 #7 0x00000000770e652d in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/WINDOWS/system32/kernel32.dll #8 0x0000000000000000 in ?? () (gdb) thread 8 [Switching to thread 8 (Thread 216548.0x33c8c)] #0 0x00000000772412fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x00000000772412fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd8710dc in WaitForSingleObjectEx () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x0000000000000000 in ?? () (gdb) thread 9 [Switching to thread 9 (Thread 216548.0x34074)] #0 0x0000000077240591 in ntdll!DbgBreakPoint () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x0000000077240591 in ntdll!DbgBreakPoint () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x00000000772e7f08 in ntdll!DbgUiRemoteBreakin () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #2 0x0000000000000000 in ?? () ################################ ################################ ##### CORE DUMP#4 ###### ################################ ################################ (gdb) thread 1 [Switching to thread 1 (Thread 217052.0x34f7c)] #0 0x0000000076fe933a in WaitMessage () from /cygdrive/c/WINDOWS/system32/USER32.dll (gdb) where #0 0x0000000076fe933a in WaitMessage () from /cygdrive/c/WINDOWS/system32/USER32.dll #1 0x0000000076ff4bc4 in USER32!GetComboBoxInfo () from /cygdrive/c/WINDOWS/system32/USER32.dll #2 0x0000000000000000 in ?? () (gdb) thread 2 [Switching to thread 2 (Thread 217052.0x28efc)] #0 0x000000007724131a in ntdll!ZwReadFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x000000007724131a in ntdll!ZwReadFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd871a7a in ReadFile () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x000000000042ce00 in ?? () #3 0x000000010055a020 in schedule_atimer () at /usr/src/debug/emacs-24.3-7/src/atimer.c:343 #4 0x00000001802dca00 in ?? () from /usr/bin/cygwin1.dll #5 0x0000000000000000 in ?? () (gdb) thread 3 [Switching to thread 3 (Thread 217052.0x34c38)] #0 0x000000007724186a in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x000000007724186a in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000000007720b037 in ntdll!TpIsTimerSet () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #2 0x0000000000000002 in ?? () #3 0x0000000000000000 in ?? () (gdb) thread 4 [Switching to thread 4 (Thread 217052.0x3237c)] #0 0x00000000772412fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x00000000772412fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd8710dc in WaitForSingleObjectEx () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x0000000000000000 in ?? () (gdb) thread 5 [Switching to thread 5 (Thread 217052.0x34c0c)] #0 0x0000000076fe9e6a in USER32!SfmDxSetSwapChainStats () from /cygdrive/c/WINDOWS/system32/USER32.dll (gdb) where #0 0x0000000076fe9e6a in USER32!SfmDxSetSwapChainStats () from /cygdrive/c/WINDOWS/system32/USER32.dll #1 0x0000000076fe9e9e in USER32!GetMessageW () from /cygdrive/c/WINDOWS/system32/USER32.dll #2 0x0000000005f715ad in ?? () #3 0x0000000000000000 in ?? () (gdb) thread 6 [Switching to thread 6 (Thread 217052.0x34ff0)] #0 0x000000007724164a in ntdll!ZwFsControlFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x000000007724164a in ntdll!ZwFsControlFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd883c2f in KERNELBASE!ConnectNamedPipe () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x0000000000000000 in ?? () (gdb) thread 7 [Switching to thread 7 (Thread 217052.0x34e34)] #0 0x000000007724131a in ntdll!ZwReadFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x000000007724131a in ntdll!ZwReadFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd871a7a in ReadFile () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x00000001801cd4a8 in threads () from /usr/bin/cygwin1.dll #3 0x00000001800ba9c9 in CreateEventA (lpEventAttributes=0x581aabc, bManualReset=0, bInitialState=0, lpName=) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/kernel32.cc:74 #4 0x00000001800454aa in cygthread::stub ( arg=arg@entry=0x1801cd4a8 ) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/cygthread.cc:93 #5 0x000000018004611b in _cygtls::call2 (this=0x581ce00, func=0x180045450 , arg=0x1801cd4a8 , buf=0x0) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/cygtls.cc:100 #6 0x000000018004627e in _cygtls::call ( func=0x180045450 , arg=0x1801cd4a8 ) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/cygtls.cc:30 #7 0x00000000770e652d in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/WINDOWS/system32/kernel32.dll #8 0x0000000000000000 in ?? () (gdb) thread 8 [Switching to thread 8 (Thread 217052.0x34d0c)] #0 0x00000000772412fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x00000000772412fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd8710dc in WaitForSingleObjectEx () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x0000000000000000 in ?? () (gdb) thread 9 [Switching to thread 9 (Thread 217052.0x34b38)] #0 0x0000000077240591 in ntdll!DbgBreakPoint () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x0000000077240591 in ntdll!DbgBreakPoint () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x00000000772e7f08 in ntdll!DbgUiRemoteBreakin () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #2 0x0000000000000000 in ?? () ################################ ################################ ##### CORE DUMP#5 ###### ################################ ################################ (gdb) thread 1 [Switching to thread 1 (Thread 216416.0x343cc)] #0 0x0000000076fe933a in WaitMessage () from /cygdrive/c/WINDOWS/system32/USER32.dll (gdb) where #0 0x0000000076fe933a in WaitMessage () from /cygdrive/c/WINDOWS/system32/USER32.dll #1 0x0000000076ff4bc4 in USER32!GetComboBoxInfo () from /cygdrive/c/WINDOWS/system32/USER32.dll #2 0x0000000000000000 in ?? () (gdb) thread 2 [Switching to thread 2 (Thread 216416.0x34f54)] #0 0x000000007724131a in ntdll!ZwReadFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x000000007724131a in ntdll!ZwReadFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd871a7a in ReadFile () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x000000000042ce00 in ?? () #3 0x000000010055a020 in schedule_atimer () at /usr/src/debug/emacs-24.3-7/src/atimer.c:343 #4 0x00000001802dca00 in ?? () from /usr/bin/cygwin1.dll #5 0x0000000000000000 in ?? () (gdb) thread 3 [Switching to thread 3 (Thread 216416.0x34ed4)] #0 0x000000007724186a in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x000000007724186a in ntdll!ZwWaitForMultipleObjects () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000000007720b037 in ntdll!TpIsTimerSet () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #2 0x0000000000000002 in ?? () #3 0x0000000000000000 in ?? () (gdb) thread 4 [Switching to thread 4 (Thread 216416.0x33ec8)] #0 0x00000000772412fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x00000000772412fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd8710dc in WaitForSingleObjectEx () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x0000000000000000 in ?? () (gdb) thread 5 [Switching to thread 5 (Thread 216416.0x34754)] #0 0x0000000076fe9e6a in USER32!SfmDxSetSwapChainStats () from /cygdrive/c/WINDOWS/system32/USER32.dll (gdb) where #0 0x0000000076fe9e6a in USER32!SfmDxSetSwapChainStats () from /cygdrive/c/WINDOWS/system32/USER32.dll #1 0x0000000076fe9e9e in USER32!GetMessageW () from /cygdrive/c/WINDOWS/system32/USER32.dll #2 0x0000000100f7dc60 in bss_sbrk_buffer () #3 0x0000000076fd9bcc in USER32!CopyImage () from /cygdrive/c/WINDOWS/system32/USER32.dll #4 0x0000000000a2075e in ?? () #5 0x0000000076fe6274 in USER32!GetMessageA () from /cygdrive/c/WINDOWS/system32/USER32.dll #6 0x0000000003c7aaf0 in ?? () #7 0x000000010056f3bc in w32_msg_pump (msg_buf=0x3c7ac20) at /usr/src/debug/emacs-24.3-7/src/w32fns.c:2369 #8 0x000000010056fa10 in w32_msg_worker (arg=arg@entry=0x0) at /usr/src/debug/emacs-24.3-7/src/w32fns.c:2595 #9 0x000000018004611b in _cygtls::call2 (this=0x3c7ce00, func=0x10056f9b0 , arg=0x0, buf=0x3c7cd50) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/cygtls.cc:100 #10 0x000000018004627e in _cygtls::call (func=0x10056f9b0 , arg=0x56ffd0) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/cygtls.cc:30 #11 0x00000000770e652d in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/WINDOWS/system32/kernel32.dll #12 0x0000000000000000 in ?? () (gdb) thread 6 [Switching to thread 6 (Thread 216416.0x349d8)] #0 0x000000007724164a in ntdll!ZwFsControlFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x000000007724164a in ntdll!ZwFsControlFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd883c2f in KERNELBASE!ConnectNamedPipe () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x00000000055eaabb in ?? () #3 0x00000000055eaac0 in ?? () #4 0x00000000055eab00 in ?? () #5 0x000000000002f868 in ?? () #6 0x00000000055eaa90 in ?? () #7 0x0000000000110008 in ?? () #8 0x0000000000000000 in ?? () (gdb) thread 7 [Switching to thread 7 (Thread 216416.0x33970)] #0 0x000000007724131a in ntdll!ZwReadFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x000000007724131a in ntdll!ZwReadFile () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd871a7a in ReadFile () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x00000001801cd4a8 in threads () from /usr/bin/cygwin1.dll #3 0x00000001800ba9c9 in CreateEventA (lpEventAttributes=0x59eaabc, bManualReset=0, bInitialState=0, lpName=) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/kernel32.cc:74 #4 0x00000001800454aa in cygthread::stub ( arg=arg@entry=0x1801cd4a8 ) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/cygthread.cc:93 #5 0x000000018004611b in _cygtls::call2 (this=0x59ece00, func=0x180045450 , arg=0x1801cd4a8 , buf=0x0) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/cygtls.cc:100 #6 0x000000018004627e in _cygtls::call ( func=0x180045450 , arg=0x1801cd4a8 ) at /usr/src/debug/cygwin-1.7.28-2/winsup/cygwin/cygtls.cc:30 #7 0x00000000770e652d in KERNEL32!BaseThreadInitThunk () from /cygdrive/c/WINDOWS/system32/kernel32.dll #8 0x0000000000000000 in ?? () (gdb) thread 8 [Switching to thread 8 (Thread 216416.0x34360)] #0 0x00000000772412fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x00000000772412fa in ntdll!ZwWaitForSingleObject () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x000007fefd8710dc in WaitForSingleObjectEx () from /cygdrive/c/WINDOWS/system32/KERNELBASE.dll #2 0x0000000000000000 in ?? () (gdb) thread 9 [Switching to thread 9 (Thread 216416.0x34720)] #0 0x0000000077240591 in ntdll!DbgBreakPoint () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (gdb) where #0 0x0000000077240591 in ntdll!DbgBreakPoint () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #1 0x00000000772e7f08 in ntdll!DbgUiRemoteBreakin () from /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll #2 0x0000000000000000 in ?? () #################### From MAILER-DAEMON Thu Feb 04 12:02:16 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRNIO-0007UO-9Y for mharc-help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 12:02:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRNIG-0007FQ-Pm for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 12:02:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRNIB-00009V-QO for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 12:02:08 -0500 Received: from plane.gmane.org ([80.91.229.3]:48132) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRNIA-00008k-BD for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 12:02:03 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aRNI8-0003fa-E1 for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 18:02:00 +0100 Received: from 1.red-83-38-42.dynamicip.rima-tde.net ([83.38.42.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 18:02:00 +0100 Received: from ofv by 1.red-83-38-42.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 18:02:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: =?utf-8?Q?=C3=93scar_Fuentes?= Subject: Re: Gnu Emacs 24.3 Crashing On Cygwin Date: Thu, 04 Feb 2016 18:01:54 +0100 Lines: 27 Message-ID: <87io242yv1.fsf@wanadoo.es> References: <0a146dd3-1521-42ac-a5d7-888cec342cb7@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 1.red-83-38-42.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:jqXN+f1SZcxvbTlp+DC41NydYJo= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 Cc: joseph.koziatek@dowjones.com X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 17:02:15 -0000 joseph.koziatek@dowjones.com writes: [snip] > Is there anything I can do to resolve this? Please report this issue as a bug (use M-x report-emacs-bug) including all this information. It is better if you reproduce the bug with a simple `emacs-w32 -Q'. If the bug does happen on that case, try to localize what part of your configuration (on .emacs or the command-line parameters) triggers the bug. Search the web for "bisect emacs" if you need more details about how to do this. > Do the stack traces show what's happening? Some of them look like they could help. > Has this problem been dealt with in newer cygwin/emacs releases? Dunno. > What can I try? The current Emacs release is 24.5. I guess that Cygwin has it on its package manager. From MAILER-DAEMON Thu Feb 04 14:10:54 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRPIs-0003bF-NF for mharc-help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 14:10:54 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRPIq-0003a8-2l for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 14:10:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRPIl-0007Pu-A9 for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 14:10:52 -0500 Received: from avasout07.plus.net ([84.93.230.235]:35191) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRPIl-0007Ph-40 for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 14:10:47 -0500 Received: from london.london ([212.56.101.125]) by avasout07 with smtp id EKAi1s0022iKkuk01KAjnY; Thu, 04 Feb 2016 19:10:43 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=QqujpgGd c=1 sm=1 tr=0 a=Z6vFUnHZFshV1nOgW1CWSg==:117 a=Z6vFUnHZFshV1nOgW1CWSg==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=EBOSESyhAAAA:8 a=LlzXLoV6AAAA:8 a=iI7HsYTVAAAA:8 a=W6akr_bLXq7lUvDtkNcA:9 a=IgNwaWyJ2agn7aKW:21 a=TtSTmCMj1N_uORgp:21 a=IAsUe8OaTCo6pfLYhkoA:9 X-AUTH: skimble@:2500 From: Sharon Kimble To: help-gnu-emacs@gnu.org Subject: Re: Showing who it was sent to in gnus summary buffer References: <871t8tz2qh.fsf@skimble.plus.com> <87powd1cr2.fsf@debian.uxu> Date: Thu, 04 Feb 2016 19:10:35 +0000 In-Reply-To: <87powd1cr2.fsf@debian.uxu> (Emanuel Berg's message of "Thu, 04 Feb 2016 02:32:33 +0100") Message-ID: <877fik70lw.fsf@skimble.plus.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 84.93.230.235 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 19:10:53 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Emanuel Berg writes: > Sharon Kimble writes: > >> How can I have every email that I've sent using >> 'gnus' be displayed in its >> 'nnfolder+archive:sent.2016' folder showing who it >> was sent *to* instead of the current =3Dfrom=3D in the >> summary buffer please? > > Look for an %F in `gnus-summary-line-format' and > change it into %f. > > Try this: > > (setq gnus-summary-line-format "%*%U%3{%R%} %I%0{%f%} %1{%s%}\n") Thanks, this is what I tried - =2D-8<---------------cut here---------------start------------->8--- gnus-summary-line-format "%U%R%z %(%&user-date; %-15,15f %B (%c) %s%= )\n" ;; gnus-summary-line-format "%U%R%z %(%&user-date; %-15,15(%f%) %B (= %c) %s%)\n" ;; gnus-summary-line-format "%*%U%3{%R%} %I%0{%f%} %1{%s%}\n" =2D-8<---------------cut here---------------end--------------->8--- The first line is what I'm using now. The second line failed with showing every email in a mess on the screen, which was totally unusable or readable. The third line displayed everything except the dates which is what I'm needing. What I'm looking for is date, email name that the mail has been sent to, similar to what is showing in the summary of *Summary nnml:help-gnu-emacs*, except in my sent mail folders - one for each year that I've used gnu for [2014-2016]. Thanks Sharon. =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk Debian 8.3, fluxbox 1.3.7, emacs 24.5.3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJWs6IsAAoJEDaBgBkK+INbFPwP/2ZsnUW3o18VT/1KSKamNXxh byJfsozgfxsC1hU8mbYl+qrKoBoWaSfT+LJSUVLs/8ANnNkWWYnZ6aPRjU/5aPq7 DZXGpqahTWZX6RVICXQBy6vOfEmcigaqDyR0aHOPtNCaZ/Sb92W5H7o3oQURH+If mg+FGt4cN6E2NtuhHpQJrLg/sl5AZhsw28vxgXPy+QeTVb2imM2GJHGhZLw1XSpH 4Kgk8gjpH1/FvUr8a6ePB6gB69Az+fJ1DYTM0pzrqLPcFJMdUftI4hRgPVleQoaG teX3sktnoP7VBxUj9LxrrWWPPUgHTY+WsjsyMxpJL4EZ446eG3UpO3zmJw77maQh j/z/VZrVwCuRXbjmS6aEt5F79yfqYOlyc49g5YICBVX1PW4pvpqZ4YfYfwuIdjK0 KzqQY4cSCLMSFkm0v8odVqxGAGAQCmAEpW6BflF3+dTECOOL5I3rhn6O+ZUAaeOf vV0cXa998nTKPxsQWB2LyZpuKY1jnJ5GGEXrWfBOpsG8gRfgJtVD6R08K4ZgMPji rpwpNKzBAIFMvps9eyEmR0t+nlbdeF0GzVIEp65bxGy1Od7X3AfJ8sQFjN9M1P3O mvMue9MyKadXK/iUZyWZYx6sVreRBORoiNHRJYk9jUc5maucdz4J/C/KeOkd11Xc asFdwQW25P75PvHp1xOg =Ahkn -----END PGP SIGNATURE----- --=-=-=-- From MAILER-DAEMON Thu Feb 04 16:54:02 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRRqk-0000uf-7t for mharc-help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 16:54:02 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45396) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRRqh-0000qK-MR for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 16:54:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRRqe-0005lJ-AJ for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 16:53:59 -0500 Received: from plane.gmane.org ([80.91.229.3]:40423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRRqd-0005lE-Rq for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 16:53:56 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aRRqc-0003LG-3R for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 22:53:54 +0100 Received: from x5ce62749.dyn.telefonica.de ([92.230.39.73]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 22:53:54 +0100 Received: from tjolitz by x5ce62749.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 22:53:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Thorsten Jolitz Subject: Re: Bug in comment-region? Date: Thu, 04 Feb 2016 22:53:47 +0100 Lines: 34 Message-ID: <87io24xhuc.fsf@gmail.com> References: <87d1sdif0s.fsf@gmail.com> <877fil2u8k.fsf@debian.uxu> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: x5ce62749.dyn.telefonica.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:ZdcjGsb7WV/fIWpBvWKQLjIBjIU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 21:54:00 -0000 Emanuel Berg writes: > Thorsten Jolitz writes: > >> which looks like a bug to me - the comment chars >> should always be at BOL, shouldn't they? > > Try this: > > (setq comment-styles '(plain . (nil nil nil nil "Start comment at > BOL."))) So its a feature not a bug, thanks for the hint. I used ,---- | (defun outshine-comment-region (beg end &optional arg) | "Use comment-style that always inserts at BOL. | Call `comment-region' with a comment-style that guarantees | insertion of comment-start markers at beginning-of-line." | (interactive "r") | (let ((comment-style | (if (member comment-style '(indent-or-triple indent)) | 'plain | comment-style))) | (comment-region beg end arg))) `---- now, because normally outshine should be major-mode agnostic and just use the comment settings of the programming mode at hand. Only tested with Emacs Lisp though ... -- cheers, Thorsten From MAILER-DAEMON Thu Feb 04 17:00:01 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRRwX-0003yR-7d for mharc-help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 17:00:01 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRRwT-0003ok-VP for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 16:59:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRRwP-0006he-HL for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 16:59:56 -0500 Received: from plane.gmane.org ([80.91.229.3]:40788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRRwP-0006hP-AN for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 16:59:53 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aRRwN-0002l2-Dm for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 22:59:51 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 22:59:51 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 22:59:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Showing who it was sent to in gnus summary buffer Date: Thu, 04 Feb 2016 22:59:45 +0100 Lines: 35 Message-ID: <87a8ngrvam.fsf@debian.uxu> References: <871t8tz2qh.fsf@skimble.plus.com> <87powd1cr2.fsf@debian.uxu> <877fik70lw.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:CYtkgkae7+3Abp4XozRsCapvKeo= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 21:59:59 -0000 Sharon Kimble writes: > The third line displayed everything [...] I agree the third line is good :) > except the dates which is what I'm needing The help for `gnus-summary-line-format' says: %D Date of the article (string) %d Date of the article (string) in DD-MMM format %o Date of the article (string) in YYYYMMDD`T'HHMMSS format Of these, I'd say %o is something a computer or autistic genius would parse, so try %D and %d, as in: (setq gnus-summary-line-format "%*%U%3{%R%} %I%0{%f%} %1{%s%} %D\n") If you wonder what the %1{ ... %} are, it is to set the face to `gnus-face-1' and so on. So how good it looks depends what colors those faces are set to, and what those colors are. If you think it could look good, then I guess it should. By the way, the 0 can probably be removed as %{ ... %} defaults to 0, i.e. `gnus-face-0' which is `bold' by default. The rest of the comic-book insult is explained in the help for `gnus-summary-line-format'. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Thu Feb 04 17:12:24 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRS8W-0002DE-Rs for mharc-help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 17:12:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49267) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRS8T-000270-PV for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 17:12:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRS8R-0001Ni-4K for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 17:12:21 -0500 Received: from plane.gmane.org ([80.91.229.3]:41833) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRS8Q-0001Nd-Tm for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 17:12:19 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aRS8O-0001o5-OC for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 23:12:16 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 23:12:16 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 23:12:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: "cl-case" with strings Date: Thu, 04 Feb 2016 23:12:05 +0100 Lines: 16 Message-ID: <8760y4ruq2.fsf@debian.uxu> References: <8737t92s6s.fsf@debian.uxu> <56B2ABD6.6030902@yandex.ru> <87d1sdc513.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:qImHOSlu6fDlHBAwkdG+Mz8NODU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 22:12:22 -0000 Marcin Borkowski writes: >> Or you could use pcase. > > Or this idiom: (cl-case (intern string) ...) Then the keys cannot be strings - not an issue in this "case"... The instructions for `pcase' tho isn't exactly like reading on the milk pack - perhaps the OP or someone else can provide an example? -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Thu Feb 04 17:20:16 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRSG8-0006Xl-Gt for mharc-help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 17:20:16 -0500 Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Joost Kremers Newsgroups: gnu.emacs.help Subject: Re: "cl-case" with strings Date: 4 Feb 2016 22:16:51 GMT Lines: 11 Message-ID: References: <8737t92s6s.fsf@debian.uxu> <56B2ABD6.6030902@yandex.ru> <87d1sdc513.fsf@mbork.pl> X-Trace: individual.net w63Xf9uqjVCp7goiQDyaFgoGq2PkenoMdkQ3qb1aWj3zmlfaI1 Cancel-Lock: sha1:aoqGwwNgbS60WfLhI8EM9N7GHS0= Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/1.0.1 (Linux) Xref: usenet.stanford.edu gnu.emacs.help:216718 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 22:20:15 -0000 http://newartisans.com/2016/01/pattern-matching-with-pcase/ EN:SiS(9) Emanuel Berg wrote: > The instructions for `pcase' tho isn't exactly like > reading on the milk pack - perhaps the OP or someone > else can provide an example? -- Joost Kremers joostkremers@fastmail.fm Selbst in die Unterwelt dringt durch Spalten Licht From MAILER-DAEMON Thu Feb 04 17:31:12 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRSQi-0004ct-Mz for mharc-help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 17:31:12 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRSQg-0004cm-JZ for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 17:31:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRSQc-0005v2-EJ for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 17:31:10 -0500 Received: from plane.gmane.org ([80.91.229.3]:43286) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRSQc-0005uq-80 for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 17:31:06 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aRSQa-0000oz-0p for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 23:31:04 +0100 Received: from 69-196-166-146.dsl.teksavvy.com ([69.196.166.146]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 23:31:04 +0100 Received: from monnier by 69-196-166-146.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 23:31:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Stefan Monnier Subject: Re: "cl-case" with strings Date: Thu, 04 Feb 2016 17:30:56 -0500 Lines: 16 Message-ID: References: <8737t92s6s.fsf@debian.uxu> <56B2ABD6.6030902@yandex.ru> <87d1sdc513.fsf@mbork.pl> <8760y4ruq2.fsf@debian.uxu> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 69-196-166-146.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:peYEy8SXx2dPZghZe7g7WQxcmtI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 22:31:11 -0000 > The instructions for `pcase' tho isn't exactly like > reading on the milk pack - perhaps the OP or someone > else can provide an example? (pcase foo ("toto" do-the-toto-thing) ("titi" do-the-titi-thing)) For some older Emacsen, IIRC, it might be necessary to do (pcase foo (`"toto" do-the-toto-thing) (`"titi" do-the-titi-thing)) -- Stefan From MAILER-DAEMON Thu Feb 04 17:42:09 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRSbJ-0006Uc-EJ for mharc-help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 17:42:09 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55365) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRSbG-0006Sn-UX for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 17:42:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRSbD-00080K-Ih for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 17:42:06 -0500 Received: from plane.gmane.org ([80.91.229.3]:44272) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRSbD-0007zw-Bp for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 17:42:03 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aRSb9-0006kJ-QX for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 23:41:59 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 23:41:59 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 04 Feb 2016 23:41:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: "cl-case" with strings Date: Thu, 04 Feb 2016 23:41:48 +0100 Lines: 20 Message-ID: <871t8srtcj.fsf@debian.uxu> References: <8737t92s6s.fsf@debian.uxu> <56B2ABD6.6030902@yandex.ru> <87d1sdc513.fsf@mbork.pl> <8760y4ruq2.fsf@debian.uxu> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:0LunvPKmWaOqQznoCe+bjjW5sV4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 22:42:07 -0000 Stefan Monnier writes: >> The instructions for `pcase' tho isn't exactly like >> reading on the milk pack - perhaps the OP or >> someone else can provide an example? > > (pcase foo ("toto" do-the-toto-thing) ("titi" do-the-titi-thing)) Does it work with multiple keys (keylists) as well? Here are the line from the original code: (string-case from '(("sv" "da") "ord") '(("en") "word") '(("es") "palabra") ) -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Thu Feb 04 18:04:15 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRSwh-0005S9-05 for mharc-help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 18:04:15 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRSwe-0005Pi-TF for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 18:04:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRSwb-0004dW-JI for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 18:04:12 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:59895) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRSwb-0004cl-C7 for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 18:04:09 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 5D9209D2002; Fri, 5 Feb 2016 00:03:54 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Oel-FYycmb6A; Fri, 5 Feb 2016 00:03:51 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 9020F9D2001; Fri, 5 Feb 2016 00:03:51 +0100 (CET) References: <8737t92s6s.fsf@debian.uxu> <56B2ABD6.6030902@yandex.ru> <87d1sdc513.fsf@mbork.pl> <8760y4ruq2.fsf@debian.uxu> User-agent: mu4e 0.9.13; emacs 25.1.50.1 From: Marcin Borkowski To: Emanuel Berg Subject: Re: "cl-case" with strings In-reply-to: <8760y4ruq2.fsf@debian.uxu> Date: Fri, 05 Feb 2016 00:03:51 +0100 Message-ID: <871t8sw014.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Feb 2016 23:04:13 -0000 On 2016-02-04, at 23:12, Emanuel Berg wrote: > Marcin Borkowski writes: > >>> Or you could use pcase. >> >> Or this idiom: (cl-case (intern string) ...) > > Then the keys cannot be strings - not an issue in this > "case"... Why not? It works fine for me when `string' is a string. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Thu Feb 04 23:05:47 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRXeV-0002Eh-S5 for mharc-help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 23:05:47 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRXeS-0002Dr-EL for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 23:05:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRXeJ-00042V-PT for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 23:05:44 -0500 Received: from plane.gmane.org ([80.91.229.3]:37609) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRXeJ-00041u-Ib for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 23:05:35 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aRXeI-0003NI-HR for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 05:05:34 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Feb 2016 05:05:34 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Feb 2016 05:05:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: "cl-case" with strings Date: Fri, 05 Feb 2016 05:05:23 +0100 Lines: 24 Message-ID: <87wpqjred8.fsf@debian.uxu> References: <8737t92s6s.fsf@debian.uxu> <56B2ABD6.6030902@yandex.ru> <87d1sdc513.fsf@mbork.pl> <8760y4ruq2.fsf@debian.uxu> <871t8sw014.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:aeIaGQRUBl8PURa6MasfAxGM/jo= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2016 04:05:45 -0000 Marcin Borkowski writes: >>> Or this idiom: (cl-case (intern string) ...) >> >> Then the keys cannot be strings - not an issue in >> this "case"... > > Why not? It works fine for me when `string' is > a string. It works for me too but to me it is rather a hack than idiomatic. I'd like the keys to be strings if the (original) data is. Then the keys/strings are also properly highlighted as strings because that's what they are. Now when I have my defun I don't want to change for this, but had I known of this before, perhaps (?) I wouldn't have written the defun. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Thu Feb 04 23:52:53 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRYO5-0001Nj-3E for mharc-help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 23:52:53 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRYO2-0001N6-NK for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 23:52:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRYNz-0005OE-Hi for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 23:52:50 -0500 Received: from plane.gmane.org ([80.91.229.3]:39972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRYNz-0005O2-BE for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 23:52:47 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aRYNx-0001Fp-10 for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 05:52:45 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Feb 2016 05:52:45 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Feb 2016 05:52:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: "cl-case" with strings Date: Fri, 05 Feb 2016 05:52:34 +0100 Lines: 16 Message-ID: <87oabvrc6l.fsf@debian.uxu> References: <8737t92s6s.fsf@debian.uxu> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:wCXmOpzKAzPAFPqdrhoTzcB0Szc= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2016 04:52:51 -0000 Emanuel Berg writes: > So I wrote this. Non-recursive version - perhaps (?) better: (defun string-case-non-recursive (string &rest clauses) (cl-some (lambda (c) (let ((keys (car c))) (and (or (eq t keys) (member string keys) ) (cadr c) ))) clauses) ) -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Thu Feb 04 23:56:01 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRYR7-000322-MS for mharc-help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 23:56:01 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRYR5-00031M-D6 for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 23:56:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRYR2-0006HM-7s for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 23:55:59 -0500 Received: from mail-lf0-x22a.google.com ([2a00:1450:4010:c07::22a]:32923) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRYR1-0006HH-Ve for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 23:55:56 -0500 Received: by mail-lf0-x22a.google.com with SMTP id m1so50777908lfg.0 for ; Thu, 04 Feb 2016 20:55:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=YT24E2tlXnxI8MlJKo1xnvqBcBge98dnOiUcvl2WW+I=; b=RmI1GedVgZqvlT0t9FfzGKAmDxkEpTovSJIc8hKrrfa1ODHemqHqBO1ahYgmNmXl7P ViUnG6FYF6xJ8B57li4wsLatvppit4T2oqlAQqMSsA4A/iO8Unk7cjHAg1oZADA7LXd/ PAgR5l2ARgIwozV/1LBQOfsuh1pXJU3B1aLHc9i2fMIh0sMgchl0B0YKznK/g0bVNXPL Iqtoa7U7faPYjnnc2GSBqfqNX38lgE61sidjj878WMFI2+vezqtOYf+nI3GnHoZZdH9s 38URFZldm/dZTxm9MQUnOqD6foNVMdtNMZ8VFBHIx0qiyxE83jagIm+WQl1f1oI0YWz4 lJrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=YT24E2tlXnxI8MlJKo1xnvqBcBge98dnOiUcvl2WW+I=; b=hjSJlomdw280s08YtVecr/DbrK5YltvqjAueQKLx14icg4LEIkFntKNmrE7i7X76Zv jJhtRG0G6WimY/Oq9MMzm5RR15491QpF8CIiH/NUDOrHXwyD8JOtWbaveumJ3V0iopIF 1YL2lW2QyMNArejlcp7pDghccznEia7zmZ2NWcbZl+E1DSxq7tifTzUjFue+MFe7JsUj 6bhj+UX0JQKfjkvc6ER5gtPk9nm0RoBxTzeHCHAp1j6Ie14bS4tfk31x74cZ+4zwOirY +kWDb270u9igCCYpV6uUSuljfKOvUBXXy5xMBvqtAXfbqNUfx2M5ncfhkYQAfIaRiCsb qaUQ== X-Gm-Message-State: AG10YORQiGRWB68X9VzT7AxT9lFrykw/VbtJT8EHpNcLHHTcQyM+ZibqNHrVHWmzgpKnhQ== X-Received: by 10.25.163.73 with SMTP id m70mr5195954lfe.20.1454648154636; Thu, 04 Feb 2016 20:55:54 -0800 (PST) Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id dt9sm1951974lbc.47.2016.02.04.20.55.53 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 04 Feb 2016 20:55:53 -0800 (PST) Sender: DG Subject: Re: "cl-case" with strings To: help-gnu-emacs@gnu.org References: <8737t92s6s.fsf@debian.uxu> <56B2ABD6.6030902@yandex.ru> <87d1sdc513.fsf@mbork.pl> <8760y4ruq2.fsf@debian.uxu> <871t8srtcj.fsf@debian.uxu> From: Dmitry Gutov Message-ID: <56B42B59.30708@yandex.ru> Date: Fri, 5 Feb 2016 07:55:53 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Thunderbird/44.0 MIME-Version: 1.0 In-Reply-To: <871t8srtcj.fsf@debian.uxu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::22a X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2016 04:56:00 -0000 On 02/05/2016 01:41 AM, Emanuel Berg wrote: >> (pcase foo ("toto" do-the-toto-thing) ("titi" do-the-titi-thing)) > > Does it work with multiple keys (keylists) as well? (pcase "bar" ("toto" do-the-toto-thing) ((or "foo" "bar") do-the-foobar-thing) ("titi" do-the-titi-thing)) From MAILER-DAEMON Thu Feb 04 23:58:45 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRYTl-0003lm-Sl for mharc-help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 23:58:45 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48824) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRYTj-0003kv-Th for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 23:58:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRYTg-0006zW-NV for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 23:58:43 -0500 Received: from plane.gmane.org ([80.91.229.3]:40268) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRYTg-0006zQ-GY for help-gnu-emacs@gnu.org; Thu, 04 Feb 2016 23:58:40 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aRYTe-0001I9-1K for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 05:58:38 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Feb 2016 05:58:38 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Feb 2016 05:58:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: "cl-case" with strings Date: Fri, 05 Feb 2016 05:58:19 +0100 Lines: 16 Message-ID: <87k2mjrbx0.fsf@debian.uxu> References: <8737t92s6s.fsf@debian.uxu> <56B2ABD6.6030902@yandex.ru> <87d1sdc513.fsf@mbork.pl> <8760y4ruq2.fsf@debian.uxu> <871t8srtcj.fsf@debian.uxu> <56B42B59.30708@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:qNHcRtS+Plg0M3bs1DrqQiTINgs= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2016 04:58:45 -0000 Dmitry Gutov writes: >> Does it work with multiple keys (keylists) as well? > > (pcase "bar" > ("toto" do-the-toto-thing) > ((or "foo" "bar") do-the-foobar-thing) > ("titi" do-the-titi-thing)) Clever! But I still like mine the best! -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Fri Feb 05 00:02:41 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRYXZ-0004nD-Sk for mharc-help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 00:02:41 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRYXX-0004lV-9m for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 00:02:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRYXS-00081e-TY for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 00:02:39 -0500 Received: from mail-lb0-x22f.google.com ([2a00:1450:4010:c04::22f]:36105) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRYXS-00080d-HL for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 00:02:34 -0500 Received: by mail-lb0-x22f.google.com with SMTP id dx2so43342520lbd.3 for ; Thu, 04 Feb 2016 21:02:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=15eidbz964ac1/3TNFGSGjf1fc8Qs5SGqAbKSdn+UVY=; b=eI7YnFFldVZ59ytr6PELnbL+bODB8fSeHDaqlPaL5m+evWPDd+oHrOSABfTwzGnA1c JfQoKVYU/6L8yRgNKOi7OJ/61+AbHqyG3N1M8Ltlb+/TV3HUzDKix5bW+sCANhC/DZVg eVlLX4N5QwVzCGNfnsqMWVanzhlztOpXW2ZoOwtbVCS2uMRIp2eURM8Ieg5YjvAOTrko 2d+unb4yI9mRocy2TjjbGMN+dOzB3pdzVy0diNrGAq8UvWWiji7llhC+JbZb43bxtaw0 LtHXrIom8dDU29UI9kJssuHXjrE9Ann83Dz/4Fx7BjzdqGjyJOFlowPBYbctegZzLmhW +J7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=15eidbz964ac1/3TNFGSGjf1fc8Qs5SGqAbKSdn+UVY=; b=BIfY0dSvnQ7xLvAzaD/8TG59LJ8QLeR4pbnS2owKcjEteSIp9GDGUmkAv6BohSPSew VOzXnFeeZjiRVEpncOwqY1zSHsrSZa0ATjfRLTi1JQP6i35MT5rBH04t93C8/qvZuQX5 DGJWLL4qrNNxCi5hCuaUeqZTzo0nz3t/WZiMaLD+U0+UfIKf5hy4U/U4Q1y6LYuth1hA tHONO57XpeTIEMji6GZq9mT1QEofI8AL53eEResCELw5O6bwe1GR9d1OqeU8VTnIwGwR NS9LwCmU8CHaviIdM0KvbQZEGLdzPvK4jMnO3VkwoFRXtLyIB9Ajy9jV/HY2lke2ufsq v5Jw== X-Gm-Message-State: AG10YORZ4LeKBtMFHkHTr+y5yC090ZEL5OY5lnq0Hdb+oNJQZZ+RZT21eMtTqQQqQLkXfQ== X-Received: by 10.112.61.226 with SMTP id t2mr5225020lbr.33.1454648553755; Thu, 04 Feb 2016 21:02:33 -0800 (PST) Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id d131sm689293lfg.27.2016.02.04.21.02.32 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 04 Feb 2016 21:02:32 -0800 (PST) Sender: DG Subject: Re: "cl-case" with strings To: help-gnu-emacs@gnu.org References: <8737t92s6s.fsf@debian.uxu> <56B2ABD6.6030902@yandex.ru> <87d1sdc513.fsf@mbork.pl> <8760y4ruq2.fsf@debian.uxu> <871t8srtcj.fsf@debian.uxu> <56B42B59.30708@yandex.ru> <87k2mjrbx0.fsf@debian.uxu> From: Dmitry Gutov Message-ID: <56B42CE8.9020409@yandex.ru> Date: Fri, 5 Feb 2016 08:02:32 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Thunderbird/44.0 MIME-Version: 1.0 In-Reply-To: <87k2mjrbx0.fsf@debian.uxu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c04::22f X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2016 05:02:40 -0000 On 02/05/2016 07:58 AM, Emanuel Berg wrote: > But I still like mine the best! Of course you do. ;-) But if you ever write a package to distribute to other users via e.g. ELPA, using pcase would be a smarter choice. From MAILER-DAEMON Fri Feb 05 03:25:45 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRbi5-0003uL-2J for mharc-help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 03:25:45 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRbi2-0003st-0p for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 03:25:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRbhx-0003W1-Ed for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 03:25:41 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:38936) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRbhx-0003Vx-7H for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 03:25:37 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id C19059D2002; Fri, 5 Feb 2016 09:25:35 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jyq4T6HgJ+Q3; Fri, 5 Feb 2016 09:25:32 +0100 (CET) Received: from localhost (unknown [IPv6:2001:808:114:6:a288:b4ff:fe90:5e24]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 751C39D2001; Fri, 5 Feb 2016 09:25:32 +0100 (CET) References: <8737t92s6s.fsf@debian.uxu> <56B2ABD6.6030902@yandex.ru> <87d1sdc513.fsf@mbork.pl> <8760y4ruq2.fsf@debian.uxu> <871t8sw014.fsf@mbork.pl> <87wpqjred8.fsf@debian.uxu> User-agent: mu4e 0.9.13; emacs 25.1.50.1 From: Marcin Borkowski To: Emanuel Berg Subject: Re: "cl-case" with strings In-reply-to: <87wpqjred8.fsf@debian.uxu> Date: Fri, 05 Feb 2016 09:25:25 +0100 Message-ID: <87zivfva16.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2016 08:25:43 -0000 On 2016-02-05, at 05:05, Emanuel Berg wrote: > Marcin Borkowski writes: > >>>> Or this idiom: (cl-case (intern string) ...) >>> >>> Then the keys cannot be strings - not an issue in >>> this "case"... >> >> Why not? It works fine for me when `string' is >> a string. > > It works for me too but to me it is rather a hack > than idiomatic. Well, it was not my idea - I found it somewhere (can't find it right now). I'm not sure whether this is a hack or the proper way to do it; I quite like it personally. > I'd like the keys to be strings if the (original) data > is. Then the keys/strings are also properly > highlighted as strings because that's what they are. Ah, I see now what you meant. > Now when I have my defun I don't want to change for > this, but had I known of this before, perhaps (?) > I wouldn't have written the defun. :-) -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Fri Feb 05 10:33:38 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRiOA-0002DA-3p for mharc-help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 10:33:38 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRiO7-0002Cw-Oj for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 10:33:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRiO4-0003Ia-Jc for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 10:33:35 -0500 Received: from plane.gmane.org ([80.91.229.3]:53667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRiO4-0003I4-CB for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 10:33:32 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aRiO0-0001JJ-P6 for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 16:33:29 +0100 Received: from 114.248.4.107 ([114.248.4.107]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Feb 2016 16:33:28 +0100 Received: from eric by 114.248.4.107 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Feb 2016 16:33:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Eric Abrahamsen Subject: set-slot-value confusion Date: Fri, 05 Feb 2016 23:33:20 +0800 Lines: 24 Message-ID: <87lh6zp3y7.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 114.248.4.107 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:OECDxOFAScTDI+s4GxkKWJhRvTc= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2016 15:33:36 -0000 Here's the *Help* page for `set-slot-value': --8<---------------cut here---------------start------------->8--- set-slot-value is an alias for ‘eieio-oset’. (set-slot-value OBJ SLOT VALUE) This function is obsolete since 25.1; use (setf (slot-value ..) ..) instead Do the work for the macro ‘oset’. Fills in OBJ’s SLOT with VALUE. [back] [forward] --8<---------------cut here---------------end--------------->8--- It's an alias for `eieio-oset', but it also tells me to use (setf (slot-value ..) ..) instead. If I look at the docstring for `eieio-oset', it doesn't tell me to use the `setf/slot-value' combo. So what should we be using instead of `set-slot-value'? E From MAILER-DAEMON Fri Feb 05 11:32:42 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRjJK-0001uu-NN for mharc-help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 11:32:42 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41561) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRjJI-0001rm-6J for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 11:32:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRjJD-0001lr-Sq for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 11:32:40 -0500 Received: from plane.gmane.org ([80.91.229.3]:58977) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRjJD-0001ln-N5 for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 11:32:35 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aRjJB-0002D6-9F for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 17:32:33 +0100 Received: from 69-165-151-222.dsl.teksavvy.com ([69.165.151.222]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Feb 2016 17:32:33 +0100 Received: from monnier by 69-165-151-222.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Feb 2016 17:32:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Stefan Monnier Subject: Re: set-slot-value confusion Date: Fri, 05 Feb 2016 11:32:27 -0500 Lines: 16 Message-ID: References: <87lh6zp3y7.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 69-165-151-222.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:MaHQve3x4OWp/TET9sPMw0BIDV0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2016 16:32:41 -0000 > This function is obsolete since 25.1; > use (setf (slot-value ..) ..) instead [...] > So what should we be using instead of `set-slot-value'? It says right there: (setf (slot-value ..) ..) Stefan PS: `slot-value' (and its setf setter) is part of the CLOS standard, whereas set-slot-value is not. If you like to use EIEIO as an implementation of CLOS, then use slot-value and its setter, whereas if you prefer to use EIEIO as its own library (inspired by EIEIO), then use eieio-* names. From MAILER-DAEMON Fri Feb 05 12:02:48 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRjmS-0004S4-OW for mharc-help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 12:02:48 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRjmO-0004Ls-BI for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 12:02:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRjmJ-00019Y-6A for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 12:02:44 -0500 Received: from plane.gmane.org ([80.91.229.3]:33695) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRjmI-00018x-VW for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 12:02:39 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aRjm5-000072-UZ for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 18:02:26 +0100 Received: from 114.248.4.107 ([114.248.4.107]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Feb 2016 18:02:25 +0100 Received: from eric by 114.248.4.107 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Feb 2016 18:02:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Eric Abrahamsen Subject: Re: set-slot-value confusion Date: Sat, 06 Feb 2016 01:02:12 +0800 Lines: 23 Message-ID: <87h9hnozu3.fsf@ericabrahamsen.net> References: <87lh6zp3y7.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 114.248.4.107 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:GHs+SvEIIYkDU8T2eDP8hPDbE2A= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2016 17:02:45 -0000 Stefan Monnier writes: >> This function is obsolete since 25.1; >> use (setf (slot-value ..) ..) instead > [...] >> So what should we be using instead of `set-slot-value'? > > It says right there: (setf (slot-value ..) ..) Okay, but you see why the docstring is confusing: Function A is an alias for Function B, meanwhile Function A is obsolete (use Function C instead!) while Function B isn't... > PS: `slot-value' (and its setf setter) is part of the CLOS standard, > whereas set-slot-value is not. If you like to use EIEIO as an > implementation of CLOS, then use slot-value and its setter, whereas > if you prefer to use EIEIO as its own library (inspired by EIEIO), > then use eieio-* names. I'll have a think about where my loyalties lie :) Thanks, Eric From MAILER-DAEMON Fri Feb 05 13:20:31 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRkzf-00036W-3F for mharc-help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 13:20:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41994) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRkzc-000363-Gn for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 13:20:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRkzZ-0003Hz-34 for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 13:20:28 -0500 Received: from plane.gmane.org ([80.91.229.3]:40542) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRkzY-0003Hr-T6 for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 13:20:25 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aRkzU-0004Rd-9s for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 19:20:20 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Feb 2016 19:20:20 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 Feb 2016 19:20:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: "cl-case" with strings Date: Fri, 05 Feb 2016 19:20:02 +0100 Lines: 21 Message-ID: <871t8ryq7h.fsf@debian.uxu> References: <8737t92s6s.fsf@debian.uxu> <56B2ABD6.6030902@yandex.ru> <87d1sdc513.fsf@mbork.pl> <8760y4ruq2.fsf@debian.uxu> <871t8srtcj.fsf@debian.uxu> <56B42B59.30708@yandex.ru> <87k2mjrbx0.fsf@debian.uxu> <56B42CE8.9020409@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:4Ob3VulVRoLX3ldErQ7ZFOx8y28= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2016 18:20:29 -0000 Dmitry Gutov writes: > But if you ever write a package to distribute to > other users via e.g. ELPA, using pcase would be > a smarter choice. Yes. By the way, to anyone who by chance didn't know, "yandex.ru" is one of those old 90s Internet "portals". It is like the Russian Passagen (Sweden) or Yahoo!, AltaVista, etc. in the US. But actually Yandex is older so perhaps the comparison should be in the opposite direction... -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Fri Feb 05 13:37:16 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRlFs-0000xW-4w for mharc-help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 13:37:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRlFq-0000wo-05 for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 13:37:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRlFm-0006V3-S4 for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 13:37:13 -0500 Received: from mail-lf0-x230.google.com ([2a00:1450:4010:c07::230]:35714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRlFm-0006Uq-Ir for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 13:37:10 -0500 Received: by mail-lf0-x230.google.com with SMTP id l143so62872735lfe.2 for ; Fri, 05 Feb 2016 10:37:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=moqi+9WmnuO1NZXuQv0SF0Ri3DZHKUjnKWv9xQ0gtbs=; b=ih1jTJemmt7B5z1ghm86tG+iyQpas1fm39diGR2oJTTK8MKxMKpne/fQJ/DtG+oGpf ft/oydopWwX6i80+ywI33hxg4E5mxZtoV3jydUrRY+Pp0I5IPVPbJBJdSbZ3lFHVb9Su 91p4RMWfvlfyMGP9VC27wWxnAynw9nFcNEPbkKr8284cWIkNsakiV2POmQP/0QVZ2BJ3 PVT+U+/NGRYop8fHASPbqBowh+oHSRCMXFGwrBHjyfeTxyJ2UsFZ+W0Dj3LorYeRLppN cB5iWPc/7bQcNXcWZ3isE3nHYZzu7BHF7Rpc7bglGrhzbRPt4fw7gWz0lZtp6lNqcarT J+3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=moqi+9WmnuO1NZXuQv0SF0Ri3DZHKUjnKWv9xQ0gtbs=; b=gXHDG1KuWyPcKTE+FLQIWWdvBOBX7RN08MGn7jWMhTYiReCWbkoYGj5yalc3O3cxi+ Uydon6wD/8lHuODn0vezwP2quhL2j43ZOhmh97ZghOtbJd/WJg4luQ9u+Xd0ceDgfA62 Lj0BjNaKuNm6aTCPI/OaqkctSj1ehtrZrV4bCQsY93Lda0zJh4YGmEOkDWYAodiuUtuI K9+ym/mrRsVqvpnyIZ3o+KlUu78b/2hIzFiEfZ3qNUbbOXUzorFvoojHyWETi62IlSwy lknkGeHWGlLxKp0CUy6ZtNoEv4/mvZ5T+czPFxjxt7CKtncz7rXXVGtIy62e9L5M69Q6 iEWQ== X-Gm-Message-State: AG10YOScEpUKp0hHp9nEd9RNuY/799BUqGvkcHUgc7g2cZfYNcTFHd+NH7cVulbBMBW1yA== X-Received: by 10.25.147.139 with SMTP id v133mr6967038lfd.161.1454697429756; Fri, 05 Feb 2016 10:37:09 -0800 (PST) Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id b5sm2392984lbc.14.2016.02.05.10.37.08 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 05 Feb 2016 10:37:08 -0800 (PST) Sender: DG Subject: Re: "cl-case" with strings To: help-gnu-emacs@gnu.org References: <8737t92s6s.fsf@debian.uxu> <56B2ABD6.6030902@yandex.ru> <87d1sdc513.fsf@mbork.pl> <8760y4ruq2.fsf@debian.uxu> <871t8srtcj.fsf@debian.uxu> <56B42B59.30708@yandex.ru> <87k2mjrbx0.fsf@debian.uxu> <56B42CE8.9020409@yandex.ru> <871t8ryq7h.fsf@debian.uxu> From: Dmitry Gutov Message-ID: <56B4EBD2.2040908@yandex.ru> Date: Fri, 5 Feb 2016 21:37:06 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Thunderbird/44.0 MIME-Version: 1.0 In-Reply-To: <871t8ryq7h.fsf@debian.uxu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::230 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2016 18:37:15 -0000 On 02/05/2016 09:20 PM, Emanuel Berg wrote: > By the way, to anyone who by chance didn't know, > "yandex.ru" is one of those old 90s Internet > "portals". Not really. Maybe it was a "portal" in the 90s and the beginning of 00s. These days it's a search engine not unlike Google, handling about half of all search traffic in Russia. It also has a decent hosted email service. From MAILER-DAEMON Fri Feb 05 18:49:23 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRq7v-0002g3-0o for mharc-help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 18:49:23 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRq7s-0002di-6Y for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 18:49:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRq7r-0002cL-8b for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 18:49:20 -0500 Received: from mail-oi0-x22a.google.com ([2607:f8b0:4003:c06::22a]:36165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRq7r-0002cH-3m for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 18:49:19 -0500 Received: by mail-oi0-x22a.google.com with SMTP id x21so51012559oix.3 for ; Fri, 05 Feb 2016 15:49:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=4P34fUTS3pZ2Lxs0VbwGaCdeCBqQk6X5yQao6XL52r4=; b=zuhRdiE5QVECexBgFfp2/cvzttpLbbEZxoqlg2ogo6zzjFOv77IKUADhOAclBWg1oW jW0VKdmJRnd/H6rSAtA2yP9TYco/83R00npO6HmS/XGR7LY0K5OaGqFYsI8ftvbcFuun NHAInSQOowoglDw0aqCBnnuErgesf/UhcrCk9KOlQQv19oKA/UZI9Xjtx0QcmEQhTBVo IDPzIyweBwXeENs0frAbmd8ARyD1GiF5L7jWjLk5BZKDFV3/ZyR+Gs3nyGmgRK9cBDzv l9A0/oIpuM/ePFqCLD4XH+P2fEt51T3gyoP6FejycGj78qL56aVmcTfOvgyo/K4wPRkv Jovw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=4P34fUTS3pZ2Lxs0VbwGaCdeCBqQk6X5yQao6XL52r4=; b=j97ocdp5duD0KY2ncPL1vXXu4nvAl9XeF7s0VfVoIWknceh8mIf6esMnaZf/nMuLjA 7oq1LUQi/N52mKZ5rW7EtmayWymHxHQwYAaAkXPnkZo5OoXkN9eCFR7dih339DHo45RE hhpVZnV5LNpQJxAJGWeQelxAWcIiNUqaFoMT041ZdsbGu+YdMZ0Fp7NenmUt7GPpK3Ym qorrisDRj5L6x44YfHLzKa+K3BQa/Fhh/anplg6oIyRXwC8VjyY0AxUf8OIT8sDn1GYY SEU9+lE9FfkQiUJHQvGxpxgsXoNZJqLjpBqR7+vW8XxSc4BDC+srMmWGBWRcxCwPoz8A Qh9g== X-Gm-Message-State: AG10YORxP7rnMQwDSLgMHEVLHCJrC4NYQKDT+Oun35lnipENpuWYc8zTMK31+ZB4SZRkHSyljhhc2wXc3tvk+g== X-Received: by 10.202.75.13 with SMTP id y13mr10204933oia.116.1454716158599; Fri, 05 Feb 2016 15:49:18 -0800 (PST) MIME-Version: 1.0 From: Kaushal Modi Date: Fri, 05 Feb 2016 23:49:08 +0000 Message-ID: Subject: Help setting nadvice for indent-region To: Help Gnu Emacs mailing list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c06::22a Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2016 23:49:21 -0000 Hi, I'd like to advice indent-region so that if a region is not select, it indents between (point-min) and (point-max). So I have this: ===== (defun adv/indent-region (args) (when (not mark-active) (setq args (list (point-min) (point-max)))) args) (advice-add 'indent-region :filter-args #'adv/indent-region) ===== This usually works, unless I have just launched a fresh buffer in which there is no mark set. If I do M-: (mark) in that buffer, I get nil. In that case, if I call M-x indent-region (with no region selected), I get this error backtrace: Debugger entered--Lisp error: (error "The mark is not set now, so there is no region") call-interactively(indent-region nil nil) command-execute(indent-region) If it looks like the error is triggered by call-interactively even before the advice gets to do its thing. How can I resolve this using nadvice? Thanks. Kaushal Modi From MAILER-DAEMON Fri Feb 05 18:58:28 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRqGi-0004mY-Aw for mharc-help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 18:58:28 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54448) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRqGf-0004mP-SO for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 18:58:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRqGe-0004IY-QZ for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 18:58:25 -0500 Received: from mail-oi0-x22c.google.com ([2607:f8b0:4003:c06::22c]:35660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRqGe-0004IU-JF for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 18:58:24 -0500 Received: by mail-oi0-x22c.google.com with SMTP id s2so51607720oie.2 for ; Fri, 05 Feb 2016 15:58:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=CwCoSGPBqVH6XeNgwF8bnaY9tOINtsNTm7sNdncMRtM=; b=aS1JT81/t168n3CueZDuze7qoIcA3kKf64Gv6ZXEVpoDymjuefQ78gz0hMQWokTsVe 509mt6ldt1J5O0FkPZZPk0KSQx2Z9g9PjYURsiJVhBCgch+hPUEobPj591SBzYxyusBo T2UgaNtMMr9rQfYXwsvSEAZFbaWvpobEdL4xduxzSzBVyUWOgNotHAGNq4p6qcwITC7s GQSQQOsWIxBQC4NmDbwi5u+qN0SdVEOF/JHj+vZhnDZ+juglQh2OBiD3ZckEX49X/ne1 qEYQllpNXYAM+OumAtHfnRl2Q5hMM0A2lIw5aQbLRlaHpEIxva3EjCQ5+ci+hN4Tzx5V NhOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=CwCoSGPBqVH6XeNgwF8bnaY9tOINtsNTm7sNdncMRtM=; b=C1twgzBK7XLGUimhkiWm/dDwZR4CqQg0XPlnuBK0hcqOqMpf+6TVgFQEfSSVTh26oo ZqqldnralgJSOm6wtWQXIKcrwq162LcumT3ImbMu6j6ScX1aFIIzNluMeiW9Kecxlou6 2qe7ShsoegIX/DKLpdOAcPM/q38W3ovB//TOzUDNtb45plKvWepTlHIV+AOs0c7WD/qK YsDx98sr2yi1+ykyU/TQsGySK7uwzoKle6MzoV1Cgam5R+iHoF4QTWSq0sV95ZPjsUEg ygAvXAlPxBWvvdepzdCytluvxS5c/Kw6jIbpVSp9EVBjgLsYxu45TYbocSnSQTnh0JOq J7Cw== X-Gm-Message-State: AG10YORzj2RYnMtpvd2v6vp6o1dfbTqFIY7QfA2gjksMwTqY2SvM+syjmktur/80L214Pasu96f+4W4WsXkKSw== X-Received: by 10.202.75.13 with SMTP id y13mr10224523oia.116.1454716703882; Fri, 05 Feb 2016 15:58:23 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Kaushal Modi Date: Fri, 05 Feb 2016 23:58:14 +0000 Message-ID: Subject: Re: Help setting nadvice for indent-region To: Help Gnu Emacs mailing list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c06::22c Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2016 23:58:26 -0000 Aha.. looks like the check_mark in callint.c is raising the error even before the advice sets the args as the call_interactively's 'r' case is activated. That's because indent-region has (interactive "r\nP"). So looks like I'll need to advice the whole interactive? What would be a better solution? On Fri, Feb 5, 2016 at 6:49 PM Kaushal Modi wrote: > Hi, > > I'd like to advice indent-region so that if a region is not select, it > indents between (point-min) and (point-max). > > So I have this: > > ===== > > (defun adv/indent-region (args) > (when (not mark-active) > (setq args (list (point-min) (point-max)))) > args) > (advice-add 'indent-region :filter-args #'adv/indent-region) > > ===== > > This usually works, unless I have just launched a fresh buffer in which > there is no mark set. > > If I do M-: (mark) in that buffer, I get nil. > In that case, if I call M-x indent-region (with no region selected), I get > this error backtrace: > > Debugger entered--Lisp error: (error "The mark is not set now, so there is > no region") > call-interactively(indent-region nil nil) > command-execute(indent-region) > > If it looks like the error is triggered by call-interactively even before > the advice gets to do its thing. > > How can I resolve this using nadvice? > > Thanks. > > Kaushal Modi > From MAILER-DAEMON Fri Feb 05 19:00:26 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRqIc-0005sz-R1 for mharc-help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 19:00:26 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRqIZ-0005rz-U2 for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 19:00:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRqIZ-0004po-1q for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 19:00:23 -0500 Received: from mail-ob0-x22a.google.com ([2607:f8b0:4003:c01::22a]:36094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRqIY-0004pd-Qa for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 19:00:22 -0500 Received: by mail-ob0-x22a.google.com with SMTP id ba1so102924487obb.3 for ; Fri, 05 Feb 2016 16:00:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=/8jl266epopYNvZZfNn1LyqhVb00oAjr2svPaKR7jGg=; b=dGGWFV92aRQ4XzH+o4XvjzOVcR/C/ZUQ/QHI2qJiNdd7w+Ni6GtQJD4sBXn85TIyR9 kk1B2riCZteA1dQ7pWDUjm+Omj3wP/+ZdvcrHI+16RHcegyMjl6CHKGb08vF+g81vrW7 b8OLzg2xtae6xKDDorTCnUn1MHjhtW5rb+I9V83rIeF0RWZC5H9c0IPaNXlDhjltJ2yP dsQ5WburTMR3kOMX4fSHAiqqbJKHvROfjZgxQPhMalqRjtXZ0qTnyTzy+2exzAyaioIr pdSVCm8ssdfzZYwAYycys6IF9QU0lTMxjj8WYOQR1UpzMV8YXYP6LCd0QdrjhVzFxxnX htCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=/8jl266epopYNvZZfNn1LyqhVb00oAjr2svPaKR7jGg=; b=cYNlUezCSfUqJDZ3BlKnczB2lnSiafTLI91uO3z4wV6rRsA8vXH63eGSXrhJ8kxH8I Ow5no1ExVj8HjYFK3y+mlQuhBse66n66tlxhtNBqQ8A9cI+j1uGT2G6kFoq8XQKVnGY1 PzImWoHhtPuBii+U6B0+MkxM35KnFUUVJHHfd96wufHw2d1JzENBswg4jwhXWbTvALkx MWmBf8AtQvYtHkhPsWB1hnnI17I1iVJxMCKb0XRle/68OLILkVU9H39p4GrmMafIQVrN zYOABcCwg7Xefrulp0k1uZ9e9m6POPiOBJelC/mXz8t8VD6Tmmqpo5yVbtqN1v2ABKw5 Fb8w== X-Gm-Message-State: AG10YOR4t2onlGYqbOLr+5yAOc01iezFqmQSUgSpuagQh20MRpBGrZo71krU2GDUfphcCHDRM8k2w/BWgEPasg== X-Received: by 10.60.57.134 with SMTP id i6mr14406338oeq.11.1454716822228; Fri, 05 Feb 2016 16:00:22 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Kaushal Modi Date: Sat, 06 Feb 2016 00:00:12 +0000 Message-ID: Subject: Re: Help setting nadvice for indent-region To: Help Gnu Emacs mailing list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c01::22a Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Feb 2016 00:00:25 -0000 Neat, I hit a brick-wall there. Advising interactive gives: "advice--normalize: Advice impossible: interactive is a special form" On Fri, Feb 5, 2016 at 6:58 PM Kaushal Modi wrote: > Aha.. looks like the check_mark in callint.c is raising the error even > before the advice sets the args as the call_interactively's 'r' case is > activated. That's because indent-region has (interactive "r\nP"). > > So looks like I'll need to advice the whole interactive? What would be a > better solution? > > On Fri, Feb 5, 2016 at 6:49 PM Kaushal Modi > wrote: > >> Hi, >> >> I'd like to advice indent-region so that if a region is not select, it >> indents between (point-min) and (point-max). >> >> So I have this: >> >> ===== >> >> (defun adv/indent-region (args) >> (when (not mark-active) >> (setq args (list (point-min) (point-max)))) >> args) >> (advice-add 'indent-region :filter-args #'adv/indent-region) >> >> ===== >> >> This usually works, unless I have just launched a fresh buffer in which >> there is no mark set. >> >> If I do M-: (mark) in that buffer, I get nil. >> In that case, if I call M-x indent-region (with no region selected), I >> get this error backtrace: >> >> Debugger entered--Lisp error: (error "The mark is not set now, so there >> is no region") >> call-interactively(indent-region nil nil) >> command-execute(indent-region) >> >> If it looks like the error is triggered by call-interactively even before >> the advice gets to do its thing. >> >> How can I resolve this using nadvice? >> >> Thanks. >> >> Kaushal Modi >> > From MAILER-DAEMON Fri Feb 05 19:30:41 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRqlt-0005ZQ-FD for mharc-help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 19:30:41 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRqlr-0005YB-Dw for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 19:30:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRqlo-00031v-38 for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 19:30:39 -0500 Received: from plane.gmane.org ([80.91.229.3]:37973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRqln-00031r-SZ for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 19:30:36 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aRqli-0000Fz-Ro for help-gnu-emacs@gnu.org; Sat, 06 Feb 2016 01:30:30 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Feb 2016 01:30:30 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Feb 2016 01:30:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Help setting nadvice for indent-region Date: Sat, 06 Feb 2016 01:30:25 +0100 Lines: 21 Message-ID: <878u2yof32.fsf@debian.uxu> References: Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:B52+JnnDLrPY7jucCnYOxfBsv7Y= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Feb 2016 00:30:40 -0000 Kaushal Modi writes: > So looks like I'll need to advice the whole > interactive? What would be a better solution? Advices are always tricky. Instead I'd do something like this: (defun indent-region-dwim () (interactive) (if mark-active (indent-region (mark) (point)) (indent-region (point-min) (point-max) ))) And then rebind shortcuts, or use this method: (define-key (current-global-map) [remap w3m-quit] #'no-confirm-w3m-quit) -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Fri Feb 05 21:39:41 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRsmj-0006Fa-0S for mharc-help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 21:39:41 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRrcV-0005cV-0G for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 20:25:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRrcU-0006Pu-2d for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 20:25:02 -0500 Received: from mail-ig0-x22c.google.com ([2607:f8b0:4001:c05::22c]:34784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRrcT-0006PZ-Un for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 20:25:02 -0500 Received: by mail-ig0-x22c.google.com with SMTP id ik10so53128378igb.1 for ; Fri, 05 Feb 2016 17:25:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=WI9tZvra7AkFJxgya93Q6AkyDsgC6AkeWMRNDeDfa5Y=; b=luPzSivlqX+jw/GsFjXIJsuSfck8/4LO5e/TVQ54GFHeERg0qqf4W4LIe9A7SAqI+w MwsZB1znH646uqYE85yFEUH+w0v47XIFbnJ8hUT1QZ2/B1JpTDeKXaRc+H7G87elHdez /O30tYeeJAMClSjynrxtI/FQ/qqxspAX4WOEqrc6UhvmZw4tY0HQMKUpWjKwx88W3UGC e90GthBjvHsy5iL7sPoaoNXR/7PY+ujYcFtZKlEFoJVj2U7XJ2+rmWcU6gnlEZCMYpv7 Xeab4HaIyQCGQ/Sgs5ujEvO9A5wuNWccIJL2byb3E2js+ubugyDyBwbagQuddcwdfokv Sl0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=WI9tZvra7AkFJxgya93Q6AkyDsgC6AkeWMRNDeDfa5Y=; b=ZKJzTjA1blSs4Q9Csdukm2NwCAh5oph/Sjbk69tbY0wMnSGq16EzDFfruYkjdMXwi1 7RRbFdEIObQ8GzRjbS1f0GZiCNww+6JSrDCeVZr9NZWSxnT8lUbZiv1njAi2nizr5L6/ 2XBHqzVq9Mo0yGxgRUz7j0aagxXDHeUp313ZObx7nJM16yJZOs/Gve2KDYySXH7OjiAf 28VhwRV2KcMNRf7p+uC0q7hj7WuD4w7H3uW9CqrpzT/c9QVYXgkm9CNGPemHcX/cYnaC isJu2hYdFDR24irbSkFpABmEj0ZBOeETxlPq7ntlj8pD3U4FeI6HbfdMU5eT2iJUJyw/ u2Sg== X-Gm-Message-State: AG10YOTUIDwPDojA0fGhTCeopo0f1ZGtvFkP8U3KDJIMYRY5EFt95qDfxdVQXTm2NON13Z4OzTViWN4vBsfEaQ== X-Received: by 10.50.225.35 with SMTP id rh3mr17084333igc.30.1454721901347; Fri, 05 Feb 2016 17:25:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.227.131 with HTTP; Fri, 5 Feb 2016 17:24:31 -0800 (PST) From: Gregory Fong Date: Fri, 5 Feb 2016 17:24:31 -0800 Message-ID: Subject: continuing indentation in for loop condition in cc-mode To: help-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4001:c05::22c X-Mailman-Approved-At: Fri, 05 Feb 2016 21:39:39 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Feb 2016 01:25:04 -0000 Hello all, I was trying to figure out how to adjust indentation in a for loop in emacs like so: for (int i = 0; i < 5; ++i) { } but I can't seem to find an offset that adjusts this parameter. c-show-syntatic information just shows these as being a statement. Emacs will default to align with the first item in the condition: for (int i = 0; i < 5; ++i) { } I can't imagine that I'm the only person who has tried to change this, but it's surprisingly difficult to search for answers. The closest thing to a solution I've found is https://lists.gnu.org/archive/html/help-gnu-emacs/2008-02/msg00791.html , but it doesn't seem to change anything and I'm a bit out of my depth trying to debug it. If anyone has any thoughts on how to change the indentation to match the style above, would very much appreciate the help :-). Any starting point would be good, I'm just not sure where to go beyond modifying items in the c-offsets-alist. Thanks and regards, Gregory From MAILER-DAEMON Fri Feb 05 21:48:38 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRsvO-00084v-TN for mharc-help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 21:48:38 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRsvM-00083h-Gh for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 21:48:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRsvJ-00062p-9y for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 21:48:36 -0500 Received: from plane.gmane.org ([80.91.229.3]:44992) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRsvJ-00062l-3Z for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 21:48:33 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aRsvH-00052F-4Z for help-gnu-emacs@gnu.org; Sat, 06 Feb 2016 03:48:31 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Feb 2016 03:48:31 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Feb 2016 03:48:31 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: continuing indentation in for loop condition in cc-mode Date: Sat, 06 Feb 2016 03:48:24 +0100 Lines: 40 Message-ID: <87k2mimu4n.fsf@debian.uxu> References: Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:u7BY7IrgoC6lz/EpSt/NRL6bEiE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Feb 2016 02:48:37 -0000 Gregory Fong writes: > for (int i = 0; > i < 5; > ++i) > { > } > > but I can't seem to find an offset that adjusts this > parameter. c-show-syntatic information just shows > these as being a statement. > > Emacs will default to align with the first item in > the condition: > > for (int i = 0; > i < 5; > ++i) > { > } > > I can't imagine that I'm the only person who has > tried to change this, but it's surprisingly > difficult to search for answers. Why is that so surprising? I'd say most people would agree with the Emacs default. Doesn't it make the most sense as well? And, for such a basic for loop, why not put everything on the same line? for (int i = 0; i < ARRAY_SIZE; i++) { ... } -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Fri Feb 05 22:31:50 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aRtbC-0007YA-9A for mharc-help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 22:31:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRtb9-0007Xg-H3 for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 22:31:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRtb8-0006k8-G5 for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 22:31:47 -0500 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:34065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRtb8-0006k3-8r for help-gnu-emacs@gnu.org; Fri, 05 Feb 2016 22:31:46 -0500 Received: by mail-wm0-x22c.google.com with SMTP id 128so93492646wmz.1 for ; Fri, 05 Feb 2016 19:31:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=IU+zvBmH/6ZQmYQM/z/W1HHz179H+JZHNIpTB4Vn/gw=; b=NNZPwiX6JKaSaQFbwGjWIeh/UEKFOvJ7fZ/DigRAY0RBloSGxOyxD9Kp9m7bCmrYIH Tl9x24XSQ4Cv04ILt4PoGQPVH2qDc4RHKyivfNt08qYiOLYr+K60WCXx65fH+po4WDrb SQf46z01DbYgbHJKb/FzGvqtQqrPvrtg81uhi+jrpAxY9epmx3bwJP+MLoYZD8zQz2cJ F5DvAK3hrhknsPSj81Qy4O375pK6Cw22fIcZWlK1k4u1VHpNfAz2lKzrZsll9/GZlzqj i3/Ir+dscPuRnSXKczNHSjRWkth+kf6LHIS8OdveuvJBh1LPUb5XA4OtBV4otfUhtamX /XLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=IU+zvBmH/6ZQmYQM/z/W1HHz179H+JZHNIpTB4Vn/gw=; b=XTNCh8yPwzZFy9eAc95gKmfduHou4UYqNIuFhVVgwL9jdCv/QbZ8qxAPJZpjb6rMqt f6bjMuV+UjumT5Nx28zBJOqASiir+AnPSpDiuayhsYbL7TaW1NXVMSeo/JdpNudX/yW+ VylWICqlXY+BYYG5MYTHA1TvVfw0lvp5pKb7xEV7X8/qOf3TgpietWZexkcH4XJ7j6HR 427RXNR9jLkMBxmsY2vsO/iluCqFAu/QkUfnuZkJQCB5MLQP2ELCM1qX7aGAfzKOzGhf 3NVWiHq/NFuPZ3Z4WqEvFna185OdlGj6bhBhtLqWZcdXdqy4hYW3nsd19m6mA+hxDPTi nNlQ== X-Gm-Message-State: AG10YOS7lqJEkhvLtpdkCWv+IMTgxH0O0s6rRcyjeoCzETPFWBm4WOq8h+UMXLnkLd7Zbrpxb1p6nhSkuEi38g== X-Received: by 10.28.61.70 with SMTP id k67mr19852284wma.90.1454729505462; Fri, 05 Feb 2016 19:31:45 -0800 (PST) MIME-Version: 1.0 References: <878u2yof32.fsf@debian.uxu> In-Reply-To: <878u2yof32.fsf@debian.uxu> From: Kaushal Modi Date: Sat, 06 Feb 2016 03:31:35 +0000 Message-ID: Subject: Re: Help setting nadvice for indent-region To: Help Gnu Emacs mailing list , embe8573@student.uu.se X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22c Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Feb 2016 03:31:48 -0000 On Fri, Feb 5, 2016 at 7:30 PM Emanuel Berg wrote: > Advices are always tricky. Instead I'd do something > like this: > > (defun indent-region-dwim () > (interactive) > (if mark-active > (indent-region (mark) (point)) > (indent-region (point-min) (point-max) ))) > > And then rebind shortcuts, or use this method: > > (define-key (current-global-map) [remap w3m-quit] > #'no-confirm-w3m-quit) > Thanks Emanuel. What you suggested was my plan B and that's what I have executed now. I have taken your idea to create a generic "region or whole" function generator. https://github.com/kaushalmodi/.emacs.d/blob/b013406a864de46f0fb479e339b04945f8f01351/setup-files/setup-editing.el#L686-L716 To all, I am still curious to know if it is possible to achieve the same using nadvice. If not, then is it an advice limitation that we cannot override the nature of interactive function arguments? In this case, looks like we cannot call indent-region with nil args even though we have an advice designed to set those args automatically to non-nil values. From MAILER-DAEMON Sat Feb 06 05:43:38 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aS0L3-0001eC-Un for mharc-help-gnu-emacs@gnu.org; Sat, 06 Feb 2016 05:43:37 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aS0L1-0001dC-7I for help-gnu-emacs@gnu.org; Sat, 06 Feb 2016 05:43:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aS0Ky-00019X-2h for help-gnu-emacs@gnu.org; Sat, 06 Feb 2016 05:43:35 -0500 Received: from plane.gmane.org ([80.91.229.3]:56865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aS0Kx-00018c-Rw for help-gnu-emacs@gnu.org; Sat, 06 Feb 2016 05:43:31 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aS0Ku-00015f-L0 for help-gnu-emacs@gnu.org; Sat, 06 Feb 2016 11:43:28 +0100 Received: from dslb-092-074-178-250.092.074.pools.vodafone-ip.de ([92.74.178.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Feb 2016 11:43:28 +0100 Received: from michael_heerdegen by dslb-092-074-178-250.092.074.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Feb 2016 11:43:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Michael Heerdegen Subject: Re: Help setting nadvice for indent-region Date: Sat, 06 Feb 2016 11:43:20 +0100 Lines: 9 Message-ID: <87a8ne2k6v.fsf@web.de> References: Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-074-178-250.092.074.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) Cancel-Lock: sha1:1MHdR8xrpglIcdbVCsLvtAUrAt4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Feb 2016 10:43:36 -0000 Kaushal Modi writes: > How can I resolve this using nadvice? Just specify an alternative interactive form in adv/indent-region. I would change it into the :around type then, though. Michael. From MAILER-DAEMON Sat Feb 06 17:12:58 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSB6A-0000tB-7g for mharc-help-gnu-emacs@gnu.org; Sat, 06 Feb 2016 17:12:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSB68-0000t4-NO for help-gnu-emacs@gnu.org; Sat, 06 Feb 2016 17:12:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSB65-000402-Hh for help-gnu-emacs@gnu.org; Sat, 06 Feb 2016 17:12:56 -0500 Received: from outbound-relay1.guardedhost.com ([2607:fe90:1:1::201]:25413) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSB65-0003yu-9G for help-gnu-emacs@gnu.org; Sat, 06 Feb 2016 17:12:53 -0500 Received: from ten-mx02.omnis.com (ten-mx02.omnis.com [216.239.133.142]) by outbound-relay.guardedhost.com (Postfix) with ESMTP id 3pySXs2LY4z3xPR for ; Sat, 6 Feb 2016 22:12:45 +0000 (GMT) Received: from engels.histomat.net (unknown [32.210.114.254]) (Authenticated sender: brownh@historicalmaterialism.info) by ten-mx02.omnis.com (Postfix) with ESMTPSA id 3pySXr1dnCzyjJ for ; Sat, 6 Feb 2016 22:12:44 +0000 (GMT) Received: from haines by engels.histomat.net with local (Exim 4.80) (envelope-from ) id 1aSB5t-0000aF-Ti for help-gnu-emacs@gnu.org; Sat, 06 Feb 2016 17:12:41 -0500 Date: Sat, 6 Feb 2016 17:12:41 -0500 From: Haines Brown To: help-gnu-emacs@gnu.org Subject: pinyin character input Message-ID: <20160206221241.GL8496@engels.historicalmaterialism.info> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: GNU/Linux 3.2.0-4-686-pae Debian Wheezy X-URL: www.historicalMaterialism.info User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: haines@engels.historicalmaterialism.info X-SA-Exim-Scanned: No (on engels.histomat.net); SAEximRunCond expanded to false X-Virus-Scanned: clamav-milter 0.98.6 at ten-mx02.omnis.com X-Virus-Status: Clean X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse-Id: 49394ac1-e5af-4a68-a3a8-a3c7f9801165 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 2607:fe90:1:1::201 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Feb 2016 22:12:57 -0000 Sorry for this naive question. I am using chinese-py input method, but there is a character I cannot generate. It is ji (first tone), a polite address to a woman. When I enter "ji", the character I want is not an option. Is this a font limitation or should I be entering the "ji" somehow with the first tone? From MAILER-DAEMON Sat Feb 06 22:13:07 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSFmd-0005Di-2Z for mharc-help-gnu-emacs@gnu.org; Sat, 06 Feb 2016 22:13:07 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52841) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSFmb-0005DG-59 for help-gnu-emacs@gnu.org; Sat, 06 Feb 2016 22:13:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSFma-0000T7-8p for help-gnu-emacs@gnu.org; Sat, 06 Feb 2016 22:13:05 -0500 Received: from mail-ob0-x233.google.com ([2607:f8b0:4003:c01::233]:34736) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSFma-0000T3-3c for help-gnu-emacs@gnu.org; Sat, 06 Feb 2016 22:13:04 -0500 Received: by mail-ob0-x233.google.com with SMTP id wb13so121340310obb.1 for ; Sat, 06 Feb 2016 19:13:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=YNtxUc4HJf6bLUQ70GpWF0HYLoV+nrp1swR+Dv9ul9E=; b=HX6qfoafUldVy/pWAHbV0mSNNbL3tSaEpNhNE1LN7cBDH/MiXDrzVQlAqjmdYQ0SnF pJWQec8tVd8KYEL+XNMmqPUsH4vKct5vb9Zuz0Si1GXV/G6idYg8IB62CbcELHYiQyQS yNcFmoxnknw3x8qNq9NDAXb3Z1x3YZHycSA6h2ZX710XSDeJB8YgYIgDK10s50GvDnbM f8SwQXgdOlOHUgwN9uiUbM/ysE9U3d3VhSXNAattsBMjr4DONI0IDnILnLzLDuT44qsE lrXHbCvXiWMWGWkgFkKg2toBLIjfe40XgAn9gk9s1Mi+0T2MvwMR8NxdDzCriwCup0Ul solg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=YNtxUc4HJf6bLUQ70GpWF0HYLoV+nrp1swR+Dv9ul9E=; b=FDs9h0CiMXy0htOzTx1Sy7L3IWl1KCTDJOZgM0URjk8AG7YL+/OhBppji9csXEPjgE HkmwS/YZmCojS/+Zsl7vlhzGx/YvkX72oSD3BezUYUNKM6/uaO5SsOdu/OisnyQGwiHJ bmmBx6zhd3rstPR1YSiyh+A0l5BewekJ7pc5uXdkIFTWzSNNDom5pEHAefry1VxJyLVp js8ZHEkBFfIu1H18E9PpnMnAZSluONg05S1dXpcfGt1WQiqxHSdfom04rtpGxhD/hLex UsG37yISPB+OEnBJfcG4X3ngdgSJQVnnQcXBDE55S7rijmNAl0JKCm74dfmoxHvc+Ofc jdZA== X-Gm-Message-State: AG10YOTxlX38SbgLYMoSv5j6+WHSHXxQmMswbSAKKV1nrDr8+wS8fmRQJJlRVbBInUHHdiFIQr5a9UM7XxTnuA== X-Received: by 10.60.178.180 with SMTP id cz20mr18141089oec.15.1454814783517; Sat, 06 Feb 2016 19:13:03 -0800 (PST) MIME-Version: 1.0 References: <87a8ne2k6v.fsf@web.de> In-Reply-To: <87a8ne2k6v.fsf@web.de> From: Kaushal Modi Date: Sun, 07 Feb 2016 03:12:53 +0000 Message-ID: Subject: Re: Help setting nadvice for indent-region To: Michael Heerdegen , help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c01::233 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2016 03:13:06 -0000 On Sat, Feb 6, 2016 at 5:43 AM Michael Heerdegen wrote: > Just specify an alternative interactive form in adv/indent-region. I > would change it into the :around type then, though. > Thanks! That worked! (defun adv/indent-region (orig-fn &rest args) (interactive) (if mark-active (setq args (list (region-beginning) (region-end))) (setq args (list (point-min) (point-max)))) (message "Args: %S" args) (apply orig-fn args)) (advice-add 'indent-region :around #'adv/indent-region) From MAILER-DAEMON Sun Feb 07 00:37:45 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSI2b-0000VV-2E for mharc-help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 00:37:45 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41934) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSI2Y-0000VO-ON for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 00:37:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSI2V-0005hb-Il for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 00:37:42 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:39480) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSI2V-0005hW-C8 for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 00:37:39 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aSI29-0005On-AT; Sun, 07 Feb 2016 06:37:18 +0100 From: Lars Ingebrigtsen To: Nikolai Weibull Subject: Re: =?windows-1252?Q?Gmail=92s?= \Muted label in Gnus References: Date: Sun, 07 Feb 2016 16:37:11 +1100 In-Reply-To: (Nikolai Weibull's message of "Sat, 9 Jan 2016 10:11:57 +0100") Message-ID: <87y4axcc8o.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-MailScanner-ID: 1aSI29-0005On-AT X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1455428238.22099@CbJOgutzrSKnL+aYxuDqoQ X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 Cc: Emacs Users X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2016 05:37:43 -0000 Nikolai Weibull writes: > I actually figured it out, sort of. I=92m sure there are better ways of > handling it, perhaps the + and - should be sent using > nnimap-send-command, but this, at least, works. As only muting part > of a thread will confuse Gmail, we select all articles belonging to a > thread that in one way or another has been included by > gnus-summary-work-articles. Then we add \Muted and remove \Inbox. > Finally, to make it clear that something happened in Gnus, we kill the > thread. It=92d perhaps be better if we could use a custom mark, but I > couldn=92t figure out if that was OK to do. > > (defun now-gnus-summary-mute-articles (n) > (interactive "P") > (let (articles root-articles) > (dolist (article (gnus-summary-work-articles n)) > (unless (member article articles) Looks good. Do you have FSF copyright assignment papers on file? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From MAILER-DAEMON Sun Feb 07 02:43:36 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSK0O-0004uN-CJ for mharc-help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 02:43:36 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSK0M-0004tT-0K for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 02:43:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSK0I-0006NU-RM for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 02:43:33 -0500 Received: from mail.tuxteam.de ([5.199.139.25]:56510 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSK0I-0006Mz-LR for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 02:43:30 -0500 Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1aSJSc-0000RF-GQ for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 08:08:42 +0100 Date: Sun, 7 Feb 2016 08:08:42 +0100 To: help-gnu-emacs@gnu.org Subject: Re: pinyin character input Message-ID: <20160207070842.GA636@tuxteam.de> References: <20160206221241.GL8496@engels.historicalmaterialism.info> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit In-Reply-To: <20160206221241.GL8496@engels.historicalmaterialism.info> User-Agent: Mutt/1.5.21 (2010-09-15) From: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2016 07:43:35 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, Feb 06, 2016 at 05:12:41PM -0500, Haines Brown wrote: > Sorry for this naive question. > > I am using chinese-py input method, but there is a character I cannot > generate. It is ji (first tone), a polite address to a woman. When I > enter "ji", the character I want is not an option. Is this a font > limitation or should I be entering the "ji" somehow with the first tone? I shouldn't be saying anything, because I'm far out of my depth here, but hey... To try to localize the character you're talking about, I went to some Wikipedia page [1]. The best match I found there (by some secret, undisclosed fuzzy matching, because revealing the details would be too embarrasing) was ~姬~姬jī A suffix used for a female friend, maiden. "Guniang" (Chinese: 姑娘; pinyin: gūniang) is sometimes used. (note: Chinese characters might be mangled; my terminal font can't display them). Copying that from the browser and yanking into Emacs produces a pretty similar ideograph, so it seems I was onto something. Putting mark there and typing "M-x describe-char" gives a lot of info. The relevant tidbit: to input: type "ji1" with chinese-tonepy input method So try switching to "chinese-tonepy" and entering "ji1"? Perhaps you'll find some useful hints in the above chaos; then at least there is some use for me having made a fool of myself ;-) [1] https://en.wikipedia.org/wiki/Chinese_honorifics#Other_prefixes_and_suffixes - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAla27XoACgkQBcgs9XrR2kZ7bACfXIxpEhz/fQ+JdpASGgCpV4o3 MlEAnAiWXKdr63F9gAQ8oGPjl8oCA6uC =rV78 -----END PGP SIGNATURE----- From MAILER-DAEMON Sun Feb 07 10:59:09 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSRjx-0008BY-M3 for mharc-help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 10:59:09 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSRjt-00086e-4h for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 10:59:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSRjp-0001e1-71 for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 10:59:05 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSRjp-0001dx-3X; Sun, 07 Feb 2016 10:59:01 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4046 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aSRjm-00069N-CH; Sun, 07 Feb 2016 10:59:00 -0500 Date: Sun, 07 Feb 2016 17:58:39 +0200 Message-Id: <83io20sea8.fsf@gnu.org> From: Eli Zaretskii To: Lars Ingebrigtsen In-reply-to: <87y4axcc8o.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun, 07 Feb 2016 16:37:11 +1100) Subject: Re: =?windows-1252?Q?Gmail=92s?= \Muted label in Gnus References: <87y4axcc8o.fsf@gnus.org> MIME-version: 1.0 Content-type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Eli Zaretskii List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2016 15:59:07 -0000 > From: Lars Ingebrigtsen > Date: Sun, 07 Feb 2016 16:37:11 +1100 > Cc: Emacs Users > > > (defun now-gnus-summary-mute-articles (n) > > (interactive "P") > > (let (articles root-articles) > > (dolist (article (gnus-summary-work-articles n)) > > (unless (member article articles) > > Looks good. Do you have FSF copyright assignment papers on file? Yes, he does. Thanks. From MAILER-DAEMON Sun Feb 07 12:47:07 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSTQQ-00025F-OS for mharc-help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 12:47:06 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSTQO-00023I-4A for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 12:47:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSTQN-0000vp-99 for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 12:47:04 -0500 Received: from mail-ob0-x243.google.com ([2607:f8b0:4003:c01::243]:33512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSTQN-0000va-3r for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 12:47:03 -0500 Received: by mail-ob0-x243.google.com with SMTP id o4so5661173obb.0 for ; Sun, 07 Feb 2016 09:47:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=qtqaWfH2rkdnptbnWLG8w6YBJpyhc4tD3M24roa7QZY=; b=T+1EWpyg2r4m6fFfUH7iwH13MueljShbDCYF6rBjElz9dWNdnU2gJ5JxAFQZkgGIAI rAPpCZZAZthtINgHFF7awDwCgS2y3mFaK7f8wJBy2AuQwyPiaIIMx0KPEgf1jsK2Wm4m 6806sOX2lJ0kkp2GHB26fQQNHd/9skkIkM3j3fCNgZ3sXspQryX58OZw7PmBCcFut7Al WnNqyWjYe4HM7HwEaSJPqFicDpXiU8PpZN6JG+8lftoNf0CETf6Dlh0AWok3LjctLKuE 103TdbASl7NAg/oLLEtsgWbj/NaXTEfTVJikymIIX/NQoBwBDxq6CuBtxYVCFNpLzfhj kj1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=qtqaWfH2rkdnptbnWLG8w6YBJpyhc4tD3M24roa7QZY=; b=AZ8qrTCGIVvboHRhe4iTFer4XfNm1BEtELDUJTandYzplt0Bt5UntY5LcmdXTdtmNj YHsiQIHyx+KczgXmV00uJCIV0zX08fldgPulTnMjUs1D1SsVKy6+v5aWXtje73D3VOGY O36Qp0Ak3dhMtBcIyBSqecBFRACxlzKCIgts3zpe7+A6R9GiZgLIIQfp1Vhizh0JX3m2 yqGb0+OPpzw1xTnh/ASg3vtrG6o3LFfNjP5Lm+HhOqrZqVIka4wcTlr2Pb7fAKfBbtYT 6IoCrpeZEajd0XrkVGdY5rx+RzVj1d2X60kdVs89mORQ6DYxAtKyspS7R+1aT9PZr8sG TNxg== X-Gm-Message-State: AG10YOSwhbB6noM+nybJZtZcKmiSow8v6QOWhy6Z4WkjVU/xLcP/okCAR2nBpH+6FSKWthVRFlcMpsCzgJXMZA== X-Received: by 10.182.241.134 with SMTP id wi6mr20103126obc.81.1454867222604; Sun, 07 Feb 2016 09:47:02 -0800 (PST) MIME-Version: 1.0 References: <87a8ne2k6v.fsf@web.de> In-Reply-To: From: Kaushal Modi Date: Sun, 07 Feb 2016 17:46:52 +0000 Message-ID: Subject: Re: Help setting nadvice for indent-region To: Michael Heerdegen , help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c01::243 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2016 17:47:05 -0000 For the sake of completeness, this is how I actually needed to implement this advice in my config: https://github.com/kaushalmodi/.emacs.d/blob/1f9daf3587863de8561fc34e0bafda80be389dbf/setup-files/setup-editing.el#L686-L731 I am open to comments and criticism. Thanks! From MAILER-DAEMON Sun Feb 07 13:51:53 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSUR7-0002ie-RF for mharc-help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 13:51:53 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57955) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSUR5-0002iL-T1 for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 13:51:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSUR5-0000sM-1v for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 13:51:51 -0500 Received: from mail-yw0-x230.google.com ([2607:f8b0:4002:c05::230]:32997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSUR4-0000sI-Tl for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 13:51:50 -0500 Received: by mail-yw0-x230.google.com with SMTP id u200so9854141ywf.0 for ; Sun, 07 Feb 2016 10:51:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=q0rwHLCKJRzmBOU/bLvsnmeHWF5gelGJIeX6WNLKJfc=; b=NnPbcHe2tvU3L0gJ6do8eaxloAJ4lxhYKgrvhvn3er0n9h19BRM5Sg4vLt80kSN7Pw gwK7YVaEfGA9DaO4VDV1AUOjF2ARogfFOald3Kro6Br3kZmtaCsg/m17mWAxTa0lDdmg scJS9cRIkFKEVtY7KXNdKNKwv64L8ih+ZI3ghm7sRwYMPCd7DLnSJY/hSNx2EeXo6b3n 8QdGfMtYJFCmRRSrrpHmpdPN0Uo/UzBlcyQMmUOSJYmvCzT2WJd58ve7BJPx5eLDzFTv 4WT2JEUIJD5CuQxTuU/eztybfAGTyBCfLqsDgV8WtTR8zn184fNzJ1Fmdy98fZCyKQU7 T/aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=q0rwHLCKJRzmBOU/bLvsnmeHWF5gelGJIeX6WNLKJfc=; b=buNQDF5pdkJExRkTapeAkjEe7Xqj6t0UMw9+kfDCN0y1wrnBXiKj3UvdcMopbR0/QI D1G6N3igx95BgBWCZeF+rOBWP8pbeIz6bCOG+q7uH+a+HvodnKFTo0e4C2dXFO1kLF5e KjrfulM2jp5oausI9RfRfjRbxnIZEoZsexVjOZzRzrPZuD0/uN/sdfF4PTHpTNKj0/H6 74IX/hXpZ1EdNWefRHO/sjZQbumkq8XtnjWXkN2C58ANVN/n2wQWOAOG+a1cWRtj+KmH +1bpP304yGe2AudlN5zyUGsWVcIb5wSv325Z/lpvHVfVXU0k85sF+jTl7/qMm3J4aDDY Oopw== X-Gm-Message-State: AG10YOQe3rP/MqPdkNb6Sw1nG5ZFbttsDoNc3W9ZeqcCA/Jpotbkr283RVPesDmbX+ASmydWcF/Cl963sbPM9g== X-Received: by 10.129.93.4 with SMTP id r4mr11888669ywb.60.1454871109126; Sun, 07 Feb 2016 10:51:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.230.79 with HTTP; Sun, 7 Feb 2016 10:51:29 -0800 (PST) In-Reply-To: References: <87a8ne2k6v.fsf@web.de> From: John Mastro Date: Sun, 7 Feb 2016 10:51:29 -0800 Message-ID: Subject: Re: Help setting nadvice for indent-region To: "help-gnu-emacs@gnu.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4002:c05::230 Cc: Michael Heerdegen , Kaushal Modi X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2016 18:51:52 -0000 Kaushal Modi wrote: > For the sake of completeness, this is how I actually needed to implement > this advice in my config: > https://github.com/kaushalmodi/.emacs.d/blob/1f9daf3587863de8561fc34e0baf= da80be389dbf/setup-files/setup-editing.el#L686-L731 > > I am open to comments and criticism. > > Thanks! My preference is for something a bit simpler, which avoids the use of macros. Macros can be awesome, but IMO they don't contribute much here. The downside to my solution is that it doesn't print the "Executed... on the whole buffer" message, since the advice function never sees the symbol that names the adviced function. It has access to =E2=80=98orig=E2= =80=99, of course, but that may be something that wouldn't print well (e.g. a compiled Lisp function). However, I don't see that as critical. (defvar modi/region-or-whole-fns '(indent-region eval-region)) (defun modi/region-or-whole-advice (orig &rest _) (interactive) (if (use-region-p) (funcall orig (region-beginning) (region-end)) (funcall orig (point-min) (point-max)))) (dolist (fn modi/region-or-whole-fns) (advice-add fn :around #'modi/region-or-whole-advice)) --=20 john From MAILER-DAEMON Sun Feb 07 18:48:47 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSZ4R-0006bz-NT for mharc-help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 18:48:47 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32918) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSZ4O-0006bi-OZ for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 18:48:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSZ4L-0002DY-H4 for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 18:48:44 -0500 Received: from plane.gmane.org ([80.91.229.3]:51847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSZ4L-0002DU-AO for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 18:48:41 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aSZ4J-0001vy-0u for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 00:48:39 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 00:48:39 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 00:48:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Help setting nadvice for indent-region Date: Mon, 08 Feb 2016 00:48:32 +0100 Lines: 18 Message-ID: <87wpqg5bfz.fsf@debian.uxu> References: <87a8ne2k6v.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:g1uzn8xhXGzQpfFKupPw/nTKZc4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2016 23:48:45 -0000 Kaushal Modi writes: > For the sake of completeness, this is how I actually > needed to implement this advice in my config That file is 871 lines. Surely all that isn't how you solved this particular problem and that alone. So why not yank it into a Gnus message buffer and fire it away here as well? That way it'll be even more "complete" because it'll be in the mailing list archives for ages - God willing - where it is Google'able as well. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Sun Feb 07 19:03:18 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSZIU-0001Fn-0D for mharc-help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 19:03:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34652) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSZIR-0001Fd-Ty for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 19:03:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSZIO-00056l-N5 for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 19:03:15 -0500 Received: from plane.gmane.org ([80.91.229.3]:52330) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSZIO-00056g-FY for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 19:03:12 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aSZIN-0004lR-64 for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 01:03:11 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 01:03:11 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 01:03:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Help setting nadvice for indent-region Date: Mon, 08 Feb 2016 01:03:01 +0100 Lines: 48 Message-ID: <87si145aru.fsf@debian.uxu> References: <87a8ne2k6v.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:0edmyDveCOundrhy5aWsdrhC8i4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 00:03:16 -0000 John Mastro writes: > My preference is for something a bit simpler, which > avoids the use of macros. Macros can be awesome, but > IMO they don't contribute much here. Macros and advices are absolutely at the next level compared to stapling defuns as another bricklayer, but just because it is more advanced doesn't make it better - it depends. > (defvar modi/region-or-whole-fns '(indent-region eval-region)) > > (defun modi/region-or-whole-advice (orig &rest _) > (interactive) > (if (use-region-p) > (funcall orig (region-beginning) (region-end)) > (funcall orig (point-min) (point-max)))) > > (dolist (fn modi/region-or-whole-fns) > (advice-add fn :around #'modi/region-or-whole-advice)) OK, if this is "simpler", I'd say my DWIM groyne is simpler still: (defun indent-region-dwim () (interactive) (if mark-active (indent-region (mark) (point)) (indent-region (point-min) (point-max) ))) It it also more natural and "human-ish" to read without all the computer lingo (`funcall' etc.). Anyway, another interesting difference, where I'm not sure what is the best way, is `mark-active', then (mark) and (point) vs. (use-region-p), then (region-beginning) and (region-help) What does "the book" say on this? -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Sun Feb 07 21:06:22 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSbDa-0002Hs-G3 for mharc-help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 21:06:22 -0500 Path: usenet.stanford.edu!bloom-beacon.mit.edu!bloom-beacon.mit.edu!panix!not-for-mail From: Lewis Perin Newsgroups: gnu.emacs.help Subject: Re: pinyin character input Date: Sun, 07 Feb 2016 19:55:30 -0500 Organization: PANIX Public Access Internet and UNIX, NYC Lines: 15 Message-ID: References: NNTP-Posting-Host: panix1.panix.com Mime-Version: 1.0 Content-Type: text/plain X-Trace: reader1.panix.com 1454892930 28452 166.84.1.1 (8 Feb 2016 00:55:30 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Mon, 8 Feb 2016 00:55:30 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (berkeley-unix) Cancel-Lock: sha1:7yY/RsNKQSvPGq3kXjyU8xtmDqc= Xref: usenet.stanford.edu gnu.emacs.help:216750 To: help-gnu-emacs@gnu.org X-Mailman-Approved-At: Sun, 07 Feb 2016 21:06:21 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 01:00:08 -0000 Haines Brown writes: >Sorry for this naive question. > >I am using chinese-py input method, but there is a character I cannot >generate. It is ji (first tone), a polite address to a woman. When I >enter "ji", the character I want is not an option. Is this a font >limitation or should I be entering the "ji" somehow with the first tone? The chinese-tonepy-punct has that character. /Lew --- Lew Perin / perin@acm.org http://babelcarp.org From MAILER-DAEMON Sun Feb 07 23:23:11 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSdLz-0005rg-Jo for mharc-help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 23:23:11 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46445) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSdLw-0005rH-OZ for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 23:23:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSdLv-0000sB-4R for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 23:23:08 -0500 Received: from mail-ob0-x22a.google.com ([2607:f8b0:4003:c01::22a]:34197) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSdLu-0000s2-Ti for help-gnu-emacs@gnu.org; Sun, 07 Feb 2016 23:23:07 -0500 Received: by mail-ob0-x22a.google.com with SMTP id wb13so139631655obb.1 for ; Sun, 07 Feb 2016 20:23:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=GBYe+itXxmHBSR9gNDtW2h5clfvQxsfXmrTMM55Hao4=; b=TmCOed1CHZ9W4gTgB7E7pRrlYHMoaYxbvMbxTrBm+Y+RcfCohA6ODyydsFt4catrhC VVg/g8xllbb6ZL0keH4BY/joBK5kQeJAlT/fIh9gaHPzpewE+5L4KdD+l30gsU/ehnLM nsDDOd41DuQ5jex464RpXirZ9c2trXi1kiBBysDGpjncW3K2gUKLNJIJw1/6n7XWnTjJ N+IPSm7z691MdZDnzo4+DNCgzNQmwZXfq2ouotTTVLvzn8YkRCiaNV2/pxnyaHEa0TOz Z+BbeFaXoG/3bSx3hRAJ++ToKiAdeYasFSghc6qdbhnB9ZGqovMAcLIcHiEa8JoHHVts Er7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=GBYe+itXxmHBSR9gNDtW2h5clfvQxsfXmrTMM55Hao4=; b=QAgvcV82xweXe14iDPAQuVfZIjOm63VpuBy7RQQ6ITWCjlSpxIcYGR7sfsf0laxPcG jWfxdVetJe8nbTicDu1s3ZAF21lsTv4H9Sl+wVPh3SbxZ/Yo60MOT4uRgtOjk2I9Oovy yz88/AgybYnEYbg1uE3Qy9CrTnMsPk1mJqoiDk/BgqmKmFTheEhRtpKUjdvsVKZsvKaD 3xPLcGUxVWaLcfW1Dt1gCxEfQPv6nnpoQZXM/Hx7n6RiPyCHB36swiXS/yqFK/OpDf0Y /2AzBwh/7usn9SZ2moX2g8xecczElEJsXUgntX6IeBr0Q5RkJkmslKb3Qdl49hOp+Qgb yGcw== X-Gm-Message-State: AG10YOQRmqoTJ1HZO4bDocAClF4ZHV/bK5RqSisD9iLi/vhMYX4k76zSX0yRAy49jQZa9OA+92mav2VtPkxI/Q== X-Received: by 10.60.60.3 with SMTP id d3mr21959553oer.24.1454905385121; Sun, 07 Feb 2016 20:23:05 -0800 (PST) MIME-Version: 1.0 References: <87a8ne2k6v.fsf@web.de> <87si145aru.fsf@debian.uxu> In-Reply-To: <87si145aru.fsf@debian.uxu> From: Kaushal Modi Date: Mon, 08 Feb 2016 04:22:55 +0000 Message-ID: Subject: Re: Help setting nadvice for indent-region To: help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c01::22a Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 04:23:10 -0000 On Sun, Feb 7, 2016 at 7:03 PM Emanuel Berg wrote: > Anyway, another interesting difference, where I'm not > sure what is the best way, is > > `mark-active', then (mark) and (point) > > vs. > > (use-region-p), then (region-beginning) and (region-help) > > What does "the book" say on this? That's a good question. At times, I use mark-active and at times, (use-region-p). In this particular case, I used mark-active because (mark) being nil was what bit me in my first version of advising indent-region. I believe, using either would be fine here. > That file is 871 lines. Surely all that isn't how you > solved this particular problem and that alone. I am sorry, I did not follow that. The link I pasted was to a particular commit in my config, highlighting only 46 lines pertaining to this advice definition. On a PC, clicking that link should show you that highlighted section of 46 lines in a browser like Chrome/Firefox. > So why not yank it into a Gnus message buffer and fire > it away here as well? I simply find it convenient to read code on github with monospace fonts and syntax highlighting. I use a wonderful package called git-link to quickly get permalinks to my code snippets on github. >> John Mastro > My preference is for something a bit simpler, which avoids the use of > macros. Macros can be awesome, but IMO they don't contribute much here. I like the message telling me exactly what happened i.e. I indented the whole buffer or I eval'ed the whole buffer. But I can understand that that does not give much value. My initial purpose to use macro here was to learn how to use a macro. I like to grow my config with new styles and snippets of elisp. Just one important thing I'd like to point out in my code is the necessity to modify the orig-fn args ONLY when args is nil. This is to protect from corrupting the args when the advised fn is called by a wrapper fn. E.g. we do not want to override all 4 args to eval-region (set by eval-defun) with just 2 args when eval-region is being called by eval-defun. Finally, thank you all for taking time to go through my code and providing your feedback. Kaushal From MAILER-DAEMON Mon Feb 08 00:04:40 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSe08-0006EM-0i for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 00:04:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSe05-0006Bb-HR for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 00:04:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSe00-0000bp-GQ for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 00:04:37 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:41417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSe00-0000bg-AA for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 00:04:32 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aSdze-00038I-9H; Mon, 08 Feb 2016 06:04:10 +0100 From: Lars Ingebrigtsen To: Nikolai Weibull Subject: Re: =?windows-1252?Q?Gmail=92s?= \Muted label in Gnus References: Date: Mon, 08 Feb 2016 16:04:05 +1100 In-Reply-To: (Nikolai Weibull's message of "Sat, 9 Jan 2016 10:11:57 +0100") Message-ID: <87zivbg5dm.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-MailScanner-ID: 1aSdze-00038I-9H X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1455512651.10087@vs7s6bmWUw5ni8bn3F0IhQ X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 Cc: Emacs Users X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 05:04:38 -0000 Nikolai Weibull writes: > I actually figured it out, sort of. I=92m sure there are better ways of > handling it, perhaps the + and - should be sent using > nnimap-send-command, but this, at least, works. As only muting part > of a thread will confuse Gmail, we select all articles belonging to a > thread that in one way or another has been included by > gnus-summary-work-articles. Then we add \Muted and remove \Inbox. > Finally, to make it clear that something happened in Gnus, we kill the > thread. It=92d perhaps be better if we could use a custom mark, but I > couldn=92t figure out if that was OK to do. > > (defun now-gnus-summary-mute-articles (n) > (interactive "P") > (let (articles root-articles) > (dolist (article (gnus-summary-work-articles n)) Looks good. Can you resubmit this as a patch, and include documentation fixes, too? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From MAILER-DAEMON Mon Feb 08 09:44:36 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSn3M-00072j-8d for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 09:44:36 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60782) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSn3F-0006sR-76 for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 09:44:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSn3B-0004FY-TY for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 09:44:29 -0500 Received: from mout.web.de ([212.227.17.12]:61266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSn3B-0004EK-Bt for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 09:44:25 -0500 Received: from drachen.dragon ([92.74.178.250]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0MFLB2-1aGg6s1OOC-00EMO8; Mon, 08 Feb 2016 15:44:22 +0100 From: Michael Heerdegen To: Emacs mailing list Subject: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? Date: Mon, 08 Feb 2016 15:44:19 +0100 Message-ID: <87h9hjxnwc.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:fDq293vAL1cu0Ma3akM8ZkP79AOMIrfgnbamPnNupWPEsMRtlWx DGa3Xo5bWl6ORt1knihZSlcEl83au4JEjfauyBLj7oxFjTRvKD3HRe9e4yngZDLVPbSnuV5 xRtD3/mbWkabDaW0WESTOuPxAkW3RKcz+VqgOlRDgCzPjBGrIbKvQVLc8euA8FKyLIDPM+Q ZKbvhOd+dRJ20hH/lVdVA== X-UI-Out-Filterresults: notjunk:1;V01:K0:ZitVDX9+8zU=:tCZ4geCrUd80IKm7nKofK9 lmFP12bAnSrsH9kKjaQCknxS5ngweal3VQcpEHs2VCTTKNAIlN4F7hWJ3YZv5hSe74lS6EEn4 BKAH3TK70E6ToqSiJTPajWuTTQ3VdeJs8oGLl3of9u7ejwGJkMsS+cubzNakSgvduJQ5F9wXp 68c19TJTrpPrgLpFztffF+OCaAK13Exofgv2X3DlxpxMrYyBhEhV9fR19TOVP1j48l9xVsO0V 66zXwN8REZsV1ADAtcF5Hf5e2mlr9wZMjqKx2tAl4RfflCD6Ca9GL6dOTnDd4NBMohQ/QBad4 UJAXobK8Rfic2FJZFx3ZBf0rjmutkRcuBYt2xWpofWL0ePro5DbcGtODU5hzneC8GWDUgvv2G XqJbY/pMRkXF8venDB9icb4QMaSJrbGKp4/msMYvhA6gib5U1/9DZsclOR5Gi27ldiNxPSDv4 2T0kNMQ4EA4oyyKLVimmVhOQnmji/ypDDTpSki2uExE1FdH6NgtYRF4uWWy6LIulljlfCQ6LD bWP8smpCvsVXCxeK7FrSnP0QTknJ+rWoU+cSlUSO/LVJutSXkwHYSMlnzuxEWmK8rciO8WuNu A1FNGBml96P45y8V/eC3v061QYC17smJLEJ3HIpJaRQFFuu7ir+Lr/qZPOtk0tQhQB0v+4PH9 uwjN15nIBB/jOEJLCWvlidy7l+PtnhdDWgw/sxdO23NCmM/Rsm2SOmfwXR2Ww40cp5KXJrKZv bPwslUPdUJFKqzkjRFtIUf/gSdDRdCeJP9pZ4aYOqT1NDshIrHZRec+QfT/DcfbAtHSraDtaP nr2SaxC X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.12 Cc: Lars Ingebrigtsen X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 14:44:34 -0000 Hi, since some days ago, epg-gpg-program defaults to gpg2 (when installed) in emacs-25. With that new default, when Gnus tries to open my "~/.authinfo.gpg", I'm prompted for its password in a separate popup (X) window. With epg-gpg-program -> "gpg", Emacs itself prompted for the password. That's the behavior I prefer. Is there any way to get the old behavior back? Thanks, Michael. From MAILER-DAEMON Mon Feb 08 10:10:24 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSnSK-0000I4-A4 for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 10:10:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSnSH-0000GS-Lz for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 10:10:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSnSC-0002UZ-MR for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 10:10:21 -0500 Received: from mta-out1.inet.fi ([62.71.2.195]:60788 helo=johanna2.inet.fi) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSnSC-0002RA-Bl for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 10:10:16 -0500 RazorGate-KAS: Status: not_detected RazorGate-KAS: Rate: 0 RazorGate-KAS: Envelope from: RazorGate-KAS: Version: 5.5.3 RazorGate-KAS: LuaCore: 80 2014-11-10_18-01-23 260f8afb9361da3c7edfd3a8e3a4ca908191ad29 RazorGate-KAS: Lua profiles 69136 [Nov 12 2014] RazorGate-KAS: Method: none Received: from mithlond.arda (84.251.143.106) by johanna2.inet.fi (9.0.002.03-2-gbe5d057) id 5697DD8901E73BD0; Mon, 8 Feb 2016 17:10:07 +0200 Received: from dtw by mithlond.arda with local (Exim 4.84) (envelope-from ) id 1aSnS2-0000ps-Ie; Mon, 08 Feb 2016 17:10:06 +0200 From: Teemu Likonen To: Michael Heerdegen Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? In-Reply-To: <87h9hjxnwc.fsf@web.de> (Michael Heerdegen's message of "Mon, 08 Feb 2016 15:44:19 +0100") References: <87h9hjxnwc.fsf@web.de> Date: Mon, 08 Feb 2016 17:10:03 +0200 Message-ID: <87bn7rnsqc.fsf@iki.fi> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 62.71.2.195 Cc: Emacs mailing list , Lars Ingebrigtsen X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 15:10:22 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Michael Heerdegen [2016-02-08 15:44:19+01] wrote: > since some days ago, epg-gpg-program defaults to gpg2 (when installed) > in emacs-25. > > With that new default, when Gnus tries to open my "~/.authinfo.gpg", > I'm prompted for its password in a separate popup (X) window. With > epg-gpg-program -> "gpg", Emacs itself prompted for the password. > That's the behavior I prefer. The present and the future of GPG (version 2.x and above) is to use gpg-agent and pinentry. I think there's no way to escape that. And it's better. But it seems that there are pinentry implementation(s) for Emacs. There is one in GNU Elpa and I also found this: https://github.com/ecraven/pinentry-emacs =2D-=20 /// Teemu Likonen - .-.. // // PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 /// --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWuK/OAAoJEHGdadMkU5RQvx8P/0IQgbiVqHfgd27kxf0t5QB2 gnt7oV7ysCKh6R8l6rw5LmGdbz0Q0lhcOYm8r6WLEOQssLNTpNvi4IcvP7lRmZ5Z SxmaQ0MrT13BWQ9pvSkhmJ89UI42xllnQxZ/6PR6JjmDb60KtiK8OOzam9wWgIMW 5UGJpL7UijrJix/VAzfZao63Ujw/h4Egd3LwwiMEzCQaZoBn/uK4TfjAvBnzoRIc VeFw+BzqSUtwuoTsFGP8H+fGXQD1NbtLa8SCtXY2EDz35wQKQ8lNC7F+UpYDZXFX eeLwx10pfRJYWA2L0/txuQrby2p81uk1onu/TgDVYuwTP9GmyDT1Sq8ZsqLJ7vS4 1ZkAzI3RLKEmJilRzSBRSRuB7xgWS+b0XMrCTSlR0AvVV9kIVeAsjKO/sBYMnVQ2 iR514wOVR6hdW1yrT4QzaJqUN9R9HCfQ6vseg1HJBRGm0cM08X6Q4E5PtYUHqUKX 3tPWNppoMF2a7nlNNJfEreCerutljJ3PH0SApd45lfkOxNr/Hjw2Lj2SxdPgnYZr 6XEKlTHOIonHpiRMrChoIAWkoGVjye2yDRoMSnnDJWIL2+C6C+Q/aH2XRRXY4qSX umI9+93gc4oApOYwA9MCWZgstvfcXAdvPQhq3PWhSPAwh8Y3K897HtNYnS3xwl4R /LugFXUVBLT+Jfs1/Z8Q =gBQy -----END PGP SIGNATURE----- --=-=-=-- From MAILER-DAEMON Mon Feb 08 10:39:29 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSnuT-0006EI-3Z for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 10:39:29 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSnuN-00067K-Rh for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 10:39:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSnuK-00015U-Ia for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 10:39:23 -0500 Received: from mout.web.de ([212.227.17.11]:58850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSnuK-00015O-9Z; Mon, 08 Feb 2016 10:39:20 -0500 Received: from drachen.dragon ([92.74.178.250]) by smtp.web.de (mrweb101) with ESMTPSA (Nemesis) id 0LcPf8-1ZmHI92rag-00jpQr; Mon, 08 Feb 2016 16:39:11 +0100 From: Michael Heerdegen To: Teemu Likonen Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? References: <87h9hjxnwc.fsf@web.de> <87bn7rnsqc.fsf@iki.fi> Date: Mon, 08 Feb 2016 16:39:10 +0100 In-Reply-To: <87bn7rnsqc.fsf@iki.fi> (Teemu Likonen's message of "Mon, 08 Feb 2016 17:10:03 +0200") Message-ID: <874mdjxlcx.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:g8jA7Hn9SRLQ+3nP22mIl4aQ7MYZt7uibwtBOl8VG55RbCg5p3K 1gDnTMekBlP06efsiHh8jBxvjVRuOTtq0C9wEv1Vpr5IqNFDjpK1TMvhzdMYGMaxm8vwILR sDdqOgvku9qqhCFDseCybM3+N/Vf5GMhYMCEPeZc+8pRbEMyQxhjT4QwltRyJEw0Aox7ajI VXG79R2eC+ibqkaw0OUwQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:wA3wKzCDHdg=:53eVdAJafcJWIP4hEa04kD mg2lIFZpNpswRZcncnDsSa+tx8IPJziMoWb+SjTcLHiUl4gHQNjuJjYhWiSDmYsIGJoowysJj 9PG5FLs6iMUiOvuoXESh+OEGzZp/TpcVVNs5gHTxgQF+tCeeOFRYGss3122Ybmvgw8f0Yekbu wLTVNu0l+FEXE45NSWpqT5cQJnxniwKI2wVbCs+FLYnTIByHnOCT8zUgMdhe1E1paElCYesb3 jrQ8RDACfsU+k5zuAYvvL21zDkssflcPgtFncZHeR+NeyxoEREVuqQZidD6oDh5UH5o7QPQ47 z51UcxST1XIEpsmFpVmhd3ZCGGbeUfzr4inpai6qfu6H6P1t2MfDhau5VJCmBFPiRpuLS9d0A ZyGIR9y9Yb7MVsz9gsmOFpZ7s2TqLQA0lEQxnwQzUDU1LvbVCFX+FxfzPVI9OxC1nF5yvqi3b u/jZfuBko2+5n9W2wq6Is+8wzAL02JNM+ClnE7p/H52p6LY5yVN540CV6WNzRLp/I+xU+Ekwu X7BHjUDCCrgzN64v7RCQ/bSTrtfmWnLttqYyBs9eUkYlg+vtuAbM96jhASOxSk9s94ctgUJ/v plkS30etbePMyIsa2d+9qulnEbGGDcd9nKjawUN8nPRwUyGUXu/xbce8kvFflhAGWsT0tc1p5 ISSlmEz2NhmhqhiTcENG6YbMw9HTw/oH0mDrzq1GiNFTdwpn7yCSw6jR2Y0sbEpfMLc5NgQ3u aS8aHUeg/5s38B3U98vejOO8INqyTqC77DHZ7bOXqXHyOBeer86A52M4gLzGfCSZaxAe0f0d6 hawQeG+ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.11 Cc: Emacs mailing list , ueno@gnu.org, Lars Ingebrigtsen X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 15:39:28 -0000 Teemu Likonen writes: > The present and the future of GPG (version 2.x and above) is to use > gpg-agent and pinentry. I think there's no way to escape that. And it's > better. But it seems that there are pinentry implementation(s) for > Emacs. There is one in GNU Elpa [...] Ok, thanks. (BTW, part of the problem is that when I get the X popup, Emacs is in an unresponsive state. And I need Emacs to get the password. So I need to run a second Emacs instance, or get the password before calling Gnus.) I tried pinentry.el from Gnu Elpa. What do I need to add exactly to "~/.gnupg/gpg-agent.conf"? Just "allow-emacs-pinentry" as the package's doc tells doesn't work. I could figure it out myself I guess, but I decided to CC the author and hope we can improve the package's doc instead. Thanks, Michael. From MAILER-DAEMON Mon Feb 08 12:01:18 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSpBe-0000cQ-G1 for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 12:01:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSpBX-0000SB-GN for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 12:01:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSpBR-00064s-Od for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 12:01:11 -0500 Received: from plane.gmane.org ([80.91.229.3]:54601) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSpBR-00064P-It for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 12:01:05 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aSpBM-0001uy-MH for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 18:01:00 +0100 Received: from h-202-248.a328.priv.bahnhof.se ([5.150.202.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 18:01:00 +0100 Received: from joakim.jalap by h-202-248.a328.priv.bahnhof.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 18:01:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Joakim Jalap Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? Date: Mon, 08 Feb 2016 18:00:54 +0100 Lines: 48 Message-ID: <874mdj2l2x.fsf@joakim-desk.jockej.lan> References: <87h9hjxnwc.fsf@web.de> <87bn7rnsqc.fsf@iki.fi> <874mdjxlcx.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: h-202-248.a328.priv.bahnhof.se User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:Xh8hmdhIKNDZKo6id8njFinVEc4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 17:01:17 -0000 Michael Heerdegen writes: > Teemu Likonen writes: > >> The present and the future of GPG (version 2.x and above) is to use >> gpg-agent and pinentry. I think there's no way to escape that. And it's >> better. But it seems that there are pinentry implementation(s) for >> Emacs. There is one in GNU Elpa [...] > > Ok, thanks. (BTW, part of the problem is that when I get the X popup, > Emacs is in an unresponsive state. And I need Emacs to get the > password. So I need to run a second Emacs instance, or get the password > before calling Gnus.) > > I tried pinentry.el from Gnu Elpa. What do I need to add exactly to > "~/.gnupg/gpg-agent.conf"? Just "allow-emacs-pinentry" as the package's > doc tells doesn't work. > > I could figure it out myself I guess, but I decided to CC the author and > hope we can improve the package's doc instead. FWIW, this is what I have in my config regarding Gnupg: **** GPG So, this was a bit of a pain to get working, but now it works. For some inexplicable reason, pinentry-emacs isn't built by default on either FreeBSD or Arch, so one has to build it from source, and add =--enable-pinentry-emacs=. Then add "allow-pinentry-emacs" to =~/.gnupg/gpg-agent.conf=. Then one simply does: #+BEGIN_SRC emacs-lisp (require 'pinentry) (pinentry-start) (setenv "INSIDE_EMACS" "YES") #+END_SRC I also have the cache time set to some ridiculously high value so I don't have to enter my password all the time, but I guess that's another story. > > Thanks, > > Michael. Hope it helps :) Joakim From MAILER-DAEMON Mon Feb 08 12:06:12 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSpGO-0007gR-PZ for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 12:06:12 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44390) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSpGL-0007ZR-0m for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 12:06:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSpGH-0007Ou-OH for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 12:06:08 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:32833) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSpGH-0007Oq-KD for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 12:06:05 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1479 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aSpGG-0008Gm-TR for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 12:06:05 -0500 Date: Mon, 08 Feb 2016 19:05:49 +0200 Message-Id: <83fux3qgia.fsf@gnu.org> From: Eli Zaretskii To: help-gnu-emacs@gnu.org In-reply-to: (message from Kaushal Modi on Mon, 08 Feb 2016 04:22:55 +0000) Subject: Re: Help setting nadvice for indent-region References: <87a8ne2k6v.fsf@web.de> <87si145aru.fsf@debian.uxu> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 17:06:10 -0000 > From: Kaushal Modi > Date: Mon, 08 Feb 2016 04:22:55 +0000 > > On Sun, Feb 7, 2016 at 7:03 PM Emanuel Berg wrote: > > > Anyway, another interesting difference, where I'm not > > sure what is the best way, is > > > > `mark-active', then (mark) and (point) > > > > vs. > > > > (use-region-p), then (region-beginning) and (region-help) > > > > What does "the book" say on this? > > > That's a good question. At times, I use mark-active and at times, > (use-region-p). Here's what "the book" says: -- Variable: mark-active The mark is active when this variable is non-‘nil’. This variable is always buffer-local in each buffer. Do _not_ use the value of this variable to decide whether a command that normally operates on text near point should operate on the region instead. Use the function ‘use-region-p’ for that (*note The Region::). From MAILER-DAEMON Mon Feb 08 12:28:19 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSpbn-0004Jf-Qk for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 12:28:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50301) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSpbl-0004JG-KS for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 12:28:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSpbk-0004mJ-Rr for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 12:28:17 -0500 Received: from mail-ob0-x234.google.com ([2607:f8b0:4003:c01::234]:35554) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSpbj-0004k0-6P; Mon, 08 Feb 2016 12:28:15 -0500 Received: by mail-ob0-x234.google.com with SMTP id xk3so162216916obc.2; Mon, 08 Feb 2016 09:28:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=04K4FBEfH5krydNrWZkmjbrQHqXPFCgcLCwi+rg03yI=; b=raovwoJavLv3Xv5rrYzG8jWOwtOnEIwLkgH1ejuwXGcqmAwdw98pQFNf5gGZTmtQ6U 73o3KkJKYAWwQY5goKQbrK89AGGCqTFkMuDTTpxLYL5vifljJo15MmJBnut3456rubNp uRf7C8KLwaBRleFon/QHMQooFr80CyRcWHo/zxnMhkFsYxVlntB1umLdSfjrk0wd3J4v KKNU5hX7mRB/HOsC8pZ1Yl4OB1gCFG+P93WhPykJ7TREsgJ0W2PT9XCyWFSG0CW+0TQl BRAS7mwGABhivT7MSIDw4CYAhp1hfcFUl9uvtMuL8hnl2h2OLC95KKnE9UE9nWFVmiVT 69WQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=04K4FBEfH5krydNrWZkmjbrQHqXPFCgcLCwi+rg03yI=; b=ceiy9QE5nREO6oi/0fQHHBZb0YwVA+kInVyHAsLrElmYUAikGUTRVzRG/1bswaPAyj S7l3eTGrpvFVREX7dV5Zg5CNOnKPiuMtrXnaGF8W6RjwOpumYGcM4/E1CPZRz+TlDxpV upKBkywZEALrg6ULzPzEYP9/tekarmclzEYMRnrV6jNxz7d4jEW/dpEL0YbpRFHC9D/V S5ksFcFYmqoIQ0aO2yYUv4h79xnC/76oJ3F4OZfFIx1E4s3NJBxog4Wb8xWoNvmJdNuX AQklyWGKDxbMsuUjom8j+ruHnfhACHLx2HAi2RXq5HUC4I2qd0+qbevXdnesoPLVEqjM LEgQ== X-Gm-Message-State: AG10YORrYZlru5C+Hyjkn/pxf/nlQ0IK4WH9a7szsCs22XYoq0Q2jnb3uCMahTg1/xA5N2+d3+5VQleV4ZY5CA== X-Received: by 10.60.42.10 with SMTP id j10mr27440713oel.29.1454952490070; Mon, 08 Feb 2016 09:28:10 -0800 (PST) MIME-Version: 1.0 References: <87a8ne2k6v.fsf@web.de> <87si145aru.fsf@debian.uxu> <83fux3qgia.fsf@gnu.org> In-Reply-To: <83fux3qgia.fsf@gnu.org> From: Kaushal Modi Date: Mon, 08 Feb 2016 17:27:59 +0000 Message-ID: Subject: Re: Help setting nadvice for indent-region To: Eli Zaretskii , help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c01::234 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 17:28:18 -0000 On Mon, Feb 8, 2016 at 12:17 PM Eli Zaretskii wrote: > > Here's what "the book" says: > > -- Variable: mark-active > The mark is active when this variable is non-=E2=80=98nil=E2=80=99. = This variable > is always buffer-local in each buffer. Do _not_ use the value of > this variable to decide whether a command that normally operates on > text near point should operate on the region instead. Use the > function =E2=80=98use-region-p=E2=80=99 for that (*note The Region::= ). > > Thanks Eli. I should have looked there first. Thanks for the pointer.. fixing it now :) From MAILER-DAEMON Mon Feb 08 12:49:32 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSpwK-0003rn-TW for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 12:49:32 -0500 X-Received: by 10.182.29.10 with SMTP id f10mr20220939obh.36.1454953494041; Mon, 08 Feb 2016 09:44:54 -0800 (PST) X-Received: by 10.50.178.145 with SMTP id cy17mr427118igc.3.1454953494007; Mon, 08 Feb 2016 09:44:54 -0800 (PST) Path: usenet.stanford.edu!hb3no2251074igb.0!news-out.google.com!l1ni6930igd.0!nntp.google.com!hb3no2251063igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: gnu.emacs.help Date: Mon, 8 Feb 2016 09:44:53 -0800 (PST) In-Reply-To: <2577057e-98d3-41ce-ade2-1496648b09c3@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=134.100.209.200; posting-account=oUapBAoAAAC4CeAnnWEtpKlGtFMKfvlK NNTP-Posting-Host: 134.100.209.200 References: <2577057e-98d3-41ce-ade2-1496648b09c3@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: 64 bit official Windows builds From: moocow062@gmail.com Injection-Date: Mon, 08 Feb 2016 17:44:54 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: usenet.stanford.edu gnu.emacs.help:216759 To: help-gnu-emacs@gnu.org X-Mailman-Approved-At: Mon, 08 Feb 2016 12:49:31 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 17:45:09 -0000 On Friday, December 25, 2015 at 12:01:56 AM UTC+1, Sam Halliday wrote: =20 > Are there any plans for GNU to create official 64 bit builds of Emacs rel= eases? I understand we use mingw to cross-compile, I'm used it to build 64= bit Windows applications in the past (from a GNU/Linux build machine) with= great success. Is there any technical reason why we can't do this for Emac= s? Could I ask, what is the benefit of 64 bits compared to 32 bits for windows= ? I can see that if you have to edit files bigger than 2Gb, it is necessary, = but otherwise doubling the size of the pointers just makes it slower (halve= s the cache size) and takes more memory. From MAILER-DAEMON Mon Feb 08 12:54:21 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSq0z-0005UK-LL for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 12:54:21 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSq0x-0005UC-DS for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 12:54:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSq0u-00037m-7o for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 12:54:19 -0500 Received: from plane.gmane.org ([80.91.229.3]:59199) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSq0u-00036x-0k for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 12:54:16 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aSq0r-0002Tv-IP for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 18:54:13 +0100 Received: from dslb-092-074-178-250.092.074.pools.vodafone-ip.de ([92.74.178.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 18:54:13 +0100 Received: from michael_heerdegen by dslb-092-074-178-250.092.074.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 18:54:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Michael Heerdegen Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? Date: Mon, 08 Feb 2016 18:54:04 +0100 Lines: 34 Message-ID: <871t8nozpf.fsf@web.de> References: <87h9hjxnwc.fsf@web.de> <87bn7rnsqc.fsf@iki.fi> <874mdjxlcx.fsf@web.de> <874mdj2l2x.fsf@joakim-desk.jockej.lan> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-074-178-250.092.074.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:BdfOnka3ntb+fSijXy4tyd0DS3E= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 17:54:20 -0000 Hi Joakim, > FWIW, this is what I have in my config regarding Gnupg: > > **** GPG > > So, this was a bit of a pain to get working, but now it > works. For some > inexplicable reason, pinentry-emacs isn't built by default on > either FreeBSD or Arch, so one has to build it from source, and add > =--enable-pinentry-emacs=. Then add "allow-pinentry-emacs" to > =~/.gnupg/gpg-agent.conf=. > Then one simply does: > > #+BEGIN_SRC emacs-lisp > (require 'pinentry) > (pinentry-start) > (setenv "INSIDE_EMACS" "YES") > #+END_SRC > [...] Thanks for answering! What is pinentry-emacs - this one? https://github.com/ecraven/pinentry-emacs Do you mean I need to install this to be able to use pinentry.el (which, I found out, already comes with Emacs 25)? Regards, Michael. From MAILER-DAEMON Mon Feb 08 13:06:46 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSqD0-0004YV-9U for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:06:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqCy-0004Vc-2m for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:06:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSqCt-0006bQ-1D for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:06:43 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqCs-0006bM-Up for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:06:38 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1540 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aSqCs-0004QE-72 for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:06:38 -0500 Date: Mon, 08 Feb 2016 20:06:22 +0200 Message-Id: <8337t3qdpd.fsf@gnu.org> From: Eli Zaretskii To: help-gnu-emacs@gnu.org In-reply-to: (moocow062@gmail.com) Subject: Re: 64 bit official Windows builds References: <2577057e-98d3-41ce-ade2-1496648b09c3@googlegroups.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 18:06:45 -0000 > Date: Mon, 8 Feb 2016 09:44:53 -0800 (PST) > From: moocow062@gmail.com > > Could I ask, what is the benefit of 64 bits compared to 32 bits for windows ? It will run roughly twice faster. > I can see that if you have to edit files bigger than 2Gb, it is necessary, but otherwise doubling the size of the pointers just makes it slower (halves the cache size) and takes more memory. First, you can have several large buffers, each one smaller than 2GB, but all of them together could weigh in at, like, 4GB or more, something a 32-bit executable, even when running on a 64-bit Windows, cannot have. Second, large files happen more frequently nowadays than you may think. Third, when Emacs is built with a 64-bit compiler, it runs faster, not slower, because running a 32-bit executable on a 64-bit Windows requires expensive thunking for every call to any Windows API, something that happens a lot. Btw, Emacs 25 can be built as a 32-bit binary that supports 64-bit ints, which allows large buffers (up to 2GB), at a price of being slower by about 30%. From MAILER-DAEMON Mon Feb 08 13:29:43 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSqZD-0005pg-KY for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:29:43 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41379) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqZA-0005lc-FZ for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:29:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSqZ6-00054u-Ec for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:29:40 -0500 Received: from plane.gmane.org ([80.91.229.3]:34053) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqZ6-00054l-83 for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:29:36 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aSqZ4-00068h-MK for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 19:29:34 +0100 Received: from 1.red-83-38-42.dynamicip.rima-tde.net ([83.38.42.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 19:29:34 +0100 Received: from ofv by 1.red-83-38-42.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 19:29:34 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: =?utf-8?Q?=C3=93scar_Fuentes?= Subject: Re: 64 bit official Windows builds Date: Mon, 08 Feb 2016 19:29:29 +0100 Lines: 13 Message-ID: <874mdjxdh2.fsf@wanadoo.es> References: <2577057e-98d3-41ce-ade2-1496648b09c3@googlegroups.com> <8337t3qdpd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 1.red-83-38-42.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:APvbwp15aUbXaOpaaHd0Em5M2n0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 18:29:41 -0000 Eli Zaretskii writes: > Third, when Emacs is built with a 64-bit compiler, it runs faster, not > slower, because running a 32-bit executable on a 64-bit Windows > requires expensive thunking for every call to any Windows API, > something that happens a lot. For a pointer-chasing program like Emacs, data cache effects are orders of magnitude more expensive than thunking. That's what I observe with similar applications. As for Emacs, I see no performance difference among 32 bit and 64 bit executables, for ordinary use. That's how it should be: a good interactive application is never supposed to make the user wait, and Emacs does a decent job at that. From MAILER-DAEMON Mon Feb 08 13:38:34 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSqhm-0000sx-4q for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:38:34 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqhj-0000rd-Sq for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:38:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSqhg-0007Uh-KS for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:38:31 -0500 Received: from plane.gmane.org ([80.91.229.3]:34792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqhg-0007UU-DR for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:38:28 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aSqhd-0000qr-Gm for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 19:38:25 +0100 Received: from h-202-248.a328.priv.bahnhof.se ([5.150.202.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 19:38:25 +0100 Received: from joakim.jalap by h-202-248.a328.priv.bahnhof.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 19:38:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Joakim Jalap Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? Date: Mon, 08 Feb 2016 19:38:14 +0100 Lines: 35 Message-ID: <87y4av1209.fsf@joakim-desk.jockej.lan> References: <87h9hjxnwc.fsf@web.de> <87bn7rnsqc.fsf@iki.fi> <874mdjxlcx.fsf@web.de> <874mdj2l2x.fsf@joakim-desk.jockej.lan> <871t8nozpf.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: h-202-248.a328.priv.bahnhof.se User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:geTCZfhuTZUmRUeYE74/yvnaVBU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 18:38:33 -0000 Michael Heerdegen writes: > > What is pinentry-emacs - this one? > > https://github.com/ecraven/pinentry-emacs > No, pinentry-emacs is a binary which can be built when building pinentry from source. It's been a long time since I dug into this, but I managaed to find what I found then :) If you clone the pinentry repo: git clone git://git.gupg.org/pinentry.git And run ./autogen.sh and the ./configure --help You will see the option --enable-pinentry-emacs. So that's what you should build with :) There's also the option --enable-inside-emacs, but I think this will be set by --enable-pinentry-emacs. > Do you mean I need to install this to be able to use pinentry.el (which, > I found out, already comes with Emacs 25)? Well, I guess. I don't really know, sorry. But I think you need some program for entering the password, and I guess this is the official way to do it. But the gnupg maintainers really don't seem to like it, which is why Arch and FreeBSD don't build it by default I guess. Hope it helps :) Joakim From MAILER-DAEMON Mon Feb 08 13:52:21 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSqv7-000682-4j for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:52:21 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47476) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqv5-00067o-AC for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:52:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSqv4-0002Qm-Bw for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:52:19 -0500 Received: from mail-yw0-x230.google.com ([2607:f8b0:4002:c05::230]:34363) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqv4-0002QO-78 for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:52:18 -0500 Received: by mail-yw0-x230.google.com with SMTP id h129so109343591ywb.1 for ; Mon, 08 Feb 2016 10:52:17 -0800 (PST) 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=KNb55HfEF5lztx1scWKZnefkKEIqIvBHKmUC3moCaEs=; b=HgWDV7YsZz9GXDlVHRsSSSCByO36RVWtlQGcBK9KrSl95GggicIYWlZA4BpzBDFSZb prFL4yAvypehmIEsqoPhvQpUKzeLpMmWT5w3XetU0ZhwgpuLlEikYQ4GLYm0z73kK6c5 ajOEYu/K7Wc8DvWCvwTXoZvDr1OUxAw7va88FoeSkzMAVR9ryz6P+ybF4NKhgoRp+zCu 2arFLZ9icDPFttfdS0eLMYtAXECWuJK7qnLjjDhALa0ug9dDu+pDP0mLp/Ch+taZ1uBD sj+Qeq/O11R9byCfhkuIdFkfGky9pa7ivZqKMLx+AZoKceEoP9jMZJOoP9aQ2iuome9S CFnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=KNb55HfEF5lztx1scWKZnefkKEIqIvBHKmUC3moCaEs=; b=lB1CHHKviserm1uCH0ndI0Ke/Hwx3GqYLdu7yJZaX6bXTFOiXFD64UeRKoRo4+EQ5O ZaIdVzwa/DOv73zNiAHCIFiJLmvCNNv3jsmARDOhLVacIStYIjz8d0p9zcD8ERJTaydd NYAvLz5ucqE/DdQNv5myjME6UoR9DKrffFZUhHjtGBXTswC3FueUp7Pb1DDcGNujxhfE WTInWx+WdXj7QrhxZiaNCTjz7tslywdZm/f4nXJmPmmsxw4ONCWS7BP6N4KyG+iH5Np+ o6ceOi9DALoyzPSjCmZlVcweaIxxd2VI11rD1MO2+NMfQfQsBRkePEFAfjUS1Fpi46sS 1Dag== X-Gm-Message-State: AG10YOS6LnUYy83Ugqy68SQ2ka8MyY2bUuCyGA/opQQkpLc4v6LlaSxGtK4l2FcZY32sL4Fn4Lvzwtw5b6mYaA== MIME-Version: 1.0 X-Received: by 10.13.202.16 with SMTP id m16mr6920670ywd.160.1454957537497; Mon, 08 Feb 2016 10:52:17 -0800 (PST) Received: by 10.37.57.211 with HTTP; Mon, 8 Feb 2016 10:52:17 -0800 (PST) Date: Mon, 8 Feb 2016 10:52:17 -0800 Message-ID: Subject: remote editing of files with emacs on a machine that does not have emacs installed From: Kenneth Wolcott To: help-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4002:c05::230 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 18:52:20 -0000 Hi; I'm in a fairly complex environment. My desktop is Windows. I use VirtualBox to reach a local Debian Guest OS. When logged in to the Debian VirtualBox guest OS, I ssh to a CentOS 6.6 vmWare vm. The file I want to edit-test-run resides on the CentOS vmWare vm. I wish to use emacs to edit the file on the CentOS vm but the CentOS vmWare vm does not have emacs installed and it probably should not have emacs installed locally. My workaround (so far) is to edit the file on my Debian VirtualBox vm or a Mac vmWare vm and then push the changed file to the CentOS vmWare vm to test it and run it to see that it works (or not). My other workaround is to use vi (vim) on the CentOS vmWare vm. Since I am leveraging a current (working) script to become the new script, I will need to use tabbed windows to compare working code for one product which I want to mimic for the new build script. I really dislike vi (vim) and I have not yet learned how to use vi (vim) in a tabbed manner. My desired result is to be able to use emacs on the machine that has emacs but to edit the file where the file is on the machine that doesn't have emacs. I have configured ssh so that I can login from machine A to machine B (different user on machine B) without a password. Now I should be able to bring up (using tramp in ssh mode?) the file that resides on machine B using emacs on machine A? Thanks, Ken Wolcott From MAILER-DAEMON Mon Feb 08 13:57:08 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSqzk-0003Bt-1y for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:57:08 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqzi-0003An-51 for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:57:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSqzd-0003oR-24 for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:57:06 -0500 Received: from plane.gmane.org ([80.91.229.3]:36376) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSqzc-0003o4-Rb for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 13:57:00 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aSqzZ-00005I-GV for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 19:56:57 +0100 Received: from dslb-092-074-178-250.092.074.pools.vodafone-ip.de ([92.74.178.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 19:56:57 +0100 Received: from michael_heerdegen by dslb-092-074-178-250.092.074.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 19:56:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Michael Heerdegen Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? Date: Mon, 08 Feb 2016 19:56:37 +0100 Lines: 41 Message-ID: <87k2mfrpy2.fsf@web.de> References: <87h9hjxnwc.fsf@web.de> <87bn7rnsqc.fsf@iki.fi> <874mdjxlcx.fsf@web.de> <874mdj2l2x.fsf@joakim-desk.jockej.lan> <871t8nozpf.fsf@web.de> <87y4av1209.fsf@joakim-desk.jockej.lan> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-074-178-250.092.074.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:AkRjHaGNbIOGA9oDpywd9C2i3MU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 18:57:07 -0000 Joakim Jalap writes: > No, pinentry-emacs is a binary which can be built when building pinentry > from source. It's been a long time since I dug into this, but I managaed > to find what I found then :) > > If you clone the pinentry repo: > > git clone git://git.gupg.org/pinentry.git > > And run ./autogen.sh and the ./configure --help > > You will see the option --enable-pinentry-emacs. So that's what you > should build with :) > > There's also the option --enable-inside-emacs, but I think this will be > set by --enable-pinentry-emacs. I see. > > Do you mean I need to install this to be able to use pinentry.el (which, > > I found out, already comes with Emacs 25)? > > Well, I guess. I don't really know, sorry. But I think you need some > program for entering the password, and I guess this is the official way > to do it. But the gnupg maintainers really don't seem to like it, which > is why Arch and FreeBSD don't build it by default I guess. Same on Debian obviously. Is it bad to get "Emacs in contact with the password", do I lose security (question to all)? The main advantage of pinentry seems to be that it avoids to leave a password in the swap partition. Is using pinentry via pinentry.el in Emacs similarly secure as using a different pinentry dialog? Michael. From MAILER-DAEMON Mon Feb 08 14:07:59 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSrAF-0001RS-3A for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 14:07:59 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSrAB-0001PV-5O for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 14:07:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSrA7-0006iG-0I for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 14:07:55 -0500 Received: from plane.gmane.org ([80.91.229.3]:37276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSrA6-0006hm-QN for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 14:07:50 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aSrA2-0005VI-PI for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 20:07:46 +0100 Received: from h-202-248.a328.priv.bahnhof.se ([5.150.202.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 20:07:46 +0100 Received: from joakim.jalap by h-202-248.a328.priv.bahnhof.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 20:07:46 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Joakim Jalap Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? Date: Mon, 08 Feb 2016 20:07:38 +0100 Lines: 26 Message-ID: <87twlj10n9.fsf@joakim-desk.jockej.lan> References: <87h9hjxnwc.fsf@web.de> <87bn7rnsqc.fsf@iki.fi> <874mdjxlcx.fsf@web.de> <874mdj2l2x.fsf@joakim-desk.jockej.lan> <871t8nozpf.fsf@web.de> <87y4av1209.fsf@joakim-desk.jockej.lan> <87k2mfrpy2.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: h-202-248.a328.priv.bahnhof.se User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:Zg35zYTH9Y2D1+lMoiC1yEt1BxQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 19:07:56 -0000 Michael Heerdegen writes: > Same on Debian obviously. Yeah, nobody seems to like it, I guess the only reason they still keep it around is because of Emacs' special status in the GNU project. > Is it bad to get "Emacs in contact with the password", do I lose > security (question to all)? The main advantage of pinentry seems to be > that it avoids to leave a password in the swap partition. > > Is using pinentry via pinentry.el in Emacs similarly secure as using a > different pinentry dialog? There's some discussion on the matter here: https://bugs.gnupg.org/gnupg/issue2034 I don't really care too much about security anyway, I'm more on the level of "if I forget my laptop on the tube all my passwords shouldn't be out in the open". So as long as they are in an encrypted file that's all I ask :) > Michael. Joakim From MAILER-DAEMON Mon Feb 08 14:10:09 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSrCL-00022O-RP for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 14:10:09 -0500 Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!feeder.erje.net!2.eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!barmar.motzarella.org!.POSTED!not-for-mail From: Barry Margolin Newsgroups: gnu.emacs.help Subject: Re: remote editing of files with emacs on a machine that does not have emacs installed Date: Mon, 08 Feb 2016 14:08:42 -0500 Organization: A noiseless patient Spider Lines: 29 Message-ID: References: Injection-Info: barmar.motzarella.org; posting-host="78fb7125a45724f15e21604c94a7d968"; logging-data="26379"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+IfFT/4Jl8cQHQfoSXAj2X" User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Cancel-Lock: sha1:ZMMcnszzpotUWs//PdRH+SWL+dc= Xref: usenet.stanford.edu gnu.emacs.help:216767 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 19:10:08 -0000 In article , Kenneth Wolcott wrote: > Hi; > > I'm in a fairly complex environment. > > My desktop is Windows. > > I use VirtualBox to reach a local Debian Guest OS. > > When logged in to the Debian VirtualBox guest OS, I ssh to a CentOS > 6.6 vmWare vm. > > The file I want to edit-test-run resides on the CentOS vmWare vm. > > I wish to use emacs to edit the file on the CentOS vm but the CentOS > vmWare vm does not have emacs installed and it probably should not > have emacs installed locally. ... > Now I should be able to bring up (using tramp in ssh mode?) the file > that resides on machine B using emacs on machine A? Yes, you should be able to do it. Is it not working? -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me *** From MAILER-DAEMON Mon Feb 08 14:10:29 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSrCf-0002XG-3J for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 14:10:29 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSrCc-0002UB-Nm for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 14:10:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSrCY-0007Ug-Kq for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 14:10:26 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSrCY-0007Ua-ID for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 14:10:22 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1621 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aSrCX-0005ZI-I2 for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 14:10:22 -0500 Date: Mon, 08 Feb 2016 21:10:06 +0200 Message-Id: <83r3gnow6p.fsf@gnu.org> From: Eli Zaretskii To: help-gnu-emacs@gnu.org In-reply-to: <874mdjxdh2.fsf@wanadoo.es> (message from =?iso-8859-1?Q?=D3s?= =?iso-8859-1?Q?car?= Fuentes on Mon, 08 Feb 2016 19:29:29 +0100) Subject: Re: 64 bit official Windows builds References: <2577057e-98d3-41ce-ade2-1496648b09c3@googlegroups.com> <8337t3qdpd.fsf@gnu.org> <874mdjxdh2.fsf@wanadoo.es> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Eli Zaretskii List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 19:10:27 -0000 > From: scar Fuentes > Date: Mon, 08 Feb 2016 19:29:29 +0100 > > Eli Zaretskii writes: > > > Third, when Emacs is built with a 64-bit compiler, it runs faster, not > > slower, because running a 32-bit executable on a 64-bit Windows > > requires expensive thunking for every call to any Windows API, > > something that happens a lot. > > For a pointer-chasing program like Emacs, data cache effects are orders > of magnitude more expensive than thunking. That's what I observe with > similar applications. As for Emacs, I see no performance difference > among 32 bit and 64 bit executables, for ordinary use. That's how it > should be: a good interactive application is never supposed to make the > user wait, and Emacs does a decent job at that. Try some CPU intensive processing, or a command that does a lot of disk I/O. A program such as GNU Find runs more than twice faster when compiled as a 64-bit application. From MAILER-DAEMON Mon Feb 08 15:03:36 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSs24-0006ED-Q3 for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 15:03:36 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSs22-0006Al-3R for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 15:03:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSs21-0005UA-26 for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 15:03:34 -0500 Received: from mail-yk0-x22c.google.com ([2607:f8b0:4002:c07::22c]:34187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSs20-0005U2-Ty for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 15:03:32 -0500 Received: by mail-yk0-x22c.google.com with SMTP id u9so91700074ykd.1 for ; Mon, 08 Feb 2016 12:03:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=1vICFUS51KqPJkaQ9v6Lj9YkC0u2M9Yt1jhyRk7hGmM=; b=KKt+xIvdj1MznmuQCGYvawS61994i26w2yEEYIkGRbK/bsA+5WGqUUGN89I2tYyvKz Oj46yAQpwlTMpyLt7pg+i1R0vWWSVzykwOL1ljBfLErA7lCM+f1c7aGUvwKUFvzq5GAB pYSqTBz4i5xSrfkUswi7z6munV+fBCWJ7XOuHZFY0+fKQzCZYWN9xQC4R+bwyBkMgCom Uc10s2FBwkILLFCV/0vv0MpkhGFOTFsIoOzI7J7CIlQg7R7D5omljWzSI+djKd+65hyC N4YvaM5vg08X7+jSOS9d245n9XOSAEGaAzF98D+/5InHenBpHZe0mgWAKUOKrb9/M2cs 7f7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=1vICFUS51KqPJkaQ9v6Lj9YkC0u2M9Yt1jhyRk7hGmM=; b=Ay7WXEaJEv/XH1zG/vY4ZpnQkNHhb5YQvSaxl3n1RWS+xsvGGAHL4h0424ULLQvv3h LtaaC0qsJc+RT5TEWHZk8ShdSXj/Polvg8z6+NrkjMualtEJ5klojn01io5rbo0tHfon oNgbIe6DqF5r8Y0KvUskweOwZjMM3n3Ya49zrr4DXoWI12oWHRdAQwUZ5kyeiSxJRjyV A6An8Ec6OUKtb5TDb6G5wBDd8VN0j7OVQlkM/HC/POie39ch+cU1oXRkUOwP3WcrCq/c Tfrb8YGYlu7AYxpdvEjIOKxCDMhTo8mI1Ma51DIGBKhCyr98kumgZTymf/QH3cLWlC5J i45w== X-Gm-Message-State: AG10YOQmANNmyRCjlOFmyjL0jbBhaJ80OGhWx5OEM4w1DSHIkinqjUMgUe09zIjrV/37uy0wQ2de3KA6/lOmDA== X-Received: by 10.37.14.132 with SMTP id 126mr15988679ybo.69.1454961812293; Mon, 08 Feb 2016 12:03:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.230.79 with HTTP; Mon, 8 Feb 2016 12:03:12 -0800 (PST) In-Reply-To: <87si145aru.fsf@debian.uxu> References: <87a8ne2k6v.fsf@web.de> <87si145aru.fsf@debian.uxu> From: John Mastro Date: Mon, 8 Feb 2016 12:03:12 -0800 Message-ID: Subject: Re: Help setting nadvice for indent-region To: "help-gnu-emacs@gnu.org" Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4002:c07::22c X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 20:03:35 -0000 Emanuel Berg wrote: > Macros and advices are absolutely at the next level > compared to stapling defuns as another bricklayer, but > just because it is more advanced doesn't make it > better - it depends. > >> (defvar modi/region-or-whole-fns '(indent-region eval-region)) >> >> (defun modi/region-or-whole-advice (orig &rest _) >> (interactive) >> (if (use-region-p) >> (funcall orig (region-beginning) (region-end)) >> (funcall orig (point-min) (point-max)))) >> >> (dolist (fn modi/region-or-whole-fns) >> (advice-add fn :around #'modi/region-or-whole-advice)) > > OK, if this is "simpler", I'd say my DWIM groyne is > simpler still: > > (defun indent-region-dwim () > (interactive) > (if mark-active > (indent-region (mark) (point)) > (indent-region (point-min) (point-max) ))) I don't have strong feelings about this one way or the other, but the points I would make in defense of advice are: - It's "just" function composition, nothing scary - Your solution requires you to define a new `dwim' function every time you want overload a function like this, whereas with advice you can simply add it to the list of functions to be adviced (assuming it will be adviced in the same way). > It it also more natural and "human-ish" to read > without all the computer lingo (`funcall' etc.). Avoid funcall because it has a fun-y (haha) name? This part I can't get behind at all. -- john From MAILER-DAEMON Mon Feb 08 15:26:36 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSsOJ-0001HX-Vp for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 15:26:35 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49777) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSsOH-0001HA-NB for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 15:26:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSsOE-0003l4-HV for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 15:26:33 -0500 Received: from plane.gmane.org ([80.91.229.3]:44719) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSsOE-0003kp-AT for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 15:26:30 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aSsOC-0006qh-5w for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 21:26:28 +0100 Received: from dslb-092-074-178-250.092.074.pools.vodafone-ip.de ([92.74.178.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 21:26:28 +0100 Received: from michael_heerdegen by dslb-092-074-178-250.092.074.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 21:26:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Michael Heerdegen Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? Date: Mon, 08 Feb 2016 21:26:20 +0100 Lines: 11 Message-ID: <87egcnrlsj.fsf@web.de> References: <87h9hjxnwc.fsf@web.de> <87bn7rnsqc.fsf@iki.fi> <874mdjxlcx.fsf@web.de> <874mdj2l2x.fsf@joakim-desk.jockej.lan> <871t8nozpf.fsf@web.de> <87y4av1209.fsf@joakim-desk.jockej.lan> <87k2mfrpy2.fsf@web.de> <87twlj10n9.fsf@joakim-desk.jockej.lan> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-074-178-250.092.074.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:wrqYKKWGVN0NXA+GvsN8ZXozTi0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 20:26:34 -0000 Joakim Jalap writes: > I don't really care too much about security anyway, I'm more on the > level of "if I forget my laptop on the tube all my passwords shouldn't > be out in the open". So as long as they are in an encrypted file that's > all I ask :) Dunno. Maybe it's easy to extract a password for an encrypted file from the swap partition if it is included there. Michael. From MAILER-DAEMON Mon Feb 08 17:15:11 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSu5P-0008Du-In for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 17:15:11 -0500 X-Received: by 10.50.141.136 with SMTP id ro8mr1271880igb.13.1454969636740; Mon, 08 Feb 2016 14:13:56 -0800 (PST) X-Received: by 10.50.61.200 with SMTP id s8mr25337igr.3.1454969636724; Mon, 08 Feb 2016 14:13:56 -0800 (PST) Path: usenet.stanford.edu!o2no3351267iga.0!news-out.google.com!l1ni7099igd.0!nntp.google.com!o2no3351258iga.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: gnu.emacs.help Date: Mon, 8 Feb 2016 14:13:56 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=185.110.72.137; posting-account=W7YkKQoAAACBK5oRU_iH-VD6YfJuNxe9 NNTP-Posting-Host: 185.110.72.137 References: <2577057e-98d3-41ce-ade2-1496648b09c3@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <9c9cdaf1-4e20-4b6b-a1a6-a8ebcce1177c@googlegroups.com> Subject: Re: 64 bit official Windows builds From: djc Injection-Date: Mon, 08 Feb 2016 22:13:56 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: usenet.stanford.edu gnu.emacs.help:216771 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 22:15:10 -0000 > Could I ask, what is the benefit of 64 bits compared to 32 bits for windo= ws ? In emacs I count things that total more than a 32-bit counter can hold, and= I routinely edit multiple files of hundreds of megabytes. Pure 32-bit ema= cs on Windows simply can't do the former, and is v-e-r-r-y slow at the latt= er, to the point of being unusable. As a 64-bit program it does just fine,= and overall it is, as Eli has point out, a whole lot faster. 64-bit Windo= ws builds came along just in time to save me enormous effort programming ar= ound the limitations of the 32-bit version. From MAILER-DAEMON Mon Feb 08 17:52:07 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSuf9-0002Z0-Qq for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 17:52:07 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSuf7-0002VT-Du for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 17:52:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSuf4-0006il-4y for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 17:52:05 -0500 Received: from plane.gmane.org ([80.91.229.3]:58301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSuf3-0006ih-U2 for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 17:52:02 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aSuf2-0004gl-Lu for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 23:52:00 +0100 Received: from 1.red-83-38-42.dynamicip.rima-tde.net ([83.38.42.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 23:52:00 +0100 Received: from ofv by 1.red-83-38-42.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Feb 2016 23:52:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: =?utf-8?Q?=C3=93scar_Fuentes?= Subject: Re: 64 bit official Windows builds Date: Mon, 08 Feb 2016 23:51:50 +0100 Lines: 18 Message-ID: <87vb5yx1bt.fsf@wanadoo.es> References: <2577057e-98d3-41ce-ade2-1496648b09c3@googlegroups.com> <9c9cdaf1-4e20-4b6b-a1a6-a8ebcce1177c@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 1.red-83-38-42.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:9uv4zZ0DmcTOidZ7maKduI5uu5M= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 22:52:06 -0000 djc writes: >> Could I ask, what is the benefit of 64 bits compared to 32 bits for windows ? > > In emacs I count things that total more than a 32-bit counter can > hold, and I routinely edit multiple files of hundreds of megabytes. > Pure 32-bit emacs on Windows simply can't do the former, and is > v-e-r-r-y slow at the latter, to the point of being unusable. Are you using the same versions for your 32/64 bits performance comparisions. IIRC handling of large buffers and large long lines received some improvements not too long ago. I can't not depict an scenario where changing to the 64 bits ISA could change Emacs' speed from very slow to acceptable. If something like that were observed (on the same Emacs source code version) I would suspect some difference on the C runtime or on the compiler (intrinsics not lowered, optimizations not applied on 32 bit code, etc.) From MAILER-DAEMON Mon Feb 08 18:13:51 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSv0B-00022e-PY for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 18:13:51 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSv08-0001zD-Lo for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 18:13:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSv03-0003pQ-JB for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 18:13:48 -0500 Received: from plane.gmane.org ([80.91.229.3]:60202) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSv03-0003pM-C4 for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 18:13:43 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aSv01-0004Jw-BV for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 00:13:41 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Feb 2016 00:13:41 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Feb 2016 00:13:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Help setting nadvice for indent-region Date: Tue, 09 Feb 2016 00:13:27 +0100 Lines: 57 Message-ID: <87oabqkd7s.fsf@debian.uxu> References: <87a8ne2k6v.fsf@web.de> <87si145aru.fsf@debian.uxu> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:q8Cp4hIh7/Zu0+Vv7XxLbS7p6Jk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 23:13:50 -0000 John Mastro writes: > Your solution requires you to define a new `dwim' > function every time you want overload a function > like this Yes, which is very fast and accurate. > whereas with advice you can simply add it to the > list of functions to be adviced (assuming it will be > adviced in the same way). If you write a defun, you know for sure what it does and that it will be used as intended. If you start muck around with existing code you have two places to look when you want to know what happens, instead of one place. Only at one of those places is there even an indication there is another place to look (i.e., where the advice is, but not where the original code is). Also, with a defun, it is used explicitly, but with the advice or self-modifying code, what make sense for you can be completely incomprehensible/invisible to another person or program that uses the same piece of code, and this makes debugging much more difficult - also for the reason above (two places), by the way. Remember the whole monolithic kernel vs. microkernel thing. >> It it also more natural and "human-ish" to read >> without all the computer lingo (`funcall' etc.). > > Avoid funcall because it has a fun-y (haha) name? > This part I can't get behind at all. Just because people program computer doesn't mean anyone is benefited from the people themselves turning into, or acting like, computers. If the code is all computer lingo this is a bad sign. Compare the old-school C code which was constantly pointers, references, bitmasks, all computer stuff, enough to make your head spin - what does all this stuff *do*? /* You are not expected to understand this */ To get the size of a vector ("array" in the C lingo), simple! do int n = sizeof(a)/sizeof(a[0]); compare this to the Lisp `length'. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Mon Feb 08 18:32:35 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSvIJ-0002DH-6F for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 18:32:35 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSvIH-0002D7-Om for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 18:32:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSvIE-0007t9-Eq for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 18:32:33 -0500 Received: from plane.gmane.org ([80.91.229.3]:33490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSvIE-0007sQ-8R for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 18:32:30 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aSvIB-0000TE-LZ for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 00:32:27 +0100 Received: from ca-18-206-221.service.infuturo.it ([151.18.206.221]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Feb 2016 00:32:27 +0100 Received: from wavexx by ca-18-206-221.service.infuturo.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Feb 2016 00:32:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Yuri D'Elia Subject: customize-face + inherit Date: Tue, 9 Feb 2016 00:32:17 +0100 Lines: 11 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ca-18-206-221.service.infuturo.it X-Mozilla-News-Host: news://news.gmane.org:119 X-Enigmail-Draft-Status: N1110 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2016 23:32:34 -0000 I'd like to customize a face so that it inherits *all* values from it's parent. That is, I want the face to be an exact copy of the parent. To do that, I can add the 'inherit' property to the desired parent face, but I would also need to *clear* the rest of the attributes from the face being customized, such as foreground. How can I do that conveniently from the customize-face interface? (how can I 'nil' a value?). Thanks From MAILER-DAEMON Mon Feb 08 20:01:58 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSwgo-0000h4-3s for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 20:01:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSwgl-0000gp-Tc for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 20:01:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSwgl-0002ec-46 for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 20:01:55 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:40105) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSwgf-0002dk-G0; Mon, 08 Feb 2016 20:01:49 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aSwgI-0005OS-Di; Tue, 09 Feb 2016 02:01:27 +0100 From: Lars Ingebrigtsen To: Michael Heerdegen Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? References: <87h9hjxnwc.fsf@web.de> <87bn7rnsqc.fsf@iki.fi> <874mdjxlcx.fsf@web.de> Date: Tue, 09 Feb 2016 12:01:21 +1100 In-Reply-To: <874mdjxlcx.fsf@web.de> (Michael Heerdegen's message of "Mon, 08 Feb 2016 16:39:10 +0100") Message-ID: <874mdiitni.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aSwgI-0005OS-Di X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1455584487.43848@S903ESOEulAQEL/Fh5r05g X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 Cc: Emacs mailing list , Teemu Likonen , ueno@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 01:01:56 -0000 Perhaps pinentry.el and the pinentry program should be included in Emacs? Having this stuff work out of the box would be nice. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From MAILER-DAEMON Mon Feb 08 22:08:09 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSyev-0000nQ-No for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 22:08:09 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSyet-0000mk-Lf for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 22:08:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSyeq-00046K-FX for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 22:08:07 -0500 Received: from plane.gmane.org ([80.91.229.3]:44334) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSyeq-000468-88 for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 22:08:04 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aSyek-0006t8-E3 for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 04:07:58 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Feb 2016 04:07:58 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Feb 2016 04:07:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Help setting nadvice for indent-region Date: Tue, 09 Feb 2016 04:07:52 +0100 Lines: 79 Message-ID: <87fux2a8dz.fsf@debian.uxu> References: <87a8ne2k6v.fsf@web.de> <87si145aru.fsf@debian.uxu> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:pqyi5vR9JvqbnEPrplKLgQCv14k= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 03:08:08 -0000 Kaushal Modi writes: > I am sorry, I did not follow that. The link I pasted > was to a particular commit in my config, > highlighting only 46 lines pertaining to this > advice definition. One should never expect anyone to follow links. They are provided to say "this piece of code exists in a file, it is compiled or otherwise in effect on some system somewhere on the planet, if you against all odds would like to use it or study it on your terms I'm making this as easy for you as possible..." It is just like scientific papers that have hundreds of references no one ever bothers to read up on. So you should do it, but always yank the code into the message as well. > On a PC, clicking that link should show you that > highlighted section of 46 lines in a browser like > Chrome/Firefox. OK, drop them GUI browsers for Emacs-w3m, and stop clicking on stuff - instead hit RET! But it is OK to use a PC :) > I simply find it convenient to read code on github > with monospace fonts and syntax highlighting. Mails/posts should always be written/read in a monospace font. Try Emacs Gnus. As for syntax highlighting (we call int font-lock) it is possible to have snippets like that inline - not really necessary (for messages) IMHO. > I like the message telling me exactly what happened > i.e. I indented the whole buffer or I eval'ed the > whole buffer. But I can understand that that does > not give much value. My initial purpose to use macro > here was to learn how to use a macro. Probably better to wait for a sharp situation to arrive and do other stuff meanwhile. Because, if you make up a solution to a made-up problem chances are something won't work or won't work as intended and you will then not be able to tell if it is the solution, the method or the "made-up"-ness that failed (or a combination). > Just one important thing I'd like to point out in my > code is the necessity to modify the orig-fn args > ONLY when args is nil. This is to protect from > corrupting the args when the advised fn is called by > a wrapper fn. E.g. we do not want to override all 4 > args to eval-region (set by eval-defun) with just 2 > args when eval-region is being called by eval-defun. You shouldn't focus on the technology. If a problem that is very straightforward ends up in a complicated discussion where everything is about technology and nothing is about the problem, then the problem has not been solved in a good way. During the stone-age there were problems-solvers that could solve all problems in the caves and around the fireplace and even between the women in the cave-society. You can carry out a thought experiment to assess your solution. If you can explain it to such a problem-solving cave-dweller, then it is a good solution. If he doesn't understand because of all the advices, macros, arguments, and funcalls, it is a bad solution. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Mon Feb 08 22:49:43 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aSzJ9-00017E-7h for mharc-help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 22:49:43 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39415) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSzJ7-000170-55 for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 22:49:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSzJ3-0005Il-3y for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 22:49:41 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:39127) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSzJ2-0005Ih-T7; Mon, 08 Feb 2016 22:49:37 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aSzIe-0007ST-DZ; Tue, 09 Feb 2016 04:49:13 +0100 From: Lars Ingebrigtsen To: Daiki Ueno Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? References: <87h9hjxnwc.fsf@web.de> <87bn7rnsqc.fsf@iki.fi> <874mdjxlcx.fsf@web.de> Date: Tue, 09 Feb 2016 14:49:07 +1100 In-Reply-To: (Daiki Ueno's message of "Tue, 09 Feb 2016 12:23:57 +0900") Message-ID: <87twlifsr0.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aSzIe-0007ST-DZ X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1455594554.26283@c4gKBBUF1TMPkDMRKyPKFg X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 Cc: Michael Heerdegen , Emacs mailing list , Teemu Likonen X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 03:49:42 -0000 Daiki Ueno writes: > pinentry.el is actually in lisp/net/ already. For the pinentry program, > I don't think it is feasible, since there isn't (and won't be) a way to > use a custom pinentry program from the gpg command line: > https://lists.gnupg.org/pipermail/gnupg-devel/2015-May/029862.html Hm... I don't know much about this stuff, but I'm not sure I understand. :-) There exists a program already called pinentry-emacs, somebody said? That allows us to enter passwords from Emacs, sort of? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From MAILER-DAEMON Tue Feb 09 02:36:28 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aT2qa-00055Y-En for mharc-help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 02:36:28 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52064) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT2qY-00053Q-7f for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 02:36:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aT2qX-00020u-Dr for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 02:36:26 -0500 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:33776) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT2qX-00020l-71 for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 02:36:25 -0500 Received: by mail-wm0-x234.google.com with SMTP id g62so162695252wme.0 for ; Mon, 08 Feb 2016 23:36:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=ySUV/7QSIvCsWwy6szB+4ixWId++O8OiFjCCaJQFjMM=; b=xYyO0lqmwdVJdpNK33r5fyzXVjpPbkHfxGXyCAixnS9QPOi+uWoellzvzewLN+WrhP py852jGbTiX3pv947c0ZeYnYIWZuXEV0lRD2RTabBoWYibBkBlu3kP7MZQbBNMgrS8r/ 0/+AGW5YH8GAsQNnb5sIIJq57uHtcL6KrNbzXlAuFYksLQCxsQcv6DfsLOM1tu5UOl2P h2UPHawgZwPH9CV7yzxSU5J9KzQ0EhVku9I76xh1gjDUaz4NDdHJGJLckhzxJKeebIUg aedV/1pjCZS+4pn4mf9YO2ZM5dLuR04vC0ZYbyHoMvqQ8iTXafe95i0vNQWWaBM8biAp cW8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:date:message-id:subject:from :to:content-type; bh=ySUV/7QSIvCsWwy6szB+4ixWId++O8OiFjCCaJQFjMM=; b=jkGKHdj8sPFZ946MOzO5lqtiLtuYjCyPjgHY4JfFT3gm6dlFOf8tep6+AGAGDvjPL+ pEUqYSxmi5Q7XXsDTPKjxBlRUxV6Ga7AA0cHifOk200KbN57acClHdxfdM++W6sG6HeY 3GxRFIDeixnpmsi2YFA8Yg2WPCtCtReYn9JzT80ezWXcD3QJmHpZZU3sr8OmvA09UuLR bECROWksOu7ikjlBFQl4+FXdFBQJN563vfNwdkexddELUx2HlLU8fBEUj631f1+TxEiO bX+UQvdBtofHAKUTtlUT99KsW4yaldd1Utu6TuDUalovfqDXQWXNvuHxeA1aX4pmjI3r Wyrw== X-Gm-Message-State: AG10YOSl/mPbO2jhFyYUA4T8mT+DgXZT+fRcjPPh00FTYjCkKJ3zVmGkCzf8UnOn4JmExumBbdHmHCm0iKhDtA== MIME-Version: 1.0 X-Received: by 10.194.188.100 with SMTP id fz4mr31946274wjc.126.1455003383201; Mon, 08 Feb 2016 23:36:23 -0800 (PST) Sender: fluca1978@gmail.com Received: by 10.194.68.4 with HTTP; Mon, 8 Feb 2016 23:36:23 -0800 (PST) Date: Tue, 9 Feb 2016 08:36:23 +0100 X-Google-Sender-Auth: jXVVK7uyXWKU0fAu8xAhT_jONxA Message-ID: Subject: aggressive-indent-mode freezes From: Luca Ferrari To: help-gnu-emacs Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::234 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 07:36:27 -0000 Hi all, I'm trying aggresive-indent-mode on my emacs 24.5.1 but if I enable the mode on some source buffer quite long in size (e.g., a php file of around 7k lines) the system becomes unusable: each line I edit Emacs stops responding for a few seconds (I guess to auto-indent). I'm curious if is there anybody else using such mode with success on large sources and if the problem could be on PHP or a specific language. Thanks, Luca From MAILER-DAEMON Tue Feb 09 04:11:22 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aT4KQ-0001T7-Kr for mharc-help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 04:11:22 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT4KP-0001S9-1z for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 04:11:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aT4KJ-0007VZ-Sm for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 04:11:20 -0500 Received: from plane.gmane.org ([80.91.229.3]:60450) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT4KJ-0007V2-Kt for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 04:11:15 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aT4KI-0007cb-Jd for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 10:11:14 +0100 Received: from h-202-248.a328.priv.bahnhof.se ([5.150.202.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Feb 2016 10:11:14 +0100 Received: from joakim.jalap by h-202-248.a328.priv.bahnhof.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Feb 2016 10:11:14 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Joakim Jalap Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? Date: Tue, 09 Feb 2016 10:11:07 +0100 Lines: 16 Message-ID: <8737t2l044.fsf@joakim-desk.jockej.lan> References: <87h9hjxnwc.fsf@web.de> <87bn7rnsqc.fsf@iki.fi> <874mdjxlcx.fsf@web.de> <874mdj2l2x.fsf@joakim-desk.jockej.lan> <871t8nozpf.fsf@web.de> <87y4av1209.fsf@joakim-desk.jockej.lan> <87k2mfrpy2.fsf@web.de> <87twlj10n9.fsf@joakim-desk.jockej.lan> <87egcnrlsj.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: h-202-248.a328.priv.bahnhof.se User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) Cancel-Lock: sha1:Ut8qHO7skSqMnHlq6yp2Z1iyAQE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 09:11:21 -0000 Michael Heerdegen writes: > Dunno. Maybe it's easy to extract a password for an encrypted file > from the swap partition if it is included there. Well, that depends on your definition of easy :) First of all it would require you to know that there is such a thing as a swap partition. I think that rules out about 99% of the people who might find my laptop on a train :) But I totally understand if you want more security than that, personally I just think that anyone with that level of sofistication (can dump a swap partition and analyze it to get my password) will be able to hack me anyway, if they wanted to. Joakim From MAILER-DAEMON Tue Feb 09 04:33:25 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aT4fl-0000Ue-Au for mharc-help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 04:33:25 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT4fi-0000T5-IY for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 04:33:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aT4fe-0004m4-Fi for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 04:33:22 -0500 Received: from mail.tuxteam.de ([5.199.139.25]:34300 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT4fe-0004lj-AM for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 04:33:18 -0500 Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1aT482-0007H7-LA; Tue, 09 Feb 2016 09:58:34 +0100 Date: Tue, 9 Feb 2016 09:58:34 +0100 To: Joakim Jalap Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? Message-ID: <20160209085834.GA27712@tuxteam.de> References: <87h9hjxnwc.fsf@web.de> <87bn7rnsqc.fsf@iki.fi> <874mdjxlcx.fsf@web.de> <874mdj2l2x.fsf@joakim-desk.jockej.lan> <871t8nozpf.fsf@web.de> <87y4av1209.fsf@joakim-desk.jockej.lan> <87k2mfrpy2.fsf@web.de> <87twlj10n9.fsf@joakim-desk.jockej.lan> <87egcnrlsj.fsf@web.de> <8737t2l044.fsf@joakim-desk.jockej.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed In-Reply-To: <8737t2l044.fsf@joakim-desk.jockej.lan> User-Agent: Mutt/1.5.21 (2010-09-15) From: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 09:33:23 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Feb 09, 2016 at 10:11:07AM +0100, Joakim Jalap wrote: > Michael Heerdegen writes: > > > Dunno. Maybe it's easy to extract a password for an encrypted file > > from the swap partition if it is included there. > > Well, that depends on your definition of easy :) First of all it would > require you to know that there is such a thing as a swap partition. I > think that rules out about 99% of the people who might find my laptop on > a train :) > > But I totally understand if you want more security than that, > personally I just think that anyone with that level of sofistication > (can dump a swap partition and analyze it to get my password) will be > able to hack me anyway, if they wanted to. If that's your threat model, I'd rather recommend using encrypted file systems (yes, swap too). Don't lose a "running" laptop. (yes, a bit off-topic, but as a reminder that to have some grip on those things you have to try to develop threat models you care about, otherwise it's just waving hands: necessary at the beginning, but not yet the point at which you should rush to implement stuff). - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAla5qjoACgkQBcgs9XrR2kbR8wCeNujIol3Zng48OS6LXQuLUeuY lNMAnjKk1WUX3NZpwKRRDF8gmfxeOyqJ =PSvg -----END PGP SIGNATURE----- From MAILER-DAEMON Tue Feb 09 04:54:53 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aT50X-0006rc-Hg for mharc-help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 04:54:53 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58275) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT50S-0006qZ-Oc for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 04:54:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aT50P-0001EY-6Y for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 04:54:48 -0500 Received: from plane.gmane.org ([80.91.229.3]:34654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT50O-0001EO-V7 for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 04:54:45 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aT50N-0001Tg-7z for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 10:54:43 +0100 Received: from h-202-248.a328.priv.bahnhof.se ([5.150.202.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Feb 2016 10:54:43 +0100 Received: from joakim.jalap by h-202-248.a328.priv.bahnhof.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Feb 2016 10:54:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Joakim Jalap Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? Date: Tue, 09 Feb 2016 10:54:30 +0100 Lines: 38 Message-ID: <87y4aujjjd.fsf@joakim-desk.jockej.lan> References: <87h9hjxnwc.fsf@web.de> <87bn7rnsqc.fsf@iki.fi> <874mdjxlcx.fsf@web.de> <87twlifsr0.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: h-202-248.a328.priv.bahnhof.se User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) Cancel-Lock: sha1:fFvgQx/qtYYEUaHXmF7WOBYqRvA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 09:54:52 -0000 Lars Ingebrigtsen writes: > Daiki Ueno writes: > >> pinentry.el is actually in lisp/net/ already. For the pinentry program, >> I don't think it is feasible, since there isn't (and won't be) a way to >> use a custom pinentry program from the gpg command line: >> https://lists.gnupg.org/pipermail/gnupg-devel/2015-May/029862.html Interesting to see that discussion :) I was looking at this months ago when I tried to get it working in Emacs, but I never really found that thread. > Hm... I don't know much about this stuff, but I'm not sure I > understand. :-) There exists a program already called pinentry-emacs, > somebody said? That allows us to enter passwords from Emacs, sort of? pinentry-emacs can be built from the pintry repo at git.gnupg.org/pintry.git. Together with the correct envvars set, this allows us to input passwords from Emacs, yes :) However this seems to be seen as a sort of hack, and it's disabled by default on Arch Linux, FreeBSD and Debian as it seems, so I have had to build it from source. I guess that alienates a lot of users though :/ I agree it would be nice to have this working out of the box. Figuring out all the steps took me quite a lot of time and effort actually (I discovered pinentry-emacs by chance while looking at some changelog entry in the pinentry repo, I think, and the figured out what it was by reading the configure.ac file) and I don't think it qualifies as user friendly. The reason I decided to look it up in the first place was that while the gtk popup diolog works fine on an X display, I wanted something that would work in a terminal as well. And unfortunately it seems pinentry-curses can't be run through Emacs, well I didn't manage anyway :) Joakim From MAILER-DAEMON Tue Feb 09 05:32:00 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aT5aS-0003Eo-L5 for mharc-help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 05:32:00 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43689) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT5aQ-0003E3-De for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 05:31:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aT5aN-000342-1s for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 05:31:58 -0500 Received: from mail-pa0-x233.google.com ([2607:f8b0:400e:c03::233]:35151) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT5aM-00033x-PF for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 05:31:54 -0500 Received: by mail-pa0-x233.google.com with SMTP id ho8so89449187pac.2 for ; Tue, 09 Feb 2016 02:31:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-type; bh=ZJbHskFhozbzXytUnRI3i+w0hwAo4J12B6OdatsJOWM=; b=GuIm2MEBtiq8+CTMqNxX1ec97EjprMIrQ/00ShruE2YqpzK6DyIbmPRfYgisSmmjZ7 ovC3OjQc62nyRYtqKKa4t6Nv/BDInAMAYR50aO3mfAjFoa4R3NQK/rfm4wGgtj1lSGCq zMMlCedQYEvS3mk8XmoEcZTQIQB2aPu2LaJ1yrgjwYeuQupb9HR3xkmttGPx5FNtczOp 6n7ZOnWdhBdoMxxNhHhpmRqooooDMLW5dZL2MKz1YdZgNAGVzN6s1Z17sl1obK0eHZId GHgwxoIJvz36acKodY9kpcY6ppacjO5yJLj2/ymoF6RwZNS5PlSXz0HlU0VyuPwrNdK5 tLtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-type; bh=ZJbHskFhozbzXytUnRI3i+w0hwAo4J12B6OdatsJOWM=; b=SRzn+Kx7Y1NtMSq4oXNLJWwkzsF+h2jASeYMwZpQK87aTOvsPLaXSq921YJgHtOBF1 aX2QGXkwBTprgWX55zq0eopxN35WMzDKnokE0/gyzBe3Yxvf/1Ivm8GVtzhYyk3Hb5WK jXlD4Az/foyZgLiRGeW3fUZBXN8wsdhKaF/2+SstO6AKkspMiyiy5aR1YKbnKLhHohbY WipcccMEbm7DxPzHU2UDqQVxWLjcoU41eeMR0tkRmO296cDGHRIxObg3ZRZs174cqFca f5JHEV/jYU6jNCunGtyCHMyrtalUfOawmRLFv+hN2874NI2HRfzXhYa2PDL889JmyR8w adjw== X-Gm-Message-State: AG10YOQS2Gbacvpz70WQ6TodRrWEI9n13DbcpDGJEKHdf+A1JGjEUly5kWktyFq2UkIDcw== X-Received: by 10.66.232.202 with SMTP id tq10mr49264672pac.14.1455013913987; Tue, 09 Feb 2016 02:31:53 -0800 (PST) Received: from localhost (114-198-67-137.dyn.iinet.net.au. [114.198.67.137]) by smtp.gmail.com with ESMTPSA id dz8sm49739064pab.19.2016.02.09.02.31.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Feb 2016 02:31:52 -0800 (PST) References: User-agent: mu4e 0.9.16; emacs 24.5.3 From: Alexis To: Luca Ferrari Subject: Re: aggressive-indent-mode freezes In-reply-to: Date: Tue, 09 Feb 2016 21:31:48 +1100 Message-ID: <878u2ucgyz.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c03::233 Cc: help-gnu-emacs X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 10:31:59 -0000 Luca Ferrari writes: > Hi all, I'm trying aggresive-indent-mode > on my > emacs 24.5.1 but if I enable the mode on some source buffer > quite long in size (e.g., a php file of around 7k lines) the > system becomes unusable: each line I edit Emacs stops responding > for a few seconds (I guess to auto-indent). I'm curious if is > there anybody else using such mode with success on large sources > and if the problem could be on PHP or a specific language. Using 24.5.3 on an i5-2410M running Debian Jessie x86_64, i just tried editing a copy of org.el, which weighs in at ~24k lines. There was a /slight/ lag - perhaps less than half a second? - but certainly not enough to make editing unworkable. What hardware and OS are you running Emacs on? Alexis. From MAILER-DAEMON Tue Feb 09 06:40:29 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aT6ej-0003oo-8O for mharc-help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 06:40:29 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT6ef-0003hs-Pw for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 06:40:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aT6ee-0003YL-To for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 06:40:25 -0500 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:33346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT6ee-0003Y8-MU for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 06:40:24 -0500 Received: by mail-wm0-x235.google.com with SMTP id g62so170807207wme.0 for ; Tue, 09 Feb 2016 03:40:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=CQqHMUY77P34Al8jD8Ln7dQ56q4/kMVxnXYFq2Tddq8=; b=lKI8rszCrVLEHMJmInzRTYJT61WO1pSWohvxa7XOuIe8fhbOA796VmZcjKS2MDinLZ jJWFsqLwgluSFZ+VqVoUSfiT7Y7Y3wdNSM7o2wySWfOmMP7JyCGFjVIrvu63fZ48CVm8 K7718FIoDrlARLM4Tgo2+/wRNOQbGsSDpNwaRkoV9Q/mQiaWVVyRJ6/mjFjbmbKUI9sD LmTSqS9LOsINLOVZvgGFBaEIBywdZ9tgN9ypXPNtyO+QYi8zvDVchHVzanDzsNrU5Zdm 5f3ZA4YXGva6/m0qmBXp0WSeWNbRtl1RkErEYr3UhuBwWLp3kZO7/EpLbKxS3A2Sezkl +7pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=CQqHMUY77P34Al8jD8Ln7dQ56q4/kMVxnXYFq2Tddq8=; b=kpE1pQteC856pwI9RmeTmWDQKzK9i2rJ4DNrpJC1PqZyYGiYURdrNXY3lLuUO6KHtu x12XRNXhbACy6wgozLSE6A0KU9Znf+Po+5Ktib+H8O1FnNZKvVPcp8QX8djU/WZZC7Tw 6bYbkME0+QjC3jHzLHrzl+NxilheOeqSNzh1wJp6UEn0qT53dTQV2nMJFhcEGqP1+3k8 qgIKOuhJRjijYYch1nOxXm7hAqvqrMt1Ey35ZHZ8DpDMLsu1oxuv7HU6ds3B8eLdklLy Iy2SZwfGm9ONbFs79L/cvn1WaRPo1lJn3pQH6O72y/gmISP4PVqsj0B7fShNCpblmgDy G0VA== X-Gm-Message-State: AG10YOSCjy5nfLa5wD07Y2cicLCB5ezyR9fvhWRkczHAJQFqn40RUiCEfePk90mqVgBVcFGVU7N2tgfqzfxXRw== MIME-Version: 1.0 X-Received: by 10.28.17.8 with SMTP id 8mr4081097wmr.65.1455018023957; Tue, 09 Feb 2016 03:40:23 -0800 (PST) Sender: fluca1978@gmail.com Received: by 10.194.68.4 with HTTP; Tue, 9 Feb 2016 03:40:23 -0800 (PST) In-Reply-To: <878u2ucgyz.fsf@gmail.com> References: <878u2ucgyz.fsf@gmail.com> Date: Tue, 9 Feb 2016 12:40:23 +0100 X-Google-Sender-Auth: 6jdRr7gv7PhpXgFxD5ioxXpxQbE Message-ID: Subject: Re: aggressive-indent-mode freezes From: Luca Ferrari To: Alexis Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::235 Cc: help-gnu-emacs X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 11:40:27 -0000 On Tue, Feb 9, 2016 at 11:31 AM, Alexis wrote: > What hardware and OS are you running Emacs on? I'm using 24.5.3 on ubuntu 15.10, kernel 4.2.0.16 x64 running on AMD Athlon(tm) 64 X2 Dual Core Processor 5800+. I've tried to run it against loaddefs.el (around 31k lines) and it works fine, so maybe it is a problem of the language (php) it tries to indent? Running on a php file it takes around 3 seconds to return responsive, even with electric indent mode disabled. I've also tried to disable other minor modes I use like flymake, yas, hs but nothing changed. Luca From MAILER-DAEMON Tue Feb 09 07:19:09 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aT7G9-0008Uj-0Y for mharc-help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 07:19:09 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT7G5-0008PA-Bx for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 07:19:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aT7G2-0005nt-6m for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 07:19:05 -0500 Received: from mail-pa0-x234.google.com ([2607:f8b0:400e:c03::234]:35237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT7G1-0005nl-Qn for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 07:19:02 -0500 Received: by mail-pa0-x234.google.com with SMTP id ho8so90688582pac.2 for ; Tue, 09 Feb 2016 04:19:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-type; bh=DQYqqTngymCzfEnozIeM4YHMzjS4yAF+PzMPjSzdA1s=; b=dt7EgzbC+rDqpUFUceHoz1fth/9u7IoguBdUQPW1TqVH/BLDqp5PDx2a/fHkoYnKNW ZHzg2eMfBspUM6npbAyfinkl8u5xW9HzrM8Fq8FkHCs0M9m3rH/hrUmkdBCbeefXAIOB 9sBmLU8s41jEPIjAhaH5sLGnYr83B/+t7ijGaxuzpmdN8mp2iZDGekttOmZ7hHI4Q6hE OBsm8jqI+OnoJztCH28NW6+9LataiRH5KK0lRdzlmU1SWMzPin/2nPM9Fyv5J5sjF1rS teszRd8U/R/69dJLhSqaf9z7MvnFLzIxwKZKCIhgY0BW0eCZVrc8F7nI4s6ADXP37x/s s6VQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-type; bh=DQYqqTngymCzfEnozIeM4YHMzjS4yAF+PzMPjSzdA1s=; b=Trb0viVtz9O2FRUsD+sh3aKY5YbN9+dJBFUo5brEQ4cL0mpuExhZBEkfqzrqWgF+0A lWRpd4Gd4Wmmeoka4UeSVCANMYuzun+nY/BR22yYs4TqjBhKB8N57SH3vEP8Rd2ElYnG 1m86Yrvmf2TNUTTv3RCrWSmDP7b3eQAAISiEW4wdVv5L7sxTzQMerhCsrV/O+tNaNuDF oxxqPxuUReRiFOzB9joSrPJq4vbl8RtDU8Ft7mGH2rqVDI3kVzOSoz0GrOBWarxWtu8O 8YKEHxNbV3mHTz8tlz+NYR5dCvPV5fT9I6Vp5PgUXMTYevrY1O1GfEGwd3jAPducZtW0 dSfA== X-Gm-Message-State: AG10YOS/JnM3qpQQ62qnRLDCSrlYS1y0usepJpVIU9V+aoRe1t5mcpexsANv8bSuZWY5qA== X-Received: by 10.66.161.66 with SMTP id xq2mr19483250pab.153.1455020341047; Tue, 09 Feb 2016 04:19:01 -0800 (PST) Received: from localhost (114-198-67-137.dyn.iinet.net.au. [114.198.67.137]) by smtp.gmail.com with ESMTPSA id q16sm50267943pfi.80.2016.02.09.04.18.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Feb 2016 04:19:00 -0800 (PST) References: <878u2ucgyz.fsf@gmail.com> User-agent: mu4e 0.9.16; emacs 24.5.3 From: Alexis To: Luca Ferrari Subject: Re: aggressive-indent-mode freezes In-reply-to: Date: Tue, 09 Feb 2016 23:18:56 +1100 Message-ID: <877fiecc0f.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c03::234 Cc: help-gnu-emacs X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 12:19:06 -0000 Luca Ferrari writes: > I've tried to run it against loaddefs.el (around 31k lines) and > it works fine, so maybe it is a problem of the language (php) it > tries to indent? Running on a php file it takes around 3 > seconds to return responsive, even with electric indent mode > disabled. I've also tried to disable other minor modes I use > like flymake, yas, hs but nothing changed. Fair enough. i don't work much with PHP, so i just downloaded the source of WordPress and searched for the longest file, which turned out to be wp-includes/class-wp-xmlrpc-server.php, with ~6.5k lines. Again, editing didn't result in any appreciable lag. (The lag was certainly less than with org.el, which is not surprising, given org.el is three times larger.) Can you try running `emacs -Q`, loading aggressive-indent manually, and then check if you still observe the significant lag? Alexis. From MAILER-DAEMON Tue Feb 09 09:22:19 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aT9BK-0007EK-QF for mharc-help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 09:22:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT2Ja-0006Wk-Af for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 02:02:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aT2JS-00034l-Me for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 02:02:22 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57950) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aT2JS-00034h-J3; Tue, 09 Feb 2016 02:02:14 -0500 Received: from du-a.org ([219.94.251.20]:35706 helo=dhcp-217-92.nrt.redhat.com) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aT2JR-0001bd-Lb; Tue, 09 Feb 2016 02:02:14 -0500 Message-ID: From: Daiki Ueno To: Lars Ingebrigtsen Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? References: <87h9hjxnwc.fsf@web.de> <87bn7rnsqc.fsf@iki.fi> <874mdjxlcx.fsf@web.de> <87twlifsr0.fsf@gnus.org> Date: Tue, 09 Feb 2016 16:02:07 +0900 In-Reply-To: <87twlifsr0.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 09 Feb 2016 14:49:07 +1100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Mailman-Approved-At: Tue, 09 Feb 2016 09:22:17 -0500 Cc: Michael Heerdegen , Emacs mailing list , Teemu Likonen X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 07:02:26 -0000 Lars Ingebrigtsen writes: > Daiki Ueno writes: > >> pinentry.el is actually in lisp/net/ already. For the pinentry program, >> I don't think it is feasible, since there isn't (and won't be) a way to >> use a custom pinentry program from the gpg command line: >> https://lists.gnupg.org/pipermail/gnupg-devel/2015-May/029862.html > > Hm... I don't know much about this stuff, but I'm not sure I > understand. :-) There exists a program already called pinentry-emacs, > somebody said? That allows us to enter passwords from Emacs, sort of? It allows you to enter passwords _only_ from Emacs. That could be acceptable for those who do everything in Emacs, but wouldn't for most others. For example, suppose one use Emacs for editing and Thunderbird for mailing. When he opens an encrypted mail in Thunderbird, he will be asked passphrase from an Emacs window; I think that would be too annoying. Now that the upstream Pinentry has a proper diversion mechanism (Emacs -> gnome-shell/GTK+/Qt -> curses), I don't see any benefit of maintaining our own version of the pinentry program which only works with Emacs. Regards, -- Daiki Ueno From MAILER-DAEMON Tue Feb 09 09:22:20 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aT9BM-0007Gu-F6 for mharc-help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 09:22:20 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSyuX-0003VU-3b for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 22:24:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSyuT-0007gC-0e for help-gnu-emacs@gnu.org; Mon, 08 Feb 2016 22:24:17 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42707) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSyuH-0007fN-Mq; Mon, 08 Feb 2016 22:24:01 -0500 Received: from du-a.org ([219.94.251.20]:34752 helo=dhcp-217-92.nrt.redhat.com) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aSyuG-0004lO-Gc; Mon, 08 Feb 2016 22:24:00 -0500 Message-ID: From: Daiki Ueno To: Michael Heerdegen Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? References: <87h9hjxnwc.fsf@web.de> <87bn7rnsqc.fsf@iki.fi> <874mdjxlcx.fsf@web.de> Date: Tue, 09 Feb 2016 12:23:57 +0900 In-Reply-To: <874mdjxlcx.fsf@web.de> (Michael Heerdegen's message of "Mon, 08 Feb 2016 16:39:10 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Mailman-Approved-At: Tue, 09 Feb 2016 09:22:17 -0500 Cc: Emacs mailing list , Teemu Likonen , Lars Ingebrigtsen X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 03:24:21 -0000 Michael Heerdegen writes: > I tried pinentry.el from Gnu Elpa. What do I need to add exactly to > "~/.gnupg/gpg-agent.conf"? Just "allow-emacs-pinentry" as the package's > doc tells doesn't work. pinentry.el requires GnuPG >= 2.1.5 and Pinentry >= 0.9.8, as mentioned in the header comment. Is the version requirement met on your system? If it is all fine, try reloading the configuration with: gpgconf --reload gpg-agent as gpg-agent doesn't automatically reload the configuration. Lars Ingebrigtsen writes: > Perhaps pinentry.el and the pinentry program should be included in > Emacs? Having this stuff work out of the box would be nice. pinentry.el is actually in lisp/net/ already. For the pinentry program, I don't think it is feasible, since there isn't (and won't be) a way to use a custom pinentry program from the gpg command line: https://lists.gnupg.org/pipermail/gnupg-devel/2015-May/029862.html Regards, -- Daiki Ueno From MAILER-DAEMON Tue Feb 09 16:42:47 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTG3b-0000yM-KF for mharc-help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 16:42:47 -0500 X-Received: by 10.66.159.136 with SMTP id xc8mr26222920pab.9.1455051057425; Tue, 09 Feb 2016 12:50:57 -0800 (PST) X-Received: by 10.50.29.108 with SMTP id j12mr215288igh.6.1455051057359; Tue, 09 Feb 2016 12:50:57 -0800 (PST) Path: usenet.stanford.edu!ok5no189022igc.0!news-out.google.com!kr2ni11626igb.0!nntp.google.com!hb3no2707917igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: gnu.emacs.help Date: Tue, 9 Feb 2016 12:50:57 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=216.191.234.70; posting-account=LSGsVwoAAAAmcNbMjYX_t9AlieXm3FaI NNTP-Posting-Host: 216.191.234.70 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <05b139ab-cdab-44e0-8342-6b0d0acaca2d@googlegroups.com> Subject: Should ask-user-about-supersession-threat be aware of noninteractive ? (emacs -batch) From: richard.sharman@mitel.com Injection-Date: Tue, 09 Feb 2016 20:50:57 +0000 Content-Type: text/plain; charset=US-ASCII Xref: usenet.stanford.edu gnu.emacs.help:216787 To: help-gnu-emacs@gnu.org X-Mailman-Approved-At: Tue, 09 Feb 2016 16:42:46 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 20:55:09 -0000 I'm not sure if this is a bug or not. When running emacs -batch, if a function modifies a buffer and calls save-buffer and there is another emacs -batch also updating the same file, one of them can call ask-user-about-supersession-threat [in userlock.el]. This causes the emacs process to hang because read-char-choice never returns. (I have a traceback which I could post but is lengthy (91 levels!); it ends at pselect and frame 2 is wait_reading_process_output.) This happened when running make -j 6 and I changed the scenario to not happen, but I wondered if ask-user-about-supersession-threat should be act upon variable noninteractive. Or is one supposed to supply a replacement for ask-user-about-supersession-threat if running emacs in batch mode? Thanks, Richard -- This e-mail (including any attachments) is for the sole use of the intended recipient(s) and may contain information that is confidential and/or protected by legal privilege. Any unauthorized review, use, copy, disclosure or distribution of this e-mail is strictly prohibited. If you are not the intended recipient, please notify Mitel immediately and destroy all copies of this e-mail. Mitel does not accept any liability for breach of security, error or virus that may result from the transmission of this message. -- This e-mail (including any attachments) is for the sole use of the intended recipient(s) and may contain information that is confidential and/or protected by legal privilege. Any unauthorized review, use, copy, disclosure or distribution of this e-mail is strictly prohibited. If you are not the intended recipient, please notify Mitel immediately and destroy all copies of this e-mail. Mitel does not accept any liability for breach of security, error or virus that may result from the transmission of this message. From MAILER-DAEMON Tue Feb 09 17:50:51 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTH7T-00010I-47 for mharc-help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 17:50:51 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTH7L-0000tp-Jd for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 17:50:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTH7G-0002aZ-Ep for help-gnu-emacs@gnu.org; Tue, 09 Feb 2016 17:50:43 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:45400) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTH7G-0002ZU-7b; Tue, 09 Feb 2016 17:50:38 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aTH6s-0004S7-C3; Tue, 09 Feb 2016 23:50:15 +0100 From: Lars Ingebrigtsen To: Daiki Ueno Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? References: <87h9hjxnwc.fsf@web.de> <87bn7rnsqc.fsf@iki.fi> <874mdjxlcx.fsf@web.de> <87twlifsr0.fsf@gnus.org> Date: Wed, 10 Feb 2016 09:50:09 +1100 In-Reply-To: (Daiki Ueno's message of "Tue, 09 Feb 2016 16:02:07 +0900") Message-ID: <87oabp8pni.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aTH6s-0004S7-C3 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1455663015.37229@dXF+smVqKEPGyleDAckQUw X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 Cc: Michael Heerdegen , Emacs mailing list , Teemu Likonen X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 22:50:46 -0000 Daiki Ueno writes: > It allows you to enter passwords _only_ from Emacs. That could be > acceptable for those who do everything in Emacs, but wouldn't for most > others. For example, suppose one use Emacs for editing and Thunderbird > for mailing. When he opens an encrypted mail in Thunderbird, he will be > asked passphrase from an Emacs window; I think that would be too > annoying. Oh, I see. Yeah, that doesn't sound very useful in general. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From MAILER-DAEMON Wed Feb 10 02:13:20 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTOxk-0003zX-4X for mharc-help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 02:13:20 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTOxh-0003zE-Jo for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 02:13:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTOxg-0004wP-Pg for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 02:13:17 -0500 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:36156) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTOxg-0004wI-II for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 02:13:16 -0500 Received: by mail-wm0-x22f.google.com with SMTP id p63so14512770wmp.1 for ; Tue, 09 Feb 2016 23:13:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=U2QNVGAF35gjE285uanaOwf725xAK8vA7NVCnZYo7fM=; b=o2RG0t623BSFcC3Oz0Pb5gDsgBnRVqMNQxarIRQm9y47mHgCoNage3vvGJoQIVWtLA iwig1dPY8kPWNS69GxScrJzEfcCYAanM8gySyT2a98BuI3zr4yxkb8/xxhfw+ECC40Ce gBGVq4yYwDHFqBXkRWgBThTLE5Q4F/INWuauz0Jx3rnLHkzfRG2u4G1BKQq2xff7ET9y a6mak0sBtlldqCNFMekb532zQsxiA6+ko9PCoF0nqTXSMywJTwsMvshYlzmvR64UDYyS O4P1OoNRyS1xsqvhV4oDiTy9bxinQGMUoK6pKdSrsmtuiat5Gi+Y0y2CO/Y/oqwy3PT6 NkuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=U2QNVGAF35gjE285uanaOwf725xAK8vA7NVCnZYo7fM=; b=XnQrLQ861uNvN6dxHEzx/IeLDBUqK37L5KhwD+TIppCJoFkxqq4W7n/vrUS0gjYmi3 vrUvTetwj3FIJF5KaT6plKEUJceY3PZX3itMx3N2z++Pa/kvxeBzRhowgHy9GdgWmwSp Kw0l3cceZ+52Tdxvz2if4OAku67JgmJxoQwHo02hFz2C25Q2tI1dV5LruRsGs+Od651A VI95jm1DB4VDFqQZCeeR8pFJYbj2YEIY+0mkRpogVQlydYi0LSdXgJKqcxvEsUhNy7A2 Jv6udrOOVZDLpOdhK+ZnFZzsC+eJX99ma7cj1PcXPqUIopEd7fkLbXrUi7ZqQRcbViJ8 mAdg== X-Gm-Message-State: AG10YOQkWd7x7BHHiJA+L6ZuYL6SgccXVy+R00JapYSOwV15x1koFro9/2CZOXoGzHM0YnDpCarZGpL4KuB8Zw== MIME-Version: 1.0 X-Received: by 10.28.53.138 with SMTP id c132mr9882351wma.93.1455088396029; Tue, 09 Feb 2016 23:13:16 -0800 (PST) Sender: fluca1978@gmail.com Received: by 10.194.68.4 with HTTP; Tue, 9 Feb 2016 23:13:15 -0800 (PST) In-Reply-To: <877fiecc0f.fsf@gmail.com> References: <878u2ucgyz.fsf@gmail.com> <877fiecc0f.fsf@gmail.com> Date: Wed, 10 Feb 2016 08:13:15 +0100 X-Google-Sender-Auth: FWhO-sVuU3OGT4YfKSklpxze-wM Message-ID: Subject: Re: aggressive-indent-mode freezes From: Luca Ferrari To: Alexis Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22f Cc: help-gnu-emacs X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 07:13:18 -0000 On Tue, Feb 9, 2016 at 1:18 PM, Alexis wrote: > Can you try running `emacs -Q`, loading aggressive-indent manually, and then > check if you still observe the significant lag? While I see aggressive-mode-indent is installed I cannot load it manually via M-x when running emacs -Q. Am I doing something wrong? Luca From MAILER-DAEMON Wed Feb 10 02:39:18 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTPMr-0000xX-VA for mharc-help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 02:39:17 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTPMp-0000uH-1v for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 02:39:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTPMk-0003t0-2E for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 02:39:14 -0500 Received: from mail-pf0-x236.google.com ([2607:f8b0:400e:c00::236]:35505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTPMj-0003st-Qr for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 02:39:09 -0500 Received: by mail-pf0-x236.google.com with SMTP id c10so8014160pfc.2 for ; Tue, 09 Feb 2016 23:39:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-type; bh=afZAyO9XKOsltSGEInFVynX5YWJQ/4H0FjSWk6p+UCM=; b=mJ4qDzlfjTZRHDdqirmUNuXz2MjWYhGx4BO4JG4Hz7YgHDE0Md3wt8g4XeZTfISuDB Y+gLP8OzGE6Gzex26gg4tWeZX1nw1Sz842sJ9alDdXKspsH7qqA/Wkca+B4TFxt1BYID oxJJKkw0hXQI/h/UEDEgLug9VPGp5V5w7TDd4F9Q7T5J5DWv//tWsQyLtoND4e8auYyh KAXH2q+ntP48RYO/I5FIjdwjP4jVgVLH4pFH2NuW9ZS79YVHwsMjqdI9ROOqRFfEqCSB WyY1nl0JennBhla79TkSPVXwiUU+eftjOL8HEpiR5Tn0RMEajiZQFVcap52+iN5uWp0v j3mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-type; bh=afZAyO9XKOsltSGEInFVynX5YWJQ/4H0FjSWk6p+UCM=; b=CTmmjmR8VQ3Dgl831YqaQKtC2i25UHVfi8zcT+slhPjbevCStnsWda0FshOOWKMemV oDVntvWgZngSlNFtM28rzyJI2NJ8oHhKUcENGNY0U8rpG0zdrRjGZ2hsokwrIHdDNsrl yZOo3r/3m8E9b/g5/c6Gkyp7idqaZcWlyQjrLY9H/6l/Av3ahdShGZYTrfZbe+7uHZCR ye824ydmQmzwELpxx8NiMqCjaeA1bNemAOntfC0rx/gO4Q9aQT5MMRHFk5HyRk4XJXbn /IkoTBsQC4iE4o4h4JxmQc8QfscfU0nZ7c5dEnVnAgrUSHa8ciEcmIWbCgh8x+DbpOkh CrVg== X-Gm-Message-State: AG10YOT+UlU8/+mAZHS0C/066Q7gyVirT33zM3cOcMHGH2r79CcXgh39kEjf1jMUyN0ktQ== X-Received: by 10.98.65.203 with SMTP id g72mr56719798pfd.44.1455089948790; Tue, 09 Feb 2016 23:39:08 -0800 (PST) Received: from localhost (114-198-67-137.dyn.iinet.net.au. [114.198.67.137]) by smtp.gmail.com with ESMTPSA id r77sm2717647pfa.47.2016.02.09.23.39.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Feb 2016 23:39:08 -0800 (PST) References: <878u2ucgyz.fsf@gmail.com> <877fiecc0f.fsf@gmail.com> User-agent: mu4e 0.9.16; emacs 24.5.3 From: Alexis To: Luca Ferrari Subject: Re: aggressive-indent-mode freezes In-reply-to: Date: Wed, 10 Feb 2016 18:39:03 +1100 Message-ID: <87vb5xauaw.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::236 Cc: help-gnu-emacs X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 07:39:16 -0000 Luca Ferrari writes: > On Tue, Feb 9, 2016 at 1:18 PM, Alexis > wrote: >> Can you try running `emacs -Q`, loading aggressive-indent >> manually, and then check if you still observe the significant >> lag? > > While I see aggressive-mode-indent is installed I cannot load it > manually via M-x when running emacs -Q. Am I doing something > wrong? To actually load the library, you'll need to go to your *scratch* buffer in your emacs -Q session and do something like: (load "~/.emacs.d/elpa/aggressive-indent-20160209.956/aggressive-indent-autoloads.el") changing the 'aggressive-indent-20160209.956' part as necessary. You can then evaluate that code by positioning the cursor at the end of it (i.e. just after the closing parenthesis), then pressing C-x C-e. You should then find `aggressive-indent-mode` is available via M-x. (Normally the `package-initialize` function handles doing all the package loading stuff for you, but in this instance, we don't want `package-initialize` doing that, because it would load other packages, and we're trying to narrow down whether the problem is with `aggressive-indent-mode` itself, with another package, or a combination of both.) Alexis. From MAILER-DAEMON Wed Feb 10 05:23:12 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTRvU-0000AG-7B for mharc-help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 05:23:12 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTRvS-00007G-2k for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 05:23:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTRvO-0000YP-R4 for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 05:23:09 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:40696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTRvO-0000Xb-Kq for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 05:23:06 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 146C09D2002 for ; Wed, 10 Feb 2016 11:23:00 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NvY-9xtg52D9 for ; Wed, 10 Feb 2016 11:22:57 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 653789D2001 for ; Wed, 10 Feb 2016 11:22:57 +0100 (CET) User-agent: mu4e 0.9.13; emacs 25.1.50.1 From: Marcin Borkowski To: Help Gnu Emacs mailing list Subject: Upgrading Emacs from Git Date: Wed, 10 Feb 2016 11:22:53 +0100 Message-ID: <877ficrhj6.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 10:23:11 -0000 Hi, a quick question: I compiled Emacs from Git and now want to upgrade it. Is it enough to pull a fresh version and then make && make install? Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Wed Feb 10 06:04:33 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTSZV-0001O4-JS for mharc-help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 06:04:33 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTSZT-0001Nv-6G for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 06:04:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTSZS-0003GP-C5 for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 06:04:31 -0500 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:33696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTSZS-0003GC-3x for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 06:04:30 -0500 Received: by mail-wm0-x235.google.com with SMTP id g62so21895640wme.0 for ; Wed, 10 Feb 2016 03:04:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=cazTkxZrqA5zh+7YGeHo9a0Ri5JxwpL/nJfwtFv/m5c=; b=EQ+hoNolGC2cRL3gzC/nZTtXMf3NbSgDo5uAaHH8QIyMKSRsSbwkoUFoAetVM3yEDl deOmlX+6Y/jGsL4nKBHAhLXe4aMKgIzy1rw5SUABCqj0AHWgnMUOMNFz8MTrJzVskyt1 BTEDJBdNPGmYbWVean8d1Xbr6S/qqRL1HjTWu1qNeHy/Gqa3ScYbDf585wy3OmqW+z59 bkoGsz0M7QehFOCmA0kPTR06pXx6MKGpCo9ZtTvc8cQ3dSsTOXlxd1iJ9hjYsaaka6MZ NkX5hAdygGYpV3K4jbJSUrIeOdLelQWJpW68C6tgY37kIlVx7hBsTkHFkXqwgfZiFHAW jl6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=cazTkxZrqA5zh+7YGeHo9a0Ri5JxwpL/nJfwtFv/m5c=; b=XZE8Y/KpiovP3551GUn0WzmopVrw2KzxV9nVqRtSc6qgMn6+e9AaMAIWBtkluseUkJ wlp1hYj078VMH1LAMKwQHXoP3v6TBDhqVVcH8DUsDQkU0xmfL2wTz3TgtmSs45l8QkxU 7LopkT6wttSYdEb/fyU+Hsky1IUk0EOAblpztmboW0NUHK6JTzaE5kIU917xND7O+RXg 9oEo4ZcGxKe3ngXl8wIrmRTyghAexXfb63xuc1WEmDZM37YFAA0F1w4jGmIBMxHzlcM4 ftxe4JnUJF4ZXN+D0t6hCy3YoIlanM4+AXm186n+RhhvYI0F2XS8ZMMomIueJ9TRo238 BxIg== X-Gm-Message-State: AG10YOQrVGEwncKBIJy56Wjqyr4ohSxWCp4w0iuSVHyVVt5D5hR/g0bynw9oduAtJiFtCx2felbO9fEU6om6Kw== MIME-Version: 1.0 X-Received: by 10.194.133.233 with SMTP id pf9mr39664107wjb.75.1455102269167; Wed, 10 Feb 2016 03:04:29 -0800 (PST) Sender: fluca1978@gmail.com Received: by 10.194.68.4 with HTTP; Wed, 10 Feb 2016 03:04:29 -0800 (PST) In-Reply-To: <87vb5xauaw.fsf@gmail.com> References: <878u2ucgyz.fsf@gmail.com> <877fiecc0f.fsf@gmail.com> <87vb5xauaw.fsf@gmail.com> Date: Wed, 10 Feb 2016 12:04:29 +0100 X-Google-Sender-Auth: QLsdND_MGcyM18dnLYGpt7zarpU Message-ID: Subject: Re: aggressive-indent-mode freezes From: Luca Ferrari To: Alexis Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::235 Cc: help-gnu-emacs X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 11:04:32 -0000 On Wed, Feb 10, 2016 at 8:39 AM, Alexis wrote: > You should then find `aggressive-indent-mode` is available via M-x. > Done, and the php file now is indented quickly. Therefore there is something else that is causing the problem. Now, what is the best way to find out without having to comment out each loaded module and iteratively try? Thanks, Luca From MAILER-DAEMON Wed Feb 10 06:29:15 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTSxP-00052U-OD for mharc-help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 06:29:15 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTSxN-00051y-Nq for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 06:29:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTSxK-0002QA-Cx for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 06:29:13 -0500 Received: from mail-pa0-x22a.google.com ([2607:f8b0:400e:c03::22a]:35091) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTSxK-0002Q3-5R for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 06:29:10 -0500 Received: by mail-pa0-x22a.google.com with SMTP id ho8so10613198pac.2 for ; Wed, 10 Feb 2016 03:29:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-type; bh=FhOpJEbKQcPCFz9BO27NwnE2QQz0KuE+/NDWynAXz+U=; b=r+Yq2q9FCDRnI/n13E3VSZ33Jpgo968w03QjQhcOkPUbX6IOhJP2yq0hR+yqr3ZOiJ FB0dAGyCjVLMxB+wp+/2wFTuRy170ez9N0UMubEaXmqp7xo1uFO5ytWlCd3N6Vd3vkQg C54XhTyMYb0qJz+fRHYxPKPE/o4qb4gTbvPsQYZBuZcCk+R4A9X0cy6Ir4LUa2E1J+10 Gm+Kn+6kfIbJsYP1WVJ91qDJxd4r3QwuA88/KN+9FUafzmyhJBOUCgTqIMa8gkLGRjMR lIWBZfSI2worcHy2iARIKrYhsQkIxtaBNeAGb2TXBihFjG3/+t31siuXjmIdcEbNNmvA 9JmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-type; bh=FhOpJEbKQcPCFz9BO27NwnE2QQz0KuE+/NDWynAXz+U=; b=A5YkSL6XWJvq5AjYzQ1Y6BG7GUdVETI+Yb2LTv7vMoo60mqUUtVbzYqbCtm2/e+hkD EsckIRTuVjbQlop97Zt11SPXKfWy2+ftDCjBRX7UKFdmxDvsz7BhoxqBwrMNvUPxlN0+ 1A1u8XqfRBGn8VLJha/6PFRQF5phi0Ukfrsb9PE/Dg1c73oDooN90QkdeKNDdCS590Uf L4HnQpVZs6SzN52Zm9cbjfq6PLPBjaih22aO6NeLa3DYQN835jCEV5XeYdWx840aPHRD wQTKCq1YZn2c35wbX//cSwZZul1xdNeGrtxkz7otskGeY3hCqhLjciPxQk07Ra6l/l1C rWBA== X-Gm-Message-State: AG10YOTfw0vyOFtNq/7yZ0F8sOuA2jiD0lnriCc9XYZ2MH/xiyTiYPAGeBxU9KEZfxMgqA== X-Received: by 10.66.194.230 with SMTP id hz6mr57151694pac.70.1455103749287; Wed, 10 Feb 2016 03:29:09 -0800 (PST) Received: from localhost (114-198-67-137.dyn.iinet.net.au. [114.198.67.137]) by smtp.gmail.com with ESMTPSA id i13sm4532425pfi.95.2016.02.10.03.29.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Feb 2016 03:29:08 -0800 (PST) References: <878u2ucgyz.fsf@gmail.com> <877fiecc0f.fsf@gmail.com> <87vb5xauaw.fsf@gmail.com> User-agent: mu4e 0.9.16; emacs 24.5.3 From: Alexis To: Luca Ferrari Subject: Re: aggressive-indent-mode freezes In-reply-to: Date: Wed, 10 Feb 2016 22:29:04 +1100 Message-ID: <87si10by7z.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c03::22a Cc: help-gnu-emacs X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 11:29:14 -0000 Luca Ferrari writes: > Done, and the php file now is indented quickly. Therefore there > is something else that is causing the problem. Now, what is the > best way to find out without having to comment out each loaded > module and iteratively try? Well, if i were in this situation, i would bisect and re-bisect my config file to narrow things down to the section which seems to cause the problem. However, my config is indeed mostly done via a single file, and i don't make use of things like starter kits, Spacemacs, etc. If you do, i'm not sure what the best approach might be - perhaps someone else could make some suggestions .... ? Alexis. From MAILER-DAEMON Wed Feb 10 07:05:11 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTTWB-0003Ix-Ky for mharc-help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 07:05:11 -0500 Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Joost Kremers Newsgroups: gnu.emacs.help Subject: Re: aggressive-indent-mode freezes Date: 10 Feb 2016 12:03:28 GMT Lines: 29 Message-ID: References: <878u2ucgyz.fsf@gmail.com> <877fiecc0f.fsf@gmail.com> <87vb5xauaw.fsf@gmail.com> X-Trace: individual.net R1W7RrnUY/OBXQbOP5MalAHFcl/RKNDKb4d0/tP8EGkc3gQTqi Cancel-Lock: sha1:Dtr7UA1ZIf3Ub+NPHDVs73X7y5k= Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/1.0.1 (Linux) Xref: usenet.stanford.edu gnu.emacs.help:216794 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 12:05:09 -0000 Alexis wrote: > > Luca Ferrari writes: > >> Done, and the php file now is indented quickly. Therefore there >> is something else that is causing the problem. Now, what is the >> best way to find out without having to comment out each loaded >> module and iteratively try? > > Well, if i were in this situation, i would bisect and re-bisect my > config file to narrow things down to the section which seems to > cause the problem. However, my config is indeed mostly done via a > single file, and i don't make use of things like starter kits, > Spacemacs, etc. If you do, i'm not sure what the best approach > might be - perhaps someone else could make some suggestions .... ? Emacs has a profiler: (info "(elisp) Profiling") You can use it to check in what function(s) Emacs spends the most time while opening/editing the file in question. That usually points to a package that is resource-intensive. -- Joost Kremers joostkremers@fastmail.fm Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9) From MAILER-DAEMON Wed Feb 10 09:19:48 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTVcS-0003D1-Eg for mharc-help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 09:19:48 -0500 X-Received: by 10.13.213.208 with SMTP id x199mr7586654ywd.48.1455112070948; Wed, 10 Feb 2016 05:47:50 -0800 (PST) Path: usenet.stanford.edu!y89no904959qge.0!news-out.google.com!l1ni8868igd.0!nntp.google.com!peer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!fx10.iad.POSTED!not-for-mail From: Barry Fishman Newsgroups: gnu.emacs.help Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? References: <87h9hjxnwc.fsf@web.de> <87bn7rnsqc.fsf@iki.fi> <874mdjxlcx.fsf@web.de> <87twlifsr0.fsf@gnus.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAALVBMVEXG87t8xXThBQWq85q9 87AvUC6PUVH/BgamyajC87a/87P////r6+ud7oq49KsBy7dJAAACKUlEQVQ4jc3Sv2vbQBQH 8CulwcEdeoOKwM1QD/bSzVktKDEdMpRqeMKQFNqAhEGbh3aVB5sDafAYL106xZMzuAiehnqI EciLMR2viz0Vor+hdydZMa6z97sI9NH7cYdI9ZGQr4/kP4Fu1akehFqHDaoHoOviPLD3oVtz 7PIErFCeeRdqOuvptwDMYSyfpKB7iYh3DOCTeOKzegGvk8hD1O22eD2B9tUWum9wbpXYy6NA wAzMeQFu1AeT2VAW0Af4sYUvfmRbCWLciXq0B2ZYf4C+GL/AGBIcOP4O4MzFKbiTAGOPYg7V mu1j5OIdfIgT7FtHGKoZIHKB6IuK9kDODpNsK0pPVnqCFbyFSyYWMMPnIA9CVsbm5l2HuRjZ FVERBXFPs8QQMhIZvqUX8jJmiTzIRy5FwWhEdAmR4y1KnQbn1KrnMOrLj6PPDnW8bw2+1K7I OINrecF9jwyJyBlfAvkzvlEy6DBHJ3m+8yU5HY9V0TWl+nALx+slMQTkRWKHQprEOJeST3qg p8RoHZRjsmm1ctrrJ0HkX0mFvG+uTnf7qe3SNG2dcc4bm70iAemaHxAJ91zF2G2noMl/UVVk bAoihgINlKwa6XkuhBsKGJgnPBuVEeG/5Wzqz3tZ0bYh4SsBS+qXZtTMRTWUcC/Bnybi7+R5 VoaAdZNz7ZU/RT8u2nEuQTw0VpmjH/7UChHQlFAGT1Rg8GS7Hcm+0F4EDgvYIohLAFS++wvs R0Pau3fdJgAAAABJRU5ErkJggg== Message-ID: User-Agent: Gnus/5.130016 (Ma Gnus v0.16) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:/k2164HAeHOPNdcr7I3BifiEY84= MIME-Version: 1.0 Lines: 26 X-Complaints-To: abuse@easynews.com Organization: Easynews - www.easynews.com X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly. Date: Wed, 10 Feb 2016 08:47:49 -0500 X-Received-Bytes: 2695 X-Received-Body-CRC: 2851070079 Content-Type: text/plain Xref: usenet.stanford.edu gnu.emacs.help:216795 To: help-gnu-emacs@gnu.org X-Mailman-Approved-At: Wed, 10 Feb 2016 09:19:46 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 13:50:10 -0000 On 2016-02-09 10:54:30 +0100, Joakim Jalap wrote: > pinentry-emacs can be built from the pintry repo at > git.gnupg.org/pintry.git. > > Together with the correct envvars set, this allows us to input passwords > from Emacs, yes :) > > However this seems to be seen as a sort of hack, and it's disabled by > default on Arch Linux, FreeBSD and Debian as it seems, so I have had to > build it from source. I guess that alienates a lot of users though :/ But it *is* enabled by default in Arch, and included as a separate package in Fedora. For Arch, its even part of core: $ pacman -Ss pinentry core/pinentry 0.9.7-1 [installed] Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol $ pacman -Qo /usr/bin/pinentry-emacs /usr/bin/pinentry-emacs is owned by pinentry 0.9.7-1 -- Barry Fishman From MAILER-DAEMON Wed Feb 10 10:18:08 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTWWu-0002rf-2p for mharc-help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 10:18:08 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTVmj-00006a-8k for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 09:30:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTVme-0000Bf-9h for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 09:30:25 -0500 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:35570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTVme-0000BY-2L for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 09:30:20 -0500 Received: by mail-wm0-x235.google.com with SMTP id c200so31250569wme.0 for ; Wed, 10 Feb 2016 06:30:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=javaxpert-com.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=+ZNyGDtculuCYgU6FWA1kSEic+uJE5ep+9jll3CE6NY=; b=ylATxbbrFaTU/VDE+YQDPFnNJ7H5DNycmkUDJWlSb71KjVoroM3gnFwvMMROhQjBNq kVsohwbUgPS35cMMy+F6TsY5unwOwJdsAonJ6FliZgTUFKTpp6ZwuSCJXDcDI04xPHfW ic+DRpl9xQcYy4XjroROodvNcBw5qp6GMoPC68b28Z6CYjcQYfxVw7k++pV0cN0yffhI h0MUFh0nhAVpfx1V0OvblXxFelGvK8veIgR/atDMXI/GjzLJWItckUaFBCCLzpaO7Fcr xfMUbvBZKymKz1ZtqBMayphf2ps3efM/ENIFn1rXzNfY14Q48fvTqZDdwMP/uQtLcsZ8 yGOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-type:content-transfer-encoding; bh=+ZNyGDtculuCYgU6FWA1kSEic+uJE5ep+9jll3CE6NY=; b=Dyl/vMs+gk6MbfJFcTCcONOBWdkxAES41CLMfUGRnKSBuTWa1POSpkBMA8Aqe8ve+H jpCn4pH1NXJcL11qpgYCrXRJOKaImC3OccrfD6QsjGgKRC4n3E+wvkZ4AKw0ZEviezs1 0Rmh8AutegF1NEbw8quEsOSFGIoEki6uAmP/o65I3ekghl3JXEyrBSn18BS0w9/xEBW1 2yrZIReGKkmoWKhvI3ck6gdNoFkt8F90tcW5JZd72X7RiLCFreT6CcZI4RAA8TF8dGqo DUgwbWz9i3yZvaa8DtcFleRR7lHZ7GaRpIMfTtRORWZBF+43QFhD0Rocv7zbtxs9XAbz Vuew== X-Gm-Message-State: AG10YOTE35BST0L18nAe2BWIJ43wa3/51H42mqGbTNDlCVY07fEKgPHUBAla3VI7qtA9CA== X-Received: by 10.28.176.131 with SMTP id z125mr12220771wme.5.1455114619455; Wed, 10 Feb 2016 06:30:19 -0800 (PST) Received: from [192.168.1.153] (mail.aquitaine-electronique.fr. [212.234.77.185]) by smtp.gmail.com with ESMTPSA id r62sm3682964wmd.15.2016.02.10.06.30.18 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 10 Feb 2016 06:30:18 -0800 (PST) To: help-gnu-emacs@gnu.org From: deadbrain Subject: Building an open source cross development chain Message-ID: <56BB4979.4010007@javaxpert.com> Date: Wed, 10 Feb 2016 15:30:18 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::235 X-Mailman-Approved-At: Wed, 10 Feb 2016 10:18:06 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 14:30:26 -0000 Hi all, I'd like to know if someone succeed in building a full open source development chain around Emacs for embedded cross development(with gcc-arm-none-eabi cross compiler& deboger, openocd). Can you debog directly from Emacs ? All ideas are welcome... Best regards Jerome From MAILER-DAEMON Wed Feb 10 10:18:34 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTWXK-0003Pf-Jd for mharc-help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 10:18:34 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTWXG-0003LV-J6 for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 10:18:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTWXB-0005Ak-GI for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 10:18:30 -0500 Received: from plane.gmane.org ([80.91.229.3]:48504) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTWXB-0005Ac-9d for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 10:18:25 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aTWWE-0002A1-Gg for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 16:17:26 +0100 Received: from h-202-248.a328.priv.bahnhof.se ([5.150.202.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Feb 2016 16:17:26 +0100 Received: from joakim.jalap by h-202-248.a328.priv.bahnhof.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Feb 2016 16:17:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Joakim Jalap Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? Date: Wed, 10 Feb 2016 16:16:55 +0100 Lines: 38 Message-ID: <87ziv8lhnc.fsf@fastmail.com> References: <87h9hjxnwc.fsf@web.de> <87bn7rnsqc.fsf@iki.fi> <874mdjxlcx.fsf@web.de> <87twlifsr0.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: h-202-248.a328.priv.bahnhof.se User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) Cancel-Lock: sha1:7VWYX2+GHpN93gnLir9DNXlcIP0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 15:18:32 -0000 Barry Fishman writes: > On 2016-02-09 10:54:30 +0100, Joakim Jalap wrote: >> pinentry-emacs can be built from the pintry repo at >> git.gnupg.org/pintry.git. >> >> Together with the correct envvars set, this allows us to input passwords >> from Emacs, yes :) >> >> However this seems to be seen as a sort of hack, and it's disabled by >> default on Arch Linux, FreeBSD and Debian as it seems, so I have had to >> build it from source. I guess that alienates a lot of users though :/ > > But it *is* enabled by default in Arch, and included as a separate > package in Fedora. > > For Arch, its even part of core: > > $ pacman -Ss pinentry > core/pinentry 0.9.7-1 [installed] > Collection of simple PIN or passphrase entry dialogs which utilize the > Assuan protocol > $ pacman -Qo /usr/bin/pinentry-emacs > /usr/bin/pinentry-emacs is owned by pinentry 0.9.7-1 > > -- > Barry Fishman Oh cool! Seems it was added in December last year, so that's probably after my escapades :) I actually mailed the maintainer of the FreeBSD port about it, and he said he would enable it if I could get it to work, but unfortunately I couldn't get the ports Makefile magic right :( Joakim From MAILER-DAEMON Wed Feb 10 10:33:16 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTWlY-0002Vh-49 for mharc-help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 10:33:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59147) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTWlS-0002UT-PT for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 10:33:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTWlO-0002QN-Me for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 10:33:10 -0500 Received: from plane.gmane.org ([80.91.229.3]:49942) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTWlO-0002QG-FU for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 10:33:06 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aTWlM-0003cJ-PH for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 16:33:05 +0100 Received: from 212.211.134.206 ([212.211.134.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Feb 2016 16:33:04 +0100 Received: from william.xwl by 212.211.134.206 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Feb 2016 16:33:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: William Xu Subject: Re: pinyin character input Date: Wed, 10 Feb 2016 16:32:57 +0100 Organization: the Church of Emacs Lines: 21 Message-ID: References: <20160206221241.GL8496@engels.historicalmaterialism.info> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 212.211.134.206 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:Sw7Ci6qqosTDc6gQ+LsyCOW/UPI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 15:33:14 -0000 Haines Brown writes: > I am using chinese-py input method, but there is a character I cannot > generate. It is ji (first tone), a polite address to a woman. When I > enter "ji", the character I want is not an option. Is this a font > limitation or should I be entering the "ji" somehow with the first > tone? If this is what you want: ~姬 ~姬 jī A suffix used for a female friend, maiden. "Guniang" (Chinese: 姑娘; pinyin: gūniang) is sometimes used. After typing "ji", it shows up as first one on the fifth page of the candidates. (Use arrow down to see next page) -- William And in the heartbreak years that lie ahead, Be true to yourself and the Grateful Dead. -- Joan Baez From MAILER-DAEMON Wed Feb 10 12:28:03 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTYYd-0003dv-KB for mharc-help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 12:28:03 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTYYb-0003dP-Ca for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 12:28:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTYYY-0001LM-5P for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 12:28:01 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTYYY-0001LI-1U for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 12:27:58 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2746 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aTYYX-00070j-D8 for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 12:27:57 -0500 Date: Wed, 10 Feb 2016 19:27:47 +0200 Message-Id: <83bn7obhm4.fsf@gnu.org> From: Eli Zaretskii To: help-gnu-emacs@gnu.org In-reply-to: <877ficrhj6.fsf@mbork.pl> (message from Marcin Borkowski on Wed, 10 Feb 2016 11:22:53 +0100) Subject: Re: Upgrading Emacs from Git References: <877ficrhj6.fsf@mbork.pl> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 17:28:02 -0000 > From: Marcin Borkowski > Date: Wed, 10 Feb 2016 11:22:53 +0100 > > a quick question: I compiled Emacs from Git and now want to upgrade it. > Is it enough to pull a fresh version and then make && make install? It should be enough to "git pull" into the same repository where you have the previous version, and then "make && make install". From MAILER-DAEMON Wed Feb 10 12:46:25 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTYqP-00059f-7l for mharc-help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 12:46:25 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTYqN-00058y-0k for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 12:46:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTYqH-0006BO-SQ for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 12:46:22 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTYqH-0006BK-PB for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 12:46:17 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2777 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aTYqH-0000fB-42 for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 12:46:17 -0500 Date: Wed, 10 Feb 2016 19:46:07 +0200 Message-Id: <837ficbgrk.fsf@gnu.org> From: Eli Zaretskii To: help-gnu-emacs@gnu.org In-reply-to: <05b139ab-cdab-44e0-8342-6b0d0acaca2d@googlegroups.com> (richard.sharman@mitel.com) Subject: Re: Should ask-user-about-supersession-threat be aware of noninteractive ? (emacs -batch) References: <05b139ab-cdab-44e0-8342-6b0d0acaca2d@googlegroups.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 17:46:23 -0000 > Date: Tue, 9 Feb 2016 12:50:57 -0800 (PST) > From: richard.sharman@mitel.com > Injection-Date: Tue, 09 Feb 2016 20:50:57 +0000 > > I'm not sure if this is a bug or not. > > When running emacs -batch, if a function modifies a buffer and calls save-buffer and there is another emacs -batch also updating the same file, one of them can call ask-user-about-supersession-threat [in userlock.el]. > > This causes the emacs process to hang because read-char-choice never returns. (I have a traceback which I could post but is lengthy (91 levels!); it ends at pselect and frame 2 is wait_reading_process_output.) > > This happened when running make -j 6 and I changed the scenario to not happen, but I wondered if ask-user-about-supersession-threat should be act upon variable noninteractive. > > Or is one supposed to supply a replacement for ask-user-about-supersession-threat if running emacs in batch mode? Please report this (with that traceback, please) using report-emacs-bug. It's possible that ask-user-about-supersession-threat should always provide an automatic response in batch mode. Thanks. From MAILER-DAEMON Wed Feb 10 13:13:21 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTZGT-0005cs-P9 for mharc-help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 13:13:21 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTZGR-0005aR-LR for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 13:13:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTZGM-0006LF-Kn for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 13:13:19 -0500 Received: from mout.gmx.net ([212.227.17.21]:50978) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTZGM-0006K5-C1 for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 13:13:14 -0500 Received: from boo.workgroup ([87.185.152.32]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0M09Ee-1aAvNk2S5s-00uKTD for ; Wed, 10 Feb 2016 19:13:12 +0100 Received: from grfz by boo.workgroup with local (Exim 4.86) (envelope-from ) id 1aTXzN-0004If-SQ for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 17:51:37 +0100 Date: Wed, 10 Feb 2016 17:51:07 +0100 From: Gregor Zattler To: help-gnu-emacs Subject: Re: Upgrading Emacs from Git Message-ID: <20160210165107.GB14358@len.workgroup> Mail-Followup-To: help-gnu-emacs References: <877ficrhj6.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <877ficrhj6.fsf@mbork.pl> Sender: error4me@gmx.de X-Provags-ID: V03:K0:mFyumnxE4Gn8Ux8gAQLz5deO2G/lQstzQu+uZEnwM4JWGTY8gtL teBZr+zTV4aLiPRoVjucn7PLzUGE20YSLXctF3Xi3hzldZBdo7GuhEFJlDWlnPPN4dLNpyA lfPKxcaXgXGmFHrnryPrZmYJiLIl3zEoy02xWQB0dLD+zrH0NCc6ZiL4lXj36mNR7ZoI2Af q572X/rDGTwQ1ORP7IHBQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:yypDVxO9wpI=:OeN0/8beGA4NSl6Es13Uvl oE3yrCArWTTC9/KA1i9nrt/W1cSf2qytIWK5cNnbezIpPflPwDq7zL42bPp+BUGFxZcJG2s4m 6Q3FgJyV8e+JVNmEORG3PiCVtR/LcmnuH8y2rTq2oNGNdXUSOotPU5HRmWj6vGId6vVEkrdPK iV2K5joNljOZFeiazQrTtCXOD0/a1en+b93Z8n37o2rkr0moIpmzQMxHRIPQ4ZqmkZjR2oMlR P9IsQEkjX/YRqfer6vuwDylUwWMSUOBDyROIrB6gleM/2sPmb/Q+i8G8CWSrp23Yw3aJYckPY bfoC8ARmPf7GWrprkjgReP6CLGC1cTFT6n8lctc7TxV2PgQ9ZDArPgGx+V1SwXsIXJOXG8k3R r0Z7PixXxAUz4e4TKOD7lfUwvyX/60DYia4OUWqDx2tSbPtsqxPdST0Lf7QbByI097/+0MHKD yTc6ws3uQxnHGYB1dcFEv3U9EGqYWqUS7XIyC/4srfzXsk7k1UdmP2zxpL1K1cV4jeF1BCnK9 kLTwAxym9o3J28DOY/QxSoOxDQbQWyRikTVrxGpXcXczttrE8xAyvFigLY/SdtMip2Pm0/LmG tmQ8KLJ0jV6luMU+3W4X7XHsDdo2T4/rleGsOLFYqWHJYazNL/uONoGdO35qX/k4RX7cXyIfx gt2NvOM4SgaObZPRb/gPB17vadpgEIhoOIUrF/FEGTfWwU9tCitSNSNBn2eUmmN82PGdg28Ep YPVmZ3Qlh4669AMOs499+KSqSXlYy1wLtKTe0uyNS5sU/SbQo9PeJwyYlS0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 18:13:20 -0000 Hi Marcin, * Marcin Borkowski [10. Feb. 2016]: > a quick question: I compiled Emacs from Git and now want to upgrade it. > Is it enough to pull a fresh version and then make && make install? A simple git pull is all you need to do in order to get new commits. After that do a make && make install. Ciao, Gregor -- -... --- .-. . -.. ..--.. ...-.- From MAILER-DAEMON Wed Feb 10 13:20:29 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTZNN-0008GS-UW for mharc-help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 13:20:29 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTZNI-0008Fw-HJ for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 13:20:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTZND-000853-Tz for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 13:20:24 -0500 Received: from plane.gmane.org ([80.91.229.3]:35969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTZND-00084z-Np for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 13:20:19 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aTZNC-0007wK-9v for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 19:20:18 +0100 Received: from 1.red-83-38-42.dynamicip.rima-tde.net ([83.38.42.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Feb 2016 19:20:18 +0100 Received: from ofv by 1.red-83-38-42.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Feb 2016 19:20:18 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: =?utf-8?Q?=C3=93scar_Fuentes?= Subject: Re: Upgrading Emacs from Git Date: Wed, 10 Feb 2016 19:20:12 +0100 Lines: 9 Message-ID: <878u2sv34z.fsf@wanadoo.es> References: <877ficrhj6.fsf@mbork.pl> <83bn7obhm4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 1.red-83-38-42.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:QfA4spMIa/prKwnTyWcWellEJRE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Feb 2016 18:20:29 -0000 Eli Zaretskii writes: >> a quick question: I compiled Emacs from Git and now want to upgrade it. >> Is it enough to pull a fresh version and then make && make install? > > It should be enough to "git pull" into the same repository where you > have the previous version, and then "make && make install". If "make" fails, try "make bootstrap". From MAILER-DAEMON Wed Feb 10 19:55:15 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTfXP-0001NV-Lq for mharc-help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 19:55:15 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTfXK-0001IQ-8r for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 19:55:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTfXF-0006lK-9q for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 19:55:10 -0500 Received: from plane.gmane.org ([80.91.229.3]:59909) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTfXF-0006kx-3G for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 19:55:05 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aTfXD-0003lE-BG for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 01:55:03 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 01:55:03 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 01:55:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Upgrading Emacs from Git Date: Thu, 11 Feb 2016 01:52:24 +0100 Lines: 13 Message-ID: <8760xw131z.fsf@debian.uxu> References: <877ficrhj6.fsf@mbork.pl> <83bn7obhm4.fsf@gnu.org> <878u2sv34z.fsf@wanadoo.es> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:37fL0puyvMnlmLHZ1EG6ktHwr5Q= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 00:55:14 -0000 Óscar Fuentes writes: >> It should be enough to "git pull" into the same >> repository where you have the previous version, and >> then "make && make install". > > If "make" fails, try "make bootstrap". What do you do if that fails as well? -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Wed Feb 10 20:01:33 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTfdV-0004YU-TB for mharc-help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 20:01:33 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41195) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTfdT-0004XL-9I for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 20:01:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTfdO-00009l-AG for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 20:01:31 -0500 Received: from plane.gmane.org ([80.91.229.3]:60184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTfdO-00009h-39 for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 20:01:26 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aTfdM-0001PE-4A for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 02:01:24 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 02:01:24 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 02:01:24 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Building an open source cross development chain Date: Thu, 11 Feb 2016 02:01:11 +0100 Lines: 32 Message-ID: <87y4asysa0.fsf@debian.uxu> References: <56BB4979.4010007@javaxpert.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:zsFq3m440RC1qBqZdGtA9dS3+wU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 01:01:32 -0000 deadbrain writes: > Hi all, I'd like to know if someone succeed in > building a full open source development chain around > Emacs for embedded cross development(with > gcc-arm-none-eabi cross compiler& deboger, openocd). > Can you debog directly from Emacs ? All ideas are > welcome... What's the first link in a "full open source development chain"? I think that is a natural place to start... You can worry about "deboging" later. In general, on a Unix system, there are files that can execute and files that cannot. The files that can execute can produce and modify the files that are static. With Emacs, you can write files that can turn into files that can execute. When the files can execute, you can use Emacs as an interface to have them execute in different ways and on different targets. So assuming your tools are Unix tools, then *yes*, you can operate them completely from Emacs. And I really think you are onto something because that is also the best way to operate things :) -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Wed Feb 10 20:24:14 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTfzS-0002ru-5d for mharc-help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 20:24:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTfzQ-0002rf-JZ for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 20:24:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTfzN-0005PH-AS for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 20:24:12 -0500 Received: from plane.gmane.org ([80.91.229.3]:32931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTfzN-0005PD-3W for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 20:24:09 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aTfzL-0006wi-EU for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 02:24:07 +0100 Received: from 1.red-83-38-42.dynamicip.rima-tde.net ([83.38.42.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 02:24:07 +0100 Received: from ofv by 1.red-83-38-42.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 02:24:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: =?utf-8?Q?=C3=93scar_Fuentes?= Subject: Re: Upgrading Emacs from Git Date: Thu, 11 Feb 2016 02:24:01 +0100 Lines: 30 Message-ID: <87mvr8t4y6.fsf@wanadoo.es> References: <877ficrhj6.fsf@mbork.pl> <83bn7obhm4.fsf@gnu.org> <878u2sv34z.fsf@wanadoo.es> <8760xw131z.fsf@debian.uxu> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 1.red-83-38-42.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:+ZiiuqoKJ6t7OxTQiUPkzYiX29Q= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 01:24:13 -0000 Emanuel Berg writes: >>> It should be enough to "git pull" into the same >>> repository where you have the previous version, and >>> then "make && make install". >> >> If "make" fails, try "make bootstrap". > > What do you do if that fails as well? In the directory that contains the git checkout execute: git clean -f -d -x That ensures that you are using a pristine source directory. Then make If that fails, then the build is broken due to some erroneous change made by the developers. Wait one day or two, "git pull" again, repeat the build process. If the build is still broken, on Emacs do M-x report-emacs-bug including details about your setup (compiler, library versions, etc) and the output of the build at the failure point. It is possible to check out a previous vesion (one day ago, for instance) instead of waiting for a fix upstream, but that requires and slightly more complicated git usage. From MAILER-DAEMON Wed Feb 10 20:55:51 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTgU3-0000xl-0u for mharc-help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 20:55:51 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTgU0-0000xc-N5 for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 20:55:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTgTw-0004Gp-JU for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 20:55:48 -0500 Received: from plane.gmane.org ([80.91.229.3]:33985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTgTw-0004Gk-Cm for help-gnu-emacs@gnu.org; Wed, 10 Feb 2016 20:55:44 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aTgTv-0003Ey-1Y for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 02:55:43 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 02:55:43 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 02:55:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Upgrading Emacs from Git Date: Thu, 11 Feb 2016 02:55:37 +0100 Lines: 35 Message-ID: <87vb5wf1t2.fsf@debian.uxu> References: <877ficrhj6.fsf@mbork.pl> <83bn7obhm4.fsf@gnu.org> <878u2sv34z.fsf@wanadoo.es> <8760xw131z.fsf@debian.uxu> <87mvr8t4y6.fsf@wanadoo.es> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:NlbR4a+tlgdAvq/+ge9LpGmK23k= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 01:55:49 -0000 Óscar Fuentes writes: >> What do you do if that fails as well? > > In the directory that contains the git checkout > execute: > > git clean -f -d -x > > That ensures that you are using a pristine source > directory. Then > > make > > If that fails, then the build is broken due to some > erroneous change made by the developers. Wait one day > or two, "git pull" again, repeat the build process. > If the build is still broken, on Emacs do > > M-x report-emacs-bug > > including details about your setup (compiler, library > versions, etc) and the output of the build at the > failure point. > > It is possible to check out a previous vesion (one day > ago, for instance) instead of waiting for a fix > upstream, but that requires and slightly more > complicated git usage. Case closed :) -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Thu Feb 11 00:43:56 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTk2m-0005FD-Ho for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 00:43:56 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTk2k-0005F5-9C for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 00:43:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTk2h-0006Hg-40 for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 00:43:54 -0500 Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]:33666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTk2g-0006Hb-Sz for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 00:43:51 -0500 Received: by mail-pa0-x22c.google.com with SMTP id fl4so11736675pad.0 for ; Wed, 10 Feb 2016 21:43:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-type; bh=g81zkJhjYLA/qsIQtL/8fjySNfeMt32lOUwZ/fhtRSM=; b=jfS9TLFNoroUzkJ49XGBTf7+26y9uheXU99FjpKyM9EBWpbEMQCj4nSFnkkIyt7zHf XgZ4cUR0QGP1Ovei8vGmmpjEchN0gyHGdyznyO6WImfFPXDt6idMrWuC2O6IEfFckcvX 25n0Asa5ZCqBIm0FmKuvyApEkMaCSiKLD4Oyl4B4/6H30ltPAvnhj7mbn2w/Ha9jVVLH Mz7xdOscL/5wRVn3X50PUoSW85O/OD4Rfcznrvzhegi849un2dx3ktZAZRgX/TJfg2g0 pus00EVczQf2lohMD3Ejme5EqYbSR/eSi2mdvtcaTuIQ/07daOos9amW70tiWUzJP1rk 1peQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-type; bh=g81zkJhjYLA/qsIQtL/8fjySNfeMt32lOUwZ/fhtRSM=; b=OMkMz+OV0RY1RQPg+Qm5bGTaqVfTIbbbdcsHjoGrECgVHjjnSH3m3rsCWzTuX4tfex RBmO83ZvOIvCA7xlX/CHwKec59y+9XVkqaJqdIFoiCmaFaShNobxR6j2DyreX+JC25Cc YaWtrALUIW6CItoNOQLwrQ4eXizzPeK9PK/hziB4awlYdJmbF0PwjuPg6dBPZ0H1Z4Pf K0K3x7sGV4RRyhuVWhbbxzb1mSSLE+gFV3SAUhu8bMCLaCJlZ3myt8MTrrei1dlWfabg TZbVdpBNCjcaknxchDNNqDZwB5eGinHyWRCNq9769WfpWTgnK2u/V4T2osSj3fPsPVlp iudg== X-Gm-Message-State: AG10YOTeCwbVvVS9PBetHfknFMLCkmW8eDjKt+3rXiJLETSjKrkpE38dRyL84izioXuyBg== X-Received: by 10.67.14.234 with SMTP id fj10mr63661806pad.149.1455169430129; Wed, 10 Feb 2016 21:43:50 -0800 (PST) Received: from localhost (CPE-58-161-15-29.cqqy2.win.bigpond.net.au. [58.161.15.29]) by smtp.gmail.com with ESMTPSA id 19sm8996915pfb.64.2016.02.10.21.43.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 Feb 2016 21:43:49 -0800 (PST) References: <878u2ucgyz.fsf@gmail.com> <877fiecc0f.fsf@gmail.com> <87vb5xauaw.fsf@gmail.com> User-agent: mu4e 0.9.16; emacs 24.5.3 From: Alexis To: Joost Kremers Subject: Re: aggressive-indent-mode freezes In-reply-to: Date: Thu, 11 Feb 2016 16:43:45 +1100 Message-ID: <877fibpzse.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c03::22c Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 05:43:55 -0000 Joost Kremers writes: > Emacs has a profiler: > > (info "(elisp) Profiling") > > You can use it to check in what function(s) Emacs spends the > most time while opening/editing the file in question. That > usually points to a package that is resource-intensive. Excellent suggestion! Thanks. :-) Alexis. From MAILER-DAEMON Thu Feb 11 04:44:02 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTnn8-00085X-HW for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 04:44:02 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTnn4-0007yy-Kf for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 04:43:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTnn0-0004lt-H1 for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 04:43:58 -0500 Received: from mail-lb0-x231.google.com ([2a00:1450:4010:c04::231]:34029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTnn0-0004lW-8r for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 04:43:54 -0500 Received: by mail-lb0-x231.google.com with SMTP id cw1so24588633lbb.1 for ; Thu, 11 Feb 2016 01:43:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=XWD3mh4g+kFnSpBgiiab/nBen8RiBxxR06I5gtxtVa4=; b=wMtKB8ZedqZ0AP3BDgZi7YugytLsLj4FVOBhKmlhQdHTePE5A9//Dhs2QmufJbfzF+ CFiw8il3mIKbKU9Tu8aT5U7LgAIleGDZcPoK5t99zFGguw+cBvi6sdsMDcIAUyGyPUDh hyL1VwfqJE5Zy31TzlAAMm5W5LNd/fZpW37aaMtDDwu7ml+mWCOPjo/qjNANaeMXZzXI Lu4iU0NeJAxKSpIiaHKXhl4YohxjWuOpnx4sFaQ0WSk2gI//vjLv/XUcDzAgPae+9xzc Y7VZH32wbvUBlDXGzv6F2OqxOqn3Ly9HiAqPlyegg0t5z6KzPw/KeInN3uAmSFh9EgJE WPjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=XWD3mh4g+kFnSpBgiiab/nBen8RiBxxR06I5gtxtVa4=; b=flTjhPlP8jdntra1kJ8hm37zLx1/MXA8R3pf3Hd4S5R8waBYPCKFhp2ki+BhEBC2zq wgNlO69nBve707uAkAh4Zwp3nIAcIeu1c0CTKkkWdvlmiaYxMHaUXN2xSKjCLJIFGE33 VT8ZPC0fi0+ANkfWZPHQxKYDn2tttr2tbgVspU/WhJ9NhKVqe6VXfzOJcIDodMPtLGSh 7V+uSolBAxPjexiycYP2ofWP+qoBit19SW1cJPQmoyy5AL37nAThn8aO6NA/tfPgGijw gVQI3Ymj7t/IkneSV0sShvHHIxyep5Ljr3+Y7FJa6Aw3EsGkw8ffzycVUQ2+rnFGqp+Z cJ5A== X-Gm-Message-State: AG10YOSHeJpsimNUQdHFsDWHGcnyStkv3se1eQHjvclVRU/Za0FnL0aPKEqPgYRoTBTa2A== X-Received: by 10.112.158.65 with SMTP id ws1mr1119690lbb.86.1455183833108; Thu, 11 Feb 2016 01:43:53 -0800 (PST) Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id xe8sm1090354lbb.41.2016.02.11.01.43.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Feb 2016 01:43:52 -0800 (PST) From: Alex Kost To: Yuri D'Elia Subject: Re: customize-face + inherit References: Date: Thu, 11 Feb 2016 12:43:51 +0300 In-Reply-To: (Yuri D'Elia's message of "Tue, 9 Feb 2016 00:32:17 +0100") Message-ID: <87d1s3y42w.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c04::231 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 09:43:59 -0000 Yuri D'Elia (2016-02-09 02:32 +0300) wrote: > I'd like to customize a face so that it inherits *all* values from it's > parent. That is, I want the face to be an exact copy of the parent. > > To do that, I can add the 'inherit' property to the desired parent face, > but I would also need to *clear* the rest of the attributes from the > face being customized, such as foreground. Hm, I recall this was an issue in Emacs 24.3.1 and earlier versions, but it is fixed in Emacs 24.4 (I believe). What's your version? -- Alex From MAILER-DAEMON Thu Feb 11 08:59:03 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTrlv-0007QQ-M8 for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 08:59:03 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTrlt-0007PY-JL for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 08:59:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTrlo-00088E-Gv for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 08:59:01 -0500 Received: from plane.gmane.org ([80.91.229.3]:39204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTrlo-000881-9t for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 08:58:56 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aTrlm-0005se-Dq for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 14:58:54 +0100 Received: from 69-196-189-155.dsl.teksavvy.com ([69.196.189.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 14:58:54 +0100 Received: from monnier by 69-196-189-155.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 14:58:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Stefan Monnier Subject: Re: 64 bit official Windows builds Date: Thu, 11 Feb 2016 08:58:45 -0500 Lines: 15 Message-ID: References: <2577057e-98d3-41ce-ade2-1496648b09c3@googlegroups.com> <8337t3qdpd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 69-196-189-155.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:/QbFvQodbdbcDS95V8PJhnNLw5A= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 13:59:02 -0000 >> Could I ask, what is the benefit of 64 bits compared to 32 bits for windows ? > It will run roughly twice faster. [...] > slower, because running a 32-bit executable on a 64-bit Windows > requires expensive thunking for every call to any Windows API, Holy crap? Really? It's hard to believe that 64-bit Windows's emulation of the 32-bit API is so inefficient that it causes a "rough slowdown" by a factor 2 in an application like Emacs. Do you see such a factor-of-2 difference when doing "rm lisp/**/*.elc; make"? Or in which kind of circumstance have you seen such a slowdown? Stefan From MAILER-DAEMON Thu Feb 11 09:05:19 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTrrz-0008Vd-04 for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 09:05:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTrrr-0008Uz-PY for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 09:05:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTrrm-0001LW-2r for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 09:05:11 -0500 Received: from plane.gmane.org ([80.91.229.3]:40040) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTrrl-0001L9-ST for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 09:05:06 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aTrrk-0002iR-0r for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 15:05:04 +0100 Received: from 69-196-189-155.dsl.teksavvy.com ([69.196.189.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 15:05:04 +0100 Received: from monnier by 69-196-189-155.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 15:05:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Stefan Monnier Subject: Re: Help setting nadvice for indent-region Date: Thu, 11 Feb 2016 09:02:42 -0500 Lines: 25 Message-ID: References: <87a8ne2k6v.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 69-196-189-155.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:9h69OqCWmsTcSVY0K092nO80WMQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 14:05:17 -0000 > (defun modi/region-or-whole-advice (orig &rest _) > (interactive) > (if (use-region-p) > (funcall orig (region-beginning) (region-end)) > (funcall orig (point-min) (point-max)))) > (dolist (fn modi/region-or-whole-fns) > (advice-add fn :around #'modi/region-or-whole-advice)) This will affect all calls to these functions and is hence sure to cause some breakage somewhere. You want something more like: (defun modi/region-or-whole-advice (&rest _) (interactive (if (use-region-p) (list (region-beginning) (region-end)) (list (point-min) (point-max)))) nil) (dolist (fn modi/region-or-whole-fns) (advice-add fn :before #'modi/region-or-whole-advice)) So you only modify the interactive spec (i.e. change the *command*'s behavior) without changing the *function*'s behavior. -- Stefan From MAILER-DAEMON Thu Feb 11 09:10:28 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTrwy-0001gp-1i for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 09:10:28 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTrwt-0001gQ-I0 for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 09:10:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTrwm-0003US-2l for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 09:10:23 -0500 Received: from plane.gmane.org ([80.91.229.3]:40519) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTrwl-0003TQ-Pz for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 09:10:15 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aTrwf-00070N-Jo for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 15:10:14 +0100 Received: from 69-196-189-155.dsl.teksavvy.com ([69.196.189.155]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 15:10:04 +0100 Received: from monnier by 69-196-189-155.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 15:10:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Stefan Monnier Subject: Re: Upgrading Emacs from Git Date: Thu, 11 Feb 2016 09:07:31 -0500 Lines: 9 Message-ID: References: <877ficrhj6.fsf@mbork.pl> <20160210165107.GB14358@len.workgroup> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 69-196-189-155.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:ZjoQy0zeqyrsLc2T/ffVJW/R7XU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 14:10:27 -0000 >> a quick question: I compiled Emacs from Git and now want to upgrade it. >> Is it enough to pull a fresh version and then make && make install? > A simple git pull is all you need to do in order to get new > commits. After that do a make && make install. FWIW, I just do "make" and never run "make install". Stefan From MAILER-DAEMON Thu Feb 11 11:29:35 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTu7b-0006hy-6V for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 11:29:35 -0500 Path: usenet.stanford.edu!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!fanelia.eternal-september.org!.POSTED!not-for-mail From: =?UTF-8?Q?P._A._L=c3=b3pez-Valencia?= Newsgroups: gnu.emacs.help Subject: Re: Upgrading Emacs from Git Date: Wed, 10 Feb 2016 20:25:51 -0500 Organization: A noiseless patient Spider Lines: 17 Message-ID: References: <877ficrhj6.fsf@mbork.pl> <83bn7obhm4.fsf@gnu.org> <878u2sv34z.fsf@wanadoo.es> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Thu, 11 Feb 2016 01:23:00 -0000 (UTC) Injection-Info: fanelia.eternal-september.org; posting-host="ff6edf5c55dc5da19f61323fe00ecf28"; logging-data="14892"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/rbPUWvWaeXqA+c87mgUcs" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 In-Reply-To: Cancel-Lock: sha1:OZaqXTUdqpTtZKQeosX0m5kJvdE= Xref: usenet.stanford.edu gnu.emacs.help:216806 To: help-gnu-emacs@gnu.org X-Mailman-Approved-At: Thu, 11 Feb 2016 11:29:33 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 01:30:08 -0000 El 10/02/2016 a las 7:52 p. m., Emanuel Berg escribió: > Óscar Fuentes writes: > >>> It should be enough to "git pull" into the same >>> repository where you have the previous version, and >>> then "make && make install". >> >> If "make" fails, try "make bootstrap". > > What do you do if that fails as well? > You do: [you@yourbox /path/to/emacs-git-repo-copy] $ make distclean && ./configure [--config-flags] && make From MAILER-DAEMON Thu Feb 11 11:29:44 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTu7k-0006xR-Eo for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 11:29:44 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTp6v-0007Z1-7t for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 06:08:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTp6q-0005Gd-E8 for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 06:08:33 -0500 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:32868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTp6q-0005GZ-5x for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 06:08:28 -0500 Received: by mail-wm0-x232.google.com with SMTP id g62so16249308wme.0 for ; Thu, 11 Feb 2016 03:08:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=introo-me.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to:content-type; bh=ksWos7gC1ksQqkEhYdyDa2xHoN09nl//xV1aVRLjQCQ=; b=l/L38kdYWXwH2oYtccKUT//i7xB3uWn55E98X+ST58oauFXgaDvrV64VW5Puu2F2JY pHpFEnD+sIyJnqohMHzLPZZui7lOdwrsi0DfORQvWwi8b0bbmfHoSJBHz/4Wn6+yeV1R hx/ypYg/bP/nU1DE9ase82ZLYSrlKRELJPvzpKDTn0VNtpvWfjpa+zO46NnVKc+JbICL FItR/79/4xeErmMSaZAeaeSUnmY9sFP/Inpo5ZKE3MR2YSsjGGm0L5Wxdl27DULfbhN3 Mk3Iq4cDMu1mD31aTNOv1A4txcYYmVsPFXbCT5+8qJ7y/nBNlMMolBVLV8f+cOHkIH0T wNTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=ksWos7gC1ksQqkEhYdyDa2xHoN09nl//xV1aVRLjQCQ=; b=EO7459GwuO2t97HJYI1SZ+Y8DQZnApSVSiLCAqXbd81Op5KakMapnByX9PkFvzzGfP vC04Vc5TwD3zpcmhXmCh2zVrElQnViRWY0ZUdeILocYROlTiw1Y7dVQLYfDrduqRqfi6 TOyiuDNKqeEFRZaKmApAFybOh8v2XHNUZXp8o2Uk+ZhvkDjOXesdBVVwSg7xe85V22az WxDeS11va4NZR/dAiN9gsQ+LDjHD61ybo8tCBhx9470jLlZb1th6nq57VSn0fYGSYwE6 VUZ/ekUU1j5poxuWOdUGZU4tF07kbdiCADlVSaoeNhNFfkjmXfGtqQh9U+dE+gBBAZqb b8hQ== X-Gm-Message-State: AG10YOQFQUF3IqVMHeEa4PJshbX6XAljXHtvntrCex2oYKo9hyIDgbgOXttsOFD4fohfPUX4Eo6dHrddhOCT8g== MIME-Version: 1.0 X-Received: by 10.194.47.212 with SMTP id f20mr19628033wjn.21.1455188907326; Thu, 11 Feb 2016 03:08:27 -0800 (PST) Received: by 10.27.231.69 with HTTP; Thu, 11 Feb 2016 03:08:27 -0800 (PST) X-Originating-IP: [143.89.244.107] Date: Thu, 11 Feb 2016 19:08:27 +0800 Message-ID: Subject: improper behavior of (scroll-down 0) From: Shiyao Ma To: help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::232 X-Mailman-Approved-At: Thu, 11 Feb 2016 11:29:43 -0500 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 11:08:34 -0000 Hi, To reproduce the problem, for example, 1. go to the info node (elisp)Top > Positions > Excursions 2. go to the beginning of the window: (goto-char (point-min)) 3. scroll the window, (scroll-down 0) Oops, the window scrolls down by 1. What's happening here and how to rectify this ? Regards. --=20 =E5=90=BE=E8=BC=A9=E3=81=AF=E7=8C=AB=E3=81=A7=E3=81=82=E3=82=8B=E3=80=82=E3= =83=9B=E3=83=BC=E3=83=A0=E3=83=BC=E3=83=9A=E3=83=BC=E3=82=B8=E3=81=AFhttps:= //introo.me =E3=80=82 From MAILER-DAEMON Thu Feb 11 12:36:55 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTvAl-0007CF-1e for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 12:36:55 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39883) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTvAi-0007Be-MA for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 12:36:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTvAh-0001pz-9R for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 12:36:52 -0500 Received: from mail-ob0-x22a.google.com ([2607:f8b0:4003:c01::22a]:33301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTvAh-0001pf-1s for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 12:36:51 -0500 Received: by mail-ob0-x22a.google.com with SMTP id is5so83833911obc.0 for ; Thu, 11 Feb 2016 09:36:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=D0/Z49wEN8xEYSddm+7q+yeAgxq+u085WISIXmjwFcs=; b=mrroFHyj6ZnbIoR85ziMf4rlR20dONEwOweS3q+jy9b/ueJaCxYaem+HjraMXqnb0b 3faTqwZnqyUIK0RrQTCtHYQKcF1KzFXdd+jEL3Qfmymu50dler7WzRBlf5H7HglQJneE +3AhPIY20OkdMNbjBmHooI+GKFlY0Ku/c6BOtRVZoz8cofsC2r1RGL9bkai5S8EosDd3 xXYPyNvJpB2xxPFExhfVHGlV0Q0VIWV3duz8Dr5k9KB431Fgm81GNAzNpXpEuj71n6OR 51GK8yH554yckTNlikaFiRG7cpPzTrjGp86c07j/YkntDDyO3kDYsR1rkC8CZ6jJbzZI RP6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=D0/Z49wEN8xEYSddm+7q+yeAgxq+u085WISIXmjwFcs=; b=WNgy0ZcfNgS04YYJ/M0YvY9zXzvCiaoAvMR/KBqBtbd+bDxKYFo6YCYkjsLARaCad8 vP7EJJYGUOHQK64c4PwgWx/RvJy4TRjkymVaT1BOSJh3w4gDT8bNZjfXU4X/NN0avz6Z VOZ/IMTnE+z5TtlvRLvcNYlqQPSFtJBkq0IpSXepEjBAtCdDQXVu5dnSHR/He29RE0Pz OKQTyDNXaDTKz8zhf/6vgMd8L1BqU2IRTjnzoj8vKPD/FPYXg6sJn2qj7OJoAo+Crt5e dlD57BGrlT9iP93Fk2LSNCKktqgqRdIHg9dU7GV/lxXixxjSbkqXfxFRv8XTr8RKGaK9 2pvw== X-Gm-Message-State: AG10YOShxQPfCsnmUGkzKzk6+kQQrVF+qOt36dRcWb6Za7FyXyjJDxfr+u9ytUkClvhW34O8H+WEYn6n0gt+OQ== X-Received: by 10.60.116.169 with SMTP id jx9mr46149481oeb.30.1455212210249; Thu, 11 Feb 2016 09:36:50 -0800 (PST) MIME-Version: 1.0 References: <87a8ne2k6v.fsf@web.de> In-Reply-To: From: Kaushal Modi Date: Thu, 11 Feb 2016 17:36:40 +0000 Message-ID: Subject: Re: Help setting nadvice for indent-region To: Stefan Monnier , help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c01::22a Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 17:36:54 -0000 Thanks for the reply Stefan. I have just one concern.. that this will not work for advising functions like eval-defun. I tried it out and when I do C-M-x while a point is in a function (without any region selected), it evaluates the whole buffer instead of just the defun. So I have to use the :around advice so that I can access the args and then do a (null args) check to control when to modify the args. Does that look like a fair way to implement this? Or is it possible to somehow check the value of provided args inside the (interactive ..) form? I now have something that's a result of a mix of suggestions given by everyone over here :) - avoided using macro as it's not quite needed - Using this-command to print the current command name as that works for this case (where I intend to advice the functions when when called directly as commands). (defun modi/advice-region-or-whole (orig-fn &rest args) (interactive) ; Required to override the "r" argument of `interactive' ; in functions like `indent-region' ; so that that function can be called ; without an active region. (let (msg) ;; Execute the original SYMBOL function if it is called indirectly. ;; Example: We do not want to modify the ARGS if `eval-region' ;; is called via `eval-defun', because in that case, the ;; ARGS are set by the wrapper function `eval-defun'. (when (null args) (if (use-region-p) ; when region is selected (setq args (list (region-beginning) (region-end))) (progn (setq args (list (point-min) (point-max))) (setq msg (format "Executed %s on the whole buffer." (propertize (symbol-name this-command) 'face 'font-lock-function-name-face)))))) (apply orig-fn args) (when msg (message msg)))) (dolist (fn modi/region-or-whole-fns) (advice-add fn :around #'modi/advice-region-or-whole)) On Thu, Feb 11, 2016 at 9:05 AM Stefan Monnier wrote: > > (defun modi/region-or-whole-advice (orig &rest _) > > (interactive) > > (if (use-region-p) > > (funcall orig (region-beginning) (region-end)) > > (funcall orig (point-min) (point-max)))) > > (dolist (fn modi/region-or-whole-fns) > > (advice-add fn :around #'modi/region-or-whole-advice)) > > This will affect all calls to these functions and is hence sure to cause > some breakage somewhere. You want something more like: > > (defun modi/region-or-whole-advice (&rest _) > (interactive > (if (use-region-p) > (list (region-beginning) (region-end)) > (list (point-min) (point-max)))) > nil) > (dolist (fn modi/region-or-whole-fns) > (advice-add fn :before #'modi/region-or-whole-advice)) > > So you only modify the interactive spec (i.e. change the *command*'s > behavior) without changing the *function*'s behavior. > > > -- Stefan > > > From MAILER-DAEMON Thu Feb 11 13:10:39 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTvhO-0000Ja-SJ for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 13:10:38 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTvhM-0000In-53 for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 13:10:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTvhI-0002KP-9m for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 13:10:35 -0500 Received: from plane.gmane.org ([80.91.229.3]:37090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTvhI-0002KC-1I for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 13:10:32 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aTvhE-0005ub-D3 for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 19:10:28 +0100 Received: from dslb-092-074-178-250.092.074.pools.vodafone-ip.de ([92.74.178.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 19:10:28 +0100 Received: from michael_heerdegen by dslb-092-074-178-250.092.074.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 19:10:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Michael Heerdegen Subject: Re: Help setting nadvice for indent-region Date: Thu, 11 Feb 2016 19:10:21 +0100 Lines: 53 Message-ID: <87bn7n15ki.fsf@web.de> References: <87a8ne2k6v.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-074-178-250.092.074.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) Cancel-Lock: sha1:fFAy7vSJ2bWb2qyFGT1AvDctcO4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 18:10:37 -0000 Kaushal Modi writes: > I have just one concern.. that this will not work for advising > functions like eval-defun. What exactly did you try to do? - `eval-defun' has only one argument that is not related to the region, so the advises that were discussed yet are not applicable here. In what way do you want to change the behavior of `eval-defun'? But in general, what Stefan pointed out was important: changing the semantics of the functions is not a good idea. > (defun modi/advice-region-or-whole (orig-fn &rest args) > (interactive) ; Required to override the "r" argument of `interactive' > ; in functions like `indent-region' > ; so that that function can be > called > ; without an active region. > (let (msg) > ;; Execute the original SYMBOL function if it is called indirectly. > ;; Example: We do not want to modify the ARGS if `eval-region' > ;; is called via `eval-defun', because in that case, the > ;; ARGS are set by the wrapper function `eval-defun'. > (when (null args) > (if (use-region-p) ; when region is selected > (setq args (list (region-beginning) (region-end))) > (progn > (setq args (list (point-min) (point-max))) > (setq msg (format "Executed %s on the whole buffer." > (propertize (symbol-name this-command) > 'face > 'font-lock-function-name-face)))))) > (apply orig-fn args) > (when msg > (message msg)))) Be careful: this changes the return value of the advised function to the value returned by `when' -- this is not `defadvice'! And BTW, (just a hint) you also don't need to `setq' the ARGS variable (of course you can), just do (apply orig-fun (calculate-new-args-somehow-here-using-the args)) In advice.el, you had some weird mechanism to modify function arguments, but nadvice is different, as it works by simply composing functions as described in the doc of `add-function'. Regards, Michael. From MAILER-DAEMON Thu Feb 11 13:47:14 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTwGo-0003QS-7S for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 13:47:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTwGm-0003Og-0w for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 13:47:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTwGk-0005DZ-T5 for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 13:47:11 -0500 Received: from mail-ob0-x232.google.com ([2607:f8b0:4003:c01::232]:33461) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTwGk-0005DP-MJ for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 13:47:10 -0500 Received: by mail-ob0-x232.google.com with SMTP id is5so86894005obc.0 for ; Thu, 11 Feb 2016 10:47:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=3yCyjTM7OR/npTY9hfSq8wGcFyvHYkrENprNylFD9xY=; b=q9MG+WFawvN99WTJ0tq+OZGy1OeMx7vZ6NVGaB5ftXtkhdfBKDJKt+TYKJrIAGyzyd fT5VAmS4Ja4k+m4nkyTv/K5vki+f8REv9j7wX1mLTQomZhtUateCjsHr6N9NShWhO0pZ tzqK4jBOMWGMwZ0O/xikOnyZbL0R91a7YWgjgTWQcFR2SX7oek6rxOHYoq6cK20CbZIk W49GL5GAm0/rHIzfQ41uTD08VNuisxomxcS6n7YLeazUumA5UmtDLMi/Dgzbo3RIPaOf mqGtWGb93jpoj6mioeIAY3cpXHMjyVcj56SgIvY7T1IM+kofKb1XtcTaokMPKcME/RGO an+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=3yCyjTM7OR/npTY9hfSq8wGcFyvHYkrENprNylFD9xY=; b=m3SB75KQE62WpJMAhhRS8bK6H3Cer3DB5Z3FkVyYafcPi6niQNmEpmd71eXfA5m/iz m5TiEmqcaYmRNvznoWbsJc4x2/tVo+hoxEfTRGM0GFvdH2Br+vCfyjsR++rNBvBxl0iQ JMFrCj725wy7BCfvXd7BReNKXjr7Nk2pqMh9SoqvAUcU3ieGrvuF4XsL8JKGP51GCvLK 64iV1KepimacBU7bj2Qf6mG+fxsttnaaAdGgBIX4Nw/V/LL/sKGBwGexeVaifg+TUhKa jYfMqsgoAGwjw3nF8aixiyApDXE0w3D8L+7x2mNaYTPmtzchFF0VrJHTjwe0pI1nh37K PGzQ== X-Gm-Message-State: AG10YOSHVj2DQjsuZo1rn5ui5GdUH6yenuXPJM0EsYiy/QLUVcTI2ctCQqXTl3+vNK2oZkD4d2ALLJm5zdvvHw== X-Received: by 10.60.135.98 with SMTP id pr2mr48752365oeb.65.1455216430102; Thu, 11 Feb 2016 10:47:10 -0800 (PST) MIME-Version: 1.0 References: <87a8ne2k6v.fsf@web.de> <87bn7n15ki.fsf@web.de> In-Reply-To: <87bn7n15ki.fsf@web.de> From: Kaushal Modi Date: Thu, 11 Feb 2016 18:47:00 +0000 Message-ID: Subject: Re: Help setting nadvice for indent-region To: Michael Heerdegen , help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c01::232 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 18:47:13 -0000 On Thu, Feb 11, 2016 at 1:10 PM Michael Heerdegen wrote: > > > I have just one concern.. that this will not work for advising > > functions like eval-defun. > > What exactly did you try to do? - `eval-defun' has only one argument > that is not related to the region, so the advises that were discussed > yet are not applicable here. In what way do you want to change the > behavior of `eval-defun'? > > Sorry, let me rephrase that. I meant to say that using Stefan's suggested method to advise eval-region also affected eval-defun. Without a region selected, if I did C-M-x with the point in a defun, this advice begin applied to eval-region would cause the whole buffer to be evaluated (not just that defun as I would expect C-M-x to do). That would adversely affect instrumenting edebug too (C-u C-M-x). > But in general, what Stefan pointed out was important: changing the > semantics of the functions is not a good idea. > > I agree but I did not find an alternative solution by which, - I apply the advice to eval-region when called interactively. - But not when it is called by a wrapper fn like eval-defun that presets the args for eval-region. I am open to adopt a cleaner, canonical solution. > > Be careful: this changes the return value of the advised function to the > value returned by `when' -- this is not `defadvice'! > > Point taken, I will fix that. > And BTW, (just a hint) you also don't need to `setq' the ARGS variable > (of course you can), just do > > (apply orig-fun (calculate-new-args-somehow-here-using-the args)) > > Agreed. As I need to set the let-bound variable msg's value too, based on (region-active-p), I decided to have just one (if ..) form and modify args and msg in there as appropriate. I really appreciate this feedback. From MAILER-DAEMON Thu Feb 11 13:56:36 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTwPs-0006ZS-4X for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 13:56:36 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37346) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTwPp-0006ZD-SP for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 13:56:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTwPp-0007Om-1T for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 13:56:33 -0500 Received: from mail-ob0-x22c.google.com ([2607:f8b0:4003:c01::22c]:33386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTwPo-0007Of-SV for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 13:56:32 -0500 Received: by mail-ob0-x22c.google.com with SMTP id is5so87289717obc.0 for ; Thu, 11 Feb 2016 10:56:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=k9TXBxMOQeyt/AtiFB/flPeVonA8iACFPvxCAt0Moq4=; b=fkRTlyfCpLjoViOuLvRad084DS/xUM7++qxs2qDvk7/3Z3eLNLKnCJducMdIKvvXY8 rUnN//8FCs9ehX/1awuH9XIX4xTg1MJgHH2VCNVvJxli8IuUFEDiHvPJNiJptES5xR70 L+jSmKfRSmgJXZSDtQKPslIcMOWSHbh481uXOV4Cy5PP4oqUIzwIzkSVKta9CT9QABCm zavoZSI6J3JrbAQA2F906MmU4l+ddFt2LGSUuBT8GaVSM2p0N/qbZa+K77tFm7RJgQkR OIL56y381lHfb5PySzFX9fe1kRmdfJMJjhPKNFN8p1rftKsxYnF3Px92kI1kNHBGEVOb qfzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=k9TXBxMOQeyt/AtiFB/flPeVonA8iACFPvxCAt0Moq4=; b=hvmyk8t82EAmR8AFXgHimcgKTHLIQP4lPc9Yug6iGxWBr4ptba1ylWlka4NCWOPoox Ezj+4IgUVgeyeakQlo2pefxG/8B2tMFoa6v3EU1znpjCCNHCuiVtJhwc8JVYMeHj2v9s UGjx1Jlo/+2pvqtaiF0tEgz8OwASa6PFkqNw/OZjppUT6pMGYl45rLpp863uMA8rpvwl M59Yf8vAgaTRNdt8OzR7FOSMtIjnO6U9MjrFm8Cn4yyDsTb4RMPFdEfmKAxTCxp5lWJ5 WBYPx3Hsl8XxwIYLfDSXLOYTpyejvh8htMRYhKl9hC1ZZC/cQRy9DP+Tl7ulvvtxm5uh xbGw== X-Gm-Message-State: AG10YOTeEEU2KxI5r1qUrnPP/HyjekPAR4hJjMTgGPwI8QYEC3SRWrxKJvCuPqoQePzVMfwGO/u0u47ZHHudEA== X-Received: by 10.182.240.138 with SMTP id wa10mr47008719obc.42.1455216992266; Thu, 11 Feb 2016 10:56:32 -0800 (PST) MIME-Version: 1.0 References: <87a8ne2k6v.fsf@web.de> <87bn7n15ki.fsf@web.de> In-Reply-To: From: Kaushal Modi Date: Thu, 11 Feb 2016 18:56:22 +0000 Message-ID: Subject: Re: Help setting nadvice for indent-region To: Michael Heerdegen , help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c01::22c Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 18:56:34 -0000 >> Michael Heerdegen > Be careful: this changes the return value of the advised function to the > value returned by `when' -- this is not `defadvice'! After my earlier reply, I realized I did not know about the return values of the advice functions when using :around. I just did not care what their return values should be till now (for :around) and it hasn't yet hurt anything. I looked up the elisp Info ( (elisp) Advising Named Functions ) for rules regarding the return values of the advice functions but couldn't find anything. I understand that the return values of the advice functions when using a combinator like :before-until are important. But what should be the return value of an :around advice fn? Thanks. From MAILER-DAEMON Thu Feb 11 14:04:07 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTwX9-0001KP-HM for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 14:04:07 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTwX7-0001KH-Ps for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 14:04:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTwX2-0001Ie-Pt for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 14:04:05 -0500 Received: from plane.gmane.org ([80.91.229.3]:41006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTwX2-0001IS-Il for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 14:04:00 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aTwX1-00026X-85 for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 20:03:59 +0100 Received: from dslb-092-074-178-250.092.074.pools.vodafone-ip.de ([92.74.178.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 20:03:59 +0100 Received: from michael_heerdegen by dslb-092-074-178-250.092.074.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 20:03:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Michael Heerdegen Subject: Re: Help setting nadvice for indent-region Date: Thu, 11 Feb 2016 20:03:52 +0100 Lines: 14 Message-ID: <871t8j133b.fsf@web.de> References: <87a8ne2k6v.fsf@web.de> <87bn7n15ki.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-074-178-250.092.074.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) Cancel-Lock: sha1:iVERnHh0LM3joKx5yABecIV6js8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 19:04:06 -0000 Kaushal Modi writes: > Sorry, let me rephrase that. I meant to say that using Stefan's > suggested method to advise eval-region also affected eval-defun. > Without a region selected, if I did C-M-x with the point in a defun, > this advice begin applied to eval-region would cause the whole buffer > to be evaluated (not just that defun as I would expect C-M-x to > do). That would adversely affect instrumenting edebug too (C-u C-M-x). I tried it, and can't reproduce what you describe. How did you try it (recipe)? Michael. From MAILER-DAEMON Thu Feb 11 14:15:07 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTwhn-0005gZ-B6 for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 14:15:07 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTwhl-0005da-7V for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 14:15:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTwhg-0004HF-Il for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 14:15:05 -0500 Received: from plane.gmane.org ([80.91.229.3]:41753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTwhg-0004H7-CB for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 14:15:00 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aTwhd-0002zP-V8 for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 20:14:58 +0100 Received: from dslb-092-074-178-250.092.074.pools.vodafone-ip.de ([92.74.178.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 20:14:57 +0100 Received: from michael_heerdegen by dslb-092-074-178-250.092.074.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 20:14:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Michael Heerdegen Subject: Re: Help setting nadvice for indent-region Date: Thu, 11 Feb 2016 20:14:52 +0100 Lines: 21 Message-ID: <87vb5vys7n.fsf@web.de> References: <87a8ne2k6v.fsf@web.de> <87bn7n15ki.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-074-178-250.092.074.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) Cancel-Lock: sha1:qUxdRnsDl4M9p2ME0zn1vy3jFMA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 19:15:06 -0000 Kaushal Modi writes: > But what should be the return value of an :around advice fn? The around advice function should return the value you want the adviced function to return. This will very often be the value gotten by applying the original function (aka "don't change the return value"), or a value derived from it. Or something completely different. The advised function will return just this value as well. The around advice works like this: (lambda (&rest r) (apply FUNCTION OLDFUN r)) where FUNCTION is the advice defined. As you see, the combined call has the call of FUNCTION at the outermost level. When several advices are in effect, the order is significant. But note that this is not the case for all advice types. Michael. From MAILER-DAEMON Thu Feb 11 14:21:37 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTwo5-0007gD-7d for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 14:21:37 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTuqL-0006i5-RL for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 12:15:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTuqL-0004pR-2e for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 12:15:49 -0500 Received: from mail-qg0-x236.google.com ([2607:f8b0:400d:c04::236]:36625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTuqK-0004nu-Po for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 12:15:48 -0500 Received: by mail-qg0-x236.google.com with SMTP id y9so43109550qgd.3 for ; Thu, 11 Feb 2016 09:15:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:to:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=JdFTsGoa4f5ohel8tirQfXgWpV06ygMSXBsA+wqDqL0=; b=SB8zW7Mm8Pkhp+SFneAlG0sBFJiBEpn5Vx/3bIkf0SBoP0UgOZqJ4MqSB5zFAYjbXy OxD9uqeRbQMLoc3bUrbvKBOnyVZ9GZz7pzYlqLace0g1jbYA4MzuJ6jXwh3v4nJTYQG5 i77dz64bzzBcIUj7uw30hxmiIgryGJZNyuHak+1mqpP9eDHOA15eOUdUZUvpNd4ZaPgl CtCEbUUQgsh/SAt4/jQMnzv2PkhALd0O3UYSHAvaIc1cjr/XSkv1bzSSrtoy2+rH4u92 NEtyxZZTyzJHE9BAOIkseXvw5Y9Cg/bdadA/9kC/ZccRr0JKzQyfEHYOYau5P3hTfxrZ FlsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:to:message-id:date:user-agent :mime-version:content-type:content-transfer-encoding; bh=JdFTsGoa4f5ohel8tirQfXgWpV06ygMSXBsA+wqDqL0=; b=AbdTIUVMDXCWoKJC71UFCZcUP4Jy3Lo/GX6bQQjHC1vyEPiFWAOt0otgoRS2bc5bAO ehnjmgoKpckBHprBHGcrFhc1gysJ6V8NBT0Prr4AtilV6Xz+z155UG6KXYsFfGZwN07w 7e4C+oSqcJb4EsUJhTHDT+iWbWymxDlaGbkxD7/lFm4f6UNsWxrXaIDIXliN5U6BuGdd v30JpVqpo+CWecVEza2V7KpXfEhZL5QefV0SQe+1CkXzXKeUYsCbGF+COP+qeu+bC8/k aDK6x21fED2SI0++R8GqEw6RGGYZp5oJsL8WqXnKNXlQDKiDO2cgvVgjKG3dQE3YoCMX qErw== X-Gm-Message-State: AG10YOQ0nCDjrU45S/lcy6/Bo9cRZT6llEtLjk6ivbKO1/1YLsAnjLuTDnXpQ71xUtOLoA== X-Received: by 10.140.19.43 with SMTP id 40mr57568087qgg.72.1455210948013; Thu, 11 Feb 2016 09:15:48 -0800 (PST) Received: from ?IPv6:2610:28:a000:10:224:d6ff:fe76:57c6? ([2610:28:a000:10:224:d6ff:fe76:57c6]) by smtp.googlemail.com with ESMTPSA id b91sm3715339qkb.46.2016.02.11.09.15.47 for (version=TLSv1/SSLv3 cipher=OTHER); Thu, 11 Feb 2016 09:15:47 -0800 (PST) From: Kevin Havener Subject: Confusion about Undo keybinding To: help-gnu-emacs@gnu.org Message-ID: <56BCC1C2.8050609@gmail.com> Date: Thu, 11 Feb 2016 12:15:46 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400d:c04::236 X-Mailman-Approved-At: Thu, 11 Feb 2016 14:21:36 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 17:15:53 -0000 According to the tutorial and other places, undo is bound by default to C-/, C-_, and C-x u. However in my newly installed emacs 24.5, C-/ is bound to DEL (backspace). I don't think I have any .emacs type file overriding the defaults, so is this wrong or is the documentation wrong? Wait just a minute. C-/ is bound to undo in graphical mode and in xterm (-nw) mode. C-/ is bound to DEL in my linux virtual consoles. How is this possible? Can you tell me what is going on? Thank you, Kevin Havener From MAILER-DAEMON Thu Feb 11 14:45:09 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTxAr-00053b-BE for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 14:45:09 -0500 Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!feeder.erje.net!2.eu.feeder.erje.net!newsfeed.kamp.net!newsfeed.kamp.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!barmar.motzarella.org!.POSTED!not-for-mail From: Barry Margolin Newsgroups: gnu.emacs.help Subject: Re: Confusion about Undo keybinding Date: Thu, 11 Feb 2016 14:42:26 -0500 Organization: A noiseless patient Spider Lines: 21 Message-ID: References: Injection-Info: barmar.motzarella.org; posting-host="78fb7125a45724f15e21604c94a7d968"; logging-data="3281"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18mQGqIseuX8pE8fY1znEW1" User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Cancel-Lock: sha1:xB160mFE7/HbqUn+Oc+Hj5D66hc= Xref: usenet.stanford.edu gnu.emacs.help:216821 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 19:45:08 -0000 In article , Kevin Havener wrote: > According to the tutorial and other places, undo is bound by default to > C-/, C-_, and C-x u. However in my newly installed emacs 24.5, C-/ is > bound to DEL (backspace). I don't think I have any .emacs type file > overriding the defaults, so is this wrong or is the documentation wrong? > > Wait just a minute. C-/ is bound to undo in graphical mode and in xterm > (-nw) mode. C-/ is bound to DEL in my linux virtual consoles. How is > this possible? In terminal mode, only ASCII characters can be used, and there is no ASCII C-/ character. When you type C-/ it sends the DEL character, I think because this is what Teletype terminals in the 70's did (or maybe it's what DEC VTxxx terminals did). -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me *** From MAILER-DAEMON Thu Feb 11 15:15:51 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTxeZ-0002vr-3I for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 15:15:51 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTxeX-0002vb-AZ for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 15:15:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTxeW-0001jb-BW for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 15:15:49 -0500 Received: from mail-ob0-x22b.google.com ([2607:f8b0:4003:c01::22b]:34666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTxeW-0001j8-3w for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 15:15:48 -0500 Received: by mail-ob0-x22b.google.com with SMTP id wb13so91978361obb.1 for ; Thu, 11 Feb 2016 12:15:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=oVwn/ypknKRIxGWDLF15cfSoVTZNzaPB5Lp39y9ruB4=; b=mlmt+9+ahwxliAw4JvdYD78Uq53RQomVR62IB9xfhzcdNBOTuWMzYYtx3eyv1b4DqD h3uQuUVqJ5fRah1t4VQv+9tgjELkxUKWGx/isox38Xn+St0VI8h3aShX91CqA9jvBwFO QZUAq5bUsQ/BMiLQQzhgLvyODF9xyn/cy1jK8t7qX1F5QQ5bxaf/rTWxggCQIFt5AE+6 LZAzsYxJyJhWLf61C7yC4e7GzYURRSPUbwCTSPcZXlVN9H+1ea0Mrsl4mSmPWoFqVcIi YiwipScw/tIvhkeA6TGq57u3+EHuZAlrxqr9m+cTAbnKrYHfPzEWrgpEZGuqoPAEPiTt H5MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=oVwn/ypknKRIxGWDLF15cfSoVTZNzaPB5Lp39y9ruB4=; b=f913qSIEM4Lbsz8HhRNfSl6VeI342xsuGmgGVn494c8AZOmrbOB4xlQI0wQbyEjKmN BVlT/xVzlGlQNHt8jSj25q2pfrodZKoowssHI8/WXeHVdTQPbdJk+CRf2ofTCLFRX78T 3zpSMNu8gOd6fJHiva+Ch3Y46AY4+4X76aSPeT78yEyUOVc3ADzwK4pqbpfEiUiGfst7 Id0NRiRgseYHL8mNiDu1iWS/1TJFty4N3h49eeoBAMPCUx++3V5VC1dNVOl/Ng561cT7 nh06fU+twe4W6LJqJhztnaJ7NXb2HglgpP7q47B/Z63s4rQJy1cp6lU3q5e7ff5Dkffb WnIw== X-Gm-Message-State: AG10YORZkJN3QltwOAX+cajTKuIbLRJChZFJMcOlDws4TTask6yBGpEQJM86W+qtKN8tee6b/rmFMf4KtYIIUA== X-Received: by 10.182.137.198 with SMTP id qk6mr47455603obb.5.1455221747521; Thu, 11 Feb 2016 12:15:47 -0800 (PST) MIME-Version: 1.0 References: <87a8ne2k6v.fsf@web.de> <87bn7n15ki.fsf@web.de> <87vb5vys7n.fsf@web.de> In-Reply-To: <87vb5vys7n.fsf@web.de> From: Kaushal Modi Date: Thu, 11 Feb 2016 20:15:37 +0000 Message-ID: Subject: Re: Help setting nadvice for indent-region To: Michael Heerdegen , help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c01::22b Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 20:15:50 -0000 > I tried it, and can't reproduce what you describe. How did you try it (recipe)? You are right. I am not able to recreate that. I was actually getting confused because of this: (defun modi/advice-region-or-whole (&rest args) "Advice function that applies the ORIG-FN function to the whole buffer if a region is not selected." (interactive (if (use-region-p) ; when region is selected (list (region-beginning) (region-end)) (list (point-min) (point-max)))) (message "Args: %S use-region-p: %S" args (use-region-p)) (when (not (use-region-p)) (message "Executing %s on the whole buffer." (propertize (symbol-name this-command) 'face 'font-lock-function-name-face))) nil) Of course when I did C-M-x, (use-region-p) was nil and so it printed: "Executing eval-defun on the whole buffer." Things became clear after I added this debug statement: (message "Args: %S use-region-p: %S" args (use-region-p)) In any case, I will be going the right way of advising this as Stefan and you advised. Now I only need to figure out how not to print that message when doing eval-defun. > The around advice function should return the value you want the advised function to return. Thank you! So with a let-bound variable 'ret', I can have something like (setq ret (apply orig-fn args)) and return 'ret' at the end of the :around advice function definition. Right? From MAILER-DAEMON Thu Feb 11 15:28:59 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTxrH-0006MR-UY for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 15:28:59 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTxrG-0006K0-2M for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 15:28:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTxrA-0005Uv-TX for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 15:28:57 -0500 Received: from plane.gmane.org ([80.91.229.3]:46256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTxrA-0005Up-In for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 15:28:52 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aTxr5-0004H0-U2 for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 21:28:48 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 21:28:47 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 21:28:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Confusion about Undo keybinding Date: Thu, 11 Feb 2016 21:28:37 +0100 Lines: 44 Message-ID: <878u2rc7pm.fsf@debian.uxu> References: <56BCC1C2.8050609@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:VQ7gdfse94u/QJ801CCIUH2eszs= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 20:28:59 -0000 Kevin Havener writes: > I don't think I have any .emacs type file overriding > the defaults You can check this with emacs -Q. > C-/ is bound to undo in graphical mode and in xterm > (-nw) mode. I wouldn't call this "xterm mode" as just about any terminal emulator (urxvt, Gnome terminal, etc.) should be able to do this. But actually the Emacs help mentions xterm: -nw, --no-window-system Tell Emacs not to create a graphical frame. If you use this switch when invoking Emacs from an xterm(1) window, display is done in that window. > C-/ is bound to DEL in my linux virtual consoles. > How is this possible? Here is a tutorial if you want to rebind it: http://user.it.uu.se/~embe8573/tty-emacs-keys.txt use, e.g.: (define-key input-decode-map [?\u0114] [C-/]) > Can you tell me what is going on? The Linux VTs are not the same as X. xterm may appear closer to the Linux VTs but it is not: it *is* "x"term, aye? PS. I have `undo' M-0 - very fast, close, and ergonomic if I may... DS. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Thu Feb 11 15:39:03 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTy11-00019v-MB for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 15:39:03 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTy0z-00018k-1P for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 15:39:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTy0y-0007NK-2E for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 15:39:00 -0500 Received: from mail-ob0-x236.google.com ([2607:f8b0:4003:c01::236]:34402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTy0x-0007NG-SW for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 15:38:59 -0500 Received: by mail-ob0-x236.google.com with SMTP id wb13so92914330obb.1 for ; Thu, 11 Feb 2016 12:38:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=b2tBDmbPvx4VwR+l0D1S7TdS5hwNQ8dfvResRhNME+0=; b=X13ye8TMayabNW91Sg3t0fqab52xrARi+51abCTm2lxpJp/k4YpPLNNYlF6NS5kPMx /SN1KVL3PUnGBVkZp/dwDHJ76evfdwFtvWcHegw5RpAn41dPkGr+lYRR+SzEYUS2DDOQ BULjbdc319Tk2+r27KgrBDfzwAdX5XXXJIADr1ALh+KGsAytP8fT9ZMEE2ReFiMHmcC2 Gt+SOsBRkcd1DA9H726OfSk1dtYLXVZRWaVDiVyUuC/R4OySriFJIissTOka1bfcAaKx 6jSxQwDZZZ4aW6Rdlb9Ygf3fQJiOHZa8OBhYvb5xCbWBU6XyL9xII+Ex4Hqr7xR/PFFC 3mJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=b2tBDmbPvx4VwR+l0D1S7TdS5hwNQ8dfvResRhNME+0=; b=hbv5OjUTSIc5lUPpJJRgWMyhgTUNlONPQNCetQbipOjfWgEW8MojMRL6mfc7xuCSoR CTD1DzxU9fDiVhdvXjgbRRoNwn8sPnsMztQ05KZ0PXLwinFSsufsHhSGIsR+nH4naTqb s9VLcPxVRuHXuelritXF+Tqj+2lPSAmcpoLO2hPQoANixrBtv5aeJ162umVaVBDRm1Rw nyPbnnvDZUeIwF+680+C9B5MAgt7bGCXj97G3d3gcPT5oSaQWKO6I0G1k4Sq0mUUo2pN 9gwFhi9yXhsgDE3j2mz6cmReFdmWgTSMfRQ2AMVbhHET6PTk5+elKEgEZBYN59I30JSZ uZXw== X-Gm-Message-State: AG10YOR94Jd1pppxdBGBvPqltlBug3mVB50rdYZGBFQ7B/oSwpLfrHi4actljccm9QZPbjBQxg3t1eNPxvNt4A== X-Received: by 10.60.54.1 with SMTP id f1mr14686872oep.29.1455223139111; Thu, 11 Feb 2016 12:38:59 -0800 (PST) MIME-Version: 1.0 References: <87a8ne2k6v.fsf@web.de> <87bn7n15ki.fsf@web.de> <87vb5vys7n.fsf@web.de> In-Reply-To: From: Kaushal Modi Date: Thu, 11 Feb 2016 20:38:49 +0000 Message-ID: Subject: Re: Help setting nadvice for indent-region To: Michael Heerdegen , help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c01::236 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 20:39:02 -0000 OK, so this is what I have now. (defun modi/advice-region-or-whole (&rest args) "Advice function that sets the region boundaries to that of the whole buffer if no region is selected." (interactive (if (use-region-p) (list (region-beginning) (region-end)) (list (point-min) (point-max)))) ;; (message "Args: %S R: %S I: %S" ;; args (use-region-p) (called-interactively-p 'interactive)) (when (and (eq (first args) (point-min)) (eq (second args) (point-max))) (message "Executing %s on the whole buffer." (propertize (symbol-name this-command) 'face 'font-lock-function-name-face))) nil) From MAILER-DAEMON Thu Feb 11 15:50:54 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTyCU-0006a3-71 for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 15:50:54 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40256) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTyCR-0006YD-Q2 for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 15:50:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTyCN-0002y9-H9 for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 15:50:51 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:32904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTyCN-0002xy-C3 for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 15:50:47 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4952 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aTyCM-00070K-KG for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 15:50:47 -0500 Date: Thu, 11 Feb 2016 22:50:39 +0200 Message-Id: <83wpqb7yzk.fsf@gnu.org> From: Eli Zaretskii To: help-gnu-emacs@gnu.org In-reply-to: (message from Stefan Monnier on Thu, 11 Feb 2016 08:58:45 -0500) Subject: Re: 64 bit official Windows builds References: <2577057e-98d3-41ce-ade2-1496648b09c3@googlegroups.com> <8337t3qdpd.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 20:50:52 -0000 > From: Stefan Monnier > Date: Thu, 11 Feb 2016 08:58:45 -0500 > > >> Could I ask, what is the benefit of 64 bits compared to 32 bits for windows ? > > It will run roughly twice faster. > [...] > > slower, because running a 32-bit executable on a 64-bit Windows > > requires expensive thunking for every call to any Windows API, > > Holy crap? Really? It's hard to believe that 64-bit Windows's > emulation of the 32-bit API is so inefficient that it causes a "rough > slowdown" by a factor 2 in an application like Emacs. > > Do you see such a factor-of-2 difference when doing "rm lisp/**/*.elc; > make"? Or in which kind of circumstance have you seen such a slowdown? I measured that by running GNU Find compiled from the same sources on a large and deep directory tree on the same Windows 7 box. That thunking is the culprit is my theory, not a fact; however, I cannot find any other explanation. If someone does, I'm all ears. From MAILER-DAEMON Thu Feb 11 16:01:18 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTyMY-0001H2-P4 for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 16:01:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTyMW-0001Gt-Vk for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 16:01:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTyMT-00060B-OC for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 16:01:16 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTyMT-000601-Lb for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 16:01:13 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4964 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aTyMT-0008H9-0N for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 16:01:13 -0500 Date: Thu, 11 Feb 2016 23:01:06 +0200 Message-Id: <83twlf7yi5.fsf@gnu.org> From: Eli Zaretskii To: help-gnu-emacs@gnu.org In-reply-to: (message from Shiyao Ma on Thu, 11 Feb 2016 19:08:27 +0800) Subject: Re: improper behavior of (scroll-down 0) References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 21:01:17 -0000 > Date: Thu, 11 Feb 2016 19:08:27 +0800 > From: Shiyao Ma > > 1. go to the info node (elisp)Top > Positions > Excursions > 2. go to the beginning of the window: (goto-char (point-min)) > 3. scroll the window, (scroll-down 0) > > Oops, the window scrolls down by 1. > > What's happening here and how to rectify this ? What is the problem, exactly? What do you want (scroll-down 0) to do, and why? From MAILER-DAEMON Thu Feb 11 16:21:51 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTygR-0006pZ-RP for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 16:21:51 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTygP-0006p9-5V for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 16:21:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTygJ-0003WG-Pm for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 16:21:48 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:33253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTygJ-0003WC-Lq for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 16:21:43 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 75ADE213F5 for ; Thu, 11 Feb 2016 16:21:43 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Thu, 11 Feb 2016 16:21:43 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=urQUSlJIj/zRhrolepYPBeimMI0=; b=Ci8Z6 0WFzIoQ5D1nAIRS7DPqPefRNS7pUbVtvtki3qiyMix1pxlAMNdjknxx6Aipf7Al7 PXjaFihXslWNy/RKuHvQ9mBT9eMdStTovEarQfgC9HPthABxvS4R2zHp/i9TWR/P UeMOBe395/NtF3AhxInssZC59fucNUjsAXDm7Y= X-Sasl-enc: HIydoESIZDltX0EuyBK1FFZCifKz6/efArpHnjyzsLoh 1455225703 Received: from blueberry (lfbn-1-7726-61.w92-167.abo.wanadoo.fr [92.167.139.61]) by mail.messagingengine.com (Postfix) with ESMTPA id C56306800A8; Thu, 11 Feb 2016 16:21:42 -0500 (EST) From: Nicolas Petton To: Eli Zaretskii , help-gnu-emacs@gnu.org Subject: Re: 64 bit official Windows builds In-Reply-To: <837fk3m141.fsf@gnu.org> References: <2577057e-98d3-41ce-ade2-1496648b09c3@googlegroups.com> <837fk3m141.fsf@gnu.org> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/25.1.50.1 (x86_64-unknown-linux-gnu) Date: Thu, 11 Feb 2016 22:21:40 +0100 Message-ID: <87h9hft02j.fsf@petton.fr> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 21:21:50 -0000 --=-=-= Content-Type: text/plain Eli Zaretskii writes: > Uploading the binaries requires a volunteer to step forward, but > there are no technical problems that would prevent this. I will upload them if someone is willing to do the builds. Nico --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: GPGTools - http://gpgtools.org iQEcBAEBCAAGBQJWvPtkAAoJECM1h6R8IHkQYsMIAJWHZa8InITnWmc6AMa3Kc60 a3z+N+t1Ei0MDeS4kYT0WMX8qkmTMcLRAveZmBJZ4gIxoyuIHvpY01l29sYgYCnE Wblkx2DRHWQLBzy7KdxRhOqgH+HnzZRW9sc/SCktDpTT7d0aPy/40Loxbsc1ZAQL xw09fUuCdQ2JEMZOiOx0IfsiWd6QzmfSZkG0tMlLQ4KCWOylNz4K6+I2EoGrMBeM 39xmnBW//e+sVlA4iZbBzy4fuj0GGuB7jx/38Mb3GS6CCJsO63hjj9IV3rCWB0Dc 6wjhpWE+BWAlObUAFGyBF0gqwGOM46H58vudwQpa1KZ43xKjsjlXUeyp3tSBz8Y= =LusE -----END PGP SIGNATURE----- --=-=-=-- From MAILER-DAEMON Thu Feb 11 16:36:09 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTyuH-0002Uu-7U for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 16:36:09 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTyuE-0002U4-Ol for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 16:36:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTyuD-00072T-RB for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 16:36:06 -0500 Received: from mail-ob0-x22b.google.com ([2607:f8b0:4003:c01::22b]:33867) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTyuD-00072P-M7; Thu, 11 Feb 2016 16:36:05 -0500 Received: by mail-ob0-x22b.google.com with SMTP id wb13so95466738obb.1; Thu, 11 Feb 2016 13:36:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=aHxlHUtJJjXfp181FZWompt92Oyx2HO4AZDiVSJiyIs=; b=pGvQLNE26/hFKUe3X6HftHHkDviAvFQEwYobWilGrAHOZR5c1/JkiclJNhSAvPH5yA hdZO/6D3X0RuujnWv0ncwJ/aS1BjfJd+t5JLm/EhpWuZiBTclxjNgSR8CBybsbD0OtSF zTD8a2VdKye+80aMZoyqDRORQaDxV+BVWM8PpocSHBKAzV7HeyN4urFtJCrR4IpgBUDL wZNqH10JvvuSeNSHN1vwArfBHYfzIpLYGpD4mNL+b1LHSnusZS04bZKzn8k+FVspQ4Fp aJzKFKpTrmsuaVwhpm7WmW4Z8MmQw4oPOIIWggYKwsaJKGgQKaFU+CF8Ne9LUuPHvvG+ cmLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-type; bh=aHxlHUtJJjXfp181FZWompt92Oyx2HO4AZDiVSJiyIs=; b=FSAThs7im7EvOUdDgzUNBY6ySVmsH39NEGJFqIhboLAEg3TS+PJQnZF+ywn73x25S/ dvWwiw3FvSFgBomvcsR7ixseYJ0X7pFL2+8O2cOu1uhHodZBzuA59O5tzfJyJGzjjRFv QIdYUd+w4cA4p9W1qBiowWA85qcP0/3PJqZORV3H7eEMYha6CHPi8492AmIrykDoXxo3 kTqoN4Y0NZzo7om2K8nCVJ6ke4HGA7VjNnwUbDzHscyDeWDwfdaDiO3lkhd1dM5pIzFu wVZWgetMmH7KCpMhl6SwGJwCAl1NAP544Xltl0NdAaWGw1FY09jxoUvxJP9qQenF4xNC s5QQ== X-Gm-Message-State: AG10YORfSL8LdG/zhDltNAVQCIE/6gCHGUk5mymLg7GUS9y5b1EMpSf4b/0dRHMNUhUdI1kf8HG0FXczvf3YuQ== X-Received: by 10.60.135.98 with SMTP id pr2mr49860915oeb.65.1455226565171; Thu, 11 Feb 2016 13:36:05 -0800 (PST) MIME-Version: 1.0 References: <2577057e-98d3-41ce-ade2-1496648b09c3@googlegroups.com> <837fk3m141.fsf@gnu.org> <87h9hft02j.fsf@petton.fr> In-Reply-To: <87h9hft02j.fsf@petton.fr> From: Kaushal Modi Date: Thu, 11 Feb 2016 21:35:54 +0000 Message-ID: Subject: Re: 64 bit official Windows builds To: Nicolas Petton , Eli Zaretskii , help-gnu-emacs@gnu.org, Chris Zheng X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c01::22b Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 21:36:07 -0000 Copying Chris Zheng (emacsbinw64 sourceforge project) to see if he is interested in providing the binaries. https://sourceforge.net/p/emacsbinw64/tickets/9/ On Thu, Feb 11, 2016 at 4:22 PM Nicolas Petton wrote: > Eli Zaretskii writes: > > Uploading the binaries requires a volunteer to step forward, but > > there are no technical problems that would prevent this. > > I will upload them if someone is willing to do the builds. > > Nico > From MAILER-DAEMON Thu Feb 11 16:53:30 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTzB4-0007wd-2v for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 16:53:30 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTzB1-0007wD-S4 for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 16:53:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTzB1-0002mW-1Z for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 16:53:27 -0500 Received: from mail-yk0-x234.google.com ([2607:f8b0:4002:c07::234]:35597) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTzB0-0002mR-Uv for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 16:53:27 -0500 Received: by mail-yk0-x234.google.com with SMTP id r207so27012456ykd.2 for ; Thu, 11 Feb 2016 13:53:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=1Dx4STU0xPfBZhwTrxVKb9hjzjdpld+LD8QsAxpXbLM=; b=Cd4piUDVCDqPbID53araUbKfwsP6f7f/3VHmYW9UmLR6fS2UQwpsFrPslnczy9T97s E06Ri2A2pYhLNoRgFBqHAzhi9So+H/VB50is0YadwNvXY6tGv/DW9WNWCuk1FEdCOBfE +x1bV3YAWRAQzWH1urAxV/zuwMr1DKhrnYq5yUvGz4pFfzc2U1dHUFl3o54zkwTwzYQq r/m5IpwXVHQsommRgshhM2mR3o8MnWldiXLyrvtXFVsXpV999zJZblZaaXcjoQu3MnZG tPRewIWfswx5p6d4IrXkaLJoq8wYZjynqYD8prsei6gZAsciCM5N5Dt3dbU1G6TtclUx 1ZaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=1Dx4STU0xPfBZhwTrxVKb9hjzjdpld+LD8QsAxpXbLM=; b=ATzLbyJbAOMHOho38Ih4hyGSzT0djmvp2cHeJ9v8e+S3wTSjRFb0r7g/wO87zXgAwj 5jLb/L1ZkIjhn5NIrLcbJbfilnOEUkdyW8keewN1IpEB+yTvpr5gsq3iI9APcWqiYzSZ 4u1+5motk2lKqZiroMqe7iOSgtiQWOa4L6PoAP7G2gM68A24z/vHp4h008HZQEMfog5l kwd24JygH0Pqc+Jj8fOVV3qETR8CCvFcTa76eNjuMnzvKdRpRbddXNPAIrPw4KrfBhLE WTCEqF6pBBd4PE8A/FCo35zbFrkMhXG6xatRg9QMij7gyz5wZ9O+dw3f1o5043/btmQU wGyg== X-Gm-Message-State: AG10YOSHI5zm+fGumiikLCazrxnhuaLv1Tzo6XVn1b2uPRYSIiAQtR9O58Swn/E45RVhJqjaMLajxJBZLMWdwA== X-Received: by 10.37.72.4 with SMTP id v4mr27081874yba.168.1455227606359; Thu, 11 Feb 2016 13:53:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.230.79 with HTTP; Thu, 11 Feb 2016 13:53:06 -0800 (PST) In-Reply-To: References: <2577057e-98d3-41ce-ade2-1496648b09c3@googlegroups.com> <837fk3m141.fsf@gnu.org> <87h9hft02j.fsf@petton.fr> From: John Mastro Date: Thu, 11 Feb 2016 13:53:06 -0800 Message-ID: Subject: Re: 64 bit official Windows builds To: "help-gnu-emacs@gnu.org" Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4002:c07::234 Cc: Chris Zheng X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 21:53:28 -0000 Kaushal Modi wrote: > Copying Chris Zheng (emacsbinw64 sourceforge project) to see if he is > interested in providing the binaries. > > https://sourceforge.net/p/emacsbinw64/tickets/9/ I'll take the opportunity to say thank you, Chris, for providing those builds. I've been using them for several months and they've been great. -- john From MAILER-DAEMON Thu Feb 11 17:16:52 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aTzXg-0001t8-OW for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 17:16:52 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTzXe-0001rs-SR for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 17:16:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTzXa-000177-T9 for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 17:16:50 -0500 Received: from plane.gmane.org ([80.91.229.3]:52347) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTzXa-00016x-Lu for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 17:16:46 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aTzXZ-0006f4-II for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 23:16:45 +0100 Received: from 1.red-83-38-42.dynamicip.rima-tde.net ([83.38.42.1]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 23:16:45 +0100 Received: from ofv by 1.red-83-38-42.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 11 Feb 2016 23:16:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: =?utf-8?Q?=C3=93scar_Fuentes?= Subject: Re: 64 bit official Windows builds Date: Thu, 11 Feb 2016 23:16:35 +0100 Lines: 14 Message-ID: <8760xuuc3g.fsf@wanadoo.es> References: <2577057e-98d3-41ce-ade2-1496648b09c3@googlegroups.com> <8337t3qdpd.fsf@gnu.org> <83wpqb7yzk.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 1.red-83-38-42.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:uBMdQMp0JiZ0ZnDHIjYsWxRIpbU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2016 22:16:52 -0000 Eli Zaretskii writes: >> Do you see such a factor-of-2 difference when doing "rm lisp/**/*.elc; >> make"? Or in which kind of circumstance have you seen such a slowdown? > > I measured that by running GNU Find compiled from the same sources on > a large and deep directory tree on the same Windows 7 box. > > That thunking is the culprit is my theory, not a fact; however, I > cannot find any other explanation. If someone does, I'm all ears. I mentioned some possibilities on a previous message. Did you use the same toolset and libraries for the 32 and 64 bits build? The MinGW and MinGW-w64 (32/64 bits) runtimes diverged quite a bit. From MAILER-DAEMON Thu Feb 11 19:56:58 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aU22c-000596-OU for mharc-help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 19:56:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46402) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU22a-00057v-5I for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 19:56:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aU22W-0004Jx-Or for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 19:56:56 -0500 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:37823) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU22W-0004JO-Gv for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 19:56:52 -0500 Received: by mail-wm0-x229.google.com with SMTP id g62so432964wme.0 for ; Thu, 11 Feb 2016 16:56:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=introo-me.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=mhBlBmXMPAJe3fvMccjS5icQyiu+zhD6K7q50sQRF4U=; b=FL+1F/L6JF6YzuaCF3YgOT/njXkYcgafBTGDjdBoXdSrciSCY9UTOJJ7YMVe+loPn7 AQr91H66SdiJhjtmx5HWeJGpiz5wvsXxVSDArNBeiz4T2+akt3DxiHnRIBq1BtIswFUh TGh4Dz+j181oPijqprZHMFuJ8qYouYenfQH5qO4Nx2lWrR8HUYoN7CS00A7SfmYG8Y8U cVODHEdj85MKSuTCBmp7xN78DZXJXaiUNnfhjj9I6YZWF+kn7eRUHtVFwlLRUes7gbA7 hHpq0F8Jqr8zakxMTbR8LkIPPz9PnXihRMAVgWRUllQ8WjkBgCz6TUDUmycq2R908KtZ wp0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=mhBlBmXMPAJe3fvMccjS5icQyiu+zhD6K7q50sQRF4U=; b=TYGowjLr9YrBh7fZpXFPjcNt5mCQBz1aXGRDkNeFIImyDVPRKr35j//jnE/Hl/i7nH sO4SoFJBYXcnXeKx4KxslREY3gWhTvlsrFI08T33CJ0ZIdTVMgixInrgSn1jPiVdgFCt GHdMOhKZhziuibw+mVHA2c9es8GZJ7G8z3iAYuaa7H4mImAfPSB77KYKCZGBq0XLIwJO KC46ucbdH5vRRD7oHbNkIRM3nTjTM11dkuYB6Wy6Vynp6qNeRfZeTFNo4xcA4bw2NsnL OAMqXuN6pXQxVNDD7x0nEDNuk2gZ0UidD4gGZoIcDvZqOkm1YKhM3rJ6HCir/IoOPLOL DZVg== X-Gm-Message-State: AG10YOQtiabm2pqlVYGnV/lqOoVXfMzZguWhrirseLaXUxBe2cF3mjPucmXyRzdxKpiJdxi9URtPqduza8EMQQ== MIME-Version: 1.0 X-Received: by 10.28.188.138 with SMTP id m132mr1341724wmf.29.1455238611690; Thu, 11 Feb 2016 16:56:51 -0800 (PST) Received: by 10.27.231.69 with HTTP; Thu, 11 Feb 2016 16:56:51 -0800 (PST) X-Originating-IP: [143.89.244.107] In-Reply-To: <83twlf7yi5.fsf@gnu.org> References: <83twlf7yi5.fsf@gnu.org> Date: Fri, 12 Feb 2016 08:56:51 +0800 Message-ID: Subject: Re: improper behavior of (scroll-down 0) From: Shiyao Ma To: Eli Zaretskii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::229 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 00:56:57 -0000 On 12 February 2016 at 05:01, Eli Zaretskii wrote: > > Date: Thu, 11 Feb 2016 19:08:27 +0800 > > From: Shiyao Ma > > > > 1. go to the info node (elisp)Top > Positions > Excursions > > 2. go to the beginning of the window: (goto-char (point-min)) > > 3. scroll the window, (scroll-down 0) > > > > Oops, the window scrolls down by 1. > > > > What's happening here and how to rectify this ? > > What is the problem, exactly? What do you want (scroll-down 0) to do, > and why? > > The observed behavior is "the window scrolls down by 1. The desired behavior is "the window doesn't scroll down at all" Regards. From MAILER-DAEMON Fri Feb 12 01:55:15 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aU7dL-0003fU-A9 for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 01:55:15 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43431) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU7dJ-0003eC-Cn for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 01:55:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aU7dF-00040a-Cr for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 01:55:13 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42049) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU7dF-00040W-9Y; Fri, 12 Feb 2016 01:55:09 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1708 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aU7dE-0007Ft-EA; Fri, 12 Feb 2016 01:55:08 -0500 Date: Fri, 12 Feb 2016 08:55:02 +0200 Message-Id: <83h9he8lkp.fsf@gnu.org> From: Eli Zaretskii To: =?iso-8859-1?Q?=D3scar?= Fuentes In-reply-to: <8760xuuc3g.fsf@wanadoo.es> (message from =?iso-8859-1?Q?=D3s?= =?iso-8859-1?Q?car?= Fuentes on Thu, 11 Feb 2016 23:16:35 +0100) Subject: Re: 64 bit official Windows builds References: <2577057e-98d3-41ce-ade2-1496648b09c3@googlegroups.com> <8337t3qdpd.fsf@gnu.org> <83wpqb7yzk.fsf@gnu.org> <8760xuuc3g.fsf@wanadoo.es> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Eli Zaretskii List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 06:55:14 -0000 > From: scar Fuentes > Date: Thu, 11 Feb 2016 23:16:35 +0100 > > > I measured that by running GNU Find compiled from the same sources on > > a large and deep directory tree on the same Windows 7 box. > > > > That thunking is the culprit is my theory, not a fact; however, I > > cannot find any other explanation. If someone does, I'm all ears. > > I mentioned some possibilities on a previous message. Did you use the > same toolset and libraries for the 32 and 64 bits build? No. The program was compiled by mingw.org's MinGW for 32 bits and by MinGW64 for 64 bits. > The MinGW and MinGW-w64 (32/64 bits) runtimes diverged quite a bit. GNU Find uses only msvcrt.dll, no other runtime libraries are involved in any significant way. From MAILER-DAEMON Fri Feb 12 01:59:19 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aU7hH-0005Ez-I6 for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 01:59:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU7hF-0005DZ-8U for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 01:59:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aU7hC-00062b-3N for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 01:59:17 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU7hC-00062X-0t for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 01:59:14 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1711 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aU7hA-0007j4-Ut for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 01:59:13 -0500 Date: Fri, 12 Feb 2016 08:59:07 +0200 Message-Id: <83fuwy8ldw.fsf@gnu.org> From: Eli Zaretskii To: help-gnu-emacs@gnu.org In-reply-to: (message from Shiyao Ma on Fri, 12 Feb 2016 08:56:51 +0800) Subject: Re: improper behavior of (scroll-down 0) References: <83twlf7yi5.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 06:59:18 -0000 > Date: Fri, 12 Feb 2016 08:56:51 +0800 > From: Shiyao Ma > Cc: help-gnu-emacs@gnu.org > > > 1. go to the info node (elisp)Top > Positions > Excursions > > 2. go to the beginning of the window: (goto-char (point-min)) > > 3. scroll the window, (scroll-down 0) > > > > Oops, the window scrolls down by 1. > > > > What's happening here and how to rectify this ? > > What is the problem, exactly? What do you want (scroll-down 0) to do, > and why? > > The observed behavior is "the window scrolls down by 1. > > The desired behavior is "the window doesn't scroll down at all" Sorry, I should have been more clear. The question I wanted to ask is: if you don't want the window to scroll, why do you invoke scroll-down at all? I assumed you did that because you wanted some effect other than scrolling, so I asked what was that effect. From MAILER-DAEMON Fri Feb 12 02:16:54 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aU7yI-0000EL-Bn for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 02:16:54 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU7yG-0000Du-2H for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 02:16:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aU7yB-0000zZ-3k for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 02:16:51 -0500 Received: from plane.gmane.org ([80.91.229.3]:44523) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU7yA-0000yB-S3 for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 02:16:47 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aU7y8-00087F-Ki for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 08:16:44 +0100 Received: from 173.red-83-43-64.dynamicip.rima-tde.net ([83.43.64.173]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 08:16:44 +0100 Received: from ofv by 173.red-83-43-64.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 08:16:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: =?utf-8?Q?=C3=93scar_Fuentes?= Subject: Re: 64 bit official Windows builds Date: Fri, 12 Feb 2016 08:16:37 +0100 Lines: 31 Message-ID: <87vb5us8iy.fsf@wanadoo.es> References: <2577057e-98d3-41ce-ade2-1496648b09c3@googlegroups.com> <8337t3qdpd.fsf@gnu.org> <83wpqb7yzk.fsf@gnu.org> <8760xuuc3g.fsf@wanadoo.es> <83h9he8lkp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 173.red-83-43-64.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:OLsTfsSDOg0u836hcWzbtKA/qX8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 07:16:53 -0000 Eli Zaretskii writes: >> > That thunking is the culprit is my theory, not a fact; however, I >> > cannot find any other explanation. If someone does, I'm all ears. >> >> I mentioned some possibilities on a previous message. Did you use the >> same toolset and libraries for the 32 and 64 bits build? > > No. The program was compiled by mingw.org's MinGW for 32 bits and by > MinGW64 for 64 bits. There you have a strong candidate for explaining the difference. That probably also means that they were different compiler versions. >> The MinGW and MinGW-w64 (32/64 bits) runtimes diverged quite a bit. > > GNU Find uses only msvcrt.dll, no other runtime libraries are involved > in any significant way. As you know, there are other code pieces that are linked into the executable besides the C runtime (which MinGW(-w64) supersede by providing their implementations for certain functions, plus other features missing from msvcrt.dll). IIRC some *stat functions are very slow on Mingw, maybe the MinGW-w64 guys introduced improvements, just a guess. Why don't you build both 32 and 64 bits executables of GNU Find with MinGW-w64 (same toolset version) for comparing its performance? Not saying that GNU Find will be representative of what you can expect from Emacs. (GNU Find: I/O bound; Emacs: user bound.) From MAILER-DAEMON Fri Feb 12 02:48:41 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aU8T3-0008Ca-DP for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 02:48:41 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU8T1-0008CM-Gs for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 02:48:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aU8Sy-00014V-9g for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 02:48:39 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU8Sy-00014R-6f for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 02:48:36 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1824 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aU8Sw-0006WK-Vg for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 02:48:35 -0500 Date: Fri, 12 Feb 2016 09:48:18 +0200 Message-Id: <834mde8j3x.fsf@gnu.org> From: Eli Zaretskii To: help-gnu-emacs@gnu.org In-reply-to: <87vb5us8iy.fsf@wanadoo.es> (message from =?iso-8859-1?Q?=D3s?= =?iso-8859-1?Q?car?= Fuentes on Fri, 12 Feb 2016 08:16:37 +0100) Subject: Re: 64 bit official Windows builds References: <2577057e-98d3-41ce-ade2-1496648b09c3@googlegroups.com> <8337t3qdpd.fsf@gnu.org> <83wpqb7yzk.fsf@gnu.org> <8760xuuc3g.fsf@wanadoo.es> <83h9he8lkp.fsf@gnu.org> <87vb5us8iy.fsf@wanadoo.es> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Eli Zaretskii List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 07:48:40 -0000 > From: scar Fuentes > Date: Fri, 12 Feb 2016 08:16:37 +0100 > > Eli Zaretskii writes: > > >> > That thunking is the culprit is my theory, not a fact; however, I > >> > cannot find any other explanation. If someone does, I'm all ears. > >> > >> I mentioned some possibilities on a previous message. Did you use the > >> same toolset and libraries for the 32 and 64 bits build? > > > > No. The program was compiled by mingw.org's MinGW for 32 bits and by > > MinGW64 for 64 bits. > > There you have a strong candidate for explaining the difference. That > probably also means that they were different compiler versions. I find it hard to believe that compiler version differences can explain a factor of two. It contradicts every bit of my experience with GCC over the last 30 years. > >> The MinGW and MinGW-w64 (32/64 bits) runtimes diverged quite a bit. > > > > GNU Find uses only msvcrt.dll, no other runtime libraries are involved > > in any significant way. > > As you know, there are other code pieces that are linked into the > executable besides the C runtime (which MinGW(-w64) supersede by > providing their implementations for certain functions, plus other > features missing from msvcrt.dll). IIRC some *stat functions are very > slow on Mingw, maybe the MinGW-w64 guys introduced improvements, just a > guess. Not according to the current MinGW64's Git repository. They basically simply call the msvcrt _stat. And I doubt such a speedup is really possible at all, given the simplistic implementation of 'stat' in msvcrt -- you cannot do less, really. > Why don't you build both 32 and 64 bits executables of GNU Find with > MinGW-w64 (same toolset version) for comparing its performance? Sorry, I don't have time for that. But anyone who is interested can do this experiment, the sources (and the binaries) are on the ezwinports site. FWIW, I'd be very glad to hear that my measurements were some fluke and should be disregarded. > Not saying that GNU Find will be representative of what you can expect > from Emacs. (GNU Find: I/O bound; Emacs: user bound.) Performance only matters when you do prolonged operations. One such prolonged operation in Emacs is reading a directory in Dired, in which case what Emacs does is quite similar to what Find does. For someone who uses Dired extensively, the GNU Find example is not irrelevant. Memory- and CPU-intensive operations is another matter. But here, too, I'd welcome actual measurements more than theories. Measurements can and do surprise, as is known to anyone who ever profiled a real-life program. From MAILER-DAEMON Fri Feb 12 03:16:32 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aU8u0-0005OZ-2y for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 03:16:32 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU8tx-0005OH-H9 for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 03:16:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aU8tt-0007bl-Gd for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 03:16:29 -0500 Received: from plane.gmane.org ([80.91.229.3]:46828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU8tt-0007bA-8i for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 03:16:25 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aU8tp-0003rK-NA for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 09:16:21 +0100 Received: from 173.red-83-43-64.dynamicip.rima-tde.net ([83.43.64.173]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 09:16:21 +0100 Received: from ofv by 173.red-83-43-64.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 09:16:21 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: =?utf-8?Q?=C3=93scar_Fuentes?= Subject: Re: 64 bit official Windows builds Date: Fri, 12 Feb 2016 09:16:13 +0100 Lines: 68 Message-ID: <87mvr6s5rm.fsf@wanadoo.es> References: <2577057e-98d3-41ce-ade2-1496648b09c3@googlegroups.com> <8337t3qdpd.fsf@gnu.org> <83wpqb7yzk.fsf@gnu.org> <8760xuuc3g.fsf@wanadoo.es> <83h9he8lkp.fsf@gnu.org> <87vb5us8iy.fsf@wanadoo.es> <834mde8j3x.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 173.red-83-43-64.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:LpBh7e3zX5eTHU7BwsUN0sKJawQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 08:16:30 -0000 Eli Zaretskii writes: >> > No. The program was compiled by mingw.org's MinGW for 32 bits and by >> > MinGW64 for 64 bits. >> >> There you have a strong candidate for explaining the difference. That >> probably also means that they were different compiler versions. > > I find it hard to believe that compiler version differences can > explain a factor of two. It contradicts every bit of my experience > with GCC over the last 30 years. You missed the "also". The compiler version can have a dramatic impact on some cases (it is quite common to find 10x differences on some microbenchmarks) but I'm more prone to point fingers to what is around of the compiler, something that I hinted on my previous message. >> As you know, there are other code pieces that are linked into the >> executable besides the C runtime (which MinGW(-w64) supersede by >> providing their implementations for certain functions, plus other >> features missing from msvcrt.dll). IIRC some *stat functions are very >> slow on Mingw, maybe the MinGW-w64 guys introduced improvements, just a >> guess. > > Not according to the current MinGW64's Git repository. They basically > simply call the msvcrt _stat. Okay, let's scratch that hypothesis then. >> Why don't you build both 32 and 64 bits executables of GNU Find with >> MinGW-w64 (same toolset version) for comparing its performance? > > Sorry, I don't have time for that. But anyone who is interested can > do this experiment, the sources (and the binaries) are on the > ezwinports site. FWIW, I'd be very glad to hear that my measurements > were some fluke and should be disregarded. Maybe I'll try the comparision, but at the moment I only have virtual machines with Windows 64 bits and those are not specially reliable for performance measurements, although a 2x difference on real metal should have some impact on the VM too. >> Not saying that GNU Find will be representative of what you can expect >> from Emacs. (GNU Find: I/O bound; Emacs: user bound.) > > Performance only matters when you do prolonged operations. One such > prolonged operation in Emacs is reading a directory in Dired, in which > case what Emacs does is quite similar to what Find does. For someone > who uses Dired extensively, the GNU Find example is not irrelevant. Are there reports about Dired being slow on Windows 32 bits? Just curious. > Memory- and CPU-intensive operations is another matter. But here, > too, I'd welcome actual measurements more than theories. Measurements > can and do surprise, as is known to anyone who ever profiled a > real-life program. I'm glad you think this way. So now we have agreed that the existence of a dramatic performance gap between 32 and 64 bits Emacs executables and its cause being API thunking is just a theory of yours based on limited evidence :-) My also (limited) evidence is that 64 bit Windows binaries can be a bit faster than 32 bit ones, and vice-versa. For instance: my experience building complex C++ code with GCC is that the 32 bit compiler runs a bit faster than its 64 bit version. For Emacs, I see no difference, it is responsive on both systems. From MAILER-DAEMON Fri Feb 12 03:51:30 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aU9Rq-0006vI-35 for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 03:51:30 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45694) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU9Rn-0006ut-NY for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 03:51:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aU9Rk-0007X0-I1 for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 03:51:27 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43650) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aU9Rk-0007Wv-Ej for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 03:51:24 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1907 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aU9Rj-0007cX-Ny for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 03:51:24 -0500 Date: Fri, 12 Feb 2016 10:51:20 +0200 Message-Id: <83si0y71mf.fsf@gnu.org> From: Eli Zaretskii To: help-gnu-emacs@gnu.org In-reply-to: <87mvr6s5rm.fsf@wanadoo.es> (message from =?iso-8859-1?Q?=D3s?= =?iso-8859-1?Q?car?= Fuentes on Fri, 12 Feb 2016 09:16:13 +0100) Subject: Re: 64 bit official Windows builds References: <2577057e-98d3-41ce-ade2-1496648b09c3@googlegroups.com> <8337t3qdpd.fsf@gnu.org> <83wpqb7yzk.fsf@gnu.org> <8760xuuc3g.fsf@wanadoo.es> <83h9he8lkp.fsf@gnu.org> <87vb5us8iy.fsf@wanadoo.es> <834mde8j3x.fsf@gnu.org> <87mvr6s5rm.fsf@wanadoo.es> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 08:51:28 -0000 > From: scar Fuentes > Date: Fri, 12 Feb 2016 09:16:13 +0100 > > >> Not saying that GNU Find will be representative of what you can expect > >> from Emacs. (GNU Find: I/O bound; Emacs: user bound.) > > > > Performance only matters when you do prolonged operations. One such > > prolonged operation in Emacs is reading a directory in Dired, in which > > case what Emacs does is quite similar to what Find does. For someone > > who uses Dired extensively, the GNU Find example is not irrelevant. > > Are there reports about Dired being slow on Windows 32 bits? Just > curious. Compared to what? a Posix host that runs 'ls' instead? you betcha! Comparing that to a 64-bit Emacs would be a good measurement, I think. I didn't try that. > > Memory- and CPU-intensive operations is another matter. But here, > > too, I'd welcome actual measurements more than theories. Measurements > > can and do surprise, as is known to anyone who ever profiled a > > real-life program. > > I'm glad you think this way. So now we have agreed that the existence of > a dramatic performance gap between 32 and 64 bits Emacs executables and > its cause being API thunking is just a theory of yours based on limited > evidence :-) I actually said that already in my reply to Stefan, didn't I? > My also (limited) evidence is that 64 bit Windows binaries can be a bit > faster than 32 bit ones, and vice-versa. For instance: my experience > building complex C++ code with GCC is that the 32 bit compiler runs a > bit faster than its 64 bit version. For Emacs, I see no difference, it > is responsive on both systems. Responsiveness is not what is at stake here, as I already wrote. You need some prolonged operation, either I/O intensive or CPU- or memory-intensive (or both). Try repeatedly searching a regexp through a large buffer, or run XML validation on a large XML document, or anything similar. From MAILER-DAEMON Fri Feb 12 04:41:19 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUAE3-0004Hi-I1 for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 04:41:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUAE0-0004GV-Qx for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 04:41:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUADw-0003yi-PM for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 04:41:16 -0500 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]:38788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUADw-0003yb-Cv for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 04:41:12 -0500 Received: by mail-wm0-x22a.google.com with SMTP id p63so11647288wmp.1 for ; Fri, 12 Feb 2016 01:41:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=introo-me.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=gP5p42oEBorDlpqhfmP/KnisKRyMHJoW8nNScNUADCk=; b=mUbXY6rLfdJUxBHcBqUmw5u4Zd0VvJbPh0OLCoff8AUPrSH1eSERPlklwoEgGcbmm9 87NvhttTKhaFpmVJSJz9ODjjqZymkpNQbnmaGdf6WXNhmv91u86iLJBArYf4uahp7Dzy Q8Mr4PPG3DQydW+h8LC9Mb9KFWivQrzpNoxgzEllavtVT/bhUPdWHOa1TcVgaf4lCa1z JBRC6QJrd40Um55cAc8Qp6XOJA16aVpfpgVJ8Y56JkkMoWi/B08J4Fx4LJdmcL7Jv8Aw vQUAu2tCAdlpJJEwR2+t/Wb9kM/C+lOaHtefGzAmFm+kdUf4sTIR0uo64Ftfl6eMPtPn UVzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=gP5p42oEBorDlpqhfmP/KnisKRyMHJoW8nNScNUADCk=; b=RFOioDtTquGpfzmUV4+4VJ3qFWSyjXWzh0wlKQ0CiNZzLcQHwrOfbpw86wAZfJv95U KYeMFG+7eKz2eQJXHkqqK+lo3XTEDw6c8zsUlfNqPeoxtSlHrnNENkuoyY2xe76Ca+H3 WPMVvmxAPxAe+QV1JGFnsgovvMD5PyZKHWI039egy3Px+b+I8YmPCovGggYUMtXSC+DQ TWNE2mfYJmgRnv014z0qGm9hUes7WjLUUjf2Af2in+ydwMfl/GmCkFXU5rJXRNWZw8tq QQY/Mh8QSyeDeP1pk+47ONKp3VcqKwYR3xVYB76ZF982Ny7AV6MT2phzM/EmZPdzR5Xi uXIQ== X-Gm-Message-State: AG10YOQ7bHsJ+RfeCgI5I17dvKpN+UZl1M2b4XtYc8ULu/Va9dlIW5ya0ILVA+Dr5Lv1P0/RdiQtS4T2uYba/Q== MIME-Version: 1.0 X-Received: by 10.194.95.40 with SMTP id dh8mr733948wjb.146.1455270071571; Fri, 12 Feb 2016 01:41:11 -0800 (PST) Received: by 10.27.231.69 with HTTP; Fri, 12 Feb 2016 01:41:11 -0800 (PST) X-Originating-IP: [143.89.244.107] In-Reply-To: <83fuwy8ldw.fsf@gnu.org> References: <83twlf7yi5.fsf@gnu.org> <83fuwy8ldw.fsf@gnu.org> Date: Fri, 12 Feb 2016 17:41:11 +0800 Message-ID: Subject: Re: improper behavior of (scroll-down 0) From: Shiyao Ma To: Eli Zaretskii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22a Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 09:41:18 -0000 Hi, Eli On 12 February 2016 at 14:59, Eli Zaretskii wrote: > Sorry, I should have been more clear. The question I wanted to ask > is: if you don't want the window to scroll, why do you invoke > scroll-down at all? I assumed you did that because you wanted some > effect other than scrolling, so I asked what was that effect. > > yup, I'd admit the plain (scroll-down 0) is meaningless. Actually the scrolling down part is of the form (scroll-down scrollable), the origin is here: https://github.com/emacsmirror/evil/blob/master/evil-commands.el#L870 When `scrollable' becomes 0, the undesired behavior happens. Another observation is, the undesired behavior doesn't happen under *scratch* buffer or others alike. The info mode has sort of a navigation bar, "(elisp)Top > Positions > Excursions", maybe (scroll-down) doesn't handle that well. Regards. --=20 =E5=90=BE=E8=BC=A9=E3=81=AF=E7=8C=AB=E3=81=A7=E3=81=82=E3=82=8B=E3=80=82=E3= =83=9B=E3=83=BC=E3=83=A0=E3=83=BC=E3=83=9A=E3=83=BC=E3=82=B8=E3=81=AFhttps:= //introo.me =E3=80=82 From MAILER-DAEMON Fri Feb 12 06:54:31 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUCIx-0004WZ-O5 for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 06:54:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUCIv-0004VO-3Q for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 06:54:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUCIr-0007yD-UU for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 06:54:29 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUCIr-0007y8-Qs for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 06:54:25 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2076 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aUCIr-00066H-5h for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 06:54:25 -0500 Date: Fri, 12 Feb 2016 13:54:23 +0200 Message-Id: <83r3gi6t5c.fsf@gnu.org> From: Eli Zaretskii To: help-gnu-emacs@gnu.org In-reply-to: (message from Shiyao Ma on Fri, 12 Feb 2016 17:41:11 +0800) Subject: Re: improper behavior of (scroll-down 0) References: <83twlf7yi5.fsf@gnu.org> <83fuwy8ldw.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 11:54:30 -0000 > Date: Fri, 12 Feb 2016 17:41:11 +0800 > From: Shiyao Ma > Cc: help-gnu-emacs@gnu.org > > yup, I'd admit the plain (scroll-down 0) is meaningless. > > Actually the scrolling down part is of the form (scroll-down scrollable), the origin is here: > https://github.com/emacsmirror/evil/blob/master/evil-commands.el#L870 > > When `scrollable' becomes 0, the undesired behavior happens. > > Another observation is, the undesired behavior doesn't happen under *scratch* buffer or others alike. > > The info mode has sort of a navigation bar, "(elisp)Top > Positions > Excursions", maybe (scroll-down) > doesn't handle that well. The first line you see in an Info buffer is not normal text, it is a specially displayed string. That is the reason for the somewhat strange behavior. From MAILER-DAEMON Fri Feb 12 07:20:10 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUChm-0001Vf-7W for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 07:20:10 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUChj-0001Tt-IR for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 07:20:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUChg-00063Q-Rq for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 07:20:07 -0500 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:35618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUChg-000628-Ko for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 07:20:04 -0500 Received: by mail-wm0-x230.google.com with SMTP id c200so18042381wme.0 for ; Fri, 12 Feb 2016 04:20:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=introo-me.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=JPjdh6PCo278CDWU6atHxmCB/ayPJUy80JHeGfO7TYM=; b=N84mSVdSqd16bZKgy2vBjC5WfgJ6qEDK/FopzJ4E2d8SLqCYDO/5MkXtZyDfejk57P tIhMDPQxq339JdvWaKkk4GukxjZPxnkTeFPG4D/XCbV+fYWXMqxt/FJ3yOpHmenZwn/T KSzz4myTFFRYyLLWbQmka7tyyhUvzKRdrimfMEWeCOem7nkLrTZ8PazjidrxlBCsw2rS RklxdWk0KjgcF7tc6OWYHXV3697rtARaKXg/VmW/2+PECgiEMfseLftZltWORbVBwfnR Ay7/CNaLQz/QEJQ8Iyo5UMU4mA/oocr0plG2uzGRrIN7IGZhe8wQp0eV6xUTEeFEl6/+ RyUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=JPjdh6PCo278CDWU6atHxmCB/ayPJUy80JHeGfO7TYM=; b=BvXcO1wdOJ3ctgPyC2OGJ+WIjS8f/SOL/8iVWUsKqI385SRkxpzSNigvZIcYNBc0WU kl5a0aoDxjTqgTNxcEoy9GtKQDJMyrO5PSr3/o9ykOjk3X5lq4vu5YWyfFSH5+HI22RL T9i9t2XVyc07h2vLMEpJaE2l3/jlx9ZM/LI2tw8iWYnt2/xWfGsuqNl7dsVQExnGExqV stu7fIj16hVM7W/xLJ73it0l2vfFc7zXpQ2Xk04k1jVNuEJWupAVdMurkINM5zmAiCoG rb4kebPMfxym9tQDaPTh/HskFgnTbEEDqqB7vfPo0FgVqoRUsCMMbHOVc0yQrGG4dfAM 94Jw== X-Gm-Message-State: AG10YOQH+aWvv/j3kVlhs5XM+1/2wVJuA3X7B7sK66zjgIPsgeym2Ac8d2WHpgPgc8x01pGt8fRYaVySbeHMDg== MIME-Version: 1.0 X-Received: by 10.194.78.175 with SMTP id c15mr1492321wjx.16.1455279602804; Fri, 12 Feb 2016 04:20:02 -0800 (PST) Received: by 10.27.231.69 with HTTP; Fri, 12 Feb 2016 04:20:02 -0800 (PST) X-Originating-IP: [143.89.244.107] In-Reply-To: <83r3gi6t5c.fsf@gnu.org> References: <83twlf7yi5.fsf@gnu.org> <83fuwy8ldw.fsf@gnu.org> <83r3gi6t5c.fsf@gnu.org> Date: Fri, 12 Feb 2016 20:20:02 +0800 Message-ID: Subject: Re: improper behavior of (scroll-down 0) From: Shiyao Ma To: Eli Zaretskii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::230 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 12:20:08 -0000 Do you know the canonical name of the `specially displayed string', so that I can find some reference on it. btw, do you happen to know if there exists some setting that can rectify the behavior of scroll-down ? Thanks. From MAILER-DAEMON Fri Feb 12 08:57:45 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUEED-0001o3-KZ for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 08:57:45 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUEEB-0001mr-7q for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 08:57:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUEE8-0008Gd-24 for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 08:57:43 -0500 Received: from plane.gmane.org ([80.91.229.3]:39810) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUEE7-0008Fz-Qa for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 08:57:39 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aUEE3-0000oe-Iu for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:57:35 +0100 Received: from dslb-092-074-178-250.092.074.pools.vodafone-ip.de ([92.74.178.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 14:57:35 +0100 Received: from michael_heerdegen by dslb-092-074-178-250.092.074.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 14:57:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Michael Heerdegen Subject: Re: Help setting nadvice for indent-region Date: Fri, 12 Feb 2016 14:57:26 +0100 Lines: 34 Message-ID: <877fiadoah.fsf@web.de> References: <87a8ne2k6v.fsf@web.de> <87bn7n15ki.fsf@web.de> <87vb5vys7n.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-074-178-250.092.074.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) Cancel-Lock: sha1:M++MX68FCBaBVcVl4l2PWcTaQfI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 13:57:44 -0000 Kaushal Modi writes: > Things became clear after I added this debug statement: > > (message "Args: %S use-region-p: %S" args (use-region-p)) > > In any case, I will be going the right way of advising this as Stefan > and you advised. Now I only need to figure out how not to print that > message when doing eval-defun. If it's only for debugging anyway, and you want to message that only when your advice comes into play, I suggest to move that call to the interactive part as well. > > The around advice function should return the value you want the > > advised function > to return. > > Thank you! So with a let-bound variable 'ret', I can have something like > > (setq ret (apply orig-fn args)) > > and return 'ret' at the end of the :around advice function definition. > Right? Sure. It's just a matter of style (i.e. a more functional vs. a more imperative programming style). Regards, Michael. From MAILER-DAEMON Fri Feb 12 09:10:12 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUEQG-0005t0-Ke for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 09:10:12 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55188) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUEQB-0005n5-2h for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 09:10:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUEQ6-0002ge-4U for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 09:10:07 -0500 Received: from plane.gmane.org ([80.91.229.3]:40779) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUEQ5-0002g2-TJ for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 09:10:02 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aUEQ2-0002Yo-PS for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 15:09:58 +0100 Received: from dslb-092-074-178-250.092.074.pools.vodafone-ip.de ([92.74.178.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 15:09:58 +0100 Received: from michael_heerdegen by dslb-092-074-178-250.092.074.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 15:09:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Michael Heerdegen Subject: Re: Help setting nadvice for indent-region Date: Fri, 12 Feb 2016 15:09:53 +0100 Lines: 49 Message-ID: <871t8idnpq.fsf@web.de> References: <87a8ne2k6v.fsf@web.de> <87bn7n15ki.fsf@web.de> <87vb5vys7n.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-074-178-250.092.074.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) Cancel-Lock: sha1:OtnvA4Yifpumt/l/nM6I6/mmuFw= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 14:10:11 -0000 Kaushal Modi writes: > OK, so this is what I have now. > > (defun modi/advice-region-or-whole (&rest args) > "Advice function that sets the region boundaries to that of the whole > buffer > if no region is selected." > (interactive (if (use-region-p) > (list (region-beginning) (region-end)) > (list (point-min) (point-max)))) > ;; (message "Args: %S R: %S I: %S" > ;; args (use-region-p) (called-interactively-p 'interactive)) > (when (and (eq (first args) (point-min)) > (eq (second args) (point-max))) > (message "Executing %s on the whole buffer." > (propertize (symbol-name this-command) > 'face 'font-lock-function-name-face))) > nil) Two more comments: 1. If you want to show the name of the adviced function instead of the current command: you know it when you install the advice (in your dolist) - use it when defining the advice. Then you can't use the same constantpiece of advice for all functions, of course. But if it's only for debugging, you don't need this anymore, I think. If you need to debug, I recommend to use trace.el instead: M-x trace-function your-adviced-function-here this will show you which arguments the function received (from the interactive call, or when it had been called from Lisp, the arguments it received from there). 2. The nil return value is insignificant. Stefan used it only to avoid an empty function body in his advice. Actually, as you see from the semantics: ‘:before’ (lambda (&rest r) (apply FUNCTION r) (apply OLDFUN r)) the return value of calling the advice FUNCTION is not used. Regards, Michael. From MAILER-DAEMON Fri Feb 12 09:25:16 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUEeq-0004Qa-0s for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 09:25:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUEek-0004Q1-NX for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 09:25:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUEeg-0007r5-MS for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 09:25:10 -0500 Received: from plane.gmane.org ([80.91.229.3]:41850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUEeg-0007pM-Es for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 09:25:06 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aUEee-00064e-O5 for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 15:25:04 +0100 Received: from dslb-092-074-178-250.092.074.pools.vodafone-ip.de ([92.74.178.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 15:25:04 +0100 Received: from michael_heerdegen by dslb-092-074-178-250.092.074.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 15:25:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Michael Heerdegen Subject: Re: Help setting nadvice for indent-region Date: Fri, 12 Feb 2016 15:21:56 +0100 Lines: 28 Message-ID: <87k2mac8l7.fsf@web.de> References: <87a8ne2k6v.fsf@web.de> <87bn7n15ki.fsf@web.de> <87vb5vys7n.fsf@web.de> <871t8idnpq.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-074-178-250.092.074.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) Cancel-Lock: sha1:o9Qgymoyun3nZXGjnX6rcZtCm0c= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 14:25:14 -0000 Michael Heerdegen writes: > Kaushal Modi writes: > > > OK, so this is what I have now. > > > > (defun modi/advice-region-or-whole (&rest args) > > "Advice function that sets the region boundaries to that of the whole > > buffer > > if no region is selected." > > (interactive (if (use-region-p) > > (list (region-beginning) (region-end)) > > (list (point-min) (point-max)))) > > ;; (message "Args: %S R: %S I: %S" > > ;; args (use-region-p) (called-interactively-p 'interactive)) > > (when (and (eq (first args) (point-min)) > > (eq (second args) (point-max))) > > (message "Executing %s on the whole buffer." > > (propertize (symbol-name this-command) > > 'face 'font-lock-function-name-face))) > > nil) > Oh, and `first', `second' are defined in the old cl.el. It's recommended to use `cl-lib' now, and thus `cl-first', `cl-second'. Or simply `car' and `cadr'. Michael. From MAILER-DAEMON Fri Feb 12 10:17:49 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUFTh-0001ag-Cl for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 10:17:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUFTb-0001U8-LI for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 10:17:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUFTW-0003lo-SC for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 10:17:43 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:32898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUFTW-0003lk-OQ for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 10:17:38 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2243 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aUFTW-0008UD-1u for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 10:17:38 -0500 Date: Fri, 12 Feb 2016 17:17:36 +0200 Message-Id: <83k2ma6jqn.fsf@gnu.org> From: Eli Zaretskii To: help-gnu-emacs@gnu.org In-reply-to: (message from Shiyao Ma on Fri, 12 Feb 2016 20:20:02 +0800) Subject: Re: improper behavior of (scroll-down 0) References: <83twlf7yi5.fsf@gnu.org> <83fuwy8ldw.fsf@gnu.org> <83r3gi6t5c.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Eli Zaretskii List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 15:17:47 -0000 > Date: Fri, 12 Feb 2016 20:20:02 +0800 > From: Shiyao Ma > Cc: help-gnu-emacs@gnu.org > > Do you know the canonical name of the `specially displayed string', so that I can find some reference on it. 'display' text property > btw, do you happen to know if there exists some setting that can rectify the behavior of scroll-down ? I suggest to submit a bug report, it might be a bug. From MAILER-DAEMON Fri Feb 12 11:02:53 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUGBJ-0002gp-8t for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 11:02:53 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37372) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUGBC-0002ey-AC for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 11:02:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUGBA-00050v-Hc for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 11:02:46 -0500 Received: from mail-ob0-x232.google.com ([2607:f8b0:4003:c01::232]:36330) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUGBA-00050r-AF for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 11:02:44 -0500 Received: by mail-ob0-x232.google.com with SMTP id gc3so26211141obb.3 for ; Fri, 12 Feb 2016 08:02:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=S2YHhvZ3r1VEyrUdngDsFOd7sBcX0/Ibsuo1rX1ITEw=; b=O92g2f4zTwxpXbGzmUbEKNz5UjEBcEn65nSGddxgL9FKCZyO9i3HDCl/0c6YshKxsx TGDqe5dTDA1oX/MyKJSyhJcuvGsv0pW57J6JR2o3k6tf/z6TjJ6NV0mJdmwrLPwHv+mv IVM/nNXk+L9ZaGsXp04hf1Em6bUQGFXiXi3v0rTK16jW+lA8Yys5aRb0sxG5JegT39t3 DwmDmIfb9hLNsWc5zylyTqY+El/FckGThi6zaF/qqQ5LDPI1PzButyoW92YA6KHeZxIN NQPVbWAkkZyk6lZg+AvR7gnLXRhmC/7P+zLy2HASamOAw6Bt6dQXj7ZIhJCEy0SSx2RK hnMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=S2YHhvZ3r1VEyrUdngDsFOd7sBcX0/Ibsuo1rX1ITEw=; b=YOXx46ZUjMGcx5u2PBZJZRc3SFojtvGdsHDDBPvzKOcI0zNf6i2k8DrqdUGtn9uDkX uvacWECQ9dLLzug4IZZs0LFfwjY6wlFFPxnWHzJHL9RS0QS3W99gwXY/doiigdlYelnz RAnrQtjq24o9AuhjqMbiExNtzPJuA+BvMauIAqlyUfrqTZo0kBTKlNOHvMwZ16Ca9LLo xM+bWUQtzNmpJtTgG/gwC3ZdmEdxV2EJN+FaYHFl2iPZ72gRHjiVYmWppM+d6E6FnOHz RMy0SM0OuKW8e24497Fg7ByAc1YW1qsua13bvDCIixakliRIxCPRU8qatcvYxXASGVza 7buQ== X-Gm-Message-State: AG10YOQPA+00DSL68Hc8n/ulkqtJAdFjjtky30U0pePYSXPq9sSrApKtkH/WQO+1kGsyswnmF0xM9BlYjq2rkg== X-Received: by 10.182.137.198 with SMTP id qk6mr1860135obb.5.1455292963389; Fri, 12 Feb 2016 08:02:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.202.201.73 with HTTP; Fri, 12 Feb 2016 08:02:03 -0800 (PST) In-Reply-To: <87k2mac8l7.fsf@web.de> References: <87a8ne2k6v.fsf@web.de> <87bn7n15ki.fsf@web.de> <87vb5vys7n.fsf@web.de> <871t8idnpq.fsf@web.de> <87k2mac8l7.fsf@web.de> From: Kaushal Modi Date: Fri, 12 Feb 2016 11:02:03 -0500 Message-ID: Subject: Re: Help setting nadvice for indent-region To: Michael Heerdegen X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c01::232 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Help Gnu Emacs mailing list X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 16:02:50 -0000 Hi Michael, >> So with a let-bound variable 'ret', I can have something like >> (setq ret (apply orig-fn args)) >> and return 'ret' at the end of the :around advice function definition. Right? > Sure. I now use prog1! :) > If you want to show the name of the adviced function instead of the > current command: you know it when you install the advice (in your > dolist) - use it when defining the advice. Then you can't use the same > constantpiece of advice for all functions, of course. Right, that's why my first approach was to use macro to generate an individual advice fn for each fn I was advising. But for my purpose, this-command works well. > But if it's only for debugging, you don't need this anymore, I think. I'd love to have that message always shown (not just for debug) for a piece of mind and a good feedback that something got applied on the whole buffer without me selecting the whole buffer. eval-region, especially provides no feedback. So it is good to see that message when eval-region happens on the whole buffer. > If you need to debug, I recommend to use trace.el instead: M-x trace-function your-adviced-function-here Thanks. I will be using that for future debugs. > The nil return value is insignificant. Stefan used it only to avoid an empty function body in his advice. Thanks for that info. > Oh, and `first', `second' are defined in the old cl.el. It's > recommended to use `cl-lib' now, and thus `cl-first', `cl-second'. > Or simply `car' and `cadr'. Noted, thanks! :) With that, I now use the below as the solution which helps achieve these goals: (1) Apply indent-region/eval-region over the whole buffer if a region is not selected (and even if (mark) returns nil). (2) Print an assuring message that the function was applied over the whole buffer AFTER applying the orig-fun. This is because `indent-region` prints out an "Indenting region .." message, and if I want to display my "Executed .. on the whole buffer." message, I need to do it after ORIG-FUN is applied. So I cannot do that in the (interactive ..) form. ==== Current solution ===== (defvar modi/region-or-whole-fns '(indent-region eval-region) "List of functions to act on the whole buffer if no region is selected.") (defun modi/advice-region-or-whole (orig-fun &rest args) "Advice function that applies ORIG-FUN to the whole buffer if no region is selected. http://thread.gmane.org/gmane.emacs.help/109025/focus=109102 " ;; Required to override the "r" argument of `interactive' in functions like ;; `indent-region' so that they can be called without an active region. (interactive (if (use-region-p) (list (region-beginning) (region-end)) (list (point-min) (point-max)))) (prog1 ; Return value of the advising fn needs to be the same as ORIG-FUN (apply orig-fun args) (when (and (called-interactively-p 'interactive) (not (use-region-p))) (message "Executed %s on the whole buffer." (propertize (symbol-name this-command) 'face 'font-lock-function-name-face))))) (dolist (fn modi/region-or-whole-fns) (advice-add fn :around #'modi/advice-region-or-whole)) ===== It's good to see my initial buggy overly complicated macro-based solution boil down to this more robust (, apparently bug-free), canonical and a relatively simpler one :) From MAILER-DAEMON Fri Feb 12 11:42:05 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUGnF-0000bP-81 for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 11:42:05 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUGnC-0000an-IC for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 11:42:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUGnA-0002PV-V8 for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 11:42:02 -0500 Received: from mail-ob0-x230.google.com ([2607:f8b0:4003:c01::230]:36371) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUGmx-0002KO-S4 for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 11:42:00 -0500 Received: by mail-ob0-x230.google.com with SMTP id gc3so28010141obb.3 for ; Fri, 12 Feb 2016 08:41:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=YJYbWPmgI0+0B7wOWSRhKDlRa98CgxJHrUY0uniMrYw=; b=a1umqGenWoV+5uvSZ4zsNsVL9kxQSL6+tvrVrULWFn94yEdeTV1SUGX1mbTmy98LPi LFiR/Qv/GIGEiThk+SVwDH5jCV93OZxLUSo5FJrUHLmEn9O+JhgzR2HtYn269RA3HMH/ wYxM/zHodoPmoivN0uJudGaMKdPPATErQ08v6UZ7pksyipbUVAVzCvXTnlhcnf6RTMz5 +Ar0RUjl0wYwHrNT0PJBsjayD99HHRp2QWbCkUi9y1h1o9FFOlPXBq8PtF5vALpFfwE2 jaRQdKUEWygj4Fo+lkmHlkvd48F9BwK280BMLMJHs/zGh/tjlP1YC0OXkdnnQ8m+2lGQ BXmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=YJYbWPmgI0+0B7wOWSRhKDlRa98CgxJHrUY0uniMrYw=; b=LVVMWHImPzqecOBvsSO7E0A36ZKE5H+yVAPjkN4BofvQyt2SiT2kutLCCFbum6XXyb uUMuxBW7gmmokSZ5LsSVeeOyrg9j0SGXEK0mYBJ48zFSGoHo9X7FCWDfG7AN46cpwVCl su4Vi0JJKRbbIU3C4ctrvACTlAIsKGYrAXkdguJnKIL6sZzWsbNLqUtoGqzLzeNBFlPC KgMpT99dw60xzSPPaJilGILSO2SFiddRJI0kaw6Sd+6JgMeQ+/ELLmN6dioRhWEDzqMA ypVB5rwLRtcuMPLi72byZG3jbKOp62psWLdpOVJ7wNR5hqOPJiOhgkA6wmkRWsQsyjrP TL3Q== X-Gm-Message-State: AG10YORnwBKBaOeagRB1Uy0D0Nbeo07x1b8TcC+SZdZISKzTpSoMUhqj9wA68kfvbdVmaPmBbC8581oR1v4BbA== X-Received: by 10.182.165.8 with SMTP id yu8mr2113817obb.63.1455295307167; Fri, 12 Feb 2016 08:41:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.202.201.73 with HTTP; Fri, 12 Feb 2016 08:41:07 -0800 (PST) From: Kaushal Modi Date: Fri, 12 Feb 2016 11:41:07 -0500 Message-ID: Subject: A way for interactive to modify a let-bound variable? To: Help Gnu Emacs mailing list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c01::230 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 16:42:03 -0000 Hi, The below snippet will of course not work but I would like to achive something like that: (defun my-dummy-fn () (let (msg) (interactive (progn (if (use-region-p) (setq msg "Region") (setq msg "No region")) nil)) (message msg))) This is a very simplified example. But I need to change a let-bound variable in the interactive form based on some condition and then use that variable in the defun body. Is that possible? -- Kaushal Modi From MAILER-DAEMON Fri Feb 12 11:45:57 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUGqz-0001sf-HX for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 11:45:57 -0500 X-Received: by 10.129.27.3 with SMTP id b3mr1930500ywb.0.1455291315551; Fri, 12 Feb 2016 07:35:15 -0800 (PST) X-Received: by 10.50.43.138 with SMTP id w10mr87801igl.3.1455291315482; Fri, 12 Feb 2016 07:35:15 -0800 (PST) Path: usenet.stanford.edu!w104no587330qge.1!news-out.google.com!l1ni11129igd.0!nntp.google.com!hb3no3829612igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: gnu.emacs.help Date: Fri, 12 Feb 2016 07:35:14 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=94.165.31.244; posting-account=AFCLjAoAAABJAOf_HjgEEEi3ty-lG5m2 NNTP-Posting-Host: 94.165.31.244 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <371a89df-5ad2-4293-aa90-fec7c5866e02@googlegroups.com> Subject: Projectile: Associating variables to a project? From: Elena Injection-Date: Fri, 12 Feb 2016 15:35:15 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: usenet.stanford.edu gnu.emacs.help:216845 To: help-gnu-emacs@gnu.org X-Mailman-Approved-At: Fri, 12 Feb 2016 11:45:57 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 15:40:11 -0000 As far as I can see, Projectile does not let you associate variables to a project. How could I accomplish this? For example, I would like to start an inferior shell for a project and keep track of it, in order to be able to switch to it from any file buffer that belongs to the project. Thank you. From MAILER-DAEMON Fri Feb 12 11:58:00 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUH2e-0006ue-JZ for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 11:58:00 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUH2c-0006tq-1F for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 11:57:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUH2Y-00026U-ON for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 11:57:57 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:31077) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUH2Y-00026Q-Gh for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 11:57:54 -0500 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u1CGvpnq012138 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 12 Feb 2016 16:57:52 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u1CGvpKT001992 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 12 Feb 2016 16:57:51 GMT Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id u1CGvpgf022101; Fri, 12 Feb 2016 16:57:51 GMT MIME-Version: 1.0 Message-ID: <84f4ec8a-8db7-490b-80d9-0b82788f6a26@default> Date: Fri, 12 Feb 2016 08:57:49 -0800 (PST) From: Drew Adams Sender: Drew Adams To: Kaushal Modi , Help Gnu Emacs mailing list Subject: RE: A way for interactive to modify a let-bound variable? References: In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 16:57:59 -0000 > (defun my-dummy-fn () > (let (msg) > (interactive (progn > (if (use-region-p) > (setq msg "Region") > (setq msg "No region")) > nil)) > (message msg))) >=20 > This is a very simplified example. But I need to change a let-bound > variable in the interactive form based on some condition and then use tha= t > variable in the defun body. Is that possible? No. The only thing available in the defun body that comes from the `interactive' form is its return value, which is the list of arguments passed to the function. Show or explain what you are really trying to do. IOW, this sounds like an X-Y problem: you are asking about your try at a solution instead of asking about your actual problem. (You can of course use `let' _inside_ `interactive', but it is not clear what you are trying to do, so I hesitate to guess what code might help.) From MAILER-DAEMON Fri Feb 12 12:17:50 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUHLq-00024D-FD for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 12:17:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUHLn-00020n-Vq for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 12:17:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUHLj-0006La-Sw for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 12:17:47 -0500 Received: from plane.gmane.org ([80.91.229.3]:55328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUHLj-0006Jd-K3 for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 12:17:43 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aUHLg-0005b4-Gg for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 18:17:40 +0100 Received: from dslb-092-074-178-250.092.074.pools.vodafone-ip.de ([92.74.178.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 18:17:40 +0100 Received: from michael_heerdegen by dslb-092-074-178-250.092.074.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 18:17:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Michael Heerdegen Subject: Re: A way for interactive to modify a let-bound variable? Date: Fri, 12 Feb 2016 18:17:02 +0100 Lines: 17 Message-ID: <87a8n57ss1.fsf@web.de> References: <84f4ec8a-8db7-490b-80d9-0b82788f6a26@default> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-074-178-250.092.074.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) Cancel-Lock: sha1:NMVN7rnxTO4nEi2Lkq5rIN0Pj4U= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 17:17:49 -0000 Drew Adams writes: > (You can of course use `let' _inside_ `interactive', but it is not > clear what you are trying to do, so I hesitate to guess what > code might help.) Yes, moving it inside is what he wants, I think. Kaushal, don't hesitate to use whatever elisp you like in `interactive', nothing special here. Just be sure your expression returns the list of arguments. But the interactive form must look like (interactive ...), else it is not recognized as such. Michael. From MAILER-DAEMON Fri Feb 12 12:24:49 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUHSb-00085L-Pe for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 12:24:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60676) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUHSZ-00084L-8d for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 12:24:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUHSY-0002Tk-3m for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 12:24:47 -0500 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:33471) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUHSX-0002Sz-UC for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 12:24:46 -0500 Received: by mail-wm0-x22b.google.com with SMTP id g62so71465057wme.0 for ; Fri, 12 Feb 2016 09:24:45 -0800 (PST) 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=Dx7tkJrOEv2U483S2hYe/flPM29keQRDilzJXZDUURE=; b=ln5U9e/aGSdcODXOfCJlpCgJdIqAiINybsxsnUguZX6Y9qc+xJTp9DRUYXqRBjxdJZ Yfc/wI9UtV1M3GEhJADvUhfvy9Lxnh4r1ae4Ze/gu/djPWIuQYJe0gImEaqHVFRVKaHH HVRqw90mPm7I1wJpjAjimvmIDuVmzI9iPCnPf9fI1trpAkTHOqd4xJSrE7raPnzbuZ1R xfFQDao9LJk1wamTupZdgW2GCuqSQLanQ5u5HJBnhEAU6TnbwQMRNE2FgcYGpIWtsEwB KiP83CUNuzhJhAwCPnOXZFEfE3Vz5P9BTitcvH4MzQbaaMV+9vV73LnGKTgZOb2OQotK FNMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=Dx7tkJrOEv2U483S2hYe/flPM29keQRDilzJXZDUURE=; b=kdYlLF0RyeHOElLcgMs/VSdJ3EiwivSYaS8cdb8YZr1Y38X52lejXBFOOab3/aMhM/ oMSI+KbKSxqR1fAIzjZlEyTe+fT6jrmxSP+OPn+LX/Xr+WnmbS3/C51M4pxVO0jJXh8v sIcWqSS3Psa1NylHyxKMvEp+4yFj1YbpitboMvOkn8StP9ezQtfnKHxdtlTXjs/lKfyY I9pcfxqQlxhWNpSqFOKNBQlUq74hOmCZWJYMtfnrfRNG3CVP5ixg9kQhQQarrcEVGQST T/4cp1Mu1v/DBLe1Ug2N3te8Rzqnf+4PG4fCTbRcFJNQlkUy9Ez+xCKDJWQ8R9A4F/lw bhTA== X-Gm-Message-State: AG10YOQf4/wFMOi7Mkx8LM8huK0LmiZC8ad3zSrY9PmV16rzBQme5oyy/y7EApeO0REPIvOp7hRvwsICNRLORA== MIME-Version: 1.0 X-Received: by 10.194.189.143 with SMTP id gi15mr2893047wjc.54.1455297884985; Fri, 12 Feb 2016 09:24:44 -0800 (PST) Received: by 10.27.92.148 with HTTP; Fri, 12 Feb 2016 09:24:44 -0800 (PST) Date: Fri, 12 Feb 2016 10:24:44 -0700 Message-ID: Subject: getting the source finding button in c-h f help buffers to work From: Samuel Wales To: help-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22b X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 17:24:48 -0000 when you do c-h f, emacs provides a link to the source. i have always relied on this feature. in my own code, i have always kept byte-compiled files in a separate directory from the source. this has never been a problem. in a recent version of emacs, perhaps a recent emacs 24 minor version, it seems that c-h f source links no longer work if you keep your byte-compiled files in a separate directory from the source files. more specifically, they no longer exist. what i'd like to do is have them exist again, without having to change the way i load my byte-compiled files just to get them to exist again. in other words, i want c-h f to work again, the way it did before the recent version of emacs. i do not know why this occurs. i just know that it stopped working. i did not change anything in my .emacs. i am using "24.4.1". thanks. -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. And ANYBODY can get it. Denmark: free Karina Hansen NOW. From MAILER-DAEMON Fri Feb 12 12:43:37 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUHkn-00070L-4q for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 12:43:37 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUHkk-0006zm-Dn for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 12:43:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUHkh-0004MC-3S for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 12:43:34 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:25005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUHkg-0004Lr-Tp for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 12:43:31 -0500 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u1CHhQRs027661 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 12 Feb 2016 17:43:26 GMT Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u1CHhQMW005673 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 12 Feb 2016 17:43:26 GMT Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u1CHhQk4013768; Fri, 12 Feb 2016 17:43:26 GMT MIME-Version: 1.0 Message-ID: Date: Fri, 12 Feb 2016 09:43:25 -0800 (PST) From: Drew Adams Sender: Drew Adams To: Samuel Wales , help-gnu-emacs@gnu.org Subject: RE: getting the source finding button in c-h f help buffers to work References: In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 17:43:35 -0000 > when you do c-h f, emacs provides a link to the source. i have always > relied on this feature. >=20 > in my own code, i have always kept byte-compiled files in a separate > directory from the source. this has never been a problem. >=20 > in a recent version of emacs, perhaps a recent emacs 24 minor version, > it seems that c-h f source links no longer work if you keep your > byte-compiled files in a separate directory from the source files. > more specifically, they no longer exist. >=20 > what i'd like to do is have them exist again, without having to change > the way i load my byte-compiled files just to get them to exist again. >=20 > in other words, i want c-h f to work again, the way it did before the > recent version of emacs. >=20 > i do not know why this occurs. i just know that it stopped working. > i did not change anything in my .emacs. > i am using "24.4.1". M-x report-emacs-bug From MAILER-DAEMON Fri Feb 12 13:18:46 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUIIo-0001zP-Ag for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 13:18:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUIIl-0001vW-W2 for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 13:18:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUIIk-0007oD-Om for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 13:18:43 -0500 Received: from mail-ob0-x22a.google.com ([2607:f8b0:4003:c01::22a]:34732) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUIIk-0007nw-Gu for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 13:18:42 -0500 Received: by mail-ob0-x22a.google.com with SMTP id wb13so133667931obb.1 for ; Fri, 12 Feb 2016 10:18:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ngUqw81y7m1mOdB5nV9DJFuMi2g/P1npI8Fe5Yfli64=; b=rUPP+L+eimtjNhMuXZW5qP+7qxkcIlZvmQGIRPkvHZvgU/58dTPp4rjj9kl31IAtp4 mm+4BJ/2ChT7iygDkkI4synynAaNPOdBqmQalnkMbDhD847eKq1g5G5F2WGTMm4JEYZs Txkt8lGJ04EiFIY5JEJgO6uNdNryE6xwQXdA/1t9ZBC9t+sk/F/31+FDzJ/cXtmyKFYT gGALNreeuE4Y8jKUtl16CIqHxD55I/RPyyioWjAtqjo2NiR/kUe7UCQn3pB48KwWn1tk HE04al6HzsKE/kkDxKR4XCi7sQhv8K5CiFhVM72c5ZaWjxbN3ItlvCQaEomtMJzI3gQ7 DB2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=ngUqw81y7m1mOdB5nV9DJFuMi2g/P1npI8Fe5Yfli64=; b=YjZ/Q+ys4sRoefGawbsx1aFmmLDeXNAAtWm0NTKiLnhSIqmNdw283EdnQjugz/kn8C TAmEddB0pqTqsblrHzomDWfxTfp22ya4H2VQW6nxx3GsDzOfyhNZONglIL+IxjbiD8// czzGPWqBTLY7CazmE4kXV3MEgbrjmkUOFNINjDHPrqSRbdIfPjgU6ORJioZRdEghe6Oj mmi7H/A2cP3QAyWVjTRpNgu36qMlm06st3nsiHiLv81+l9Q+n4R8Xd8S/ohYpS2Si2Y4 z/VclRKNQOGgE6zI6P9ouLDSAUXZZR7Dkm6vqMUdk8VCguV4HeR5koSbsmsURuxNWsv6 fQ6w== X-Gm-Message-State: AG10YOT14T+AjDNvoO6fX8xl0cq0MIFb9Z+iKDdBURJK+Xmz9uc8+umGqJzr5uvGVHPp5j4SDv2yqu5cuBrGrA== X-Received: by 10.60.135.98 with SMTP id pr2mr2500719oeb.65.1455301122001; Fri, 12 Feb 2016 10:18:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.202.201.73 with HTTP; Fri, 12 Feb 2016 10:18:02 -0800 (PST) In-Reply-To: <87a8n57ss1.fsf@web.de> References: <84f4ec8a-8db7-490b-80d9-0b82788f6a26@default> <87a8n57ss1.fsf@web.de> From: Kaushal Modi Date: Fri, 12 Feb 2016 13:18:02 -0500 Message-ID: Subject: Re: A way for interactive to modify a let-bound variable? To: Michael Heerdegen X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c01::22a Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Help Gnu Emacs mailing list X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 18:18:45 -0000 This is the actual function I want to optimize (Reference: http://thread.gmane.org/gmane.emacs.help/109025/focus=109137 ). (defun modi/advice-region-or-whole (orig-fun &rest args) (interactive (if (use-region-p) (list (region-beginning) (region-end)) (list (point-min) (point-max)))) (prog1 (apply orig-fun args) ; this defun NEEDS to return this form's value (when (and (called-interactively-p 'interactive) ; duplication of condition (not (use-region-p))) ; (message "Executed %s on the whole buffer." (propertize (symbol-name this-command) 'face 'font-lock-function-name-face))))) This is an :around advice function and it needs to return the (apply orig-fun args) value. > You can of course use `let' _inside_ `interactive' If I move the let form inside interactive, the let form needs to return the list required for interactive. Then how would I return the (apply ..) value? Eventually I want something like below that actually works: (defun modi/advice-region-or-whole (orig-fun &rest args) (let (msg) (interactive (if (use-region-p) (list (region-beginning) (region-end)) (setq msg (format "Executed %s on the whole buffer." (propertize (symbol-name this-command) 'face 'font-lock-function-name-face))) (list (point-min) (point-max)))) (prog1 (apply orig-fun args) (when msg (message msg))))) From MAILER-DAEMON Fri Feb 12 13:38:57 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUIcL-00035x-J1 for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 13:38:57 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUIcI-00035U-PF for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 13:38:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUIcD-0003Cg-OX for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 13:38:54 -0500 Received: from plane.gmane.org ([80.91.229.3]:33660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUIcD-0003Br-Gm for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 13:38:49 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aUIc6-0001Nr-3t for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 19:38:42 +0100 Received: from dslb-092-074-178-250.092.074.pools.vodafone-ip.de ([92.74.178.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 19:38:42 +0100 Received: from michael_heerdegen by dslb-092-074-178-250.092.074.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 19:38:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Michael Heerdegen Subject: Re: A way for interactive to modify a let-bound variable? Date: Fri, 12 Feb 2016 19:38:30 +0100 Lines: 41 Message-ID: <87a8n5zsd5.fsf@web.de> References: <84f4ec8a-8db7-490b-80d9-0b82788f6a26@default> <87a8n57ss1.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-074-178-250.092.074.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) Cancel-Lock: sha1:1ydO3ue9MTcWNg7IwzvLuPewF3E= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 18:38:55 -0000 Kaushal Modi writes: > This is an :around advice function and it needs to return the (apply > orig-fun args) value. FWIW, for the side effect you want, a :before advice is still sufficient. > > > You can of course use `let' _inside_ `interactive' > > If I move the let form inside interactive, the let form needs to > return the list required for interactive. Then how would I return the > (apply ..) value? Well, `let' returns the result of the evaluation of the last form, so you have to arrange that this last form is your (apply ...), or evals to the result of it. > Eventually I want something like below that actually works: > > (defun modi/advice-region-or-whole (orig-fun &rest args) > (let (msg) > (interactive (if (use-region-p) > (list (region-beginning) (region-end)) > (setq msg (format "Executed %s on the whole buffer." > (propertize (symbol-name this-command) > 'face > 'font-lock-function-name-face))) > (list (point-min) (point-max)))) > (prog1 > (apply orig-fun args) > (when msg > (message msg))))) It may work, but that doesn't define an interactive spec for your function, so again you change the function you want to advice, which you wanted to avoid. Michael. From MAILER-DAEMON Fri Feb 12 13:49:46 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUImo-0005TU-UD for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 13:49:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56350) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUImn-0005TN-2e for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 13:49:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUImi-0001rC-Du for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 13:49:44 -0500 Received: from mail-ob0-x236.google.com ([2607:f8b0:4003:c01::236]:35567) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUImi-0001ql-6w for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 13:49:40 -0500 Received: by mail-ob0-x236.google.com with SMTP id xk3so133562667obc.2 for ; Fri, 12 Feb 2016 10:49:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=6IuEg/D5vDq++MM/x4QTvUB96TJZg+xVTQPfpIwNQzY=; b=DQgtt3PFLFyUfXesoykIcp2yVqG0uw0n8X4ysgmr/cGYsMvx2Pjl1UP0sefJZZDhvj cbTVvfVRDX8lNROFoqAVgq25f5AoBsSSCMvQlIlB9anH4cy7Z8bD1kTPrGN+kW79vSQd hjoSNV3MxSXHRDCTtGz/yz6/0kGoNDn6GvQPjH2SZfTlRqQt1GdI30oRin+kcFOVGaah lb+OZGGp48s4ME86Fvpx6CtcaxNE7Oq7Z01Kxjn+V3gGHVjl+kTlGGOzlekRLvzBm7FV lKbr5srgsl7X6uD+KQHIOpcdWOKFUKcN1L+08Rw0fMLnl7zd/LV+Tv3NvhnPlhNvnE1L 5wyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=6IuEg/D5vDq++MM/x4QTvUB96TJZg+xVTQPfpIwNQzY=; b=JjMQr5+UlXmrWzBk/7o9wzMgT6Jp1GgR1j6njhifqrXN1CjVGfYJmh0ADrl/XMsE3i VnXp/vY15+2ZdQI10Tpw4gwy7G+sMX5X7SJNEnUujbGofP32of9FrLCY5jAXK14kh93y oz9aSfeyWKp03kQ3GTeOa+7CIC0ajgzO6FDHJl0yqljZuOmKIP0fgLfIaTJwradWsmCW RjgnQxbx+8s4Q/ClIRz31pmsvulIFdeZ0XA/t4y/tv3Jbsy1IvcxomNPHNZyfO6tn955 kamkQYuMW7EhZMWpQlwANJ1IGSrQRQDryrXZM3F8AmQDcut4gkg2qFtLKIsuntkpt/+c LGJg== X-Gm-Message-State: AG10YOQdJW8DWcrN+E2DnqiuBcPuzFGdWZiSt5LXtwGL+005v/AizuPTKC/8idZokg80B+rtsaGGEyzUPPdstw== X-Received: by 10.202.77.11 with SMTP id a11mr2458254oib.23.1455302979619; Fri, 12 Feb 2016 10:49:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.202.201.73 with HTTP; Fri, 12 Feb 2016 10:49:00 -0800 (PST) In-Reply-To: <87a8n5zsd5.fsf@web.de> References: <84f4ec8a-8db7-490b-80d9-0b82788f6a26@default> <87a8n57ss1.fsf@web.de> <87a8n5zsd5.fsf@web.de> From: Kaushal Modi Date: Fri, 12 Feb 2016 13:49:00 -0500 Message-ID: Subject: Re: A way for interactive to modify a let-bound variable? To: Michael Heerdegen X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c01::236 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Help Gnu Emacs mailing list X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 18:49:46 -0000 > FWIW, for the side effect you want, a :before advice is still > sufficient. I ended up using :around, because I need to call (message ..) *after* (apply orig-fun args). I need my message to be displayed last in the echo area after whatever orig-fun could be displaying. > Well, `let' returns the result of the evaluation of the last form, so > you have to arrange that this last form is your (apply ...), or evals to > the result of it. It's a bit tricky if I put let inside interactive. If I do that, the let form has to return the list that interactive needs. But I also need the let-bound msg variable after calling (apply orig-fun args). So that implies that I would need something like (interactive (let (msg) .. (apply orig-fun args) (message msg))), which does not look right (and also does not work). > It may work, but that doesn't define an interactive spec for your > function, so again you change the function you want to advice, which you > wanted to avoid. Exactly, that does not work at all. The (interactive ..) form in there is as good as it not being there, because it doesn't do anything if it is wrapped in (let ..). From MAILER-DAEMON Fri Feb 12 14:04:55 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUJ1T-0006Il-Fa for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:04:55 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36406) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUJ1Q-0006D8-RJ for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:04:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUJ1N-0000oa-8D for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:04:52 -0500 Received: from plane.gmane.org ([80.91.229.3]:35469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUJ1N-0000o8-0Q for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:04:49 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aUJ1K-0004gB-Bv for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 20:04:46 +0100 Received: from dslb-092-074-178-250.092.074.pools.vodafone-ip.de ([92.74.178.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 20:04:46 +0100 Received: from michael_heerdegen by dslb-092-074-178-250.092.074.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 20:04:46 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Michael Heerdegen Subject: Re: Help setting nadvice for indent-region Date: Fri, 12 Feb 2016 20:04:41 +0100 Lines: 56 Message-ID: <874mddzr5i.fsf@web.de> References: <87a8ne2k6v.fsf@web.de> <87bn7n15ki.fsf@web.de> <87vb5vys7n.fsf@web.de> <871t8idnpq.fsf@web.de> <87k2mac8l7.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-074-178-250.092.074.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) Cancel-Lock: sha1:e5LjWgYkS3zP4e1OcQPNJjGpWfw= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 19:04:54 -0000 Kaushal Modi writes: > Right, that's why my first approach was to use macro to generate an > individual advice fn for each fn I was advising. But for my purpose, > this-command works well. FWIW, you can achieve this also without using a macro. > With that, I now use the below as the solution which helps achieve these > goals: > (1) Apply indent-region/eval-region over the whole buffer if a region is > not selected (and even if (mark) returns nil). > (2) Print an assuring message that the function was applied over the whole > buffer AFTER applying the orig-fun. This is because `indent-region` prints > out an "Indenting region .." message, and if I want to display my "Executed > .. on the whole buffer." message, I need to do it after ORIG-FUN is > applied. So I cannot do that in the (interactive ..) form. > > ==== Current solution ===== > > (defvar modi/region-or-whole-fns '(indent-region > eval-region) > "List of functions to act on the whole buffer if no region is selected.") > > (defun modi/advice-region-or-whole (orig-fun &rest args) > "Advice function that applies ORIG-FUN to the whole buffer if no region is > selected. > http://thread.gmane.org/gmane.emacs.help/109025/focus=109102 " > ;; Required to override the "r" argument of `interactive' in functions > like > ;; `indent-region' so that they can be called without an active region. > (interactive (if (use-region-p) > (list (region-beginning) (region-end)) > (list (point-min) (point-max)))) > (prog1 ; Return value of the advising fn needs to be the same as ORIG-FUN > (apply orig-fun args) > (when (and (called-interactively-p 'interactive) > (not (use-region-p))) > (message "Executed %s on the whole buffer." > (propertize (symbol-name this-command) > 'face 'font-lock-function-name-face))))) > > (dolist (fn modi/region-or-whole-fns) > (advice-add fn :around #'modi/advice-region-or-whole)) That looks good. > It's good to see my initial buggy overly complicated macro-based > solution boil down to this more robust (, apparently bug-free), > canonical and a relatively simpler one :) The approach was ok, though I would have tried to avoid using a macro. But well, it also changed the functions, not the interactive specs... Michael. From MAILER-DAEMON Fri Feb 12 14:12:58 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUJ9G-0003Cp-QT for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:12:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUJ9E-0003Cd-UA for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:12:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUJ9B-0005l2-Ki for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:12:56 -0500 Received: from plane.gmane.org ([80.91.229.3]:36159) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUJ9B-0005iv-DY for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:12:53 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aUJ9A-0002ft-42 for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 20:12:52 +0100 Received: from dslb-092-074-178-250.092.074.pools.vodafone-ip.de ([92.74.178.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 20:12:52 +0100 Received: from michael_heerdegen by dslb-092-074-178-250.092.074.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 20:12:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Michael Heerdegen Subject: Re: A way for interactive to modify a let-bound variable? Date: Fri, 12 Feb 2016 20:12:46 +0100 Lines: 17 Message-ID: <87y4apyc7l.fsf@web.de> References: <84f4ec8a-8db7-490b-80d9-0b82788f6a26@default> <87a8n57ss1.fsf@web.de> <87a8n5zsd5.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-074-178-250.092.074.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) Cancel-Lock: sha1:+/1rFZan+f7Oe9NFhyVJmVqlLSY= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 19:12:58 -0000 Kaushal Modi writes: > It's a bit tricky if I put let inside interactive. If I do that, the let > form has to return the list that interactive needs. But I also need the > let-bound msg variable after calling (apply orig-fun args). So that > implies > that I would need something like (interactive (let (msg) .. (apply > orig-fun > args) (message msg))), which does not look right (and also does not work). Eh, no, that's nonsense. I didn't fully understand what you wanted. It is not possible to bind a variable in the interactive spec and refer to it in the body. But your last version with `prog1' is ok. Are you happy with that one? Michael. From MAILER-DAEMON Fri Feb 12 14:16:45 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUJCv-0004Pn-KQ for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:16:45 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUJCs-0004PN-9k for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:16:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUJCp-0000IS-1l for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:16:42 -0500 Received: from plane.gmane.org ([80.91.229.3]:36426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUJCo-0000IO-Qk for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:16:38 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aUJCm-0005Zi-Ju for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 20:16:36 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 20:16:36 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 12 Feb 2016 20:16:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: getting the source finding button in c-h f help buffers to work Date: Fri, 12 Feb 2016 20:16:20 +0100 Lines: 25 Message-ID: <87si0xoi2j.fsf@debian.uxu> References: Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:byTj2wUhm7KNoJhkWrLcpjnHkkg= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 19:16:43 -0000 Samuel Wales writes: > in a recent version of emacs, perhaps a recent emacs > 24 minor version, it seems that c-h f source links > no longer work if you keep your byte-compiled files > in a separate directory from the source files. This is especially frustrating after setting up an ambitious Makefile with all the matches and rules to get the compiled stuff and the source stuff in different directories, only to discover this neat organization of things is what actually breaks the access! But unlike you I didn't know this ever to work - and how can it work? For it to work, you must tell Emacs where the source is. Perhaps you can tell Emacs some principle where to look - like "the same directory as the compiled stuff only in a directory called src/ and not with the .elc extention but .el" - then, you have to stick to that in you Makefiles, of course. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Fri Feb 12 14:21:34 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUJHa-0006RS-Mu for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:21:34 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUJHZ-0006RL-3U for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:21:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUJHY-0002pt-4h for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:21:33 -0500 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:38782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUJHX-0002pW-Sb for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:21:32 -0500 Received: by mail-wm0-x229.google.com with SMTP id p63so32280533wmp.1 for ; Fri, 12 Feb 2016 11:21:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=6ootmJYbzQGiIOW70A0afSxB5qL0xkfSQdaBnCeK1a0=; b=NnAyfSTlN6PI1dzSduG1XmW+P8CM7d4BbkGVMw4xwkqRJWRXNKNPglX6hvLuyYne2h JW/P+mfsmfl38dzGgpb/Zx8gDzI/1hBODYjGayB3pz66C9KvgVSD4WKpNRig+FZ5l9wK R6ntTXwsnCBoA2+vEXO/6Onp3XANlvV0wvnjr1yTLFktMNVgjDGkBfHen4q1/SVvnheN 6aTjOd2esyDvBP27qBubziimsjieEr3H0QSEKI0BkceHwaEtlNjM7ZydJMrk+I9UGOv9 KU0feVm8W8dDgJuOrMe/Qp/GrhCGWYBEfnLjIet7bka1/7nGMjSsPIvFk9UZ4Q8myhI+ 4zyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=6ootmJYbzQGiIOW70A0afSxB5qL0xkfSQdaBnCeK1a0=; b=fDFAsbxbVK8MRnYTSfTENFaEtfDd0ZLX+poMZKeM0tBl9kBf8cP2594U734U3SDS8/ smWitdlqK0+DS+9jRePrjShTkv6lHzGK1g0L3eB6o6evGxmb9qdHUFi6t4pmmhfSAcw1 qqX8+emLleIGjMsXQVxIqJWeTapawIUZtc66iz/v3MmtPuDMUadP5uvm1XFLBRMMo/yT Y5WkWEre/yWoqm1veNaPuR+9V8ZKhxfuUtKinagRp5JPeTfYySm6dKBHZMsAvZ6ryotx meKyJayZ7ep2xPzLc9CtXk4SLlQxQXQlelXiu4beBTQ8PJZ/2FKVwwoY3aY2rXZ6PX2Y df9w== X-Gm-Message-State: AG10YOQdkMNZUlRSdf1tHRQm5JntLhA3jvbLaDig85oVVa4NJQH+/166symMVp9sgBWp51Bb5VCN42DHeLOl8w== X-Received: by 10.194.57.201 with SMTP id k9mr3885007wjq.150.1455304891205; Fri, 12 Feb 2016 11:21:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.93.226 with HTTP; Fri, 12 Feb 2016 11:20:51 -0800 (PST) In-Reply-To: <87y4apyc7l.fsf@web.de> References: <84f4ec8a-8db7-490b-80d9-0b82788f6a26@default> <87a8n57ss1.fsf@web.de> <87a8n5zsd5.fsf@web.de> <87y4apyc7l.fsf@web.de> From: Kaushal Modi Date: Fri, 12 Feb 2016 14:20:51 -0500 Message-ID: Subject: Re: A way for interactive to modify a let-bound variable? To: Michael Heerdegen X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::229 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Help Gnu Emacs mailing list X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 19:21:34 -0000 > But your last version with `prog1' is ok. Are you happy with that one? I am happy that it works and much much better than my first version ( https://github.com/kaushalmodi/.emacs.d/blob/0b427ce554b1cade7f5fabb8ee4bfb704f6e497f/setup-files/setup-editing.el#L686-L730 ). I just wanted to go an extra mile and prevent the duplication of the conditions.. first time in the interactive form for settings the fn args and second time when deciding when to display the message. I just wanted to check if the "extra optimization" I thought of was possible. So the gist is.. what happens in interactive stays in interactive. :) Thanks. From MAILER-DAEMON Fri Feb 12 14:30:52 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUJQa-0000wk-R2 for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:30:52 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50260) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUJQX-0000ve-GT for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:30:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUJQS-0007A3-VE for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:30:49 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:57733) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUJQS-00079g-O0 for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:30:44 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 3DC6F9D2002; Fri, 12 Feb 2016 20:30:37 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UDgFGHNCxSBX; Fri, 12 Feb 2016 20:30:33 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id F1FC09D2001; Fri, 12 Feb 2016 20:30:32 +0100 (CET) References: <84f4ec8a-8db7-490b-80d9-0b82788f6a26@default> <87a8n57ss1.fsf@web.de> User-agent: mu4e 0.9.13; emacs 25.1.50.2 From: Marcin Borkowski To: Michael Heerdegen Subject: Re: A way for interactive to modify a let-bound variable? In-reply-to: <87a8n57ss1.fsf@web.de> Date: Fri, 12 Feb 2016 20:30:31 +0100 Message-ID: <87twld6814.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 19:30:50 -0000 On 2016-02-12, at 18:17, Michael Heerdegen wrote: > Drew Adams writes: > >> (You can of course use `let' _inside_ `interactive', but it is not >> clear what you are trying to do, so I hesitate to guess what >> code might help.) > > Yes, moving it inside is what he wants, I think. > > Kaushal, don't hesitate to use whatever elisp you like in `interactive', > nothing special here. Just be sure your expression returns the list of > arguments. My little 2cents & a plug: perhaps this could help? http://mbork.pl/2015-09-12_A_trick_with_argument_for_interactive_call > But the interactive form must look like (interactive ...), else it is > not recognized as such. > > Michael. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Fri Feb 12 14:50:25 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUJjV-0001sG-Cr for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:50:25 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUJjS-0001r0-Gz for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:50:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUJjO-0002UA-Gw for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:50:22 -0500 Received: from mail.tuxteam.de ([5.199.139.25]:44234 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUJjO-0002OB-Aw for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 14:50:18 -0500 Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1aUJBi-0005e5-I3 for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 20:15:30 +0100 Date: Fri, 12 Feb 2016 20:15:30 +0100 To: help-gnu-emacs@gnu.org Subject: Re: getting the source finding button in c-h f help buffers to work Message-ID: <20160212191530.GA21592@tuxteam.de> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) From: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 19:50:23 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, Feb 12, 2016 at 10:24:44AM -0700, Samuel Wales wrote: > when you do c-h f, emacs provides a link to the source. i have always > relied on this feature. > > in my own code, i have always kept byte-compiled files in a separate > directory from the source. this has never been a problem. > > in a recent version of emacs, perhaps a recent emacs 24 minor version, > it seems that c-h f source links no longer work if you keep your > byte-compiled files in a separate directory from the source files. > more specifically, they no longer exist. This is a dejà vu... there was a thread about that here a while ago: The gist is you can set a variable `find-function-C-source-directory' to tip Emacs in the right direction. Regards - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAla+L1IACgkQBcgs9XrR2kbMSACdGG9t5PXcoPJSDp568FrzGiDB sSAAnjqLreoh5tkQxHlEbfNtsYA4XRTV =6Fv/ -----END PGP SIGNATURE----- From MAILER-DAEMON Fri Feb 12 16:18:27 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUL6h-0005TF-EZ for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 16:18:27 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUL6e-0005Sv-UY for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 16:18:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUL6b-0000pi-OP for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 16:18:24 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:37139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUL6b-0000pC-Ga for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 16:18:21 -0500 Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u1CLIJlF005009 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 12 Feb 2016 21:18:20 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u1CLIJgO026320 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 12 Feb 2016 21:18:19 GMT Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id u1CLIJ7t020310; Fri, 12 Feb 2016 21:18:19 GMT MIME-Version: 1.0 Message-ID: Date: Fri, 12 Feb 2016 13:18:17 -0800 (PST) From: Drew Adams Sender: Drew Adams To: tomas@tuxteam.de, help-gnu-emacs@gnu.org Subject: RE: getting the source finding button in c-h f help buffers to work References: <20160212191530.GA21592@tuxteam.de> In-Reply-To: <20160212191530.GA21592@tuxteam.de> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0021.oracle.com [156.151.31.71] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 21:18:26 -0000 > there was a thread about that here a while ago: >=20 > 02/threads.html#00004> >=20 > The gist is you can set a variable `find-function-C-source-directory' > to tip Emacs in the right direction. I think the OP is talking about Lisp source files, not C. He mentioned byte-compiled files. From MAILER-DAEMON Fri Feb 12 17:26:50 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUMAs-0000BK-Lr for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 17:26:50 -0500 Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!37.252.120.71.MISMATCH!2.eu.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: Emanuele Santoro Newsgroups: gnu.emacs.help Subject: [GNUS] Displaying available news-groups, sorted by name Date: Fri, 12 Feb 2016 20:49:08 +0100 Organization: Aioe.org NNTP Server Lines: 69 Message-ID: <871t8hlnez.fsf@santoro.tk> NNTP-Posting-Host: F9iAQJRov7IgeFQCIi4WuQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:O44uE7ZGOD63d//S2ifIffxQz9U= Xref: usenet.stanford.edu gnu.emacs.help:216860 To: help-gnu-emacs@gnu.org X-Mailman-Approved-At: Fri, 12 Feb 2016 17:26:49 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2016 19:50:08 -0000 Hi all! I recently configured Gnus on GNU Emacs 24.4.1 as newsreader. In order to subscribe to newsgroups, I type M-d, bound to the gnus-group-describe-all-groups. The problem is that newsgroups shown are not sorted by name, making quite anooying to browse. I tried to edit the gnus-group-describe-all-groups function as follows: (defun gnus-group-describe-all-groups (&optional force) "Pop up a buffer with descriptions of all newsgroups." (interactive "P") (when force (setq gnus-description-hashtb nil)) (when (not (or gnus-description-hashtb (gnus-read-all-descriptions-files))) (error "Couldn't request descriptions file")) ;; MODIFCATIONS START HERE ;; remove newsgroups with strange names that make sorting fail (setq gnus-description-hashtb (remove-if 'numberp gnus-description-hashtb)) ;; sort the gnus-description-hashtb (setq gnus-description-hashtb (cl-sort gnus-description-hashtb (lambda (x y) (string< (symbol-name y) (symbol-name x))))) ;; MODIFICATIONS END HERE (let ((buffer-read-only nil) b) (erase-buffer) (mapatoms (lambda (group) (setq b (point)) (let ((charset (gnus-group-name-charset nil (symbol-name group)))) (insert (format " *: %-20s %s\n" (gnus-group-name-decode (symbol-name group) charset) (gnus-group-name-decode (symbol-value group) charset)))) (gnus-add-text-properties b (1+ b) (list 'gnus-group group 'gnus-unread t 'gnus-marked nil 'gnus-level (1+ gnus-level-subscribed)))) gnus-description-hashtb) (goto-char (point-min)) (gnus-group-position-point))) Basically, since gnus-description-hashtb is a vector (not an hash-table as the name would suggest) of symbol whose name is the name of the newsgroup, my approach is to sort such vector and then let the mapatoms function work. I placed this function in my *scratch* buffer and evaluated it after loading Gnus, but reloading the newsgroup list shows no effect: the newsgroup list is still unsorted. Please note that I am not an expert Lisp programmer nor an expert GNU Emacs user. How could I solve this problem? Thanks in advance, -- Emanuele Santoro From MAILER-DAEMON Fri Feb 12 22:14:15 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUQf1-0001KX-Bb for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 22:14:15 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUPnb-0006zF-1Y for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 21:19:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUPnZ-0006wk-VU for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 21:19:02 -0500 Received: from mail-io0-x22f.google.com ([2607:f8b0:4001:c06::22f]:36484) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUPnZ-0006wf-QA for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 21:19:01 -0500 Received: by mail-io0-x22f.google.com with SMTP id l127so109543051iof.3 for ; Fri, 12 Feb 2016 18:19:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:cc:content-type; bh=Qxj7gg4aKWOKPjBNTxqoYdqV7+hCErMccHEmV6be3Ws=; b=hNMeA+LWp4F/Nw2ABHKfN05hgIeWbkexHrBHyPT4klHxH10WbHkBhW3lYC1uMdvw3M sbc5s/br/qBq+VHHQ8+wpFxp2sdTe3FdZbAHY5Xg3Z5UVUyyrFA86N4Xpcxdq/l1zw4H Bi4gJFEhKmppAMZWc63urKMR/nuzy7vJKmD2toBi4lnJSz4s6O3fqoeOcUA2s2wOyutF /9ueByoWZDFXFN8EDbhIricHiKJpaQsPpLKZx6vxJ9HUDLBj45osXOdh6Z6WIpGlYw18 A5ADMQBZgd3NMRXUmq+YcErLFljMvVvzN2PJ7J2vWp0tbQNa0sD3jduxe1COsLsRrAhp JlcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc :content-type; bh=Qxj7gg4aKWOKPjBNTxqoYdqV7+hCErMccHEmV6be3Ws=; b=UKLo4PXgV5VeIpMCGojtl9yFSgitcDeUBQtd/DipIsxd8KMwsE7ZtLiu74S2EXAPcA w0i5zFaCY/5luvLkvwo+NKMFzzVi2b8aHF5VeDBz48OoqUjw159/ms7hWSqL91tUVRwD baOim7GeaCrc2DNuBTCsI09vLrdwPpvc+SYC8ApAWgt0w681GNuaj8uh30A7vqliN4yn X0XbUAtJ5iNYtl8pjbvwZNkMrcgw1Oq5Na4h1/zRZgXxdwgeG7X+JuafC34sitvC5Knb Z5wWrTrWKJJvLX5gwfHKIjKZSXGroNjRGBPav43oIfLJMXUa4gybka92dVw20T3WT9pp 497g== X-Gm-Message-State: AG10YOQSC06ueU5XCaPr8a/gBfS6/pVmwrDozLzYgG919iHWgZGUJSFCUoYNs8LR7SgJWHw3ZcZeSR9uf87qCA== X-Received: by 10.107.15.223 with SMTP id 92mr6135537iop.3.1455329940999; Fri, 12 Feb 2016 18:19:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.227.131 with HTTP; Fri, 12 Feb 2016 18:18:31 -0800 (PST) From: Gregory Fong Date: Fri, 12 Feb 2016 18:18:31 -0800 Message-ID: Subject: Re: continuing indentation in for loop condition in cc-mode To: embe8573@student.uu.se Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4001:c06::22f X-Mailman-Approved-At: Fri, 12 Feb 2016 22:14:14 -0500 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2016 02:19:04 -0000 (sorry if you get this twice, I didn't realize I wasn't subscribed to the list, tried to send using gmane, then that didn't work, so now I'm just using the reply mailto button from the archive, which might break the thread) Emanuel Berg student.uu.se> writes: > Gregory Fong gmail.com> writes: > > for (int i = 0; > > i < 5; > > ++i) > > { > > } > > > > but I can't seem to find an offset that adjusts this > > parameter. c-show-syntatic information just shows > > these as being a statement. > > > > Emacs will default to align with the first item in > > the condition: > > > > for (int i = 0; > > i < 5; > > ++i) > > { > > } > > > > I can't imagine that I'm the only person who has > > tried to change this, but it's surprisingly > > difficult to search for answers. > > Why is that so surprising? I'd say most people would > agree with the Emacs default. > > Doesn't it make the most sense as well? I personally like the default. Unfortunately, the company I work for uses the style I mentioned at the top. This is mostly surprising to me because it's really the only indentation issue I've ever run into using emacs. Everything else has been customizable regardless of whatever bizarro coding standard I've had to use, which is impressive. > > And, for such a basic for loop, why not put everything > on the same line? > > for (int i = 0; i < ARRAY_SIZE; i++) { > ... > } > Yes, that was a poor example. I was thinking more of the sorts of long lines you tend to get when working in C++ with iterators, in which case I'm trying to get it to look like this: for (auto iter = RidiculouslyLongClassName.begin(); iter < RidiculouslyLongClassName.end(); ++iter) { ... } As it is right now, I keep having to remember to fix the indentation manually, which has been driving me nuts. If there's a known way to change this behavior, or if you have an idea on where to start looking at how to do this, I'd love to hear it. Just not sure where to start. Thanks and regards, Gregory From MAILER-DAEMON Fri Feb 12 22:14:17 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUQf3-0001Nx-0U for mharc-help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 22:14:17 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUOe8-0000VO-7G for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 20:05:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUOe5-0007m4-1z for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 20:05:12 -0500 Received: from plane.gmane.org ([80.91.229.3]:54218) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUOe4-0007lD-Pk for help-gnu-emacs@gnu.org; Fri, 12 Feb 2016 20:05:08 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aUOe0-0001A4-6c for help-gnu-emacs@gnu.org; Sat, 13 Feb 2016 02:05:04 +0100 Received: from cpe-98-148-132-5.socal.res.rr.com ([98.148.132.5]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Feb 2016 02:05:04 +0100 Received: from gregory.0xf0 by cpe-98-148-132-5.socal.res.rr.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Feb 2016 02:05:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Gregory Fong Subject: Re: continuing indentation in for loop condition in cc-mode Date: Sat, 13 Feb 2016 01:00:35 +0000 (UTC) Lines: 71 Message-ID: References: <87k2mimu4n.fsf@debian.uxu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 98.148.132.5 (Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-Mailman-Approved-At: Fri, 12 Feb 2016 22:14:14 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2016 01:05:13 -0000 Emanuel Berg student.uu.se> writes: > Gregory Fong gmail.com> writes: > > for (int i = 0; > > i < 5; > > ++i) > > { > > } > > > > but I can't seem to find an offset that adjusts this > > parameter. c-show-syntatic information just shows > > these as being a statement. > > > > Emacs will default to align with the first item in > > the condition: > > > > for (int i = 0; > > i < 5; > > ++i) > > { > > } > > > > I can't imagine that I'm the only person who has > > tried to change this, but it's surprisingly > > difficult to search for answers. > > Why is that so surprising? I'd say most people would > agree with the Emacs default. > > Doesn't it make the most sense as well? I personally like the default. Unfortunately, the company I work for uses the style I mentioned at the top. This is mostly surprising to me because it's really the only indentation issue I've ever run into using emacs. Everything else has been customizable regardless of whatever bizarro coding standard I've had to use, which is impressive. > > And, for such a basic for loop, why not put everything > on the same line? > > for (int i = 0; i < ARRAY_SIZE; i++) { > ... > } > Yes, that was a poor example. I was thinking more of the sorts of long lines you tend to get when working in C++ with iterators, in which case I'm trying to get it to look like this: for (auto iter = RidiculouslyLongClassName.begin(); iter < RidiculouslyLongClassName.end(); ++iter) { ... } As it is right now, I keep having to remember to fix the indentation manually, which has been driving me nuts. If there's a known way to change this behavior, or if you have an idea on where to start looking at how to do this, I'd love to hear it. Just not sure where to start. Thanks and regards, Gregory From MAILER-DAEMON Sat Feb 13 10:52:40 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUcUy-0002Qb-Q4 for mharc-help-gnu-emacs@gnu.org; Sat, 13 Feb 2016 10:52:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUcUv-0002QF-WC for help-gnu-emacs@gnu.org; Sat, 13 Feb 2016 10:52:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUcUs-0005xW-0I for help-gnu-emacs@gnu.org; Sat, 13 Feb 2016 10:52:37 -0500 Received: from mail.tuxteam.de ([5.199.139.25]:46647 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUcUr-0005xB-RQ for help-gnu-emacs@gnu.org; Sat, 13 Feb 2016 10:52:33 -0500 Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1aUbxI-0006Id-RW for help-gnu-emacs@gnu.org; Sat, 13 Feb 2016 16:17:52 +0100 Date: Sat, 13 Feb 2016 16:17:52 +0100 From: tomas@tuxteam.de Cc: help-gnu-emacs@gnu.org Subject: Re: getting the source finding button in c-h f help buffers to work Message-ID: <20160213151752.GA23939@tuxteam.de> References: <20160212191530.GA21592@tuxteam.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2016 15:52:39 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, Feb 12, 2016 at 01:18:17PM -0800, Drew Adams wrote: > > there was a thread about that here a while ago: > > > > > 02/threads.html#00004> > > > > The gist is you can set a variable `find-function-C-source-directory' > > to tip Emacs in the right direction. > > I think the OP is talking about Lisp source files, not C. > He mentioned byte-compiled files. Thanks for pointing out my lapsus. There's a (customizable) variable `find-function-source-path' which looks promising (I didn't test it, though). regards - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAla/SSAACgkQBcgs9XrR2kYUVwCeNgedj1ottSLu6LJbiqBkg65G /30An1Dgy2ZMmrY94/YQ8WiP3qVsICUX =Xs0G -----END PGP SIGNATURE----- From MAILER-DAEMON Sat Feb 13 12:59:38 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUeTq-0006OK-I5 for mharc-help-gnu-emacs@gnu.org; Sat, 13 Feb 2016 12:59:38 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUeTl-0006GH-1t for help-gnu-emacs@gnu.org; Sat, 13 Feb 2016 12:59:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUeTg-0007F9-DP for help-gnu-emacs@gnu.org; Sat, 13 Feb 2016 12:59:32 -0500 Received: from plane.gmane.org ([80.91.229.3]:54614) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUeTg-0007E4-6k for help-gnu-emacs@gnu.org; Sat, 13 Feb 2016 12:59:28 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aUeTe-0005lf-Eb for help-gnu-emacs@gnu.org; Sat, 13 Feb 2016 18:59:26 +0100 Received: from 193.106.183.2 ([193.106.183.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Feb 2016 18:59:26 +0100 Received: from wavexx by 193.106.183.2 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Feb 2016 18:59:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Yuri D'Elia Subject: Re: customize-face + inherit Date: Sat, 13 Feb 2016 18:59:19 +0100 Lines: 23 Message-ID: <56BF6EF7.5040504@thregr.org> References: <87d1s3y42w.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 193.106.183.2 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 In-Reply-To: <87d1s3y42w.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2016 17:59:37 -0000 On 11/02/16 10:43, Alex Kost wrote: >> I'd like to customize a face so that it inherits *all* values from it's >> parent. That is, I want the face to be an exact copy of the parent. >> >> To do that, I can add the 'inherit' property to the desired parent face, >> but I would also need to *clear* the rest of the attributes from the >> face being customized, such as foreground. > > Hm, I recall this was an issue in Emacs 24.3.1 and earlier versions, > but it is fixed in Emacs 24.4 (I believe). What's your version? I'm using 24.5.1 from debian/sid. It seems to work for some faces, but not for others. I'm trying to reset the message-header-subject face. Removing the foreground attribute with customize-face doesn't do anything at all, but setting it manually through (set-face-attribute) works. The same goes for message-header-other. Any idea of what could cause this? From MAILER-DAEMON Sat Feb 13 15:23:46 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUgjK-00068e-8i for mharc-help-gnu-emacs@gnu.org; Sat, 13 Feb 2016 15:23:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUgjH-00066x-2i for help-gnu-emacs@gnu.org; Sat, 13 Feb 2016 15:23:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUgjF-00011a-Qw for help-gnu-emacs@gnu.org; Sat, 13 Feb 2016 15:23:43 -0500 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:38662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUgjF-00011T-Jc for help-gnu-emacs@gnu.org; Sat, 13 Feb 2016 15:23:41 -0500 Received: by mail-wm0-x235.google.com with SMTP id a4so8926829wme.1 for ; Sat, 13 Feb 2016 12:23:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=LRN1N046TEOvbcpGrCZBhPJr/PVJaAw8EESFSnaLkHA=; b=ESgxjhIyzAny+dB0wVVTnBkMq9gfHEyKECh/5rKtygkwJ/84HL2p0X7Ew77zY8xrf9 NCdTMbkUqZk5xCi9DTlNnEjFaLmPoq0uTwSLKNuHcwyr0UzUdmV95oxnadP/ecNFKqJh 4/mEJekogtvywKk6T72bX6Mnxwdsi0T86uL6PQUNuhmIt4S7dWtduQmfL1pCvjvREzK4 7FWJVmoh3WhUkjxCVelllcw8AAfWACcz04wS8vDD+eQuZnYWR9ODWztCuo+d01vyNq0w olmJooxzbjX6ohx6XXC6TvPWHKUPpIkZ+jtivuziZ16yQIJ75cD/8mdcRuPB6vo0shBf XaQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=LRN1N046TEOvbcpGrCZBhPJr/PVJaAw8EESFSnaLkHA=; b=NTyaCKhQ5pT9rg2rpo+YXzZFQEtNat0aE4Rkk6ylZW0vxsswWCsiU9Z+PbS4UQQvuU O+XxE+og3VZPVfy7U+5/RgDOzBDz7c2oOPWXLXnIZlvN3B/hmolNCkpvfl2yUDQqrMbS EdZ/Uuhccz7piyKjdRORWA3cFnv7NBqb2YSeabU1cMCw/ya5Mb14bOzgGi73sc836wfM /Lp3rzY2SRDlmR0MVgP6f1YcEPo+KEx0eTVqWcuQRSy8jH94deyjzm+DSKoo3604MmZX STpQKRvDRRIzezm77BRVCrSaa7TXXQ5AMES2ToHJp0GRPoTqa08YmlHa/561Yk8fxSFU l0KQ== X-Gm-Message-State: AG10YORtz8XYOptg2B6Ev1XjFitMW6v7Qkeg9obw0yefTsnoY7gsryGc64gu2tGliwYt8vMv9k3/W0FJWo0hGQ== MIME-Version: 1.0 X-Received: by 10.194.57.48 with SMTP id f16mr7604881wjq.99.1455395020657; Sat, 13 Feb 2016 12:23:40 -0800 (PST) Received: by 10.27.92.148 with HTTP; Sat, 13 Feb 2016 12:23:40 -0800 (PST) In-Reply-To: <20160213151752.GA23939@tuxteam.de> References: <20160212191530.GA21592@tuxteam.de> <20160213151752.GA23939@tuxteam.de> Date: Sat, 13 Feb 2016 13:23:40 -0700 Message-ID: Subject: Re: getting the source finding button in c-h f help buffers to work From: Samuel Wales To: tomas@tuxteam.de Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::235 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2016 20:23:44 -0000 find-function-source-path does not work. it is already supposed to work. "If this variable is nil then `find-function' searches `load-path' by default." also we need variables, not only functions. why did the functionality stop working? On 2/13/16, tomas@tuxteam.de wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Fri, Feb 12, 2016 at 01:18:17PM -0800, Drew Adams wrote: >> > there was a thread about that here a while ago: >> > >> > > > 02/threads.html#00004> >> > >> > The gist is you can set a variable `find-function-C-source-directory' >> > to tip Emacs in the right direction. >> >> I think the OP is talking about Lisp source files, not C. >> He mentioned byte-compiled files. > > Thanks for pointing out my lapsus. > > There's a (customizable) variable `find-function-source-path' which looks > promising (I didn't test it, though). > > regards > - -- t > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.12 (GNU/Linux) > > iEYEARECAAYFAla/SSAACgkQBcgs9XrR2kYUVwCeNgedj1ottSLu6LJbiqBkg65G > /30An1Dgy2ZMmrY94/YQ8WiP3qVsICUX > =Xs0G > -----END PGP SIGNATURE----- > > -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. And ANYBODY can get it. Denmark: free Karina Hansen NOW. From MAILER-DAEMON Sat Feb 13 15:24:10 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUgji-0006bg-8L for mharc-help-gnu-emacs@gnu.org; Sat, 13 Feb 2016 15:24:10 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32810) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUgjg-0006a9-5J for help-gnu-emacs@gnu.org; Sat, 13 Feb 2016 15:24:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUgjb-00016P-5l for help-gnu-emacs@gnu.org; Sat, 13 Feb 2016 15:24:08 -0500 Received: from mail-lf0-x22c.google.com ([2a00:1450:4010:c07::22c]:35850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUgja-00016L-Ui for help-gnu-emacs@gnu.org; Sat, 13 Feb 2016 15:24:03 -0500 Received: by mail-lf0-x22c.google.com with SMTP id 78so69581354lfy.3 for ; Sat, 13 Feb 2016 12:24:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=I1WB2UweQmCWBbcPClNEnlO9j1oUkicajnkcYgNJBVo=; b=SHxg8X81h2q+uupgEB6TYLfPHnyOP4OH6MN9tEOSmff1PKCckTY6cMsUpwpSjhkzhd frijYLzQGH1mTW/U4AmGmQxXB42P/jQ8bEbtT4fYufuHIPMbliVKlcWyN6l83lt727HD uBgk83uKwj5uW/9oqov8+1ZbBWMFODweMbEk66quOdXZY5dBF4JEC1KebUD20fx/R4Yw 7v439Zps79IsCyZ1yR//wbvb1ygfY7byi7eSayh1ZYkV3ywrWqopHkgNGLXCaGat8GVZ M6HK+Tqe4V0YWQsMH9qEFDnpEnWypFEECcuiFUWBZm0kTdZ+na+d5KSBR14ObOTz4mN+ U8KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=I1WB2UweQmCWBbcPClNEnlO9j1oUkicajnkcYgNJBVo=; b=WMsk9lCpiDfxSWhXZWps8YfmTHNHKDZv69jgtN4aAoPKPGA0MHzWACSjv/HSk/qZ2c XxcUKnEcvILGO+nIgUrQu2rBj+AtYEkNEuPPJfCeEYrPIDtN0P/0LTafpcm+mcsB94Hz V4uPLLgut3upYVzKBkFHsdhzv10pG61h6BbQi0SQvd5GWtyY0OD89DN3MvCa7q12iCrd iJNirLuodk97/B9NnRSsQeWpWTx+T+mH/cn5gp1sEQ3Vtk8pT6yjKLkWI8NYAyHuET6C 2FxDhohoMj3ulMi4rAbOm+d2xOEZK6+2OJiyHR8O4XRzD7k8zlcupdDPLxcptvUfVWQJ QGaw== X-Gm-Message-State: AG10YORQM57QK2ZGyjrqheGxN40F54LHAmajJNcW+gz/mwd+biUVdTFt3BzZopOHc7XLJA== X-Received: by 10.25.20.228 with SMTP id 97mr3582863lfu.25.1455395042233; Sat, 13 Feb 2016 12:24:02 -0800 (PST) Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id r191sm2656929lfe.28.2016.02.13.12.24.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Feb 2016 12:24:01 -0800 (PST) From: Alex Kost To: Yuri D'Elia Subject: Re: customize-face + inherit References: <87d1s3y42w.fsf@gmail.com> <56BF6EF7.5040504@thregr.org> Date: Sat, 13 Feb 2016 23:24:02 +0300 In-Reply-To: <56BF6EF7.5040504@thregr.org> (Yuri D'Elia's message of "Sat, 13 Feb 2016 18:59:19 +0100") Message-ID: <877fi8gxzx.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::22c Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Feb 2016 20:24:09 -0000 Yuri D'Elia (2016-02-13 20:59 +0300) wrote: > On 11/02/16 10:43, Alex Kost wrote: >>> I'd like to customize a face so that it inherits *all* values from it's >>> parent. That is, I want the face to be an exact copy of the parent. >>> >>> To do that, I can add the 'inherit' property to the desired parent face, >>> but I would also need to *clear* the rest of the attributes from the >>> face being customized, such as foreground. >> >> Hm, I recall this was an issue in Emacs 24.3.1 and earlier versions, >> but it is fixed in Emacs 24.4 (I believe). What's your version? > > I'm using 24.5.1 from debian/sid. I use the same version. > It seems to work for some faces, but not for others. > > I'm trying to reset the message-header-subject face. > > Removing the foreground attribute with customize-face doesn't do > anything at all, but setting it manually through (set-face-attribute) works. Hm, I don't have this problem. So what I did: - I disabled all themes with "M-x customize-themes"; - "M-x customize-face RET message-header-subject"; - "uncheck" Foreground field; - press "C-c C-c" and the subject color changes from "navy blue" (for the light background) to a default (black). > The same goes for message-header-other. > Any idea of what could cause this? No idea, but if you have a reproducible recipe, I suggest "M-x report-emacs-bug". -- Alex From MAILER-DAEMON Sun Feb 14 03:02:31 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUrdX-0004kX-Nk for mharc-help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 03:02:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUrdV-0004iy-3S for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 03:02:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUrdR-0006az-3O for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 03:02:29 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:41956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUrdQ-0006YK-TP for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 03:02:25 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id DE8CE9D2002 for ; Sun, 14 Feb 2016 09:02:19 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GL0tv3sTKR9n for ; Sun, 14 Feb 2016 09:02:17 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 6C57B9D2001 for ; Sun, 14 Feb 2016 09:02:17 +0100 (CET) User-agent: mu4e 0.9.13; emacs 25.1.50.2 From: Marcin Borkowski To: Help Gnu Emacs mailing list Subject: Can an :around advice know the name of the function it is advising? Date: Sun, 14 Feb 2016 09:02:16 +0100 Message-ID: <874mdbra7r.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 08:02:30 -0000 Hi all, I would like to be able for an :around advice to know not only the "original function" it is supposed to call, but also its /name/. (Yes, I now a function need not have /one/ name -- it may have more or less -- but assume that I added the advice to a command having one name in a usual manner.) Is it even possible? (I guess not, but I wanted to make sure.) TIA, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Sun Feb 14 10:00:06 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUy9e-0007Qk-Fc for mharc-help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 10:00:06 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUy9c-0007Py-KK for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 10:00:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUy9X-0006wT-NG for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 10:00:04 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:48290) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUy9X-0006wN-G0 for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 09:59:59 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 5CAA59D2002 for ; Sun, 14 Feb 2016 15:59:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H18jAMDqZa0E for ; Sun, 14 Feb 2016 15:59:55 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id CB3EE9D2001 for ; Sun, 14 Feb 2016 15:59:54 +0100 (CET) User-agent: mu4e 0.9.13; emacs 25.1.50.2 From: Marcin Borkowski To: Help Gnu Emacs mailing list Subject: Dynamically constructing advice behaves strangely Date: Sun, 14 Feb 2016 15:59:50 +0100 Message-ID: <87io1r2v89.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 15:00:05 -0000 Hi list, I want to be able to construct advice dynamically. Here is a "minimal example": --8<---------------cut here---------------start------------->8--- ;;; -*- lexical-binding: t; -*- (defun add-constructed-advice (fun) "Add a constructed advice to function foo." (let* ((fun-name (symbol-name fun)) (length-sym (make-symbol (concat "length-of-" fun-name))) (piece-of-advice-sym (make-symbol (concat "advice-for-" fun-name))) (piece-of-advice (lambda (orig-fun &rest args) (apply orig-fun args) (message "This function's name had length %s." (symbol-value length-sym))))) (set length-sym (length (symbol-name fun))) (fset piece-of-advice-sym piece-of-advice) (advice-add fun :around piece-of-advice-sym))) (defun foo-fun () "" (message "Function foo-fun run.")) (add-constructed-advice 'foo-fun) --8<---------------cut here---------------end--------------->8--- This works (i.e., M-: foo-fun properly runs the advice), but I expected the symbol `advice-for-foo-fun' to have this piece of advice in its function cell - and it does not. Why? TIA, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Sun Feb 14 10:34:49 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUyhE-0000DE-Ud for mharc-help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 10:34:48 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUyhC-0000C3-NY for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 10:34:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUygj-00066t-VC for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 10:34:46 -0500 Received: from plane.gmane.org ([80.91.229.3]:35946) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUygj-00065b-M2 for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 10:34:17 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aUygh-0005ts-7a for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 16:34:15 +0100 Received: from dslb-092-074-178-250.092.074.pools.vodafone-ip.de ([92.74.178.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Feb 2016 16:34:15 +0100 Received: from michael_heerdegen by dslb-092-074-178-250.092.074.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Feb 2016 16:34:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Michael Heerdegen Subject: Re: Dynamically constructing advice behaves strangely Date: Sun, 14 Feb 2016 16:34:08 +0100 Lines: 10 Message-ID: <8760xrb91r.fsf@web.de> References: <87io1r2v89.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-074-178-250.092.074.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux) Cancel-Lock: sha1:Oh07uJGxsT71PQaMC2fc1ZxjnaI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 15:34:47 -0000 Marcin Borkowski writes: > This works (i.e., M-: foo-fun properly runs the advice), but I expected > the symbol `advice-for-foo-fun' to have this piece of advice in its > function cell - and it does not. Why? You bind the function to a new uninterned symbol (`make-symbol'), which is not what you want. You want `intern'. Michael. From MAILER-DAEMON Sun Feb 14 10:44:18 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUyqQ-0002zG-K3 for mharc-help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 10:44:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44960) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUyqN-0002xw-QB for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 10:44:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUyqK-0008Iw-GL for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 10:44:15 -0500 Received: from plane.gmane.org ([80.91.229.3]:36249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUyqK-0008Ie-6E for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 10:44:12 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aUyqH-0002gC-9k for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 16:44:09 +0100 Received: from dslb-092-074-178-250.092.074.pools.vodafone-ip.de ([92.74.178.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Feb 2016 16:44:09 +0100 Received: from michael_heerdegen by dslb-092-074-178-250.092.074.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Feb 2016 16:44:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Michael Heerdegen Subject: Re: Dynamically constructing advice behaves strangely Date: Sun, 14 Feb 2016 16:44:03 +0100 Lines: 26 Message-ID: <87ziv39u0s.fsf@web.de> References: <87io1r2v89.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-074-178-250.092.074.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux) Cancel-Lock: sha1:/INNZxWnvM+Zle3XPjOTwDlptHY= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 15:44:17 -0000 Marcin Borkowski writes: > (defun add-constructed-advice (fun) > "Add a constructed advice to function foo." > (let* ((fun-name (symbol-name fun)) > (length-sym > (make-symbol (concat "length-of-" fun-name))) > (piece-of-advice-sym > (make-symbol (concat "advice-for-" fun-name))) > (piece-of-advice (lambda (orig-fun &rest args) > (apply orig-fun args) > (message "This function's name had length %s." > (symbol-value length-sym))))) Also, `length-sym' doesn't have to be an uninterned symbol here. You use lexical-binding anyway (by referring to the value of the (interned!) symbol named "length-sym". You don't even have to use a symbol with a unique name. Just use a simple (lexical) variable for the length, e.g. `advice-length', and (message "This function's name had length %s." advice-length) etc. (your piece of advice is a closure!). Michael. From MAILER-DAEMON Sun Feb 14 11:14:05 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUzJF-000323-HR for mharc-help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 11:14:05 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUzJD-00030a-5A for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 11:14:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUzJ9-00061I-58 for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 11:14:03 -0500 Received: from plane.gmane.org ([80.91.229.3]:37204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUzJ8-00061C-Te for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 11:13:59 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aUzJ7-0001a0-AT for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 17:13:57 +0100 Received: from dslb-092-074-178-250.092.074.pools.vodafone-ip.de ([92.74.178.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Feb 2016 17:13:57 +0100 Received: from michael_heerdegen by dslb-092-074-178-250.092.074.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Feb 2016 17:13:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Michael Heerdegen Subject: Re: Can an :around advice know the name of the function it is advising? Date: Sun, 14 Feb 2016 17:13:51 +0100 Lines: 20 Message-ID: <87twlb9sn4.fsf@web.de> References: <874mdbra7r.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-074-178-250.092.074.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux) Cancel-Lock: sha1:x5/c4j/o7FV6JQnRjjEKF9Wjok4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 16:14:04 -0000 Marcin Borkowski writes: > I would like to be able for an :around advice to know not only the > "original function" it is supposed to call, but also its /name/. (Yes, > I now a function need not have /one/ name -- it may have more or less -- > but assume that I added the advice to a command having one name in > a usual manner.) Is it even possible? (I guess not, but I wanted to > make sure.) If you know a name of the function you want to advice, you can make it known to the piece of advice too, of course ;-) But no, there is no special mechanism for finding the name of the advised function from within the advice code AFAIK - apart from looking at the `backtrace-frame's or other brutal things. AFAICT the process of installing advises only touches functions, but doesn't cause changes on the symbol level apart from the functions fbound to them. Michael. From MAILER-DAEMON Sun Feb 14 11:40:43 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aUzj1-0000sW-2H for mharc-help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 11:40:43 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUziy-0000r0-5I for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 11:40:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUzis-00039S-Bx for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 11:40:39 -0500 Received: from plane.gmane.org ([80.91.229.3]:38326) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUzis-00039D-09 for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 11:40:34 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aUziq-00080b-Qr for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 17:40:32 +0100 Received: from dslb-092-074-178-250.092.074.pools.vodafone-ip.de ([92.74.178.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Feb 2016 17:40:32 +0100 Received: from michael_heerdegen by dslb-092-074-178-250.092.074.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 14 Feb 2016 17:40:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Michael Heerdegen Subject: Re: Can an :around advice know the name of the function it is advising? Date: Sun, 14 Feb 2016 17:40:26 +0100 Lines: 14 Message-ID: <87oabj9ret.fsf@web.de> References: <874mdbra7r.fsf@mbork.pl> <87twlb9sn4.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-074-178-250.092.074.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux) Cancel-Lock: sha1:cQuut5GER3j161dRH4zYNgRFBbE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 16:40:41 -0000 Michael Heerdegen writes: > AFAICT the process of installing advises only touches functions, but > doesn't cause changes on the symbol level apart from the functions > fbound to them. Correction: it can change the property list of a symbol. But that doesn't help: if you look at the symbol-function of an advised named function, there is no reference to the name there. But well, that's not the case for unadvised named functions as well. Michael. From MAILER-DAEMON Sun Feb 14 13:48:01 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aV1iD-00027l-Ay for mharc-help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 13:48:01 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aV1iB-000269-6m for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 13:48:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aV1i8-0003rB-1H for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 13:47:59 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:59103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aV1i7-0003r3-Pk for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 13:47:55 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 24F529D2002; Sun, 14 Feb 2016 19:47:53 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N5tcDnoUc7hb; Sun, 14 Feb 2016 19:47:49 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id A23C69D2001; Sun, 14 Feb 2016 19:47:49 +0100 (CET) References: <874mdbra7r.fsf@mbork.pl> <87twlb9sn4.fsf@web.de> User-agent: mu4e 0.9.13; emacs 25.1.50.2 From: Marcin Borkowski To: Michael Heerdegen Subject: Re: Can an :around advice know the name of the function it is advising? In-reply-to: <87twlb9sn4.fsf@web.de> Date: Sun, 14 Feb 2016 19:47:48 +0100 Message-ID: <87h9hb2kob.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 18:48:00 -0000 On 2016-02-14, at 17:13, Michael Heerdegen wrote: > Marcin Borkowski writes: > >> I would like to be able for an :around advice to know not only the >> "original function" it is supposed to call, but also its /name/. (Yes, >> I now a function need not have /one/ name -- it may have more or less -- >> but assume that I added the advice to a command having one name in >> a usual manner.) Is it even possible? (I guess not, but I wanted to >> make sure.) > > If you know a name of the function you want to advice, you can make it > known to the piece of advice too, of course ;-) But no, there is no Yes, and as you have seen in my other message (thanks for the answer, I'll reply later) I went that route. > special mechanism for finding the name of the advised function from > within the advice code AFAIK - apart from looking at the > `backtrace-frame's or other brutal things. > > AFAICT the process of installing advises only touches functions, but > doesn't cause changes on the symbol level apart from the functions > fbound to them. Thanks. > Michael. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Sun Feb 14 15:57:43 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aV3jj-0008Ne-Du for mharc-help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 15:57:43 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aV3jg-0008MZ-Sv for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 15:57:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aV3jd-0002go-Mx for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 15:57:40 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:44034) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aV3jd-0002gh-Fq for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 15:57:37 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 7FE559D2002; Sun, 14 Feb 2016 21:57:36 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CHfLyP867YwS; Sun, 14 Feb 2016 21:57:32 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 5E84E9D2001; Sun, 14 Feb 2016 21:57:31 +0100 (CET) References: <87io1r2v89.fsf@mbork.pl> <8760xrb91r.fsf@web.de> User-agent: mu4e 0.9.13; emacs 25.1.50.2 From: Marcin Borkowski To: Michael Heerdegen Subject: Re: Dynamically constructing advice behaves strangely In-reply-to: <8760xrb91r.fsf@web.de> Date: Sun, 14 Feb 2016 21:57:30 +0100 Message-ID: <87fuwv2eo5.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 20:57:41 -0000 On 2016-02-14, at 16:34, Michael Heerdegen wrote: > Marcin Borkowski writes: > >> This works (i.e., M-: foo-fun properly runs the advice), but I expected >> the symbol `advice-for-foo-fun' to have this piece of advice in its >> function cell - and it does not. Why? > > You bind the function to a new uninterned symbol (`make-symbol'), which > is not what you want. You want `intern'. Stupid me. Thanks for pointing that out. My code works perfectly now. I'm pretty sure I'll blog about it soon; also I'll post a message on this ML in a few minutes. > Michael. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Sun Feb 14 15:58:57 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aV3ku-0000bo-Ua for mharc-help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 15:58:56 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aV3ks-0000Xv-W2 for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 15:58:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aV3kp-0002um-Qv for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 15:58:54 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:51520) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aV3kp-0002ui-KN for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 15:58:51 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 005B99D2002; Sun, 14 Feb 2016 21:58:51 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k3rYWQwkvemF; Sun, 14 Feb 2016 21:58:47 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 3F4849D2001; Sun, 14 Feb 2016 21:58:47 +0100 (CET) References: <87io1r2v89.fsf@mbork.pl> <87ziv39u0s.fsf@web.de> User-agent: mu4e 0.9.13; emacs 25.1.50.2 From: Marcin Borkowski To: Michael Heerdegen Subject: Re: Dynamically constructing advice behaves strangely In-reply-to: <87ziv39u0s.fsf@web.de> Date: Sun, 14 Feb 2016 21:58:46 +0100 Message-ID: <87egcf2em1.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 20:58:56 -0000 On 2016-02-14, at 16:44, Michael Heerdegen wrote: > Marcin Borkowski writes: > >> (defun add-constructed-advice (fun) >> "Add a constructed advice to function foo." >> (let* ((fun-name (symbol-name fun)) >> (length-sym >> (make-symbol (concat "length-of-" fun-name))) >> (piece-of-advice-sym >> (make-symbol (concat "advice-for-" fun-name))) >> (piece-of-advice (lambda (orig-fun &rest args) >> (apply orig-fun args) >> (message "This function's name had length %s." >> (symbol-value length-sym))))) > > Also, `length-sym' doesn't have to be an uninterned symbol here. You > use lexical-binding anyway (by referring to the value of the (interned!) > symbol named "length-sym". You don't even have to use a symbol with a > unique name. Just use a simple (lexical) variable for the length, > e.g. `advice-length', and > > (message "This function's name had length %s." advice-length) > > etc. (your piece of advice is a closure!). I know, and in fact I'm making use of lexical binding in my "real" code. This was just a trimmed-down version for the sake of asking here. > Michael. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Sun Feb 14 16:05:15 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aV3r0-0002YF-VX for mharc-help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 16:05:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aV3qy-0002Xo-15 for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 16:05:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aV3qu-0004Wi-Qy for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 16:05:11 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:53578) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aV3qu-0004We-KF for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 16:05:08 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 3A02B9D2002 for ; Sun, 14 Feb 2016 22:05:06 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E89Aj91E105l for ; Sun, 14 Feb 2016 22:05:03 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id C79AC9D2001 for ; Sun, 14 Feb 2016 22:05:02 +0100 (CET) User-agent: mu4e 0.9.13; emacs 25.1.50.2 From: Marcin Borkowski To: Help Gnu Emacs mailing list Subject: Making sure I'm not checking email (or doing other things) too often Date: Sun, 14 Feb 2016 22:05:02 +0100 Message-ID: <87d1rz2ebl.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2016 21:05:13 -0000 Hi all, thanks to Michael Heerdegen, my code is now working, and even though it is not finished, I'm quite happy/proud of it. I will finish it within a week or two and blog about it, but please let me show the current state here, especially that I suspect a few people could find it handy. The problem: I hit U (mu4e-update-mail-and-index) way too often. I want Emacs to help me fight this unproductive habit. Also, I'm a mathematician, and I want to have a general solution to the problem of launching certain commands too often. So, here is my current solution. It is not perfect, I will tinker with it a bit more later. --8<---------------cut here---------------start------------->8--- (defun not-too-often-add-guard (fun interval) "Add a not-too-often guard to FUN with INTERVAL. This means that if FUN gets called less than INTERVAL minutes after last call, the use is asked whether s?he really wants to run the command." (let* ((fun-name (symbol-name fun)) (nto-int-sym (intern (concat "not-too-often-interval-" fun-name))) (nto-last-time-sym (intern (concat "not-too-often-last-time-" fun-name))) (nto-guard-sym (intern (concat "not-too-often-guard-" fun-name)))) (set nto-int-sym interval) (set nto-last-time-sym 0) (fset nto-guard-sym (lambda (orig-fun &rest args) (let ((elapsed (time-to-seconds (time-subtract (current-time) (symbol-value nto-last-time-sym))))) (if (< elapsed (* 60 (symbol-value nto-int-sym))) (cond ((y-or-n-p (format "You called %s %s minutes ago. Are you sure you want to proceed? " fun-name (/ elapsed 60.0))) (set nto-last-time-sym (current-time)) (apply orig-fun args)) (t (keyboard-quit))) (set nto-last-time-sym (current-time)))))) (put nto-guard-sym 'function-documentation (format "Issue a warning if function `%s' is called less than %s minutes from last call." fun-name interval)) (advice-add fun :around nto-guard-sym))) --8<---------------cut here---------------end--------------->8--- Now I can say e.g. (not-too-often-add-guard 'mu4e-update-mail-and-index 15) and have Emacs warn me if I want to check for new email sooner than 15 minutes after last time. Opinions welcome. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Sun Feb 14 19:57:05 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aV7TN-0005b8-Bq for mharc-help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 19:57:05 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aV7TL-0005ay-6s for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 19:57:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aV7TH-0007BE-Vf for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 19:57:03 -0500 Received: from plane.gmane.org ([80.91.229.3]:58754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aV7TH-0007B4-Nk for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 19:56:59 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aV7TD-0000a7-Ej for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 01:56:55 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Feb 2016 01:56:55 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Feb 2016 01:56:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: continuing indentation in for loop condition in cc-mode Date: Mon, 15 Feb 2016 01:56:45 +0100 Lines: 103 Message-ID: <87ziv2hjua.fsf@debian.uxu> References: Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:JnHYKiOq4eeqrh31P5fR6Now2+4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 00:57:04 -0000 Gregory Fong writes: > (sorry if you get this twice, I didn't realize > I wasn't subscribed to the list, tried to send using > gmane, then that didn't work, so now I'm just using > the reply mailto button from the archive, which > might break the thread) I didn't see this until now because I have splitting which places mails that are sent to me *and* the list in a special out-of-action newsgroup. I check that now and then. Why I didn't see it in the newsgroup itself (gmane.emacs.help) remains as mystery tho... > I personally like the default. Unfortunately, the > company I work for uses the style I mentioned at > the top. > > This is mostly surprising to me because it's really > the only indentation issue I've ever run into using > emacs. Everything else has been customizable This is customizable as well. Or rather it is (at least) programmable like everything else. Check out this file: http://user.it.uu.se/~embe8573/fps/fpscalc.el The "fpscalc-indent-line" is the function that does indentation. There should be a similar function for the C++ mode. It is most likely more advanced and better, as it has a bigger domain and more people worked on it for a much longer time. But the principle that a function does indentation should be the same. So you can start by finding that function, continue by understanding it, and last push for the summit by modifying it to do you bidding. That should be pretty simple :) >> And, for such a basic for loop, why not put >> everything on the same line? >> >> for (int i = 0; i < ARRAY_SIZE; i++) { ... } > > Yes, that was a poor example. I was thinking more of > the sorts of long lines you tend to get when working > in C++ with iterators, in which case I'm trying to get > it to look like this: > > for (auto iter = > RidiculouslyLongClassName.begin(); iter < > RidiculouslyLongClassName.end(); ++iter) { ... } Yuk! That reminds me of Java. But it doesn't have to be *that* bad. You don't have to do initialization of the iterator within the for loop syntax, right? And you can likewise assign an external variable (external to the for loop syntax) to hold the range of the iteration, instead of invoking the end() method at each iteration. It is perhaps not the OO way but it'll solve (workaround) the syntax/indentation issue. > As it is right now, I keep having to remember to fix > the indentation manually, which has been driving > me nuts. Really? What's wrong with fixing it manually? For example this message I have written 100% manually with zero problems. How many such loops do you do each day? Perhaps you should do mental-physical training, e.g. yoga, instead of getting nuts at corporate-style C++ indentation? > If there's a known way to change this behavior, or > if you have an idea on where to start looking at how > to do this, I'd love to hear it. Just not sure where > to start. Start at the Elisp code which is the Emacs C++ mode. PS. I post this to the newsgroup as well. But I include a copy to your mail as you might have forgotten about this issue since there was no replies for some time. Again, I didn't see the post at the newsgroup. If others did, they didn't respond (or I didn't see those posts either). This post they will see and possibly reply to, so even tho you read this as a personal mail be sure to check the newsgroup/mailing list as well. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Sun Feb 14 20:20:45 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aV7qG-0003Jo-Tq for mharc-help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 20:20:44 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57672) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aV7qE-0003Je-C9 for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 20:20:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aV7qB-0003AL-1V for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 20:20:42 -0500 Received: from plane.gmane.org ([80.91.229.3]:59483) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aV7qA-0003A8-Oi for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 20:20:38 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aV7q8-0004he-T2 for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 02:20:36 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Feb 2016 02:20:36 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Feb 2016 02:20:36 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: continuing indentation in for loop condition in cc-mode Date: Mon, 15 Feb 2016 02:20:28 +0100 Lines: 15 Message-ID: <87povyhiqr.fsf@debian.uxu> References: Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:rVSM+isDNPUQSNvi4ILTqM3Ol7U= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 01:20:43 -0000 Gregory Fong writes: > (sorry if you get this twice, I didn't realize > I wasn't subscribed to the list, tried to send using > gmane, then that didn't work, so now I'm just using > the reply mailto button from the archive, which > might break the thread) OK, so now I see it here as well! Actually I see it *twice* here. So now I've seen it three times. And because of all the citing - can we even say four? -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Sun Feb 14 20:29:33 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aV7yn-0004lU-TL for mharc-help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 20:29:33 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aV7yl-0004kz-Rk for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 20:29:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aV7yi-0004lU-Md for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 20:29:31 -0500 Received: from plane.gmane.org ([80.91.229.3]:59749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aV7yi-0004lQ-F1 for help-gnu-emacs@gnu.org; Sun, 14 Feb 2016 20:29:28 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aV7yh-0000tf-Hk for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 02:29:27 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Feb 2016 02:29:27 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Feb 2016 02:29:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Making sure I'm not checking email (or doing other things) too often Date: Mon, 15 Feb 2016 02:29:17 +0100 Lines: 26 Message-ID: <87lh6mhic2.fsf@debian.uxu> References: <87d1rz2ebl.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:qXAcO/v2xgNkTysA8G3vkduEYgk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 01:29:32 -0000 Marcin Borkowski writes: > The problem: I hit U (mu4e-update-mail-and-index) > way too often. I want Emacs to help me fight this > unproductive habit. The solution: every time you do it - I assume you hit the final `u' with your right index finger - instantly slap your right hand as hard as you can with your left hand. The only time you will not punish yourself this way is when you peace and quiet and with no rush to it beforehand thinks "yes, now is the time to check the mail!" - and then you do it. > Also, I'm a mathematician, and I want to have > a general solution to the problem of launching > certain commands too often. It is more something an engineer would do so perhaps you are that at heart. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Mon Feb 15 02:39:22 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVDkg-0007Ry-BB for mharc-help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 02:39:22 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36555) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVDke-0007Qe-6G for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 02:39:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVDkb-0000Vl-1R for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 02:39:20 -0500 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:36272) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVDka-0000VX-Q0 for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 02:39:16 -0500 Received: by mail-wm0-x231.google.com with SMTP id g62so44887576wme.1 for ; Sun, 14 Feb 2016 23:39:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=introo-me.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to:content-type; bh=8EFJjpzvqccslsGeCDFL4cF3UAifON796OMkaj6DwJ0=; b=ZFWa55/8g1RHGXQVanSILPittLaR/CMyf82Kpgn34Q+/2VW8XFHEcFX7H98iKEOvX6 OjZN4+hYfvNUMh5RRtqFL9rPYKM2hir9t4cpvvFJjMhdYG2lIyM8NXERlFgrrsO3d2kY 4g9/XpxRbmaKXSdW3JCglF9ox9BSrvxTRrm9K6AOgfsl0hAdknsR1v4ZhD1DD5AR49vy zPHrxv143tGKj33sxoKAlJOValDb8bnoIUIpgtLAdkoS35dnH9HZbdnR2SdRE0nlVxED 7jF2rjQI8Cmnz3M92yKk/d69vKHFhovr2v9GOqc1gDDgA1QhlqmpHoQ/pioplhXDNOQZ eOQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=8EFJjpzvqccslsGeCDFL4cF3UAifON796OMkaj6DwJ0=; b=JdBu7ElAX/NOSB7UIBZZVRl2b6QyIaXrWT7G4wyNAJ7YG9HlBHRwUx8Q1rQr9+8t2q NoFVX9cZWjUQh5OW/7jpXhl/Lc/U48EsL8ahAUUeVDFowErmhpMhreWmQPGKmhRKpQc9 3Ht9F/Wp+eXXhAOvLdgs5vlY+nB3DeVTiCOhVDQtQjaCzC0ygncz/mcjMrWieXc1tIDs gABQG02uqko55YEfzP/vb2Y3ygkBkey0iGg1VNLuQIM5vysmaBCubR20usbpm1IV6SsG avWveW8p6RWcF8Ggydo/VmGmKW8/KMUmgTkdLfSRKReg//gD5JHwF3Yu1t+T8orHqFAN MeCw== X-Gm-Message-State: AG10YORnko03aN0aPKSSpsadHXD3m9dXu5ZndOK5dsZwTXujHLi0psC0OIuBv3lTZtqjAB7dST74TbIh06M4AQ== MIME-Version: 1.0 X-Received: by 10.194.95.40 with SMTP id dh8mr16471741wjb.146.1455521955743; Sun, 14 Feb 2016 23:39:15 -0800 (PST) Received: by 10.27.231.69 with HTTP; Sun, 14 Feb 2016 23:39:15 -0800 (PST) X-Originating-IP: [143.89.244.107] Date: Mon, 15 Feb 2016 15:39:15 +0800 Message-ID: Subject: need some examples on `process-file' From: Shiyao Ma To: help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::231 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 07:39:21 -0000 Hi, Per the doc here: https://www.gnu.org/software/emacs/manual/html_node/elisp/Synchronous-Proce= sses.html What's the file handler ? Any example on file handler together with process-file? Regards. --=20 =E5=90=BE=E8=BC=A9=E3=81=AF=E7=8C=AB=E3=81=A7=E3=81=82=E3=82=8B=E3=80=82=E3= =83=9B=E3=83=BC=E3=83=A0=E3=83=BC=E3=83=9A=E3=83=BC=E3=82=B8=E3=81=AFhttps:= //introo.me =E3=80=82 From MAILER-DAEMON Mon Feb 15 03:03:41 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVE8D-0004pv-L2 for mharc-help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 03:03:41 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVE8A-0004mr-Ho for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 03:03:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVE87-0005Pq-Bz for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 03:03:38 -0500 Received: from mout.gmx.net ([212.227.15.15]:52668) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVE87-0005PO-3L for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 03:03:35 -0500 Received: from detlef.gmx.de ([87.146.43.79]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LyEJp-1ZsQzJ1YYv-015cMO; Mon, 15 Feb 2016 09:03:32 +0100 From: Michael Albinus To: Shiyao Ma Subject: Re: need some examples on `process-file' References: Date: Mon, 15 Feb 2016 09:03:31 +0100 In-Reply-To: (Shiyao Ma's message of "Mon, 15 Feb 2016 15:39:15 +0800") Message-ID: <87wpq6o0x8.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:TTHMjcuiY+OfyLf8MDgzVyLceQUvaTOdzSgnlmKc6POkuAZrSCu 8li0vlDtq75ypt2zKlre9N4Gv0VnJpDxgXglWGMCObGyimapzqpcO0z9eoBW0587yLoVtxM zyf6yVQBr84fSgyoAKhnfvajCaQcbyeKLNe/qKiLIibXZZsNBlvkm+qns9d7NanPn1tWWYC +M846RSGdHUFXKi+4uMFQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:Zgk2Jr7piNY=:DsdoTw/x+4Mfu67eI+4Wzg u4wCq5ltQ9rXIoiCf3vyXHC8RLrzglDCOv7mXU3/WbUocXTT8iPIiO++dlpDudTmXcbs3WYt7 +RgsDGZ7/DmzYPku08iXBATZ3kKSTN995EV+LAjDLPmAyRZAbjGs7RYfMk3Nei88pW7ipkbsY Pevcx824fEvFsjuE3kT4Q3doMJZNrvXhWuPcZVrhed7WwBa5nl7kX+rR0a37XLAFlVCKTgW28 2WorhuYJjXslCa13LOHVqE9a51QCJYV5fskOUJ4l2CSVrb4Bi5Rd5eT7jMzHTPUz90PBSNXbT a4BUoSyzTJis3TLknl8Dj/TU0SeGPjAMjuJgPHHLwuxVGtlvK/KUV/cYNUmrrZhIpqYLJwdu8 E3CmBRSu/rodSrxw79e/Vzbn4hWHz2enqPuRew6ADVa7Bqvg94J9Dz/vy1QqPUjeTtrXdmH8F tCsKyWQAlXJX2te2ILFGsbkuPpN1CEtgZbRLlun+sW3a+nKkdQ0bcCcBLyQKeybSsV4N3WXFQ REgxBl1szB0iP2gAAAHxKl7BOq6CfqkCG7oUUMiWN/HxtaUT9a7CkxLem56sRV5GsfGo57WOg gfwNyympF+bjvz/yRkcd9SksGd8oama7PFhvefpptX6IHAhmEMH2eOKyK4DyNJOgipeieitj1 hol8mWMV1MiyvTCTX6tf+zaybNW45UrnwrfCB+BHyQCYsGKKOVGHRQhTDnhJdgY0sXYr6XQ1x 20clAiZZxDAoN7OSw50/ecUCy6tVEA1aaMakLKgdk1XsjvaEqFnN9BvsYtGP6p1xa2g1Z+irJ 5SOTdBY X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.15 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 08:03:39 -0000 Shiyao Ma writes: > Hi, Hi, > Per the doc here: > https://www.gnu.org/software/emacs/manual/html_node/elisp/Synchronous-Processes.html > > What's the file handler ? Any example on file handler together with > process-file? These days, it's almost Tramp. It let you run the process on a remote host. > Regards. Best regards, Michael. From MAILER-DAEMON Mon Feb 15 06:15:52 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVH8C-0008Br-0L for mharc-help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 06:15:52 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVH88-0008A6-0P for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 06:15:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVH84-0000to-PK for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 06:15:47 -0500 Received: from plane.gmane.org ([80.91.229.3]:41150) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVH84-0000th-Dp for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 06:15:44 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aVH83-0007iA-EP for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 12:15:43 +0100 Received: from 151.62.70.70 ([151.62.70.70]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Feb 2016 12:15:43 +0100 Received: from lele by 151.62.70.70 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Feb 2016 12:15:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Lele Gaifax Subject: Re: Password prompt inside Emacs with epg-gpg-program -> "gpg2"? Date: Mon, 15 Feb 2016 12:15:35 +0100 Organization: Nautilus Entertainments Lines: 22 Message-ID: <87twlab4x4.fsf@metapensiero.it> References: <87h9hjxnwc.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 151.62.70.70 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux) Cancel-Lock: sha1:cbk2N5iqIohuiIeAKUuatG37Dsg= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 11:15:49 -0000 Michael Heerdegen writes: > since some days ago, epg-gpg-program defaults to gpg2 (when installed) > in emacs-25. > > With that new default, when Gnus tries to open my "~/.authinfo.gpg", I'm > prompted for its password in a separate popup (X) window. While on the subject, is there any way to tell Emacs to "inject" the related file name into that popup, or even in the minibuffer password prompt? I often use the desktop.el facility: it may happen that I have several gpg-encoded files open at the same time, and when restarting the Emacs session I was prompted for a keyword for each of them, and it's been a challenge to blindly insert the right one, having no hint about which file was being open. Thank you, ciao, lele. -- nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. lele@metapensiero.it | -- Fortunato Depero, 1929. From MAILER-DAEMON Mon Feb 15 09:40:49 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVKKX-0002wG-4T for mharc-help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 09:40:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVKKU-0002uo-NC for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 09:40:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVKKR-0000K5-FM for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 09:40:46 -0500 Received: from plane.gmane.org ([80.91.229.3]:39087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVKKR-0000Jy-8I for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 09:40:43 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aVKKP-0004Ys-Nn for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 15:40:41 +0100 Received: from dslb-092-074-178-250.092.074.pools.vodafone-ip.de ([92.74.178.250]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Feb 2016 15:40:41 +0100 Received: from michael_heerdegen by dslb-092-074-178-250.092.074.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Feb 2016 15:40:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Michael Heerdegen Subject: Re: Making sure I'm not checking email (or doing other things) too often Date: Mon, 15 Feb 2016 15:40:34 +0100 Lines: 83 Message-ID: <87h9hayr31.fsf@web.de> References: <87d1rz2ebl.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-074-178-250.092.074.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux) Cancel-Lock: sha1:TR/79zhvZb4iGi5Tu0uHzEBVRNA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 14:40:48 -0000 Marcin Borkowski writes: > (defun not-too-often-add-guard (fun interval) > "Add a not-too-often guard to FUN with INTERVAL. > This means that if FUN gets called less than INTERVAL minutes > after last call, the use is asked whether s?he really wants to > run the command." > (let* ((fun-name (symbol-name fun)) > (nto-int-sym > (intern (concat "not-too-often-interval-" fun-name))) > (nto-last-time-sym > (intern (concat "not-too-often-last-time-" fun-name))) > (nto-guard-sym > (intern (concat "not-too-often-guard-" fun-name)))) > (set nto-int-sym interval) > (set nto-last-time-sym 0) > (fset nto-guard-sym (lambda (orig-fun &rest args) > (let ((elapsed (time-to-seconds > (time-subtract > (current-time) > (symbol-value nto-last-time-sym))))) > (if (< elapsed > (* 60 (symbol-value nto-int-sym))) > (cond ((y-or-n-p > (format "You called %s %s minutes ago. Are you sure you want to proceed? " > fun-name (/ elapsed 60.0))) > (set nto-last-time-sym (current-time)) > (apply orig-fun args)) > (t > (keyboard-quit))) > (set nto-last-time-sym (current-time)))))) > (put nto-guard-sym 'function-documentation > (format > "Issue a warning if function `%s' is called less than %s minutes from last call." > fun-name interval)) > (advice-add fun :around nto-guard-sym))) > > Now I can say e.g. > > (not-too-often-add-guard 'mu4e-update-mail-and-index 15) > > and have Emacs warn me if I want to check for new email sooner than 15 > minutes after last time. > > Opinions welcome. That looks very good! [ An alternative approach would be to make `not-too-often-add-guard' a macro. This would avoid the need of using `symbol-value' which some find not aesthetic, but that's more a matter of personal taste, and you surely know that already. ] FWIW, the functionality "let a command behave differently depending on how much time since its last invocation has elapsed" is useful in other contexts too. E.g. when you want to make a key to behave differently when you hit it multiple times in fast succession. Factoring out the greatest common divider would give you something like this: --8<---------------cut here---------------start------------->8--- -*- lexical-binding: t -*- (defun stopwatch () "Return a fresh stopwatch. This is a function accepting zero arguments that upon each call will return the time difference from its last call in seconds. When called the first time it will return nil." (let ((last-invocation nil)) (lambda () (prog1 (and last-invocation (time-to-seconds (time-subtract (current-time) last-invocation))) (setq last-invocation (current-time)))))) --8<---------------cut-here---------------end--------------->8--- With that, one could make your advice functions reference and use such a stopwatch object (each an individual one, of course). Regards, Michael. From MAILER-DAEMON Mon Feb 15 09:58:43 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVKbr-00053W-6Y for mharc-help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 09:58:43 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVKbl-00052h-98 for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 09:58:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVKbg-0005Eu-Ct for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 09:58:37 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:36800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVKbg-0005EP-2e for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 09:58:32 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 610439D2003; Mon, 15 Feb 2016 15:58:29 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G3WBhLoxaJhk; Mon, 15 Feb 2016 15:58:23 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 1E3F69D2001; Mon, 15 Feb 2016 15:58:21 +0100 (CET) References: <87d1rz2ebl.fsf@mbork.pl> <87h9hayr31.fsf@web.de> User-agent: mu4e 0.9.13; emacs 25.1.50.2 From: Marcin Borkowski To: Michael Heerdegen Subject: Re: Making sure I'm not checking email (or doing other things) too often In-reply-to: <87h9hayr31.fsf@web.de> Date: Mon, 15 Feb 2016 15:58:19 +0100 Message-ID: <87si0u10ms.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 14:58:41 -0000 On 2016-02-15, at 15:40, Michael Heerdegen wrote: > Marcin Borkowski writes: > >> (defun not-too-often-add-guard (fun interval) >> "Add a not-too-often guard to FUN with INTERVAL. >> This means that if FUN gets called less than INTERVAL minutes >> after last call, the use is asked whether s?he really wants to >> run the command." >> (let* ((fun-name (symbol-name fun)) >> (nto-int-sym >> (intern (concat "not-too-often-interval-" fun-name))) >> (nto-last-time-sym >> (intern (concat "not-too-often-last-time-" fun-name))) >> (nto-guard-sym >> (intern (concat "not-too-often-guard-" fun-name)))) >> (set nto-int-sym interval) >> (set nto-last-time-sym 0) >> (fset nto-guard-sym (lambda (orig-fun &rest args) >> (let ((elapsed (time-to-seconds >> (time-subtract >> (current-time) >> (symbol-value nto-last-time-sym))))) >> (if (< elapsed >> (* 60 (symbol-value nto-int-sym))) >> (cond ((y-or-n-p >> (format "You called %s %s minutes ago. Are you sure you want to proceed? " >> fun-name (/ elapsed 60.0))) >> (set nto-last-time-sym (current-time)) >> (apply orig-fun args)) >> (t >> (keyboard-quit))) >> (set nto-last-time-sym (current-time)))))) >> (put nto-guard-sym 'function-documentation >> (format >> "Issue a warning if function `%s' is called less than %s minutes from last call." >> fun-name interval)) >> (advice-add fun :around nto-guard-sym))) >> >> Now I can say e.g. >> >> (not-too-often-add-guard 'mu4e-update-mail-and-index 15) >> >> and have Emacs warn me if I want to check for new email sooner than 15 >> minutes after last time. >> >> Opinions welcome. > > That looks very good! Thanks! (Alas, there's a nasty bug. But it'll be polished out.) > [ An alternative approach would be to make `not-too-often-add-guard' a > macro. This would avoid the need of using `symbol-value' which some > find not aesthetic, but that's more a matter of personal taste, and you > surely know that already. ] I did not even consider it, because what I want to do is to feed `not-too-often-add-guard' to mapc. The assumption is that the user will have an alist of command/time interval pairs. > FWIW, the functionality "let a command behave differently depending on > how much time since its last invocation has elapsed" is useful in other > contexts too. E.g. when you want to make a key to behave differently > when you hit it multiple times in fast succession. Nice, I didn't think about it. > Factoring out the greatest common divider would give you something like > this: > > --8<---------------cut here---------------start------------->8--- > -*- lexical-binding: t -*- > > (defun stopwatch () > "Return a fresh stopwatch. > This is a function accepting zero arguments that upon each call > will return the time difference from its last call in seconds. > When called the first time it will return nil." > (let ((last-invocation nil)) > (lambda () > (prog1 (and last-invocation > (time-to-seconds (time-subtract (current-time) last-invocation))) > (setq last-invocation (current-time)))))) > --8<---------------cut-here---------------end--------------->8--- > > With that, one could make your advice functions reference and use such a > stopwatch object (each an individual one, of course). Thanks, I'll probably make use of it, if you have nothing against (I plan to eventually put this on Melpa). > Regards, > > Michael. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Mon Feb 15 10:08:46 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVKla-0000Bc-19 for mharc-help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 10:08:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49211) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVKlX-00008V-E6 for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 10:08:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVKlT-0008WD-Df for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 10:08:43 -0500 Received: from mout.web.de ([212.227.15.4]:50665) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVKlT-0008W7-4J for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 10:08:39 -0500 Received: from drachen.dragon ([92.74.178.250]) by smtp.web.de (mrweb004) with ESMTPSA (Nemesis) id 0MH2Fm-1aj4Gs3pZ4-00DoeQ; Mon, 15 Feb 2016 16:08:29 +0100 From: Michael Heerdegen To: Marcin Borkowski Subject: Re: Making sure I'm not checking email (or doing other things) too often References: <87d1rz2ebl.fsf@mbork.pl> <87h9hayr31.fsf@web.de> <87si0u10ms.fsf@mbork.pl> Date: Mon, 15 Feb 2016 16:08:27 +0100 In-Reply-To: <87si0u10ms.fsf@mbork.pl> (Marcin Borkowski's message of "Mon, 15 Feb 2016 15:58:19 +0100") Message-ID: <87bn7iypsk.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:MNiOJebPE+zes4EY4VZtx8Kz8R+VF3zsyGB9KFiIqhWTFjzWLjw J+U5vZTtWMQbjz79Q+5MG5rZrop1QlgU1PLZnvJ8RMG0IIaiY7FM0Wc80im7qasSlcSBxHZ H2YrnXnacvkjceLe9ljFVWnuSUfy8oLp0TKcMdSzHWkHpwhyAH2q+TacoJ/OFxQZ97y8kLx Kz6VbkVVr5ck9MbkFev5A== X-UI-Out-Filterresults: notjunk:1;V01:K0:p8d2d/tpV4Q=:6PIsaZLOBWR2NT+mws7DnZ YJpeYzOejU+uo/k6AY4j1Zp95l3aYLypMg2MJMlaqth1uov3hBJ0AlEg0A7WZFj5GmXEuN0rm 8EIwpbxTjdj6PxcYMLlNUZv+6hv6TNJofjPWNSbNwo1THMDC5gzMBzt8TEtEkiYK2dTVebx+a ZUUXAJPRJcYhVjeNcjNusjBSdxqhgEnmTAlj/tFUv5jasT8G5nYR6ruf8drAJOsosnYHKwxcx q8bmpF2PV+h7Gz79ti4sOGzVLmHGsK0RGaI4fa28iLK4PhsGY0HeuovHRygaPOrQ6MS3jdmcQ HZJTkfrXvJuSxCf3akOXyO/vZF+5u3wG/wdWAOEmINcWP3FAWHBmvT+OYa5bube93nVSPj2I6 /jHmiwSLP8wc5owL0w7TUx7XM+wvsZPaN4qcjWxj11dwPkQNnKbTko61lWfxIAmLu66qvRHHq aL2Fkwynau4t3d3IESuN+CrSugzEbbzhT+BWKYANVviHuQkd6spcW4+BH3JVrev4Fmf0U0Mnd fGqn1rZEKhKONYlUeqD5/q+DDtWP22CVGpRwbb9zGFbZCyHQE0F/eaabd/GDKWECEH/k7lHoj RmoszESy+nhfU31bAWHvrQqfXIFWj5PjA+nUMNmHbD4zH3bMeg6ojN2WoN21XTKp03AHzBRXA 3rYnUYFQHtUPMZkx/hMg1ehp1VUDHcWvCTwkCPDjLX0pBspRU56qLjHNEu5Rq29cbWVtydJ1g 9bU/vo+rp+vA8t1V+aN3MU9qRUbptB8UnLy5lUSg7CP5MfYQuugwP9prNLlrOatR/fVlNPp5X a9IqI9P X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.4 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 15:08:44 -0000 Marcin Borkowski writes: > > [ An alternative approach would be to make `not-too-often-add-guard' a > > macro. This would avoid the need of using `symbol-value' which some > > find not aesthetic, but that's more a matter of personal taste, and you > > surely know that already. ] > > I did not even consider it, because what I want to do is to feed > `not-too-often-add-guard' to mapc. The assumption is that the user will > have an alist of command/time interval pairs. You would just use `dolist' or a lambda wrapper around the macro call (with the current signature, you can't `mapc' your function over an alist directly anyway). > Thanks, I'll probably make use of it, if you have nothing against (I > plan to eventually put this on Melpa). I don't care. Regards, Michael. From MAILER-DAEMON Mon Feb 15 10:19:15 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVKvj-0003vZ-O5 for mharc-help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 10:19:15 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVKve-0003ox-9U for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 10:19:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVKvb-0002Vy-3W for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 10:19:10 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:57154) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVKva-0002Vo-RN for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 10:19:06 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 6B5269D2003; Mon, 15 Feb 2016 16:19:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZHHyakdE16YS; Mon, 15 Feb 2016 16:18:59 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 7ADB09D2001; Mon, 15 Feb 2016 16:18:58 +0100 (CET) References: <87d1rz2ebl.fsf@mbork.pl> <87h9hayr31.fsf@web.de> <87si0u10ms.fsf@mbork.pl> <87bn7iypsk.fsf@web.de> User-agent: mu4e 0.9.13; emacs 25.1.50.2 From: Marcin Borkowski To: Michael Heerdegen Subject: Re: Making sure I'm not checking email (or doing other things) too often In-reply-to: <87bn7iypsk.fsf@web.de> Date: Mon, 15 Feb 2016 16:18:56 +0100 Message-ID: <87r3ge0zof.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 15:19:14 -0000 On 2016-02-15, at 16:08, Michael Heerdegen wrote: > Marcin Borkowski writes: > >> > [ An alternative approach would be to make `not-too-often-add-guard' a >> > macro. This would avoid the need of using `symbol-value' which some >> > find not aesthetic, but that's more a matter of personal taste, and you >> > surely know that already. ] >> >> I did not even consider it, because what I want to do is to feed >> `not-too-often-add-guard' to mapc. The assumption is that the user will >> have an alist of command/time interval pairs. > > You would just use `dolist' or a lambda wrapper around the macro call > (with the current signature, you can't `mapc' your function over an > alist directly anyway). You're right. >> Thanks, I'll probably make use of it, if you have nothing against (I >> plan to eventually put this on Melpa). > > I don't care. Thanks, and thanks again for your help. > Regards, > > Michael. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Mon Feb 15 10:22:18 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVKyg-00070l-1y for mharc-help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 10:22:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVKyc-0006uP-Lb for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 10:22:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVKyZ-0003Bl-F3 for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 10:22:14 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:35336) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVKyZ-0003BN-7t for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 10:22:11 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id A993A9D2004; Mon, 15 Feb 2016 16:22:10 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1pmk2PA8qdzW; Mon, 15 Feb 2016 16:21:59 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 164249D2001; Mon, 15 Feb 2016 16:21:56 +0100 (CET) References: <87d1rz2ebl.fsf@mbork.pl> <87lh6mhic2.fsf@debian.uxu> User-agent: mu4e 0.9.13; emacs 25.1.50.2 From: Marcin Borkowski To: Emanuel Berg Subject: Re: Making sure I'm not checking email (or doing other things) too often In-reply-to: <87lh6mhic2.fsf@debian.uxu> Date: Mon, 15 Feb 2016 16:21:55 +0100 Message-ID: <87povy0zjg.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 15:22:16 -0000 On 2016-02-15, at 02:29, Emanuel Berg wrote: > Marcin Borkowski writes: > >> The problem: I hit U (mu4e-update-mail-and-index) >> way too often. I want Emacs to help me fight this >> unproductive habit. > > The solution: every time you do it - I assume you hit > the final `u' with your right index finger - instantly > slap your right hand as hard as you can with your > left hand. > > The only time you will not punish yourself this way is > when you peace and quiet and with no rush to it > beforehand thinks "yes, now is the time to check the > mail!" - and then you do it. Not funny. >> Also, I'm a mathematician, and I want to have >> a general solution to the problem of launching >> certain commands too often. > > It is more something an engineer would do so perhaps > you are that at heart. I thought I knew who I am. Now I don't know that anymore. Even less funny. Thank you so much. :-P Just kidding, to make things clear. But with a grain of truth. We mathematicians tend to make fun of engineers. I used to do that, too. (I still do that, it's soooo much fun.) But OTOH, engineers are cooler than pure mathematicians in one respect: they (sometimes) come up with solutions - sometimes ugly, sometimes stupid - to /real world problems/. Hard to beat that. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Mon Feb 15 12:07:09 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVMc9-0007xO-Dk for mharc-help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 12:07:09 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVMc7-0007xF-0T for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 12:07:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVMc3-0003jl-13 for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 12:07:06 -0500 Received: from mail.tuxteam.de ([5.199.139.25]:52589 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVMc2-0003fl-Re for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 12:07:02 -0500 Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1aVM4J-0003Vu-Kr for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 17:32:11 +0100 Date: Mon, 15 Feb 2016 17:32:11 +0100 To: help-gnu-emacs@gnu.org Subject: Re: Making sure I'm not checking email (or doing other things) too often Message-ID: <20160215163211.GB13023@tuxteam.de> References: <87d1rz2ebl.fsf@mbork.pl> <87lh6mhic2.fsf@debian.uxu> <87povy0zjg.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed In-Reply-To: <87povy0zjg.fsf@mbork.pl> User-Agent: Mutt/1.5.21 (2010-09-15) From: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 17:07:07 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, Feb 15, 2016 at 04:21:55PM +0100, Marcin Borkowski wrote: [...] > I thought I knew who I am. > > Now I don't know that anymore. > > Even less funny. > > Thank you so much. Mathematician, engineer... Mathematicians are the engineers of abstraction (/me runs for cover) regards - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlbB/YsACgkQBcgs9XrR2kawHwCeOGhqVCd4km02htNPuySXddk6 M4YAnjNOyqGDrGawF6b6eRB6BP2mpY8n =D03X -----END PGP SIGNATURE----- From MAILER-DAEMON Mon Feb 15 13:21:25 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVNm1-0001Ld-CE for mharc-help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 13:21:25 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVNly-0001HJ-JE for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 13:21:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVNlv-0006SE-Cj for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 13:21:22 -0500 Received: from plane.gmane.org ([80.91.229.3]:39782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVNlv-0006S9-5G for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 13:21:19 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aVNlr-0006wV-Lq for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 19:21:15 +0100 Received: from http-v.fe.bosch.de ([194.39.218.10]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Feb 2016 19:21:15 +0100 Received: from 3246251196ryan by http-v.fe.bosch.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Feb 2016 19:21:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: rjd <3246251196ryan@gmail.com> Subject: speedbar Date: Mon, 15 Feb 2016 18:21:10 +0000 (UTC) Lines: 11 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 194.39.218.10 (Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0; Mozilla Firefox 38.6.0 - 11662-) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 18:21:23 -0000 Can I customize sr-speedbar such that when I open a file in the tree the newly opened buffer becomes active. Since I run a hook function that relies on buffer-file-name and the active buffer remains in the sr-speedbar window, then buffer-file-name is nil. What I want is the new buffer to be active so the hook will function correctly. Unless there is a variable that sr-speedbar uses to store the path of the selected file, then I guess I could use that. Cheers. From MAILER-DAEMON Mon Feb 15 16:10:09 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVQPJ-0000uB-4f for mharc-help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 16:10:09 -0500 Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Joost Kremers Newsgroups: gnu.emacs.help Subject: Re: Making sure I'm not checking email (or doing other things) too often Date: 15 Feb 2016 21:10:05 GMT Lines: 13 Message-ID: References: <87d1rz2ebl.fsf@mbork.pl> <87lh6mhic2.fsf@debian.uxu> X-Trace: individual.net Iz0ZjmOfOOLchXrt44iNZgsNs3vTgIve/0vvhfIgMxo3Hqcqhw Cancel-Lock: sha1:mcg3VEgCwD2vszAMgyJtshWUDBg= Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/1.0.1 (Linux) Xref: usenet.stanford.edu gnu.emacs.help:216892 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2016 21:10:08 -0000 Marcin Borkowski wrote: > But OTOH, engineers are cooler > than pure mathematicians in one respect: they (sometimes) come up with > solutions - sometimes ugly, sometimes stupid - to /real world problems/. > Hard to beat that. Bah. Real world is overrated. -- Joost Kremers joostkremers@fastmail.fm Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9) From MAILER-DAEMON Mon Feb 15 19:37:29 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVTdx-0004NE-BC for mharc-help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 19:37:29 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVTdu-0004Mf-Sx for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 19:37:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVTdp-0005zS-Re for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 19:37:26 -0500 Received: from plane.gmane.org ([80.91.229.3]:49075) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVTdp-0005zN-KF for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 19:37:21 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aVTdn-0008Vh-SC for help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 01:37:19 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Feb 2016 01:37:19 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Feb 2016 01:37:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Making sure I'm not checking email (or doing other things) too often Date: Tue, 16 Feb 2016 01:37:11 +0100 Lines: 66 Message-ID: <8737stlcco.fsf@debian.uxu> References: <87d1rz2ebl.fsf@mbork.pl> <87lh6mhic2.fsf@debian.uxu> <87povy0zjg.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:kTPu88JDaFQy1xafTie23qh+bjI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2016 00:37:28 -0000 Marcin Borkowski writes: >>> The problem: I hit U (mu4e-update-mail-and-index) >>> way too often. I want Emacs to help me fight this >>> unproductive habit. >> >> The solution: every time you do it - I assume you >> hit the final `u' with your right index finger - >> instantly slap your right hand as hard as you can >> with your left hand. The only time you will not >> punish yourself this way is when you peace and >> quiet and with no rush to it beforehand thinks >> "yes, now is the time to check the mail!" - and >> then you do it. > > Not funny. But it works. If you want an "Emacs" solution you can simply assign a much *longer* shortcut, like three strikes and perhaps involving the functions keys or something as un-ergonomic. The first time you strike it (without wanting to) it will take some additional time compared to 'U', so half thru the sequence (or so) you'll be able to stop. The next time you do it you will remember (your brain will at some level) that the previous time you did stop. So this time you will stop not half thru the sequence but 1/3 in. And so on until you do not even initiate the hand movement to do it. At that time there is only the thought left, which will disappear exactly the same way. This is actually not that different from the "slapping" solution. It is all about associating with some thing else - pain, or "incompleteness" of the action - here, they fill the same spot. > engineers are cooler than pure mathematicians in one > respect: they (sometimes) come up with solutions - > sometimes ugly, sometimes stupid - to /real world > problems/. Hard to beat that. Indeed. For example: http://user.it.uu.se/~embe8573/pics/door.jpg But, what engineers and mathematicians do or do not do *in general* I'd be damned to say. Specifically, when mathematicians do Lisp they are more engineers than mathematicians, save for if the Lisp has some application to math or DP-ish computation, in which case they are a bit of both. And this is how it should be! It it like the NHL playoff. To win it, goal scorers have to check and checkers have to score goals... -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Mon Feb 15 19:48:50 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVTow-0006jV-Du for mharc-help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 19:48:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVTot-0006hX-6s for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 19:48:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVTop-0008DN-VC for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 19:48:47 -0500 Received: from plane.gmane.org ([80.91.229.3]:49576) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVTop-0008D8-Lu for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 19:48:43 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aVTon-0006fH-A4 for help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 01:48:41 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Feb 2016 01:48:41 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Feb 2016 01:48:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Making sure I'm not checking email (or doing other things) too often Date: Tue, 16 Feb 2016 01:48:29 +0100 Lines: 33 Message-ID: <87y4aljx9e.fsf@debian.uxu> References: <87d1rz2ebl.fsf@mbork.pl> <87lh6mhic2.fsf@debian.uxu> <87povy0zjg.fsf@mbork.pl> <20160215163211.GB13023@tuxteam.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:54/DIk37JqakLrfMHm99rrM6xVw= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 Cc: Dag Holmgren X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2016 00:48:48 -0000 writes: > Mathematician, engineer... Mathematicians are the > engineers of abstraction (/me runs for cover) What is that joke? Biology is applied chemistry which is applied physics which is applied math which is applied logic! But only inexperienced (young) people deduct from this that logic is "purer" or cooler than biology... Just venture into an old-growth forest ("ancient woodland" to the UK people) and see for yourself what is cooler... (It is "urskog" in Swedish which is "paleo forest" or "primeval forest" which - the second - is listed on the Wikipedia page for "old-growth forest" [1] as meaning the same.) This definition is better: If it's still, it is physics. If it moves, it is biology. And if it blows up, it is chemistry! :) "What a reaction!" [1] https://en.wikipedia.org/wiki/Old-growth_forest -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Mon Feb 15 19:56:59 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVTwp-0000RH-Su for mharc-help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 19:56:59 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVTwo-0000R7-3E for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 19:56:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVTwk-0001Gc-Tf for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 19:56:58 -0500 Received: from plane.gmane.org ([80.91.229.3]:50116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVTwk-0001EZ-Lo for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 19:56:54 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aVTwi-0003WK-Ay for help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 01:56:52 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Feb 2016 01:56:52 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Feb 2016 01:56:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Making sure I'm not checking email (or doing other things) too often Date: Tue, 16 Feb 2016 01:56:41 +0100 Lines: 21 Message-ID: <87si0tjwvq.fsf@debian.uxu> References: <87d1rz2ebl.fsf@mbork.pl> <87lh6mhic2.fsf@debian.uxu> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:lyOXeBFgbBWHfXGSUT9bXnNmZ+8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2016 00:56:59 -0000 Joost Kremers writes: >> But OTOH, engineers are cooler than pure >> mathematicians in one respect: they (sometimes) >> come up with solutions - sometimes ugly, sometimes >> stupid - to /real world problems/. Hard to >> beat that. > > Bah. Real world is overrated. Dig a hole, remove all the reed, make a wall with stones and clay, then raise a palisade and fill the hole with water and watch the birds come. After doing that two weeks, tell me if you feel a pressing need to stare into a monitor and push buttons! -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Mon Feb 15 20:03:06 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVU2k-0001no-Gq for mharc-help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 20:03:06 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52421) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVU2i-0001nI-2l for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 20:03:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVU2d-0002f9-3m for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 20:03:04 -0500 Received: from plane.gmane.org ([80.91.229.3]:50663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVU2c-0002f3-SM for help-gnu-emacs@gnu.org; Mon, 15 Feb 2016 20:02:59 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aVU2b-0007ni-3G for help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 02:02:57 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Feb 2016 02:02:57 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Feb 2016 02:02:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: speedbar Date: Tue, 16 Feb 2016 02:02:50 +0100 Lines: 38 Message-ID: <87oabhjwlh.fsf@debian.uxu> References: Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:JvzYyuBtpRinJgKnC2iGXpixmBQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2016 01:03:05 -0000 rjd <3246251196ryan@gmail.com> writes: > Can I customize sr-speedbar such that when I open > a file in the tree the newly opened buffer > becomes active. > > Since I run a hook function that relies on > buffer-file-name and the active buffer remains in > the sr-speedbar window, then buffer-file-name is > nil. What I want is the new buffer to be active so > the hook will function correctly. > > Unless there is a variable that sr-speedbar uses to > store the path of the selected file, then I guess > I could use that. I don't use sr-speedbar but yes, it should come with that, otherwise it is bad. Make a search with `apropos' and perhaps `apropos-value' (with the buffer name as the value). If it isn't there you could ask the speedbar people where it is. As a last effort you can fetch the data which I suppose is found in the speedbar buffer - `thing-at-point' - and reconstruct the complete data that way. But I'd consider that a secondary plan because those operations are always error-prone. They are considered hacks, probably for good reasons. The only case when they are the exact right thing to do is when they work flawlessly! -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Tue Feb 16 03:13:06 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVaks-0003je-79 for mharc-help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 03:13:06 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVako-0003fz-9h for help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 03:13:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVakj-0006YI-Aa for help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 03:13:02 -0500 Received: from mail.tuxteam.de ([5.199.139.25]:54410 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVakj-0006Y9-5A for help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 03:12:57 -0500 Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1aVaD9-0002Al-4t for help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 08:38:15 +0100 Date: Tue, 16 Feb 2016 08:38:15 +0100 To: help-gnu-emacs@gnu.org Subject: Re: Making sure I'm not checking email (or doing other things) too often Message-ID: <20160216073815.GA7993@tuxteam.de> References: <87d1rz2ebl.fsf@mbork.pl> <87lh6mhic2.fsf@debian.uxu> <87povy0zjg.fsf@mbork.pl> <20160215163211.GB13023@tuxteam.de> <87y4aljx9e.fsf@debian.uxu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed In-Reply-To: <87y4aljx9e.fsf@debian.uxu> User-Agent: Mutt/1.5.21 (2010-09-15) From: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2016 08:13:03 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Feb 16, 2016 at 01:48:29AM +0100, Emanuel Berg wrote: > writes: > > > Mathematician, engineer... Mathematicians are the > > engineers of abstraction (/me runs for cover) > > What is that joke? > [...] And if it blows up, it is chemistry! That's why I was running for cover. I *knew* it would end blowing up. It always does ;-P regards - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlbC0ecACgkQBcgs9XrR2ka2OACdHpuo4iazwaeXOhiYY8bv65sT GpkAnieiCBAOdw0z1QaPX/03c/y3XWhv =GdoF -----END PGP SIGNATURE----- From MAILER-DAEMON Tue Feb 16 09:16:53 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVgQv-0006Z3-Tp for mharc-help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 09:16:53 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57366) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVgQo-0006Tx-L2 for help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 09:16:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVgQj-0002yj-0R for help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 09:16:46 -0500 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:36731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVgQi-0002yX-Ly for help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 09:16:40 -0500 Received: by mail-wm0-x231.google.com with SMTP id g62so109665299wme.1 for ; Tue, 16 Feb 2016 06:16:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=introo-me.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to:content-type; bh=xoq2SDLulcOQ8/XiuC/3l8TgJjTCuwLVgZ0baMRRNG8=; b=CqS35WbLJlCX15SfA5/M0rUavveqKasGz1cDFKuk9mEl/+G0TA0G9VI7BxPnOl8OBc qRKuKCQ027gJLnbPmbFPymHz58bDb5mPeusyu/VrJAKa8Te/zbMcBuCxnOQOSjIOrdrQ sCogKU0a+cwGI6yJPd0dNXmP5LYapPMNJSt74dWQ+D++244DxZxecfm9Pqz8rGWOoZ2j PAhIxFYeRbk6qrK4RYAynVVpc4JXZtwLfkF8evQrBb86NSnj8ZNP9ybJ7nq5QwTJKEkc ttbh1oAtciCf+DYZVGtTVcd4dXetrUW7UpIfbchLz3Ke5vFGSYYJNt3J1WkY8Ggyjgi9 kIrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=xoq2SDLulcOQ8/XiuC/3l8TgJjTCuwLVgZ0baMRRNG8=; b=PWsilTj8K+qB2FSGLzkmCViTGilgVPJ0E4N+hO77o/2fR0PMm1CRKSBIJDE7Ov/+Yv GUYZkxvPBN+g9xfDrXW0qSg09XhyS0xtPc9SfWCfEZdRvYodk04Qhj2JWyu8eihJrDwh e8wQAHI26bc8jTa6pDuEBKZoKjDVo0fiH3oUyvZyPUNA9S1F4tS0ORD2aWfeGSFyzBr+ EAplB2ZO/YBWWKS6GU2Zyr7Wppes6b3Zg9SA8SBog1ifDYJ3urvbre5JkJOLIGSi9bB4 AjO68TJCj00tIsDcsNdsdPTd0MrX1sBf0nJEWwbdrgc98uVui7CH4qyiLyewY7OslEq8 WiTA== X-Gm-Message-State: AG10YORZ43nSpYRAIkXnIXvZ20QC45LH6koT8hjZSuwmdYeMDicUvUtuG9tm95nh60rA03vh781jfBawgooLow== MIME-Version: 1.0 X-Received: by 10.194.92.107 with SMTP id cl11mr26500604wjb.21.1455632199782; Tue, 16 Feb 2016 06:16:39 -0800 (PST) Received: by 10.27.231.69 with HTTP; Tue, 16 Feb 2016 06:16:39 -0800 (PST) X-Originating-IP: [143.89.244.107] Date: Tue, 16 Feb 2016 22:16:39 +0800 Message-ID: Subject: How to find elisp info doc for a function? From: Shiyao Ma To: help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::231 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2016 14:16:52 -0000 SGksDQoNCkZvciBleGFtcGxlLCBob3cgY2FuIEkgZmluZCB0aGUgZWxpc3AgaW5mbyBkb2MgZm9y IGBtYXBjb25jYXQnICByaWdodA0KaW5zaWRlIGVtYWNzPw0KDQotLSANCg0K5ZC+6Lyp44Gv54yr 44Gn44GC44KL44CC44Ob44O844Og44O844Oa44O844K444GvaHR0cHM6Ly9pbnRyb28ubWUgPGh0 dHA6Ly9pbnRyb28ubWU+44CCDQo= From MAILER-DAEMON Tue Feb 16 09:51:00 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVgxw-0007cX-0v for mharc-help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 09:51:00 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVgxt-0007Zh-Rt for help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 09:50:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVgxo-0004SC-Ps for help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 09:50:57 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:29250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVgxo-0004Pp-Gv for help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 09:50:52 -0500 Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u1GEoo82028940 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 16 Feb 2016 14:50:50 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.14.4/8.13.8) with ESMTP id u1GEom0d032503 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 16 Feb 2016 14:50:48 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u1GEomkX002935; Tue, 16 Feb 2016 14:50:48 GMT MIME-Version: 1.0 Message-ID: Date: Tue, 16 Feb 2016 06:50:46 -0800 (PST) From: Drew Adams Sender: Drew Adams To: Shiyao Ma , help-gnu-emacs@gnu.org Subject: RE: How to find elisp info doc for a function? References: In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: userv0022.oracle.com [156.151.31.74] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2016 14:50:58 -0000 > For example, how can I find the elisp info doc for `mapconcat' right > inside emacs? Use command `info-lookup-symbol', bound by default to `C-h S'. But first, put the cursor in a buffer that is in Emacs-Lisp mode. From MAILER-DAEMON Tue Feb 16 20:04:50 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVqXy-0001rY-4V for mharc-help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 20:04:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60101) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVqXv-0001q6-4Z for help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 20:04:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVqXr-0000Nn-Uy for help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 20:04:47 -0500 Received: from plane.gmane.org ([80.91.229.3]:40458) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVqXr-0000NN-NU for help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 20:04:43 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aVqXo-0006D3-IU for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 02:04:40 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Feb 2016 02:04:40 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Feb 2016 02:04:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: How to find elisp info doc for a function? Date: Wed, 17 Feb 2016 02:04:33 +0100 Lines: 30 Message-ID: <87bn7gtae6.fsf@debian.uxu> References: Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:Bx1szKkWPe5rDS8xMBuflZeUgzg= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2016 01:04:48 -0000 Drew Adams writes: >> For example, how can I find the elisp info doc for >> `mapconcat' right inside emacs? > > Use command `info-lookup-symbol', bound by default > to `C-h S'. > > But first, put the cursor in a buffer that is in > Emacs-Lisp mode. Either do that, or C-u C-h S emacs-lisp-mode RET mapconcat RET If you (the OP) do this several times a day, you can do something like this and bind it to a shortcut: (defun info-lookup-elisp-symbol (symbol) (interactive "Ssymbol: ") (info-lookup-symbol symbol 'emacs-lisp-mode)) It can be polished even further with a default to the symbol at point, however it is only educative to have to spell out the whole function name when you look it up. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Tue Feb 16 21:38:38 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVs0j-0003rE-W6 for mharc-help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 21:38:37 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVs0h-0003qr-JY for help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 21:38:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVs0e-00020U-D7 for help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 21:38:35 -0500 Received: from plane.gmane.org ([80.91.229.3]:44329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVs0e-00020P-5O for help-gnu-emacs@gnu.org; Tue, 16 Feb 2016 21:38:32 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aVs0b-0004yu-3z for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 03:38:29 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Feb 2016 03:38:29 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Feb 2016 03:38:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Making sure I'm not checking email (or doing other things) too often Date: Wed, 17 Feb 2016 03:38:20 +0100 Lines: 50 Message-ID: <877fi4t61v.fsf@debian.uxu> References: <87d1rz2ebl.fsf@mbork.pl> <87lh6mhic2.fsf@debian.uxu> <87povy0zjg.fsf@mbork.pl> <20160215163211.GB13023@tuxteam.de> <87y4aljx9e.fsf@debian.uxu> <20160216073815.GA7993@tuxteam.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:1mu8SLiSJHuWV3a4HTKFSaz4U9o= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2016 02:38:37 -0000 writes: >>> Mathematician, engineer... Mathematicians are the >>> engineers of abstraction (/me runs for cover) >> >> What is that joke? [...] And if it blows up, it >> is chemistry! > > That's why I was running for cover. I *knew* it > would end blowing up. It always does ;-P Math is sort of cool especially if you have several huge whiteboards and can spend hours drawing figures perfectly and write down even the most basic connection without having to erase anything until you are done. Problem is pretty soon I think you will reach a level where only a few people can take an interest in what you do. Because it is advanced, yes, but also because of the nature of it. Compare this to programming. If you do something really advanced, like Quake or the F/A-18 Hornet simulator, despite the 'advancedness', thousands of people, from kid to professor can understand and enjoy and even learn from it. On the other hand, even tho you consider yourself an advanced programmer, you can do something trivial like what I just did in the other thread: (defun info-lookup-elisp-symbol (symbol) (interactive "Ssymbol: ") (info-lookup-symbol symbol 'emacs-lisp-mode)) It is trivial, but like I said, if you do it every day, an advanced person can benefit from the advanced programmer's trivial code, because he/she (not the programmer) can then not have to focus on that but put his/her mind to whatever is advanced! On the third hand, because programming isn't really difficult, perhaps we *should* encourage people to take up math. I mean, they can do programming in their spare time :) -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Wed Feb 17 01:39:36 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVvlw-0002zy-Oh for mharc-help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 01:39:36 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34190) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVvlu-0002z7-5o for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 01:39:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVvlq-0007Lr-V9 for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 01:39:34 -0500 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:33317) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVvlq-0007Lk-K6 for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 01:39:30 -0500 Received: by mail-wm0-x236.google.com with SMTP id g62so222864909wme.0 for ; Tue, 16 Feb 2016 22:39:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=introo-me.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=edDmCZ4eZi8/IrpXJvW1ZGsw7Y/CHU/AsZ0EUD8vyHE=; b=dYQEGWABsdFr7gulxvID5FXlcjCVgxwi16O/lGJRxA8f+wbFv5ltf5yiWWx2eOV03h RChdNrhlcsE7UfehjI9Wx9BGUgRNedAY50B03ZATnnzvObueT4SBVpfYjRS0s2GEhlc/ 6FTp3rkkKeK3Rpos9PjoPyzRgDLZKe8BVNAQeYBBnHvVw3O60g8eQmeWQztW2Tusd8On ikmcpdtYvtiXcGUDXezRdZ8Y9FR8M9CAowViavmArZAnzfImaZgMP15eVfrrQ44GgtWb u1zQSHeNwuJzgBeiaPMn7HOqR7Iq58gPW0HMK4wJn3kqiX1zn/ZB71+T4teH9pqWCbF+ 6bIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=edDmCZ4eZi8/IrpXJvW1ZGsw7Y/CHU/AsZ0EUD8vyHE=; b=DtKCNU2LBb0558jV5tEamce5Ye2i8PNatJHxxoaa8IXt9QetLCSl7HThvH10B2VAi1 izt6HwpmXnAeNDHiI/lVX1i2uLMGdfr1qh07nTZFPHvhlhYm0fbXS4zC/Qp0aRxxWtea jZ40azQWP4rRuTcP0ajXpFkLjfy3IDVBdA2oYp0adaZnwofRUSYAlG+K6v0CrQWkQiWY MeyVbZx8ghXxrUPNuHwiLpmBZJr3TTl2lLLMSDxFxE1r8WhpUxcWrdumEZgDCInw3rF+ fH5veAheb+vD4ky0a/wGEJ4dRe0TXTiGt4xFpjIhPFiQ0xBBjfSSoICJ1TWlBgP2jegn pjWw== X-Gm-Message-State: AG10YOS8/m5posJJBIRfuTFLwSfAifMm2bM6y9ZQEEAxy+tbPnU+gXDB5T4mplCqJFsnUXmMj8fDECNzsCPcgg== MIME-Version: 1.0 X-Received: by 10.194.78.175 with SMTP id c15mr26695406wjx.16.1455691169868; Tue, 16 Feb 2016 22:39:29 -0800 (PST) Received: by 10.27.231.69 with HTTP; Tue, 16 Feb 2016 22:39:29 -0800 (PST) X-Originating-IP: [143.89.244.107] In-Reply-To: <87bn7gtae6.fsf@debian.uxu> References: <87bn7gtae6.fsf@debian.uxu> Date: Wed, 17 Feb 2016 14:39:29 +0800 Message-ID: Subject: Re: How to find elisp info doc for a function? From: Shiyao Ma To: help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::236 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2016 06:39:34 -0000 Cool. Thanks very much for you two guys. From MAILER-DAEMON Wed Feb 17 03:45:40 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aVxjw-0006RV-6d for mharc-help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 03:45:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33892) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVvkO-0002oG-UG for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 01:38:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aVvkL-00079U-MK for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 01:38:00 -0500 Received: from mail-pf0-x231.google.com ([2607:f8b0:400e:c00::231]:33666) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aVvkL-00079E-EN for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 01:37:57 -0500 Received: by mail-pf0-x231.google.com with SMTP id q63so6011861pfb.0 for ; Tue, 16 Feb 2016 22:37:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=Dl2mUuU3h1fQSu4Cdv7ASUdbrpRCh4QQp/wPumAt/HI=; b=q1TKhKJEDc+uJ8lVd94iTnnBpgFRnAJ9H+DYdA7wuTgOjgVTqx0noVSYBevGLy1LQr BlkZ15mlApjU5FhkbWYA+ng30alhJz1XAg13lbG+qw0Iu1qRrm8ci0VA3GPMRqQls4Nt rgWMahYNspsYsYIsQLTeMSx0EDEpc88DePUmAUAhThy9h1bAYZpbcSf03yBcH4r0Me5d HWRorzwI1MOn5R1zrp2lGiQN9vWXRGTOWYX/TicHab/9QDon7OVN0LmnOu2Tt1xqLyxo +bqikQ6ZJpizG78ohCYjQat9dxWHRze5AcWVb2slLJhNSkK9PlHR8CGyW17ZIOLkWobm GjbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:content-transfer-encoding :subject:message-id:date:to:mime-version; bh=Dl2mUuU3h1fQSu4Cdv7ASUdbrpRCh4QQp/wPumAt/HI=; b=WxAf8jbwP6+DZI9/4rpNAPmwrGsrjjZpk+CPDqe5xJPC0D0XEOGWmA/+AiCXPplTRd cnpE3M0ACmmfOgNdaAnNTIQmX3OX9PGhSf3swasgR7m7UkBvF/y+VJ379JmtmqoyGfkK TnA2eR61HPvJBko3W0S/DdNv7y0X6Mie6sFStIegPI3V1TbdF+rKH6qQbfNtOimqmc6B vC1MiSeaDZFkxbwCiK7WO293GcgNgRP1KPRdbVlsYMsvXbgH/up9vWRhRzVTODmlmGT8 WbGdUPXuQokVCVu8En7+SvwVoeWzEGUoo9lLalX/L5AoGbAqtbyo+ZZ4CLF9sOPN4qPd /dtQ== X-Gm-Message-State: AG10YOSXUYacCLQCOPtFA/Y1UknT+0rDmDqPe/FGlP4hN9n6T2FXa/OqnJgWNQbGsT3+lg== X-Received: by 10.98.19.205 with SMTP id 74mr37072671pft.31.1455691076520; Tue, 16 Feb 2016 22:37:56 -0800 (PST) Received: from [127.0.0.1] ([107.170.207.182]) by smtp.gmail.com with ESMTPSA id mk3sm50250164pab.20.2016.02.16.22.37.54 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 16 Feb 2016 22:37:55 -0800 (PST) From: =?utf-8?B?56ul5L+K57+U?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: org-mode + org-ref + ox-pandoc Message-Id: <20D077CA-6BD2-41CB-9DF1-5130ECA588DE@gmail.com> Date: Wed, 17 Feb 2016 14:37:45 +0800 To: help-gnu-emacs@gnu.org Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) X-Mailer: Apple Mail (2.3112) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::231 X-Mailman-Approved-At: Wed, 17 Feb 2016 03:45:38 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2016 06:38:01 -0000 I=E2=80=99m trying to use ox-pandoc in org to export docx I=E2=80=99m using elpa=EF=BC=8Call the packages are updated the error is=20 org-org-link: Symbol's function definition is void: = org-export-custom-protocol-maybe How to solve this problem?= From MAILER-DAEMON Wed Feb 17 08:41:41 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aW2MP-0004tO-2g for mharc-help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 08:41:41 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW2MM-0004t9-Vp for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 08:41:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aW2MJ-0003HQ-Ne for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 08:41:38 -0500 Received: from plane.gmane.org ([80.91.229.3]:54214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW2MJ-0003HB-GR for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 08:41:35 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aW2MH-00063Z-Vb for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 14:41:34 +0100 Received: from pool-74-104-158-160.bstnma.fios.verizon.net ([74.104.158.160]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Feb 2016 14:41:33 +0100 Received: from ndokos by pool-74-104-158-160.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Feb 2016 14:41:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Nick Dokos Subject: Re: org-mode + org-ref + ox-pandoc Date: Wed, 17 Feb 2016 08:41:18 -0500 Lines: 24 Message-ID: <8760xn1mkh.fsf@pierrot.dokosmarshall.org> References: <20D077CA-6BD2-41CB-9DF1-5130ECA588DE@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-74-104-158-160.bstnma.fios.verizon.net User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:R2nlZFePOzj+o0D9Qye7253cjpc= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2016 13:41:40 -0000 童俊翔 writes: > I’m trying to use ox-pandoc in org to export docx > > I’m using elpa,all the packages are updated > > the error is > > org-org-link: Symbol's function definition is void: org-export-custom-protocol-maybe > > How to solve this problem? > 1. Take it to the orgmode mailing list - you are more likely to get a response there. 2. Read the section in the manual that tells you how to prepare a useful backtrace: (info "(org) Feedback") and go to the last subsection. Follow the steps and post the backtrace. -- Nick From MAILER-DAEMON Wed Feb 17 08:45:11 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aW2Pn-0006mu-Ap for mharc-help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 08:45:11 -0500 X-Received: by 10.50.43.227 with SMTP id z3mr10330622igl.1.1455716578170; Wed, 17 Feb 2016 05:42:58 -0800 (PST) X-Received: by 10.50.78.169 with SMTP id c9mr53862igx.5.1455716578147; Wed, 17 Feb 2016 05:42:58 -0800 (PST) Path: usenet.stanford.edu!ok5no2949324igc.0!news-out.google.com!kr2ni1259igb.0!nntp.google.com!ok5no2949313igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: gnu.emacs.help Date: Wed, 17 Feb 2016 05:42:57 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=61.2.49.248; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui NNTP-Posting-Host: 61.2.49.248 References: <87d1rz2ebl.fsf@mbork.pl> <87lh6mhic2.fsf@debian.uxu> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Making sure I'm not checking email (or doing other things) too often From: Rusi Injection-Date: Wed, 17 Feb 2016 13:42:58 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: usenet.stanford.edu gnu.emacs.help:216905 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2016 13:45:10 -0000 On Tuesday, February 16, 2016 at 2:40:09 AM UTC+5:30, Joost Kremers wrote: > Marcin Borkowski wrote: > > But OTOH, engineers are cooler > > than pure mathematicians in one respect: they (sometimes) come up with > > solutions - sometimes ugly, sometimes stupid - to /real world problems/. > > Hard to beat that. > > Bah. Real world is overrated. Saw this in someone's signature (cant trace exact source): "Real world" is a phrase that cannot be written without quotation marks From MAILER-DAEMON Wed Feb 17 13:01:50 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aW6QA-0001X0-BO for mharc-help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 13:01:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW6Q5-0001Wg-LP for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 13:01:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aW6Q2-0004cZ-Fn for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 13:01:45 -0500 Received: from plane.gmane.org ([80.91.229.3]:46475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW6Q2-0004cG-8b for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 13:01:42 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aW6Q1-0003Uo-1b for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 19:01:41 +0100 Received: from ip-37-24-91-26.hsi14.unitymediagroup.de ([37.24.91.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Feb 2016 19:01:41 +0100 Received: from grothe_news by ip-37-24-91-26.hsi14.unitymediagroup.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Feb 2016 19:01:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Thorsten Grothe Subject: Org Mode html export refresh browser Date: Wed, 17 Feb 2016 19:01:34 +0100 Lines: 8 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ip-37-24-91-26.hsi14.unitymediagroup.de X-Mozilla-News-Host: news://news.gmane.org:119 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2016 18:01:49 -0000 Dear list, I'm using org mode a lot and export my file to html often. Is there a way to refresh the browser automatically everytime when my org file is exported? I'm using chromium and firefox on linux here if that matters. Regards Thorsten Grothe From MAILER-DAEMON Wed Feb 17 13:33:29 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aW6un-0001ir-SM for mharc-help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 13:33:29 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW6ul-0001gh-VT for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 13:33:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aW6uk-0003bJ-R0 for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 13:33:27 -0500 Received: from mail-ob0-x231.google.com ([2607:f8b0:4003:c01::231]:34179) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW6uk-0003bB-Lr for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 13:33:26 -0500 Received: by mail-ob0-x231.google.com with SMTP id wb13so28238264obb.1 for ; Wed, 17 Feb 2016 10:33:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=LDKDv+e8EGeq9Wr5kvpqPCBRr9tM7mIzgiHHSdmnatM=; b=WyM0lHVqwCRVTctN1WgEujixBbCDAoTKQSkqkv8jk+fJw6lOClvTPhPqBh7ypugDUX Y3nBC9zR8NK2ET+ESVz/2QJO0SuoOK2RFYGKxYx7CbV580IcRW/dNPnfQej97zySB8XG 4l0Ou6XRo4yTL4beh8lSwKZCKdkO/S7UgHJlZq1rRzA4iLv5c2Hqcm00FSUo7Ze8Sbdw D1q8ipBMRZlZA/YNpjRpkMOyUcEaqeedhwqE4xi7nmDkWF3mbrxgM34Du/4/32QlOnou Y/xHG6FT+HDH4Lneq9B04czGfPlvksvsPpWnFY3iZnmYGdKFyQFXYp6flGuyM+WGf3oG 8UMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=LDKDv+e8EGeq9Wr5kvpqPCBRr9tM7mIzgiHHSdmnatM=; b=XQOiXepmZMCFHH/raxnNFQ7lJKpLNWAMcy0vvFTheiv4hFxkyLEWQRSLYG9XvrX2at 9lNBWzayouQY1jzcwWrNIDBtHwoyXjOHPocH9doGnWCO6rD9neop4xiyBy4jsuDFhvzn W4j8Bcy2OgvpkUpsH+HDlUPLDD8cwzULAqloGgLHF5mAphJpnBDyitp27dsQAx+83eDm tzZRyiYB1I0dickRz5F4OmTfpj08yzssNs10GXNhOkjON+BRpjM3WmNNUfAjb9rna//9 zM82C2zyse75mgS5LtzSuR5S+ojirstTBrk9x9VLypbAV7DmsrJAmkRs351cGgw4/b2s Bdqg== X-Gm-Message-State: AG10YOTVdJIzkk0P9SBlKn1YHsWz6CtAFlcGvRgYIXI4YAQmd5JRllTayAT7pih24oPfkKPkz0lJJuYsgAMSKg== X-Received: by 10.60.60.3 with SMTP id d3mr2425618oer.24.1455734005856; Wed, 17 Feb 2016 10:33:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.202.201.73 with HTTP; Wed, 17 Feb 2016 10:32:46 -0800 (PST) In-Reply-To: References: From: Kaushal Modi Date: Wed, 17 Feb 2016 13:32:46 -0500 Message-ID: Subject: Re: Org Mode html export refresh browser To: Thorsten Grothe X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c01::231 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Help Gnu Emacs mailing list X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2016 18:33:28 -0000 I haven't tried but you may want to check out this package: https://github.com/RenWenshan/emacs-moz-controller You can then have a wrapper fn to first export to html and then open that file/refresh the browser using moz-controller. -- Kaushal Modi On Wed, Feb 17, 2016 at 1:01 PM, Thorsten Grothe wrote: > Dear list, > > I'm using org mode a lot and export my file to html often. Is there a way > to refresh the browser automatically everytime when my org file is > exported? I'm using chromium and firefox on linux here if that matters. > > Regards > Thorsten Grothe > > > From MAILER-DAEMON Wed Feb 17 13:35:25 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aW6wf-0002jg-HH for mharc-help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 13:35:25 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57487) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW6wd-0002j9-6D for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 13:35:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aW6wY-0004IH-70 for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 13:35:23 -0500 Received: from plane.gmane.org ([80.91.229.3]:49175) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW6wY-0004IB-05 for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 13:35:18 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aW6wX-0003zW-0A for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 19:35:17 +0100 Received: from ip-37-24-91-26.hsi14.unitymediagroup.de ([37.24.91.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Feb 2016 19:35:16 +0100 Received: from grothe_news by ip-37-24-91-26.hsi14.unitymediagroup.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 17 Feb 2016 19:35:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Thorsten Grothe Subject: Re: Org Mode html export refresh browser Date: Wed, 17 Feb 2016 19:35:02 +0100 Lines: 12 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ip-37-24-91-26.hsi14.unitymediagroup.de User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2016 18:35:24 -0000 Am 17.02.2016 um 19:32 schrieb Kaushal Modi: > I haven't tried but you may want to check out this package: > https://github.com/RenWenshan/emacs-moz-controller > > You can then have a wrapper fn to first export to html and then open that > file/refresh the browser using moz-controller. Thank you I will look at it! Regards Thorsten From MAILER-DAEMON Wed Feb 17 16:00:31 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aW9D5-0006hR-EK for mharc-help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 16:00:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW8ft-0000zO-RA for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 15:26:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aW8fs-0005Xl-Vu for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 15:26:13 -0500 Received: from mail-vk0-x22a.google.com ([2607:f8b0:400c:c05::22a]:33072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW8fs-0005Xf-Ql for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 15:26:12 -0500 Received: by mail-vk0-x22a.google.com with SMTP id k196so25792682vka.0 for ; Wed, 17 Feb 2016 12:26:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=uqnWKF6bXIuOGwz6cPOZxGkArRSnbBZbNgs+5XUzIoY=; b=bRPwL6Q663qt9Fy2ezTYNNkouaTQprHfLi/6qrNb5B9SkQTU4bFe2FMNd4SkEpu1Xo 2Ml+WXko3cQNhIpmJjMsXKbqBHxgRxSwP4we0kkHfBDX04RlI+uKBW3QPGmW0ncKJZE3 Fo5HB9Tao4GlMnDDmD2CGjDJS14Z4jT0y6C9lvE6Vkp3JGo0ftMn3+WObon3ZUVkNJif 39wDn2Rt2QHIExuO/5avetYBU9T15HB2BcTF+tCtpS9Fl15Lx9I3ptkkMPGV6hYymIeq +suuDnf2u2nuhAejkcYoeui2+6iVJO1DpkFX6wEJNiZd+nn4tjllna/LNZw9r++d67jF x+1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=uqnWKF6bXIuOGwz6cPOZxGkArRSnbBZbNgs+5XUzIoY=; b=YDey/UCVGgIzrWNh1z40GE37PtzdzgNdRqWEhasHrin9ynHheOp1hyi/DPCDOiS8uT qLXouZQtcpjDTwUBUZwaQhjcCnrQbIpLhQP7SCXPSdioKsORx5arQBk7lJMlpI/O28L7 D8OCf9UII9vOf4pbebxgidv6+WAc2LR9TCILCNeNT7wn1c/vWQ/gagHzZpBGsNbY9icL VxBtqELm9ktOmzvUFGzJeqUuwjtwvoFa+cLU4/FSEPJFSnoGXuD3OE6Y911bwOBOWx+y u4hZxIFP1lV/eBQo2A1YbGUz+X44mo/QD2yr2Aqy6U601J4J5LLCWbeMvYTPTAhUeyKt v9Kw== X-Gm-Message-State: AG10YOSMKkMJAknZsPhOFlshKrRClNtfiExCjFyTCRiYoakwVB0n2dP2v78SKi2KGUa9IRLYzhxnyhPp2dYFrg== X-Received: by 10.31.1.6 with SMTP id 6mr2646669vkb.139.1455740772169; Wed, 17 Feb 2016 12:26:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.176.7.97 with HTTP; Wed, 17 Feb 2016 12:25:52 -0800 (PST) From: Matthew Persico Date: Wed, 17 Feb 2016 15:25:52 -0500 Message-ID: Subject: Modify shell-script-mode for imenu To: help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400c:c05::22a X-Mailman-Approved-At: Wed, 17 Feb 2016 16:00:30 -0500 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2016 20:26:14 -0000 Greetings. imenu does not recognize bash functions of the form foo-bar() { ... } i.e, functions with dashes in them. shell-script-mode does recognize them, as they are properly highlighted. Both modes recognise foo_bar() { ... } i.e, functions with underbars. I've been trying to use defadvice to wrap sh-current-defun-name and sh-imenu-generic-expression to get imenu to be happy. But it isn't working and, given that shell-script-mode DOES recognize the forms, I'm wondering if it's not something in imenu that has to be adjusted. Does anyone have any ideas as to how I should proceed? -- Matthew O. Persico From MAILER-DAEMON Wed Feb 17 16:00:31 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aW9D5-0006hw-KX for mharc-help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 16:00:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38057) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW99d-0004FX-6e for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 15:56:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aW99c-0003hn-4D for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 15:56:57 -0500 Received: from mail-vk0-x235.google.com ([2607:f8b0:400c:c05::235]:35774) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aW99b-0003hd-Vp for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 15:56:56 -0500 Received: by mail-vk0-x235.google.com with SMTP id e6so26214960vkh.2 for ; Wed, 17 Feb 2016 12:56:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=RpWChewzaHwPSDTfwGl8cjPMGYI6q/+Btm/Yp/6cbXQ=; b=wf3J3BSHbn/YJtoghzLxhJ8jhIoL0Eq4MsPw6TdNwvgwmXG31TM8Dr5Xmbimtm6uXd a9Ft315/ra8kMTvcQQSZgFIWFYPXOZfY2Jo40Y7dhhXQtWfpPqa3TtF3kwgaAPo4aatD gWBa2hsnBYA0gyeWWoFWfm66xxD536tUOUDZEw5YovC1cN5Bdf3o3fHZ5rg1NUzKXybV N8Ab+X3XuO2TBpUw/FAnyFbN6DCeFloBJ9vmIOLEJrbbOTIUlDy5EGSoapRh+0qVJKwG B7cvfcCbf6hZo9z/ZFo35w8bZqCCOv04+3VTfWyhPrHAmy8eA7oCk7FoMcu3gWQTJKn7 Ir/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=RpWChewzaHwPSDTfwGl8cjPMGYI6q/+Btm/Yp/6cbXQ=; b=W/3kaUBe4OzM2LtAOkgGjA6jevLMzXs3v5zoC15yPqttW8uisigoGpAD2bFF0GsB4a pASlkh2s/XdAQ+urtz8BHMq3sOkfK606Wpq28x44+pNuskNv3fpBKZ1ElbszZRuI5fPd IrRWalsGV5L3GsmDrdweTWtFCX9qevFA0xXnRTMBIxOeONyu5a7xcutTTofhZ7peyvG5 8cGqqakx3JBdaSqSjSFYLpvaQd/jYVzwO6tVS4FuXy3ufULMjeLG/N8LdabE2gy4gUg5 XbTYgJ7R+9HnNny1iCPnOo7Gh66JANhqd1+mEK10nPXSzC5n4aNNdEHZWovjOTIARojo 3icg== X-Gm-Message-State: AG10YORhowTL9aPp9kKGs0qdr1/uIiKIjHkH1OswzxA0r6+ewFyKzwygVivDtHYosKhxczWgmDNZTyl++XzE7Q== X-Received: by 10.31.12.3 with SMTP id 3mr2900627vkm.28.1455742615268; Wed, 17 Feb 2016 12:56:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.176.7.97 with HTTP; Wed, 17 Feb 2016 12:56:35 -0800 (PST) In-Reply-To: References: From: Matthew Persico Date: Wed, 17 Feb 2016 15:56:35 -0500 Message-ID: Subject: Re: Modify shell-script-mode for imenu To: help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400c:c05::235 X-Mailman-Approved-At: Wed, 17 Feb 2016 16:00:30 -0500 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2016 20:56:58 -0000 On Wed, Feb 17, 2016 at 3:25 PM, Matthew Persico wrote: > Greetings. > > imenu does not recognize bash functions of the form > > foo-bar() > { > ... > } > > i.e, functions with dashes in them. shell-script-mode does recognize them, > as they are properly highlighted. > > Both modes recognise > > foo_bar() > { > ... > } > > i.e, functions with underbars. > > I've been trying to use defadvice to wrap sh-current-defun-name and > sh-imenu-generic-expression to get imenu to be happy. But it isn't working > and, given that shell-script-mode DOES recognize the forms, I'm wondering > if it's not something in imenu that has to be adjusted. > > Does anyone have any ideas as to how I should proceed? > > -- > Matthew O. Persico > Turns out cannot defadvise a defcustom variable such as sh-imenu-generic-expression. Duh! If anyone is interested in what I eventually did: http://hastebin.com/oxalibopar.lisp -- Matthew O. Persico From MAILER-DAEMON Wed Feb 17 19:24:41 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aWCOf-0003kc-7C for mharc-help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 19:24:41 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42779) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWCOY-0003gs-Hv for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 19:24:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWCOS-0005lg-Gb for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 19:24:34 -0500 Received: from plane.gmane.org ([80.91.229.3]:45240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWCOS-0005lQ-9l for help-gnu-emacs@gnu.org; Wed, 17 Feb 2016 19:24:28 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aWCOQ-00077Z-Oq for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 01:24:26 +0100 Received: from nl106-137-227.student.uu.se ([130.243.137.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Feb 2016 01:24:26 +0100 Received: from embe8573 by nl106-137-227.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Feb 2016 01:24:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Making sure I'm not checking email (or doing other things) too often Date: Thu, 18 Feb 2016 01:24:05 +0100 Lines: 39 Message-ID: <87povuq316.fsf@debian.uxu> References: <87d1rz2ebl.fsf@mbork.pl> <87lh6mhic2.fsf@debian.uxu> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-227.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:wp81us/kalBefZFOlzDk44kXiiQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 00:24:40 -0000 Rusi writes: >> Bah. Real world is overrated. > > Saw this in someone's signature (cant trace exact > source): > > "Real world" is a phrase that cannot be written > without quotation marks Everything is as "real" but what is generally implied is the volume and diversity of sensory input, of emotional and creative responses and actions... So a PNG depicting a girl in a downsuit on a sailboat with Novaya Zemlya in the background - it is a real picture alright but what it depicts is something else just the same. Show this picture to ten teenagers and perhaps four will say: "So she is doing the Northeast passage. Big deal." and six will say "That looks insane, I could never do anything even remote to that!" Both attitudes are unhealthy and this is what happens if you live your life thru the monitor only. Your world view gets skew. Computers are great fun and an awesome tool for many things but they shouldn't be a substitute for things that have nothing to do with computers. This makes the computer look bad and the "things" even more so. But I'm confident this is a stage only. The kids will snap out of it. They always do :) -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Thu Feb 18 05:06:58 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aWLUA-0005ne-An for mharc-help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 05:06:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWLU7-0005nW-JB for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 05:06:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWLU6-0001D6-Aj for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 05:06:55 -0500 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:34013) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWLU6-0001D2-4C for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 05:06:54 -0500 Received: by mail-wm0-x22d.google.com with SMTP id b205so17385829wmb.1 for ; Thu, 18 Feb 2016 02:06:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=BpnvldToSeADxCjAHl7snvMOv3CSh8MmgOW+DL+X/Ks=; b=oUZa+zvceTMkKlWn82ESJA+pAeN7f0co77mAgsgzYO37uBwMVPLZ5j5vA7hjhj/UV6 KEjEIJ96aPP987svU+TPEIXRRI/xXMyGfozhCKcsCalBbPBE2m7RIGK1nFvfIpchAjk4 c+Cs9n+C/yce9K2lMn+/2px21KNn9yEPXrIosNCjrIEKLsgL+pLExYLr9xTH7yNK3XRM A/FLO5M0kcN5EyRuaW4a5OOmPi5Qswr+NWjUYkgCC0DD2ZQYEMFyXZGVxlYU/ehXDrPV UhXvikTLD0amp0ViJ4QaSYT+p1KaR3VSVYqMS7DugiGQi2XBL7sCybtmXxZHrdIAak6X nekg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:date:message-id:subject:from :to:content-type; bh=BpnvldToSeADxCjAHl7snvMOv3CSh8MmgOW+DL+X/Ks=; b=Ij5onu3Z8wM4bYHfeJZ99x6LCfsyotUFMTH+1cCa6FaQY6tDreAWgBnTXv1AmvZbg6 pWUZbLvlDjYXfuw8n6O3YOgLo3ucmE3JFLXDuGYtV3oUn5d/KzM1QWz4sWCKaOLEa2is sCPkzxisIJ+zQn7V4rjV1BTXBO9kBeJyUpxCn7fMK61b4nq28RhH528pOsQvDxEIE6Rf 3dv6qKTPwczHIRqStAKHU2cNwwng0G/xdXoBxWZ2mgbih2h+ioeOmdq0eOn1OF6vIeSD NYFuDB/ayoH/HRBGqbCIU0yDsD8mbjiAUhWMR/ND4gXrOGWnH5kHywWA7VRxM6PCF1Wl BlTA== X-Gm-Message-State: AG10YOSPzrPfp0KqcB2eDwH+vOT9C4qb/xYshVQBmO6hKgnIU5ud+5KgVrtQBuY5de0lr3c/KJs1Gr+eDJlHIw== MIME-Version: 1.0 X-Received: by 10.194.113.38 with SMTP id iv6mr6652476wjb.126.1455790013306; Thu, 18 Feb 2016 02:06:53 -0800 (PST) Sender: fluca1978@gmail.com Received: by 10.194.68.4 with HTTP; Thu, 18 Feb 2016 02:06:53 -0800 (PST) Date: Thu, 18 Feb 2016 11:06:53 +0100 X-Google-Sender-Auth: JWE2PR5bAON3KMqeWVruXewoTw0 Message-ID: Subject: removing white space highlight From: Luca Ferrari To: help-gnu-emacs Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22d X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 10:06:56 -0000 Hi all, for some reason I don't know after applying a few theme settings I have Emacs now highlighting rows with only white spaces. That is a little annoying to me, so I'm wondering what is the customize-* I accidentally broke. Any suggestion is welcome. Thanks, Luca From MAILER-DAEMON Thu Feb 18 05:19:47 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aWLgY-0004u6-RF for mharc-help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 05:19:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWLgU-0004qG-Dt for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 05:19:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWLgQ-0004DP-DY for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 05:19:42 -0500 Received: from relaypsm.eng.it ([109.232.36.222]:44297) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWLgQ-0004DA-65 for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 05:19:38 -0500 Received: from MailAV (unknown [161.27.15.23]) by deliver (Postfix) with ESMTP id 4C01A207; Thu, 18 Feb 2016 11:19:35 +0100 (CET) Received: from quigley.ewebpd.engilab.eng.it (unknown [172.27.7.115]) by relaypsm.eng.it (Postfix) with ESMTPSA id 1E53130A; Thu, 18 Feb 2016 11:19:34 +0100 (CET) Received: by quigley.ewebpd.engilab.eng.it (sSMTP sendmail emulation); Thu, 18 Feb 2016 11:19:33 +0100 From: "Gian Uberto Lauri" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <22213.39605.290751.139619@mail.eng.it> Date: Thu, 18 Feb 2016 11:19:33 +0100 To: Luca Ferrari Subject: Re: removing white space highlight In-Reply-To: References: X-Mailer: VM 8.1.1 under 24.5.1 (x86_64-unknown-linux-gnu) X-echelon-food: EG&G virus Cartel LRTS FCIC target PFS ICE 9705 Samford Road afsatcom Qaddafi South Africa munitions Burn GSA X-KLMS-Rule-ID: 1 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Status: not scanned, disabled by settings X-KLMS-AntiPhishing: Clean, 2016/02/17 15:51:37 X-KLMS-AntiVirus: Kaspersky Security 8.0 for Linux Mail Server, version 8.0.1.721, bases: 2016/02/18 03:57:00 #7187384 X-KLMS-AntiVirus-Status: Clean, skipped X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 109.232.36.222 Cc: help-gnu-emacs X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Gian Uberto Lauri List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 10:19:43 -0000 >>>>> "LF" =3D=3D Luca Ferrari writes: LF> Hi all, for some reason I don't know after applying a few theme LF> settings I have Emacs now highlighting rows with only white LF> spaces. That is a little annoying to me, so I'm wondering what is LF> the customize-* I accidentally broke. Any suggestion is welcome. It should be show-trailing-whitespace that has been set to t. --=20 /\ =5F=5F=5F Ubuntu: anci= ent /=5F=5F=5F/\=5F|=5F|\=5F|=5F=5F|=5F=5F=5FGian Uberto Lauri=5F=5F=5F=5F=5F= African word //--\| | \| | Integralista GNUslamico meaning "I can \/ coltivatore diretto di software not install gi=E0 sistemista a tempo (altrui) perso... Debian" Warning: gnome-config-daemon considered more dangerous than GOTO From MAILER-DAEMON Thu Feb 18 05:55:06 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aWMEk-0006nz-1b for mharc-help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 05:55:06 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWMEd-0006nR-9m for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 05:55:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWMEX-0005DK-Gy for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 05:54:59 -0500 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:38426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWMEX-0005DG-A0 for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 05:54:53 -0500 Received: by mail-wm0-x235.google.com with SMTP id a4so19180110wme.1 for ; Thu, 18 Feb 2016 02:54:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=MuCnNa/JooBKkJZEG0Cq/0EosJvT5zr7PAmj5qzxYvU=; b=p19nBPLEKSadZf3KrmaWczQq24JfaTI0++REPrhRA0HIirnR/Ce0MqHSPSAWgwcUd7 7a0sk6GWXQ2r/ncuFHdyPN3wYH9ue91hvh64oHqA6MIlA63inAY0l9K/OAxePlUESEdR QbKJXLkb3sUF6+e7d8vLM2KA7DUB83SCkwWW0p8wD3kuHCrOY4+6WB7e7RuDkMR3ewl8 mlhnCSyR/sGZbGx3c2oXlBm9UXJE58S9VZ22hi4ip2sQfE03bgxXkSD0sTKkagVEX6o/ twqdePpW+eb4rzRndAYv7n8ZZ2ZCNVGHZ198BCCyEe2bS1xvnntqN5dBrqumX7aSTzdm Vyow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=MuCnNa/JooBKkJZEG0Cq/0EosJvT5zr7PAmj5qzxYvU=; b=KXTEM1L7yitHaD7PpL+hK37F1zlkg5tIS9NjE7QNcnuldwRFCmZ3WsLlhg+B8E0taN W9jf2/85wKCLW6/nvGnAJ7k5eNJfMGiExDSeYu/xLZTQUphEkpyecq23FlQF95tD6x6c JfqYQ1dp6DtvFSjm2Yh/vew1e/NCwnd7FM9SRpB6fukuJ1ZSO8TVglaJibfSxPJPb488 ykFIYTvgUK8nQ1y00HpwT/tFFx93ZP+ApGeCFCXBWBK10fQdQFIin0N2QnuIMtaWinOz tWvf6P2Fx7zVjbUQcyD0HnTr183KHoC9UjiExe50EfDSO287kjD6x8Nl0mzSAknN4km8 AGEA== X-Gm-Message-State: AG10YOQ/wcohYpv1g7dateJP7l8G6J9FTU5z9PMN6qNiErgk2JZhAfnXeqMvJztw6CRVLEM7QrhZoJZHv3nNeg== MIME-Version: 1.0 X-Received: by 10.28.226.212 with SMTP id z203mr2722816wmg.78.1455792892598; Thu, 18 Feb 2016 02:54:52 -0800 (PST) Sender: fluca1978@gmail.com Received: by 10.194.242.7 with HTTP; Thu, 18 Feb 2016 02:54:52 -0800 (PST) In-Reply-To: <22213.39605.290751.139619@mail.eng.it> References: <22213.39605.290751.139619@mail.eng.it> Date: Thu, 18 Feb 2016 11:54:52 +0100 X-Google-Sender-Auth: HVMZ4LYMyG1KLy2CqgpbHsohJW8 Message-ID: Subject: Re: removing white space highlight From: Luca Ferrari To: Gian Uberto Lauri Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::235 Cc: help-gnu-emacs X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 10:55:04 -0000 On Thu, Feb 18, 2016 at 11:19 AM, Gian Uberto Lauri wrote: > It should be show-trailing-whitespace that has been set to t. No, it is nil. Trying to change the face trailing-whitespace does not take any effect, so I suspect there is something hidden somewhere else. Any idea? Luca From MAILER-DAEMON Thu Feb 18 06:05:14 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aWMOY-0002Xg-P9 for mharc-help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 06:05:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWMOW-0002Wn-Qa for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 06:05:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWMOR-0007RH-TA for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 06:05:12 -0500 Received: from mail.tuxteam.de ([5.199.139.25]:60590 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWMOR-0007Mv-OK for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 06:05:07 -0500 Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1aWLql-0001P7-BN for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 11:30:19 +0100 Date: Thu, 18 Feb 2016 11:30:19 +0100 To: help-gnu-emacs@gnu.org Subject: Re: removing white space highlight Message-ID: <20160218103019.GA5354@tuxteam.de> References: <22213.39605.290751.139619@mail.eng.it> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) From: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 11:05:13 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Feb 18, 2016 at 11:54:52AM +0100, Luca Ferrari wrote: > On Thu, Feb 18, 2016 at 11:19 AM, Gian Uberto Lauri wrote: > > It should be show-trailing-whitespace that has been set to t. > > > No, it is nil. > Trying to change the face trailing-whitespace does not take any > effect, so I suspect there is something hidden somewhere else. > > Any idea? whitespace-mode? - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlbFnTsACgkQBcgs9XrR2kbIFgCdElr9JzTN7FJQYDOmGGkvyHeE 1xMAniBystsB4pqpdc7KGobrJdly+BdJ =97tl -----END PGP SIGNATURE----- From MAILER-DAEMON Thu Feb 18 08:34:25 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aWOiv-00035g-BS for mharc-help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 08:34:25 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWOit-00032p-1Z for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 08:34:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWOir-00021T-KB for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 08:34:22 -0500 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:38522) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWOir-00021N-Db for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 08:34:21 -0500 Received: by mail-wm0-x229.google.com with SMTP id a4so25474144wme.1 for ; Thu, 18 Feb 2016 05:34:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=TvhXPcVBmHF8N+sCdyOOlx/a4my4QZiKz1LCcuVZRhs=; b=rNf51ss+UMWajWuPlozCyk8SgV4InDoz7tmJPNsMYdYXNIPMi58vRBNnjnTRGCW/QK lTAyAyn25ToaqKgZjsoO7Bjes8bAOO+RYLjaZHD/JDkaSf0WaiJr1GUBRgvJDmmEhJi6 pU64LeAwnuJGdEWWj8ocenR4tNDCuXqI4p+asjsAU7CNfKb3J1J4cKXTdrqIUlV2o+PD 4cqruAIwAFLcAhJyGYtpPNCHLulKOvPQsVGozh2Dm5pz7YbrzNOQ7XQmh4clqG9jv+GY NAWE3iPySBW10R0+2BZA709MCiTXsfllfm8+81ZCKT4u2hJ1GNCeM6OI4bo2oKjEk2Lu DTOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=TvhXPcVBmHF8N+sCdyOOlx/a4my4QZiKz1LCcuVZRhs=; b=N9U+HIoYrioiptkofFTx4JvOIsX4NxTWsp/YrYb5Boi7IXsvm09mH1thMYDiNOWe+P UAnmPr3n6lombGyzRcPL+1Qsuj1f/KPjoT7gOZye5OLk0f9a/kcjiNdwZ7aHGy1WXSLL aZdW84DQnDySpqlR/aEJHt2CSSLIyVp1th6WBAhnGyRF59VPc5PVshRrKvaFKI00ySSE AYuRFK6dRMCD/iSz9sMGjef6tCpooHvAeDnDX0PUeDq5K2yUqlduHTZ+Ge7NHWRGUHco aYTRF3/OBO1hAIzlDIuD2ATUwDe2a+e87g98rlwNq96RtS8hNJgfwUxZaM1UdB/7pnvm BP3g== X-Gm-Message-State: AG10YOS1D5Zo7bgcvOmG0FdVCre3SYvbolAutuBI2uCpTZr6rxAKbTiTQbR7WTUuf9Jr+OBoabn0zKgHZLa56A== MIME-Version: 1.0 X-Received: by 10.194.171.66 with SMTP id as2mr7600062wjc.110.1455802460641; Thu, 18 Feb 2016 05:34:20 -0800 (PST) Sender: fluca1978@gmail.com Received: by 10.194.68.4 with HTTP; Thu, 18 Feb 2016 05:34:20 -0800 (PST) In-Reply-To: <20160218103019.GA5354@tuxteam.de> References: <22213.39605.290751.139619@mail.eng.it> <20160218103019.GA5354@tuxteam.de> Date: Thu, 18 Feb 2016 14:34:20 +0100 X-Google-Sender-Auth: 2UalCHrUzQbop7fOT6mi2EuDJfI Message-ID: Subject: Re: removing white space highlight From: Luca Ferrari To: tomas@tuxteam.de Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::229 Cc: help-gnu-emacs X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 13:34:24 -0000 On Thu, Feb 18, 2016 at 11:30 AM, wrote: > whitespace-mode? No it is disabled, however I found that all spaces up to the end of line. Hope this helps finding out what is the custom setting. Thanks, Luca From MAILER-DAEMON Thu Feb 18 08:52:11 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aWP07-0007mU-1J for mharc-help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 08:52:11 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49180) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWP04-0007m8-6Y for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 08:52:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWP00-0005tW-TB for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 08:52:08 -0500 Received: from mail.tuxteam.de ([5.199.139.25]:60929 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWP00-0005tL-NI for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 08:52:04 -0500 Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1aWOSQ-0002qS-By for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 14:17:22 +0100 Date: Thu, 18 Feb 2016 14:17:22 +0100 From: tomas@tuxteam.de To: help-gnu-emacs Subject: Re: removing white space highlight Message-ID: <20160218131722.GA10679@tuxteam.de> References: <22213.39605.290751.139619@mail.eng.it> <20160218103019.GA5354@tuxteam.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 13:52:09 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Feb 18, 2016 at 02:34:20PM +0100, Luca Ferrari wrote: > On Thu, Feb 18, 2016 at 11:30 AM, wrote: > > whitespace-mode? > > No it is disabled, however I found that all spaces up to the end of line. > Hope this helps finding out what is the custom setting. Hm. I'm out of my depth here. Try to move point (aka cursor) to one of those highlighted characters. Then do M-x describe-char . This should show you some info about the character; at the very bottom "There are text properties here:" it tells you among other things which face it's displayed with. Perhaps the name of the face tips you off towards which little djinn is doing that. Regards - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlbFxGIACgkQBcgs9XrR2kZzrQCeJkMOurDTq4YEur9Ss2jrJvT9 9LoAn2OFJW7pqJ++FLFeXEwj+q5/NDVA =WlpU -----END PGP SIGNATURE----- From MAILER-DAEMON Thu Feb 18 09:38:03 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aWPiU-00028N-TA for mharc-help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 09:38:02 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWPiR-00022A-KP for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 09:38:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWPiQ-0000Gd-Ng for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 09:37:59 -0500 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:34563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWPiQ-0000GX-Gn for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 09:37:58 -0500 Received: by mail-wm0-x22b.google.com with SMTP id b205so27936138wmb.1 for ; Thu, 18 Feb 2016 06:37:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=SiSJGGa2bOIVI3kYPfLVqssmFs9xUvJohxS62YFVCjI=; b=c0LMHK7aMMoR3QLDM/3/QlYW4FWmhm40QVtdeCly2G+3BRqOHGVUt9U9oOnNDiOcIk vbiZPe17lofzM1VExoo4JnoxlEHdPEWw92gFFcKJLZNcuyUkfeI1GcTj0HcYivro4dwW Im/MGG7uoiJYbpeUTluNc0kSyoE+f/arB3Wp/NdmCHQtIlYnXxJgqT7Glt952RXW05jF mZQAmZPtTvXbxlXUkz4Z2GhUo6MkFM68sbfCcTW+Vm35TZeYufHuvt7lL7dJxMbNUqlY yawCIHq9bNpR76Hova4MyJeF9UAA7qxRc2r2ySck7LUsI3yrs7CmG4Mha8SjcfdgsprI LuuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=SiSJGGa2bOIVI3kYPfLVqssmFs9xUvJohxS62YFVCjI=; b=EtPm4972J1yQJ39qbbqyt6Jmu7aC4PNQHb1ASCznkhKp9pwGjkBRlUypuwvW4f+wzm jCUhacuHpBhetPnz0yEhCyyFSvyXipCoPDiW0KMpuvSbv0KkTmGxjpfEQHINcVI7XsP1 V2cGTGI77KRtBJZlQ8ezoEgNZPubg++aIMXCktwKchiReOu+DHL/uWSxz4U2+O7FOTZK tSsKqXFxvQYB61JDV62JJ7vvRUhH4UV0GDxH+m/ApwUN6XBxTtI1PlyRMqHUdGbiy+9t k5UgEjddcKXuGreyYvBC6PjT+AKztUBUB4czpHLvf9BgCPF/Q3DW6bckc9jJsn5Fn8TB Ghbg== X-Gm-Message-State: AG10YOTkVo6TGnLH4iwcv4kZbhWyJu0WThhvcOBPrAT+k6N25wasbSWVIjNvSqepiANTH9Mpx5tx6TpkzV1s9g== MIME-Version: 1.0 X-Received: by 10.194.171.66 with SMTP id as2mr7896417wjc.110.1455806277786; Thu, 18 Feb 2016 06:37:57 -0800 (PST) Sender: fluca1978@gmail.com Received: by 10.194.68.4 with HTTP; Thu, 18 Feb 2016 06:37:57 -0800 (PST) In-Reply-To: <20160218131722.GA10679@tuxteam.de> References: <22213.39605.290751.139619@mail.eng.it> <20160218103019.GA5354@tuxteam.de> <20160218131722.GA10679@tuxteam.de> Date: Thu, 18 Feb 2016 15:37:57 +0100 X-Google-Sender-Auth: CVmsotu4TTw2L7-Rs2ctILGBw2g Message-ID: Subject: Re: removing white space highlight From: Luca Ferrari To: tomas@tuxteam.de Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22b Cc: help-gnu-emacs X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 14:38:00 -0000 On Thu, Feb 18, 2016 at 2:17 PM, wrote: > Try to move point (aka cursor) to one of those highlighted characters. > Then do M-x describe-char . This should show you some info about > the character; at the very bottom "There are text properties here:" > it tells you among other things which face it's displayed with. Uhm...it's font-lock-constant-face but customizing it does not solve the problem (there is no highlight nor background). Luca From MAILER-DAEMON Thu Feb 18 09:50:33 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aWPub-0000PL-LG for mharc-help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 09:50:33 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37242) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWPuY-0000JV-Bo for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 09:50:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWPuV-0003Y3-4S for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 09:50:30 -0500 Received: from mail.tuxteam.de ([5.199.139.25]:32815 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWPuU-0003Xy-QP for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 09:50:27 -0500 Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1aWPMu-0003KP-Gu for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 15:15:44 +0100 Date: Thu, 18 Feb 2016 15:15:44 +0100 From: tomas@tuxteam.de To: help-gnu-emacs Subject: Re: removing white space highlight Message-ID: <20160218141544.GB11934@tuxteam.de> References: <22213.39605.290751.139619@mail.eng.it> <20160218103019.GA5354@tuxteam.de> <20160218131722.GA10679@tuxteam.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 14:50:31 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Feb 18, 2016 at 03:37:57PM +0100, Luca Ferrari wrote: > On Thu, Feb 18, 2016 at 2:17 PM, wrote: > > Try to move point (aka cursor) to one of those highlighted characters. > > Then do M-x describe-char . This should show you some info about > > the character; at the very bottom "There are text properties here:" > > it tells you among other things which face it's displayed with. > > Uhm...it's font-lock-constant-face but customizing it does not solve > the problem (there is no highlight nor background). Hm. Either this is the (major mode) fontification, which would be strange -- or someone else has hi-jacked the face. What happens if you toggle font-lock mode? (M-x font-lock-mode) - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlbF0hAACgkQBcgs9XrR2kY9vACfeCKSE7mmGwac8x4P/SnaK8rv 6qQAn1PXk1bykEezGvk5G6dpqSEWdGxu =UNR6 -----END PGP SIGNATURE----- From MAILER-DAEMON Thu Feb 18 11:08:33 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aWR85-0000Yb-8I for mharc-help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 11:08:33 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWR82-0000Wc-Co for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 11:08:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWR81-0000DO-1L for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 11:08:30 -0500 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:37736) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWR80-0000DK-Q6 for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 11:08:28 -0500 Received: by mail-wm0-x22d.google.com with SMTP id g62so32611435wme.0 for ; Thu, 18 Feb 2016 08:08:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=RuHwxyHMzhiy0ejEXb3ZjpVDaoBiggYIQ9Mwjgu/vlA=; b=o3zsXTQay2nqhQOvb+mn2jDoYAkOfwZw4Ngbf9JWi0phPoHIuQLR8WxtfDJaE7d9VX WQQD10py1LkzgcDIsFSLINMw2P3Dpbfof7NZ8ZwRoJE7to+mA+UXTrhweQDmS9FvLZbw Ct7iWNGCQrLY4Brn0BQtJGeemIf83rW0KU0im7Ut/maCmpPhE8jtH27xso3ciFibj69/ GxtGXck0oOOibOeRIOFCue6IEvxBl6HE/8yE8dtWK2trXcnXRUpbgMxrHi0oFkHGA+Rk 54dWY+LEm9WkcYq76n0vUo8XqDkv+A6D356Hd6qeAThGs7WSCdyS/HAa2chbNFeXHPUn f3Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=RuHwxyHMzhiy0ejEXb3ZjpVDaoBiggYIQ9Mwjgu/vlA=; b=A47FxfeXPJhaZDFPsMUiaCya3LOjrP6OgJZ2YfK/VoMzC9c19eJTR17aSxiiSkaLx4 Sd44iVMeGuoqQoX3kN2PtbkAoNiuGM6Zpw6sKlEVzyIlZHWjg39l6iRRzInhoSR1hgDu 0fq8+vPbwzXWesQrk9tcGqYBCUx0zRT1Hy5IF0e8o30uJq3c48Eim0VhTsY0YVQz5lfe uI8ERUFC9V6p+s2U2p8+KwPJr0zrLI6BLmcOaaCIzCqcGB+9LfvrPp7t9/3sG9ntf/Qs NLXw4aivlDB+pbMhmn/uIxxqBInHcFk6BMKFwH7VVHnknXUf+Qln/tgFoH0GHs8skbpp 7CoQ== X-Gm-Message-State: AG10YOSMGowMv2CHfSvIqsVzH8M6bh8v40tzwDCLsogQmI6z3A3FRFafYfxjyHzeQ30ozSpaKAPI6Ej5JI1/og== MIME-Version: 1.0 X-Received: by 10.28.174.8 with SMTP id x8mr4351431wme.49.1455811708077; Thu, 18 Feb 2016 08:08:28 -0800 (PST) Sender: fluca1978@gmail.com Received: by 10.194.68.4 with HTTP; Thu, 18 Feb 2016 08:08:28 -0800 (PST) In-Reply-To: <20160218141544.GB11934@tuxteam.de> References: <22213.39605.290751.139619@mail.eng.it> <20160218103019.GA5354@tuxteam.de> <20160218131722.GA10679@tuxteam.de> <20160218141544.GB11934@tuxteam.de> Date: Thu, 18 Feb 2016 17:08:28 +0100 X-Google-Sender-Auth: T9SyDGP3MowFCfO_EOxlgRC2jaM Message-ID: Subject: Re: removing white space highlight From: Luca Ferrari To: tomas@tuxteam.de Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22d Cc: help-gnu-emacs X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 16:08:31 -0000 On Thu, Feb 18, 2016 at 3:15 PM, wrote: > What happens if you toggle font-lock mode? (M-x font-lock-mode) Spaces are still highlighted and other lines are (of course) plain text. Please note I'm running spacemacs, if that does matter. Luca From MAILER-DAEMON Thu Feb 18 14:21:46 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aWU94-0001w2-Mu for mharc-help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 14:21:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32950) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWU92-0001v8-DH for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 14:21:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWU8z-0002MU-71 for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 14:21:44 -0500 Received: from plane.gmane.org ([80.91.229.3]:58339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWU8y-0002Lk-W8 for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 14:21:41 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aWU8v-0005G0-6t for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 20:21:37 +0100 Received: from ip-37-24-91-26.hsi14.unitymediagroup.de ([37.24.91.26]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Feb 2016 20:21:37 +0100 Received: from grothe_news by ip-37-24-91-26.hsi14.unitymediagroup.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 18 Feb 2016 20:21:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Thorsten Grothe Subject: Re: Org Mode html export refresh browser Date: Thu, 18 Feb 2016 20:21:26 +0100 Lines: 9 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ip-37-24-91-26.hsi14.unitymediagroup.de User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 19:21:45 -0000 Am 17.02.2016 um 19:32 schrieb Kaushal Modi: > I haven't tried but you may want to check out this package: > https://github.com/RenWenshan/emacs-moz-controller I tried the package and it works really fine, thanks for the tipp! Regards Thorsten From MAILER-DAEMON Thu Feb 18 14:23:50 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aWUB4-0003zJ-Km for mharc-help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 14:23:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34453) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWUB2-0003z2-Iw for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 14:23:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWUB1-0003Ym-IY for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 14:23:48 -0500 Received: from mail-ob0-x22b.google.com ([2607:f8b0:4003:c01::22b]:35347) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWUB1-0003YY-DD for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 14:23:47 -0500 Received: by mail-ob0-x22b.google.com with SMTP id xk3so83840542obc.2 for ; Thu, 18 Feb 2016 11:23:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+cA6/X4gQFjxLeEq5dbpoN8ueS5BKuh+cQnv8l83Uas=; b=vERC+eIZJikbIvniOF9upek/n+C2Vs2VhxDLfzo8ubBx5kOE3vrO4Q0ukeSXLDCyad SkFWdOG+txpRwbkdQOFt5Cd/nuIq47aQ71FNBg92LpcAt/xBujmBlAD2TQR0pkZ74rdk DOSqANdSpDsaTWUU2f6uUJMLtnFi+lZ7EXndM0k0WVDePaXkExgOpmx7ar3nuY/ijp+r tl5Ri+C5sDi78+49qpeQ6SoMV0uPTNeGQgTirFQH+8dWnaNSwjXax2PsI/8F0rlJ75CP E+XXAKFubDwWeOsfljvlj7TOGSF8bNMiSog64qlTG9i0a3nOytyDp1hZRacxHUQAXXpH dlMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=+cA6/X4gQFjxLeEq5dbpoN8ueS5BKuh+cQnv8l83Uas=; b=Xd6KPLWP6juTcu2nr+AdIxnQ4VmvCfxmFXQNemWPo3xSVq3cOx6zomf8CJ0mACb5g0 8xsQXu+cTb0PTiicGo21a/g9b72e1RApU7lNvnzbv2aD/eNiOpe+/FH5Pegv13UTrbSI 4Z3gl876572AOQLzU4+WTd6KSoTl6VF09OQSXcJL5ZI7d+dctQmBq3ZuZY2EcJtWsyTL e3JBC4qF6oPNDlYTyecWM/V4+5edaTFqHHmY4Bn2X9MF7rg1j29isMhzFRquR2EstOvh aov7XVA3gExA9GG3Q+7sivFjgWYZnR9bzfxL0fK1CUuGnOtdaP+yGLxyDjUThXR5SMgz u2PQ== X-Gm-Message-State: AG10YOQdVamqCrSeieL6I4p++t4pDyj5TEdwYu8YU9f0fRqtU7y6kI9ZVzdGbBhL+9mJ+Bf1D4lKwstigT5tug== MIME-Version: 1.0 X-Received: by 10.202.185.214 with SMTP id j205mr7919256oif.68.1455823426933; Thu, 18 Feb 2016 11:23:46 -0800 (PST) Received: by 10.202.201.73 with HTTP; Thu, 18 Feb 2016 11:23:46 -0800 (PST) In-Reply-To: References: Date: Thu, 18 Feb 2016 14:23:46 -0500 Message-ID: Subject: Re: Org Mode html export refresh browser From: Kaushal Modi To: Thorsten Grothe X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c01::22b Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "help-gnu-emacs@gnu.org" X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 19:23:50 -0000 Cool! Glad I could help. On Thursday, February 18, 2016, Thorsten Grothe wrote: > Am 17.02.2016 um 19:32 schrieb Kaushal Modi: > >> I haven't tried but you may want to check out this package: >> https://github.com/RenWenshan/emacs-moz-controller >> > > I tried the package and it works really fine, thanks for the tipp! > > Regards > Thorsten > > > > -- -- Kaushal Modi From MAILER-DAEMON Thu Feb 18 19:24:10 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aWYri-0003sJ-6e for mharc-help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 19:24:10 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWYrf-0003rD-Gc for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 19:24:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWYrc-0003DF-B7 for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 19:24:07 -0500 Received: from plane.gmane.org ([80.91.229.3]:49891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWYrc-0003D8-4l for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 19:24:04 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aWYrZ-00066j-1q for help-gnu-emacs@gnu.org; Fri, 19 Feb 2016 01:24:01 +0100 Received: from nl106-137-54.student.uu.se ([130.243.137.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Feb 2016 01:24:01 +0100 Received: from embe8573 by nl106-137-54.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Feb 2016 01:24:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: removing white space highlight Date: Fri, 19 Feb 2016 01:23:52 +0100 Lines: 24 Message-ID: <87vb5lzgx3.fsf@debian.uxu> References: <22213.39605.290751.139619@mail.eng.it> <20160218103019.GA5354@tuxteam.de> <20160218131722.GA10679@tuxteam.de> <20160218141544.GB11934@tuxteam.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-54.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:4LTkyVz/TpgxQk+zhG1OTGtVU9U= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 00:24:08 -0000 Luca Ferrari writes: > Spaces are still highlighted and other lines are (of > course) plain text. Please note I'm running > spacemacs, if that does matter. You can do the "binary search". It is a pretty name for a sluggish tho capable method. 1. First do 'emacs -Q'. If this solves the problem, the problem is in a configuration/extension file. 2. Then proceed to comment out half of your initialization code. 3. If this solves the problem, you know where the problem is. If this doesn't solve the problem, you know where the problem is. With the newfound "problem chunk of code", redo steps 2-3 until you have found the misconfiguration. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Thu Feb 18 20:05:42 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aWZVu-0000ZH-EC for mharc-help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 20:05:42 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWZVr-0000Z1-Gg for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 20:05:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWZVo-0003f2-8n for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 20:05:39 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:29055) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWZVn-0003ej-QA for help-gnu-emacs@gnu.org; Thu, 18 Feb 2016 20:05:35 -0500 Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u1J15XdL023214 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 19 Feb 2016 01:05:34 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u1J15X34007638 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 19 Feb 2016 01:05:33 GMT Received: from abhmp0017.oracle.com (abhmp0017.oracle.com [141.146.116.23]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id u1J15OBx002431; Fri, 19 Feb 2016 01:05:29 GMT MIME-Version: 1.0 Message-ID: Date: Thu, 18 Feb 2016 17:05:18 -0800 (PST) From: Drew Adams Sender: Drew Adams To: Emanuel Berg , help-gnu-emacs@gnu.org Subject: RE: removing white space highlight References: <22213.39605.290751.139619@mail.eng.it> <20160218103019.GA5354@tuxteam.de> <20160218131722.GA10679@tuxteam.de> <20160218141544.GB11934@tuxteam.de> <87vb5lzgx3.fsf@debian.uxu> In-Reply-To: <87vb5lzgx3.fsf@debian.uxu> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 01:05:40 -0000 > You can do the "binary search". It is a pretty name > for a sluggish tho capable method. Nope. Not sluggish at all. Blind, maybe (but nothing prevents one from applying some thought, as well). But not sluggish. It can seem silly or sluggish at first, but ... well, it's exponential, so keep with it... There is little in our Universe that is less sluggish, at the end of the day, than exponential behavior. > 1. First do 'emacs -Q'. If this solves the problem, > the problem is in a configuration/extension file. >=20 > 2. Then proceed to comment out half of your > initialization code. >=20 > 3. If this solves the problem, you know where the > problem is. If this doesn't solve the problem, you > know where the problem is. With the newfound > "problem chunk of code", redo steps 2-3 until you > have found the misconfiguration. Yup. Good. From MAILER-DAEMON Fri Feb 19 11:03:21 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aWnWb-0003Hl-NB for mharc-help-gnu-emacs@gnu.org; Fri, 19 Feb 2016 11:03:21 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWnWZ-0003HQ-DH for help-gnu-emacs@gnu.org; Fri, 19 Feb 2016 11:03:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWnWT-0000ot-Bh for help-gnu-emacs@gnu.org; Fri, 19 Feb 2016 11:03:19 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:60458) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWnWT-0000oi-4N for help-gnu-emacs@gnu.org; Fri, 19 Feb 2016 11:03:13 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 5C5FF9D2005; Fri, 19 Feb 2016 17:03:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XJE3q05yrNKS; Fri, 19 Feb 2016 17:03:02 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 281519D2004; Fri, 19 Feb 2016 17:03:01 +0100 (CET) References: <22213.39605.290751.139619@mail.eng.it> <20160218103019.GA5354@tuxteam.de> <20160218131722.GA10679@tuxteam.de> <20160218141544.GB11934@tuxteam.de> <87vb5lzgx3.fsf@debian.uxu> User-agent: mu4e 0.9.13; emacs 25.1.50.2 From: Marcin Borkowski To: Emanuel Berg Subject: Re: removing white space highlight In-reply-to: <87vb5lzgx3.fsf@debian.uxu> Date: Fri, 19 Feb 2016 17:02:58 +0100 Message-ID: <878u2gwuvh.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 16:03:20 -0000 On 2016-02-19, at 01:23, Emanuel Berg wrote: > Luca Ferrari writes: > >> Spaces are still highlighted and other lines are (of >> course) plain text. Please note I'm running >> spacemacs, if that does matter. > > You can do the "binary search". It is a pretty name > for a sluggish tho capable method. > > 1. First do 'emacs -Q'. If this solves the problem, > the problem is in a configuration/extension file. > > 2. Then proceed to comment out half of your > initialization code. > > 3. If this solves the problem, you know where the > problem is. If this doesn't solve the problem, you > know where the problem is. With the newfound > "problem chunk of code", redo steps 2-3 until you > have found the misconfiguration. Or do it automatically. https://github.com/Malabarba/elisp-bug-hunter Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Fri Feb 19 14:24:54 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aWqfe-0001Bg-2r for mharc-help-gnu-emacs@gnu.org; Fri, 19 Feb 2016 14:24:54 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46304) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWqfb-00018p-9X for help-gnu-emacs@gnu.org; Fri, 19 Feb 2016 14:24:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWqfY-0003qw-3B for help-gnu-emacs@gnu.org; Fri, 19 Feb 2016 14:24:51 -0500 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:37158) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWqfX-0003qo-PI for help-gnu-emacs@gnu.org; Fri, 19 Feb 2016 14:24:48 -0500 Received: by mail-wm0-x22b.google.com with SMTP id g62so84908346wme.0 for ; Fri, 19 Feb 2016 11:24:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=introo-me.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to:content-type; bh=Bx5L6MYccpZEnt/7DCpPtOuMcPUswMaInxmNkZgfvcY=; b=1nKGx2ORs/M+BiBXML099psLCl1Bm/tdohLhYKURlqVE4DqwBHnjR4X21O2tlWOoRt mnmZgVob2FZgEgsxvR1SufK5zyGToejzjI+UA3OwtumQ6vKxKpUZIjdq0KHxd48ChR/0 qVhTfllMYbMWj9VoEAbxF/j9buyxa9iENxXX3Sp6SYenQBCOvdXFF5uPwN4wsB70vRJ2 Uqm6SGcOX8RqyA82fwVPZPooL/f72ETgGZ2atho36jRuIKvzjAQZzOQxxRQbsMJeC6jU Eoxxde4j1GLExOBMRMUyDTdtHn09mnKHYA3q8mNyrHWaFLuuNsM6NldKAogOtRspwT/p dAhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=Bx5L6MYccpZEnt/7DCpPtOuMcPUswMaInxmNkZgfvcY=; b=dFCiuu/+JbplCeDeZFWE9wj9NPHCtfMs+H1P0s9pV7yIG0v0j7rrS1ZJuH3/VA/HsO ZYfXAqm/NOW8bRENIxzdqq6FLZERQFbjvBfqHGqBOif0XnMQTdoroBHfkhAcfzUE2010 d7QPhP9gboyU1g6JRpG6MybocuaSiatdJ6hLiEKWq80PPcmjNSfPxL9/CxbmQ0n0yuPC 7gxJtzmr5VTJ96itVL7eeG/3jv5KiQ0Wx8yFRhc95RDHcX4+P9YJwcISfsE8KHTyYi+C KfLxSofZQzMYKMvQixrfGSMlYhb/e+HvmgMFWdY+i16zpBU3iBRrcvSwq7VkHcy7P33f wI8A== X-Gm-Message-State: AG10YOQi9Ne54BawC/86OHlVbMdnji3ginbdZ2WwKFpewkymgh21rqt6E1r4KF/IJCSLQva7vM9bjC7pDcIAMg== MIME-Version: 1.0 X-Received: by 10.194.95.40 with SMTP id dh8mr16825438wjb.146.1455909886684; Fri, 19 Feb 2016 11:24:46 -0800 (PST) Received: by 10.27.231.69 with HTTP; Fri, 19 Feb 2016 11:24:46 -0800 (PST) X-Originating-IP: [143.89.244.107] Date: Sat, 20 Feb 2016 03:24:46 +0800 Message-ID: Subject: for url.el, callback is not invoked when the http response contains only headers. From: Shiyao Ma To: help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 19:24:52 -0000 SGksDQoNCklzIHRoYXQgaW50ZW5kZWQ/DQoNCklmIHNvLCBhbnkgc2V0dGluZyB0byBjaGFuZ2Ug dGhpcyBiZWhhdmlvcj8NCg0KDQpSZWdhcmRzLg0KDQoNCg0KDQotLSANCg0K5ZC+6Lyp44Gv54yr 44Gn44GC44KL44CC44Ob44O844Og44O844Oa44O844K444GvaHR0cHM6Ly9pbnRyb28ubWUgPGh0 dHA6Ly9pbnRyb28ubWU+44CCDQo= From MAILER-DAEMON Fri Feb 19 15:44:06 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aWruI-0004f7-9X for mharc-help-gnu-emacs@gnu.org; Fri, 19 Feb 2016 15:44:06 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWruF-0004Zb-Kv for help-gnu-emacs@gnu.org; Fri, 19 Feb 2016 15:44:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWruC-0000O4-CZ for help-gnu-emacs@gnu.org; Fri, 19 Feb 2016 15:44:03 -0500 Received: from plane.gmane.org ([80.91.229.3]:37056) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWruC-0000N0-6V for help-gnu-emacs@gnu.org; Fri, 19 Feb 2016 15:44:00 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aWru9-0006WA-I5 for help-gnu-emacs@gnu.org; Fri, 19 Feb 2016 21:43:57 +0100 Received: from nl106-137-54.student.uu.se ([130.243.137.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Feb 2016 21:43:57 +0100 Received: from embe8573 by nl106-137-54.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 19 Feb 2016 21:43:57 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: removing white space highlight Date: Fri, 19 Feb 2016 21:43:51 +0100 Lines: 53 Message-ID: <87vb5ke8hk.fsf@debian.uxu> References: <22213.39605.290751.139619@mail.eng.it> <20160218103019.GA5354@tuxteam.de> <20160218131722.GA10679@tuxteam.de> <20160218141544.GB11934@tuxteam.de> <87vb5lzgx3.fsf@debian.uxu> <878u2gwuvh.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-54.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:gAWJnFHaYzNpj+8kxHyxm1uP9mE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 20:44:05 -0000 Marcin Borkowski writes: > Or do it automatically. Here, we only consider serious suggestions :) About 'binary search' being "sluggish", the algorithm itself isn't sluggish. Actually it is great when the outcome (the test or the search) is almost instantly extractable from any "length" of the material, *and* when the material is possible to divide arbitrarily. Here, the test is the existence of unwanted behavior and the material is Elisp code, so this is so, or almost so, because you can't cut the code in half entirely anywhere you want (e.g., it is not possible in the middle of a defun), but mostly, it should be possible to divide fairly freely as the code is probably either written "in sequence" (e.g., as single .emacs file) *or* if it is modular (e.g., the .emacs file is a bunch of `loads' of other files). Once again modular code makes life easier. Start Emacs with '-Q', confirm the unwanted isn't there, then bring up the "load" .emacs file: (load-file "file.elc-1") (load-file "file.elc-2") ... (load-file "file.elc-n") This makes it much easier to comment out and in code. Either do that the binary way (for a lot of files) or just evaluate file after file until the problem arises. What is "sluggish" about it is rather that you don't even attempt to make an educated guess where the problem is. But if you have absolutely no "education" to your guess, isn't that the right thing to do - not to do it? Well, yes and no. In isolation, it makes sense not doing something that isn't there. In the long run tho, making educated guesses is a skill just as any I'd say. Probably the sooner you start doing them, the better they get. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Fri Feb 19 15:51:10 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aWs18-0001iS-4c for mharc-help-gnu-emacs@gnu.org; Fri, 19 Feb 2016 15:51:10 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWs15-0001i9-CB for help-gnu-emacs@gnu.org; Fri, 19 Feb 2016 15:51:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWs10-0003iL-VA for help-gnu-emacs@gnu.org; Fri, 19 Feb 2016 15:51:07 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:50533) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWs10-0003i5-O1 for help-gnu-emacs@gnu.org; Fri, 19 Feb 2016 15:51:02 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 15A3C9D2005; Fri, 19 Feb 2016 21:50:59 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RbEh3U1BMie4; Fri, 19 Feb 2016 21:50:55 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 6CB4F9D2004; Fri, 19 Feb 2016 21:50:55 +0100 (CET) References: <22213.39605.290751.139619@mail.eng.it> <20160218103019.GA5354@tuxteam.de> <20160218131722.GA10679@tuxteam.de> <20160218141544.GB11934@tuxteam.de> <87vb5lzgx3.fsf@debian.uxu> <878u2gwuvh.fsf@mbork.pl> <87vb5ke8hk.fsf@debian.uxu> User-agent: mu4e 0.9.13; emacs 25.1.50.2 From: Marcin Borkowski To: Emanuel Berg Subject: Re: removing white space highlight In-reply-to: <87vb5ke8hk.fsf@debian.uxu> Date: Fri, 19 Feb 2016 21:50:54 +0100 Message-ID: <871t88whjl.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Feb 2016 20:51:08 -0000 On 2016-02-19, at 21:43, Emanuel Berg wrote: > Marcin Borkowski writes: > >> Or do it automatically. > > Here, we only consider serious suggestions :) I was serious. Have you looked at the link I provided? Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Fri Feb 19 19:30:24 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aWvRI-0005cC-C5 for mharc-help-gnu-emacs@gnu.org; Fri, 19 Feb 2016 19:30:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54344) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWvRF-0005Z9-Kb for help-gnu-emacs@gnu.org; Fri, 19 Feb 2016 19:30:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aWvRC-0001Rv-Ei for help-gnu-emacs@gnu.org; Fri, 19 Feb 2016 19:30:21 -0500 Received: from plane.gmane.org ([80.91.229.3]:49379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aWvRC-0001RW-8Y for help-gnu-emacs@gnu.org; Fri, 19 Feb 2016 19:30:18 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aWvR6-00025D-A4 for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 01:30:12 +0100 Received: from nl106-137-54.student.uu.se ([130.243.137.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Feb 2016 01:30:12 +0100 Received: from embe8573 by nl106-137-54.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Feb 2016 01:30:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: removing white space highlight Date: Sat, 20 Feb 2016 01:30:01 +0100 Lines: 25 Message-ID: <87r3g8dy0m.fsf@debian.uxu> References: <22213.39605.290751.139619@mail.eng.it> <20160218103019.GA5354@tuxteam.de> <20160218131722.GA10679@tuxteam.de> <20160218141544.GB11934@tuxteam.de> <87vb5lzgx3.fsf@debian.uxu> <878u2gwuvh.fsf@mbork.pl> <87vb5ke8hk.fsf@debian.uxu> <871t88whjl.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-54.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:wF5Ap7GL7KIqFX/bFKeO5QrTuno= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2016 00:30:22 -0000 Marcin Borkowski writes: >>> Or do it automatically. >> >> Here, we only consider serious suggestions :) > > I was serious. I know. I wasn't. > Have you looked at the link I provided? I did look at the link but it looked like most links I've seen to this day :) Actually, I'd say solving the OPs problem automatically with just about any tool is a minor hacker achievement. If you, or anyone else does it, I'll be impressed to the degree I'll read just about anything including the collected travels of Ryszard Kapuscinski. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Sat Feb 20 08:15:27 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aX7Nf-0000Um-6c for mharc-help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 08:15:27 -0500 X-Received: by 10.182.56.233 with SMTP id d9mr17128666obq.2.1455972334118; Sat, 20 Feb 2016 04:45:34 -0800 (PST) X-Received: by 10.50.8.74 with SMTP id p10mr31111iga.8.1455972334096; Sat, 20 Feb 2016 04:45:34 -0800 (PST) Path: usenet.stanford.edu!news.glorb.com!ok5no3928269igc.0!news-out.google.com!kr2ni1781igb.0!nntp.google.com!hb3no7485139igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: gnu.emacs.help Date: Sat, 20 Feb 2016 04:45:33 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=143.169.185.169; posting-account=B35wtwoAAADGvLeHjFRnCdpkhPf-ZGsg NNTP-Posting-Host: 143.169.185.169 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Hang on startup on OS X (GUI only) From: enrique.manjavacas@gmail.com Injection-Date: Sat, 20 Feb 2016 12:45:34 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: usenet.stanford.edu gnu.emacs.help:216930 To: help-gnu-emacs@gnu.org X-Mailman-Approved-At: Sat, 20 Feb 2016 08:15:26 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2016 12:50:12 -0000 On Sunday, February 15, 2015 at 9:43:22 PM UTC+1, Elliott Slaughter wrote: > (If there is a better place to direct this (e.g. a bug tracker) please let > me know.) > > Emacs often hangs on startup on Mac OS X. The hangs are non-deterministic > but frequent (25-50% of runs), consume 100% of CPU, and only happen when > starting Emacs.app with the GUI enabled, never when running in text mode on > the command-line. I have reproduced the hangs with an empty .emacs file and > after having completely removed .emacs.d. > > I am using Emacs 24.4 from http://emacsformacosx.com/ , but notably, this > bug has been reported multiple times by users of Homebrew (who either > compile from source or download a binary from Homebrew's own servers): > https://github.com/Homebrew/homebrew/issues/36737 > https://github.com/Homebrew/homebrew/issues/25003 > > I have attached the start of a log from Mac OS X's built-in crash reporter. > I can provide the rest of the report as well, if that would be helpful. (It > contains various stack traces sampled from the unresponsive process.) > > Note that while the trace below says that I've installed Emacs from > homebrew, this is the cask version, which is just a proxy for the > emacsformacosx.com version, which is not the same as the Homebrew proper > version (which was the focus of the bug reports above), which is compiled > from source. > > Thanks in advance! > > =========== > > Date/Time: 2015-02-15 11:08:40 -0800 > OS Version: 10.10.2 (Build 14C109) > Architecture: x86_64 > Report Version: 21 > > Command: Emacs-x86_64-10_9 > Path: > /opt/homebrew-cask/*/Emacs.app/Contents/MacOS/Emacs-x86_64-10_9 > Version: ??? (???) > Parent: launchd [1] > PID: 39366 > > Event: hang > Duration: 4.00s (process was unresponsive for 176 seconds before > sampling) > Steps: 41 (100ms sampling interval) > > Hardware model: MacBookPro8,2 > Active cpus: 8 > > Fan speed: 4362 rpm > > [... file continues for about 1 MB of text ...] > > -- > Elliott Slaughter > > "Don't worry about what anybody else is going to do. The best way to > predict the future is to invent it." - Alan Kay Just for the record, I was having the same problem, but it seems to have gone away compiling the patched version in this commit: http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-25&id=0392e241b844487261d4dfcccc9a442793e0a868 This was also meant as a solution for the bug report posted also in this conversation by Elliott Slaughter: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19879 notice that the mentioned patch is for Emacs25 best From MAILER-DAEMON Sat Feb 20 12:03:16 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXAw8-0005Jk-7r for mharc-help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 12:03:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46487) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXAw4-0005Fb-5u for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 12:03:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXAw2-0007yr-3x for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 12:03:12 -0500 Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]:35215) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXAw1-0007y2-S1 for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 12:03:10 -0500 Received: by mail-wm0-x229.google.com with SMTP id c200so116557725wme.0 for ; Sat, 20 Feb 2016 09:03:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc :content-type; bh=yLdIVrKKnsG9syUm4FbRUkmZsp9zCu+OXXZAbLAMeg8=; b=QSlGAf6nIVsC13uEGH47dhEsWhqfqNrqR3tHsISdomFYxcLnMC5MQQeejRxrWIn1EP eeOeh8bJXW/c5G9VIOJqOP4pwE8ZAfXIt9RKROTBsgxRvpkj8p9sv6ysgN8Zc1uYODAR 1z+K3Kds0Lv+Ggz8dJOMeArqDbe7TSMNbwMkQfuRpxYynZA4cfgQ/hiGbHgcpda6ycNO JNw9O3eb2xmsxd/zfzt0YbbUjvy3poWQ1HGu3NRU+542wGpU2KkxuK3BDobnUQZkabX1 YZuTijO3sr9NZLotDvcoh72o7lDjn3yLypb3QnrmcPCI5ykRI3kpkcphDx5erPOnz00K eXag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:cc:content-type; bh=yLdIVrKKnsG9syUm4FbRUkmZsp9zCu+OXXZAbLAMeg8=; b=LujjvC/xHPHnLq4pEh2mM8HYIXtD9ieTAm8U9d2NCm+8IsjKDypeL/cAVf5Yg9qSky AIN1IoTPR40kl/OC1eqszQOPa/5+W7kMqjK76+wrSPtDmxGMgh5/IIn5SuFO/6G7kHWV GELf2EDtgxzykaFRWr1omgTNX+5A5GH8F1exTlC7OlOw+jWKZEuhC9xftqknKgIAn4g6 +m88V42ohV/7IALsBLoz0PbMFLWBOl4TKaaclVwpH9P9hZmbVp+r8hMpKt+gtNZc3Xb4 s6V5NayKF7kGvDObkD/AB3o78W5dGBKzuH3rqK4Yjztc43b+paa9vAQYXENOry0NcgEr ghlA== X-Gm-Message-State: AG10YOTeZqM+21DRqsZWxtRNsxN3z3X3JgXtdhQ4oiGgMgnOo7/XGLCrVBJeA+eVWRi6bkI2bEEzKDiZwa6eBA== X-Received: by 10.194.58.47 with SMTP id n15mr19353980wjq.155.1455987788252; Sat, 20 Feb 2016 09:03:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.81.164 with HTTP; Sat, 20 Feb 2016 09:02:38 -0800 (PST) In-Reply-To: References: From: Guido Van Hoecke Date: Sat, 20 Feb 2016 18:02:38 +0100 Message-ID: Subject: Re: Hang on startup on OS X (GUI only) Cc: help-gnu-emacs X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::229 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2016 17:03:14 -0000 Hi, Currently using (since November 23, 2015) nightly build GNU Emacs 25.1.50.1 (x86_64-apple-darwin13.4.0, NS appkit-1265.21 Version 10.9.5 (Build 13F1134)) of 2015-11-23 obtained from http://emacsformacosx.com/ It never did hang nor crash on me (y) Kudos to all developers :) Guido On 20 February 2016 at 13:45, wrote: > On Sunday, February 15, 2015 at 9:43:22 PM UTC+1, Elliott Slaughter wrote: > > (If there is a better place to direct this (e.g. a bug tracker) please > let > > me know.) > > > > Emacs often hangs on startup on Mac OS X. The hangs are non-deterministic > > but frequent (25-50% of runs), consume 100% of CPU, and only happen when > > starting Emacs.app with the GUI enabled, never when running in text mode > on > > the command-line. I have reproduced the hangs with an empty .emacs file > and > > after having completely removed .emacs.d. > > > > I am using Emacs 24.4 from http://emacsformacosx.com/ , but notably, > this > > bug has been reported multiple times by users of Homebrew (who either > > compile from source or download a binary from Homebrew's own servers): > > https://github.com/Homebrew/homebrew/issues/36737 > > https://github.com/Homebrew/homebrew/issues/25003 > > > > I have attached the start of a log from Mac OS X's built-in crash > reporter. > > I can provide the rest of the report as well, if that would be helpful. > (It > > contains various stack traces sampled from the unresponsive process.) > > > > Note that while the trace below says that I've installed Emacs from > > homebrew, this is the cask version, which is just a proxy for the > > emacsformacosx.com version, which is not the same as the Homebrew proper > > version (which was the focus of the bug reports above), which is compiled > > from source. > > > > Thanks in advance! > > > > =========== > > > > Date/Time: 2015-02-15 11:08:40 -0800 > > OS Version: 10.10.2 (Build 14C109) > > Architecture: x86_64 > > Report Version: 21 > > > > Command: Emacs-x86_64-10_9 > > Path: > > /opt/homebrew-cask/*/Emacs.app/Contents/MacOS/Emacs-x86_64-10_9 > > Version: ??? (???) > > Parent: launchd [1] > > PID: 39366 > > > > Event: hang > > Duration: 4.00s (process was unresponsive for 176 seconds before > > sampling) > > Steps: 41 (100ms sampling interval) > > > > Hardware model: MacBookPro8,2 > > Active cpus: 8 > > > > Fan speed: 4362 rpm > > > > [... file continues for about 1 MB of text ...] > > > > -- > > Elliott Slaughter > > > > "Don't worry about what anybody else is going to do. The best way to > > predict the future is to invent it." - Alan Kay > > Just for the record, I was having the same problem, but it seems to have > gone away compiling the > patched version in this commit: > > > http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-25&id=0392e241b844487261d4dfcccc9a442793e0a868 > > This was also meant as a solution for the bug report posted also in this > conversation by Elliott Slaughter: > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19879 > > notice that the mentioned patch is for Emacs25 > > best > From MAILER-DAEMON Sat Feb 20 12:13:41 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXB6D-0001bt-5V for mharc-help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 12:13:41 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXB6A-0001YS-FB for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 12:13:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXB67-0001qu-4G for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 12:13:38 -0500 Received: from plane.gmane.org ([80.91.229.3]:36171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXB66-0001qq-Tq for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 12:13:35 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aXB65-0002un-GD for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 18:13:33 +0100 Received: from t8667.wpa.dal.ca ([134.190.134.103]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Feb 2016 18:13:33 +0100 Received: from nljlistbox2 by t8667.wpa.dal.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Feb 2016 18:13:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: nljlistbox2@gmail.com (N. Jackson) Subject: How to use display-time-world to show time in specific time zones? Date: Sat, 20 Feb 2016 13:13:27 -0400 Lines: 26 Message-ID: <87vb5jl2yw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: t8667.wpa.dal.ca User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux) Cancel-Lock: sha1:g0UgZif8DjFL3GMHldtPbwRQ/9I= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2016 17:13:39 -0000 I'm wondering how to use display-time-world to display the time in specific time zones. The doc string for zoneinfo-style-world-list, which IIUC is the list of time zones used by display-time-world says: zoneinfo-style-world-list is a variable defined in ‘time.el’. Its value is (("America/Los_Angeles" "Seattle") ("America/New_York" "New York") ("Europe/London" "London") ("Europe/Paris" "Paris") ("Asia/Calcutta" "Bangalore") ("Asia/Tokyo" "Tokyo")) Documentation: Alist of zoneinfo-style time zones and places for ‘display-time-world’. Each element has the form (TIMEZONE LABEL). TIMEZONE should be a string of the form AREA/LOCATION, where AREA is the name of a region -- a continent or ocean, and LOCATION is the name of a specific location, e.g., a city, within that region. LABEL is a string to display as the label of that TIMEZONE’s time. But these values are _places_ not time zones. I'm wondering how, for example, one would add UTC to the list? From MAILER-DAEMON Sat Feb 20 14:08:13 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXCt3-0001nd-K2 for mharc-help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 14:08:13 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50014) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXCt1-0001jK-6O for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 14:08:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXCsy-0006HP-1G for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 14:08:11 -0500 Received: from havoc.proulx.com ([96.88.95.61]:34182) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXCsx-0006HL-S7 for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 14:08:07 -0500 Received: from joseki.proulx.com (localhost [127.0.0.1]) by havoc.proulx.com (Postfix) with ESMTP id 3C75349F; Sat, 20 Feb 2016 12:08:07 -0700 (MST) Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id DD512211DE; Sat, 20 Feb 2016 12:08:06 -0700 (MST) Received: by hysteria.proulx.com (Postfix, from userid 1000) id B6E332DC5F; Sat, 20 Feb 2016 12:08:06 -0700 (MST) Date: Sat, 20 Feb 2016 12:08:06 -0700 From: Bob Proulx To: Luca Ferrari Subject: Re: removing white space highlight Message-ID: <20160220120357638044819@bob.proulx.com> Mail-Followup-To: Luca Ferrari , help-gnu-emacs References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 96.88.95.61 Cc: help-gnu-emacs X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2016 19:08:12 -0000 Luca Ferrari wrote: > for some reason I don't know after applying a few theme settings I > have Emacs now highlighting rows with only white spaces. > That is a little annoying to me, so I'm wondering what is the > customize-* I accidentally broke. > Any suggestion is welcome. I didn't see anyone suggest actually fixing the file to remove those lines with trailing whitespace but I think is the best answer. That is the entire reason for the trailing whitespace highlighting in the first place. Make them visible instead of invisible so that they will be addressed. I know that a lot of people will say that it is whitespace and they don't care. Many years ago I would have been one of those people. But now that version control is everywhere (among other things) I am now sensitive to whitespace causing useless diffs in files. Whitespace that I never cared about before is now cruft that I always clean in order to avoid noisy diffs. Therefore I suggest cleaning the whitespace cruft from those files and then the annoying highlight face won't be shown anymore. :-) Bob From MAILER-DAEMON Sat Feb 20 17:07:39 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXFgh-0004AV-PZ for mharc-help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 17:07:39 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXBDT-0003dx-Gw for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 12:21:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXBDS-0003jF-Jq for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 12:21:11 -0500 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:34778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXBDS-0003id-CH for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 12:21:10 -0500 Received: by mail-wm0-x230.google.com with SMTP id b205so105758845wmb.1 for ; Sat, 20 Feb 2016 09:21:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=fl8mX1N8jNmJQW6c6M9gIfOW4XuhMtx4bNr3V4kQN1E=; b=GnuxKfwl3YbdVFyab/GcAtcEMF6TGeto5C6tzw3EJ8Ovk4EDf5Gs3XiM1AYUNHGvjs 9FeHrn+nzRCZWHSaQC17mXNHox0lyNEHj8xr5z1NXXF36MzxY4dDv6MKAvGy6kvpVX51 cQqxe29RqY983OSDQJgEzPCLPQayzdi2cWRRhf6Z2nqZAbTLFuYcJizTKiwHWdBTIOGi 3ekMpfIaKi/V0ySmF5xXGv5Ac4YN4JhxdWvUojXomgZDJ4t191UztgYZP8HYUOVozfXE 8lTYqrUhtDx1aWmWZYpWXkshS3q0jXYZ/jVo63Qo7EdDmTNnV2W5dtAGU0yqwpNap3D7 OLDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=fl8mX1N8jNmJQW6c6M9gIfOW4XuhMtx4bNr3V4kQN1E=; b=Biiq2ZaUFGmkVJkKdmZ+GMR+bgcW+JK1dHl8/MJIyrFbrT0tq1DnXCSDJleP5pzJAK MrfinAyREbTVeKvr+eadoG7tIaBdxJMfApKc7+LGPxm5wrDG3i5RHQNClzx3lJps0THz NtIxWR8ORyfxfKfLDWRQLkwqJExMFiAK7XZ93Wo0Ty5Vrr74DJfGRh/t5CQaiOmHlLx3 EbfhFWiImcerCFc0oMUBcI+ov9z0JwzGN5BTwOvIVpL482tG+IN370gYRyEA2Hs6AUri TzHd78frm7N4sfEyfU8P2aD8RGnW7e+s4mLPtpYVQ1iIfCPUquvSpIB6xW+7H8Wgi2ET 1ovQ== X-Gm-Message-State: AG10YOTIE0/vJvhib9qnihE8qrfKiLqvUbajpM2ITWcebfNp0nIddkOUOjuI1e9DRUgZRQ1ygwtCJ2Tj9osFrw== X-Received: by 10.194.61.169 with SMTP id q9mr19031640wjr.77.1455988868707; Sat, 20 Feb 2016 09:21:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.25.135 with HTTP; Sat, 20 Feb 2016 09:20:29 -0800 (PST) From: =?UTF-8?Q?St=C3=A9phane_Travostino?= Date: Sat, 20 Feb 2016 17:20:29 +0000 Message-ID: Subject: Rendering buffer to HTML from command line script To: help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::230 X-Mailman-Approved-At: Sat, 20 Feb 2016 17:07:38 -0500 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2016 17:21:12 -0000 Hello, I'm trying to create a command line Emacs script that, by specifying a file and a theme, renders the file to HTML using the theme colours. For example: emacs --script render-theme.el some-theme.el test.c > test.c.html I'm using htmlfontify to render the buffer to HTML, and works great when called from X, but I get a black and white output when called from the terminal _with most themes_. The problem is that themes specify the minimum terminal requirements to enable a specific face, i.e. minimum amount of colours supported by the terminal, window-system, etc. ( http://www.gnu.org/software/emacs/manual/html_node/elisp/Defining-Faces.html ) For example: (defface 'foo (((min-colors 88) (class color) etc.)) If I modify the theme to disable these terminal requirements options, htmlfontify renders correctly. That's probably a long shot, but is it possible to either force a particular terminal configuration from command line, or force-enable all theme faces? For example, (display-color-cells) in X returns 16777216, while I get 0 when executed from the script; that's probably part of the problem. Why am I doing this: I want to create an Emacs theme browser web application which creates a preview of any theme against a few different file formats, and I want an headless Emacs to create the HTML preview. Thanks. Stephane. From MAILER-DAEMON Sat Feb 20 17:07:40 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXFgi-0004Cc-Qz for mharc-help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 17:07:40 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36528) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXDxM-0003Dg-E1 for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 15:16:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXDxJ-0006iz-6i for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 15:16:44 -0500 Received: from db1.countermail.com ([46.253.205.114]:44045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXDxI-0006h8-Vd for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 15:16:41 -0500 Received: from 192.168.0.1 [46.253.205.116]) by db1.countermail.com (Postfix) with ESMTPA id B7B5782A01A2 for ; Sat, 20 Feb 2016 21:16:39 +0100 (CET) Message-ID: Date: Sat, 20 Feb 2016 21:18:58 +0100 Subject: Skip "./configure"? From: =?utf-8?B?QWxiaW4gTHVkdmlnIE90dGVyaMOkbGw=?= To: help-gnu-emacs@gnu.org MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 46.253.205.114 X-Mailman-Approved-At: Sat, 20 Feb 2016 17:07:38 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Feb 2016 20:16:45 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 When I try to run the "./configure" command in a newly cloned Emacs I get= following response: "zsh: no such file or directory: ./configure". Just to test I only type "make" directly, and everything works smoothly w= ithout any problems. Emacs compile without any problems and Emacs runs. I'm using Ubuntu 16.04 with build-essential, make and emacs24 dependencie= s installed. What have changed, or did I skip a step that isn't mandatory? No experien= ce concerning compiling with makefiles. Med v=C3=A4nliga h=C3=A4lsningar/Best regards, Albin Otterh=C3=A4ll -----BEGIN PGP SIGNATURE----- Version: CounterMailEngine v1.4 Note: Signature can be verified at https://countermail.com/?p=3Dtools Charset: UTF-8 iQJVBAEBAgA/BQJWyMmmOBwib3R0ZXJoYWxsQGNvdW50ZXJtYWlsLmNvbSIgPG90 dGVyaGFsbEBjb3VudGVybWFpbC5jb20+AAoJECdF5y1jnSyQ4woP/jDbngh5ivRu be5UecL5mSJfuaW7N+Fw4eUDkteNUVLfo1ZQ/7HO71pTXwFZIfDLQZ5ECif1DD/j Goq51qpVg42mzRvPVPixshhqQRXKNhL4LTN4X1K+osE0AfjB96EAWQn7gm4YlXuV Ppu354LYBmbztx9c7ZrVw3YsyCMN9ZMbVQk4j5NiK6OoLVRrR/06CkqN6uh0fSfX DHyVhMypKJYpNNU5Nheb8aWxHf6aeW2hBDwibQ9SBCMUjsr0OUhR6LAYo5nhrlF5 llVBn6Xz8xWOzYNdagNgd46Xm2uP10OYTxAttag686FaC5w0BKzkpQnN+1LnyECG EIwYwc8q1IXx6+R9Km30Uc4BW+5i+Pjt0ax1lOA2dJnMEK6RRv2QvaonJnyHbExm PezaxRJ8NbXSqaPOj1/kLBtg5Q4U1lyuTLHHtNHFv84uqYFC1SykyFlB0WdeH9kn i89VXKqTHKNiiYDv26/W1ui94AjzhDjqTCeeD5GKQD9IYqgyIkg8vruPqU/cGg0y NPqwxUYY0ATMf67ERilqCYjN0pXZtw4lAUQx2xoBtXOzrcHm7PNVwoKKmsZr8qZl 8pPp2JPH7r2eVGPAVLfYAdXf5ihmHNh3PN95x8QuuLN2csslF5FtB2IISW4RFn4D 3Ch+U2isWylIvTsSPXvbIyuMcjrQaWRC =3DILru -----END PGP SIGNATURE----- From MAILER-DAEMON Sat Feb 20 19:21:51 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXHmY-0002YE-VV for mharc-help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 19:21:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXHmW-0002Y0-9N for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 19:21:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXHmT-0000It-2i for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 19:21:48 -0500 Received: from plane.gmane.org ([80.91.229.3]:58401) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXHmS-0000IQ-Sa for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 19:21:45 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aXHmP-0003U7-Qr for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 01:21:41 +0100 Received: from nl106-137-54.student.uu.se ([130.243.137.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 01:21:41 +0100 Received: from embe8573 by nl106-137-54.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 01:21:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: How to use display-time-world to show time in specific time zones? Date: Sun, 21 Feb 2016 01:21:35 +0100 Lines: 48 Message-ID: <871t86nca8.fsf@debian.uxu> References: <87vb5jl2yw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-54.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:Glkp5HZZw4pAIpmHvrxYgHKmzo0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 Cc: Dag Holmgren X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 00:21:49 -0000 nljlistbox2@gmail.com (N. Jackson) writes: > I'm wondering how to use display-time-world to > display the time in specific time zones. > > The doc string for zoneinfo-style-world-list, which > IIUC is the list of time zones used by > display-time-world says: > > zoneinfo-style-world-list is a variable defined in > ‘time.el’. Its value is (("America/Los_Angeles" > "Seattle") ("America/New_York" "New York") > ("Europe/London" "London") ("Europe/Paris" "Paris") > ("Asia/Calcutta" "Bangalore") ("Asia/Tokyo" > "Tokyo")) > > Documentation: Alist of zoneinfo-style time zones > and places for ‘display-time-world’. Each element > has the form (TIMEZONE LABEL). TIMEZONE should be > a string of the form AREA/LOCATION, where AREA is > the name of a region -- a continent or ocean, and > LOCATION is the name of a specific location, e.g., > a city, within that region. LABEL is a string to > display as the label of that TIMEZONE’s time. > > But these values are _places_ not time zones. Do you mean there is another, more correct or scientific notation for designating time zones? Here the notation is "Area/Location". Are you unhappy with that? > I'm wondering how, for example, one would add UTC to > the list? Try add Greenland (Danmarkshavn) or Iceland because they use GMT/UTC all year. (GMT and UTC are +0000.) The Britton - which you have in your list already as ("Europe/London" "London") - also use GMT in the winter but BST in the summer (British Summer Time, or +0100). -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Sat Feb 20 19:32:45 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXHx7-0007dY-8J for mharc-help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 19:32:45 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXHx4-0007dL-GB for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 19:32:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXHx1-0003AV-AT for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 19:32:42 -0500 Received: from plane.gmane.org ([80.91.229.3]:59552) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXHx1-0003AR-4R for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 19:32:39 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aXHwz-0004kr-AF for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 01:32:37 +0100 Received: from nl106-137-54.student.uu.se ([130.243.137.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 01:32:37 +0100 Received: from embe8573 by nl106-137-54.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 01:32:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: removing white space highlight Date: Sun, 21 Feb 2016 01:32:26 +0100 Lines: 22 Message-ID: <87vb5ilx7p.fsf@debian.uxu> References: <20160220120357638044819@bob.proulx.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-54.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:VhcoxLR0huUpp/mkLxD6qNBJ8+0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 00:32:43 -0000 Bob Proulx writes: > now that version control is everywhere (among other > things) I am now sensitive to whitespace causing > useless diffs in files. Whitespace that I never > cared about before is now cruft that I always clean > in order to avoid noisy diffs. Of course, there shouldn't be any superfluous whitespace trailing individual text lines *or* the file contents itself. Here one way to do it: ;; (setq before-save-hook nil) (defun before-save-hook-f () (delete-trailing-whitespace) ) (setq before-save-hook #'before-save-hook-f) -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Sat Feb 20 19:53:26 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXIH8-0007ZZ-AV for mharc-help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 19:53:26 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60423) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXIH6-0007YA-1G for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 19:53:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXIH2-00071r-Rm for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 19:53:23 -0500 Received: from plane.gmane.org ([80.91.229.3]:33951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXIH2-00071h-L5 for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 19:53:20 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aXIH1-0007S5-5t for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 01:53:19 +0100 Received: from nl106-137-54.student.uu.se ([130.243.137.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 01:53:19 +0100 Received: from embe8573 by nl106-137-54.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 01:53:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Skip "./configure"? Date: Sun, 21 Feb 2016 01:53:13 +0100 Lines: 17 Message-ID: <87mvqulw92.fsf@debian.uxu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-54.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:ucC5uQOJ4C3mLDTZIf6/r4FuY7U= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 00:53:25 -0000 Albin Ludvig Otterhäll writes: > When I try to run the "./configure" command in > a newly cloned Emacs I get following response: "zsh: > no such file or directory: ./configure". Have you `cd'd to the correct directory and is there indeed a 'configure' file? > Med vänliga hälsningar = a stiff Swedish greeting often abbreviated into MVH. Both version should be avoided IMO. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Sat Feb 20 20:32:01 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXIsT-0000af-Qi for mharc-help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 20:32:01 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXIsR-0000aW-V9 for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 20:32:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXIsO-0005X1-Q5 for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 20:31:59 -0500 Received: from havoc.proulx.com ([96.88.95.61]:35944) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXIsO-0005WV-HJ for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 20:31:56 -0500 Received: from joseki.proulx.com (localhost [127.0.0.1]) by havoc.proulx.com (Postfix) with ESMTP id E1337EEB; Sat, 20 Feb 2016 18:31:54 -0700 (MST) Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 967FF218DB; Sat, 20 Feb 2016 18:31:54 -0700 (MST) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 615812DC5F; Sat, 20 Feb 2016 18:31:54 -0700 (MST) Date: Sat, 20 Feb 2016 18:31:54 -0700 From: Bob Proulx To: Albin Ludvig =?iso-8859-1?Q?Otterh=E4ll?= Subject: Re: Skip "./configure"? Message-ID: <20160220182056227746397@bob.proulx.com> Mail-Followup-To: Albin Ludvig =?iso-8859-1?Q?Otterh=E4ll?= , help-gnu-emacs@gnu.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 96.88.95.61 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 01:32:01 -0000 Albin Ludvig Otterh=E4ll wrote: > When I try to run the "./configure" command in a newly cloned Emacs > I get following response: "zsh: no such file or directory: > ./configure". Generally speaking about autotools projects.... If you get a release tar.gz file released by the project then it includes all of the infrastructure such as the ./configure script needed in order to configure and build. No autotools are required to be installed. The configure script is self contained. The essense of the release tar.gz is that it has been built to include all of the things a builder needs to compile and build. If you clone the source then you need to build the ./configure script yourself. That is the step you are missing. You need to build the configure script yourself and then run it. Which means you need to have all of the autotools installed on your system. A pure source build will require the tools to create the self-contained configure script and will require more development tools installed than the other way. Look at the README file in the source directory for directions. When I last looked it said this: The shell script 'autogen.sh' generates 'configure' and other files by running the GNU build tools autoconf and automake, which in turn use GNU m4 and Perl. If you want to use it, you will need to install recent versions of these build tools. This should be needed only if you edit files like 'configure.ac' that specify Emacs's autobuild procedure. > Just to test I only type "make" directly, and everything works > smoothly without any problems. Emacs compile without any problems > and Emacs runs. Look at the GNUmakefile in the project. If a GNUmakefile exists then it is used before a Makefile. See the 'make' documentation for the set of Makefiles used. The GNUmakefile includes Makefile if it exists but does not if it does not. When you run 'make' before having created a Makefile then it causes this section to run. This section creates the Makefile by creating the configure script and then running it. configure: @echo >&2 'There seems to be no "configure" file in this director= y.' @echo >&2 'Running ./autogen.sh ...' ./autogen.sh @echo >&2 '"configure" file built.' Makefile: configure @echo >&2 'There seems to be no Makefile in this directory.' @echo >&2 'Running ./configure ...' ./configure @echo >&2 'Makefile built.' # 'make bootstrap' in a fresh checkout needn't run 'configure' twice. bootstrap: Makefile $(MAKE) -f Makefile all As you can see those rules run autogen.sh and then ./configure and so forth for you. Which is a convenience. Which is why that worked for you. > What have changed, or did I skip a step that isn't mandatory? No > experience concerning compiling with makefiles. Hopefully my explanation above explained everything. If not then please ask more questions. Bob From MAILER-DAEMON Sat Feb 20 20:34:24 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXIum-00022C-Ey for mharc-help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 20:34:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38098) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXIuj-00020V-Ur for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 20:34:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXIug-0006FP-MJ for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 20:34:21 -0500 Received: from havoc.proulx.com ([96.88.95.61]:35964) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXIug-0006FL-HL for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 20:34:18 -0500 Received: from joseki.proulx.com (localhost [127.0.0.1]) by havoc.proulx.com (Postfix) with ESMTP id EF47BEEB for ; Sat, 20 Feb 2016 18:34:17 -0700 (MST) Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 93446211DE for ; Sat, 20 Feb 2016 18:34:17 -0700 (MST) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 51F422DC5F; Sat, 20 Feb 2016 18:34:17 -0700 (MST) Date: Sat, 20 Feb 2016 18:34:17 -0700 From: Bob Proulx To: help-gnu-emacs@gnu.org Subject: Re: removing white space highlight Message-ID: <20160220183203963873857@bob.proulx.com> Mail-Followup-To: help-gnu-emacs@gnu.org References: <20160220120357638044819@bob.proulx.com> <87vb5ilx7p.fsf@debian.uxu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87vb5ilx7p.fsf@debian.uxu> User-Agent: Mutt/1.5.24 (2015-08-30) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 96.88.95.61 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 01:34:23 -0000 Emanuel Berg wrote: > Of course, there shouldn't be any superfluous > whitespace trailing individual text lines *or* the > file contents itself. > > Here one way to do it: > > ;; (setq before-save-hook nil) > (defun before-save-hook-f () > (delete-trailing-whitespace) ) > (setq before-save-hook #'before-save-hook-f) That is one way to do it. However I don't think it is a good idea to do this automatically every time. I would rather see that it needs to be done and the do it intentionally. Usually I will do one whitespace only cleanup with no other changes and do it first. That way diff -b or -w or -B or other combination will show as clean with no non-whitespace changes. And then I make the change I want to make. If it is automatic then this mixes those two things both at the same time. I would rather see them distict. Bob From MAILER-DAEMON Sat Feb 20 20:49:01 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXJ8v-0000yQ-Iu for mharc-help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 20:49:01 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXJ8t-0000y9-3h for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 20:49:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXJ8p-0000HR-Tc for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 20:48:59 -0500 Received: from plane.gmane.org ([80.91.229.3]:37424) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXJ8p-0000HK-Nf for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 20:48:55 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aXJ8o-0000p7-M4 for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 02:48:54 +0100 Received: from nl106-137-54.student.uu.se ([130.243.137.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 02:48:54 +0100 Received: from embe8573 by nl106-137-54.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 02:48:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: removing white space highlight Date: Sun, 21 Feb 2016 02:48:47 +0100 Lines: 74 Message-ID: <87egc6ltog.fsf@debian.uxu> References: <20160220120357638044819@bob.proulx.com> <87vb5ilx7p.fsf@debian.uxu> <20160220183203963873857@bob.proulx.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-54.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:10ZcqY51r1NltlrF5Uq9jegq/2Y= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 01:49:00 -0000 Bob Proulx writes: >> Of course, there shouldn't be any superfluous >> whitespace trailing individual text lines *or* the >> file contents itself. >> >> Here one way to do it ... > > That is one way to do it. However I don't think it > is a good idea to do this automatically every time. > I would rather see that it needs to be done and the > do it intentionally. Why? > Usually I will do one whitespace only cleanup with > no other changes and do it first. That way diff -b > or -w or -B or other combination will show as clean > with no non-whitespace changes. If there is nothing to do, `delete-trailing-whitespace', doesn't do anything. Also, I have RET `newline-and-indent'. I never thought about it, but what it does is it removes extra blanks and breaks the line after the last char instead. This is also something I can recommend for `C-k': (defun kill-line-remove-blanks () (interactive) (if (looking-at "[[:space:]]*$") (let ((end (point-max))) (delete-blank-lines) (when (= end (point-max)) (delete-horizontal-space) (delete-char 1)) (when (and (= (point-min) (point)) (looking-at "[[:space:]\n]") ) (kill-line) )) (kill-line) )) It works like this - if we let that the char for full stop (or "period", i.e. "." ) represent point position: Text line which isn't empty 1... . Text line which isn't empty 2... Here, the result of invoking the command will be Text line which isn't empty 1... Text line which isn't empty 2... But here - Text line which isn't empty 1... . (add arbitrarily blank lines here) Text line which isn't empty 2... - the result will be: Text line which isn't empty 1... . Text line which isn't empty 2... Interesting! -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Sat Feb 20 21:42:55 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXJz5-0001uV-IL for mharc-help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 21:42:55 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXJz3-0001p6-Av for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 21:42:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXJz0-0004FU-4v for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 21:42:53 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:45447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXJyz-0004F7-UV for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 21:42:50 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aXJyX-0005Eq-S3; Sun, 21 Feb 2016 03:42:22 +0100 From: Lars Magne Ingebrigtsen To: Albin Ludvig =?iso-8859-1?Q?Otterh=E4ll?= Subject: Re: Skip "./configure"? References: Date: Sun, 21 Feb 2016 13:42:17 +1100 In-Reply-To: ("Albin Ludvig \=\?iso-8859-1\?Q\?Otterh\=E4ll\=22's\?\= message of "Sat, 20 Feb 2016 21:18:58 +0100") Message-ID: <8737smiy2e.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MailScanner-ID: 1aXJyX-0005Eq-S3 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: lmi@gnus.org MailScanner-NULL-Check: 1456627342.71301@uk0HYPdDFJCPmAnRL9Nbvg X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 02:42:54 -0000 Albin Ludvig Otterh=E4ll writes: > When I try to run the "./configure" command in a newly cloned Emacs I > get following response: "zsh: no such file or directory: ./configure". > > Just to test I only type "make" directly, and everything works > smoothly without any problems. Emacs compile without any problems and > Emacs runs. Yes, you don't need to do anything but say "make" if you're building Emacs from git on a modern Linux system. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From MAILER-DAEMON Sat Feb 20 22:27:30 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXKgE-0005xe-R9 for mharc-help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 22:27:30 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXKgB-0005vL-Jn for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 22:27:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXKg8-0003ze-DR for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 22:27:27 -0500 Received: from outbound-smtp07.blacknight.com ([46.22.139.12]:33803) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXKg8-0003zI-6z for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 22:27:24 -0500 Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp07.blacknight.com (Postfix) with ESMTPS id C78331C1A2F for ; Sun, 21 Feb 2016 03:27:15 +0000 (GMT) Received: (qmail 18710 invoked from network); 21 Feb 2016 03:27:15 -0000 Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.77.53.69]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 21 Feb 2016 03:27:15 -0000 From: Robert Thorpe To: Emanuel Berg Subject: Re: removing white space highlight In-Reply-To: <87egc6ltog.fsf@debian.uxu> (message from Emanuel Berg on Sun, 21 Feb 2016 02:48:47 +0100) Date: Sun, 21 Feb 2016 03:27:14 +0000 Message-ID: <87vb5izqst.fsf@robertthorpeconsulting.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 46.22.139.12 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 03:27:28 -0000 Emanuel Berg writes: > Bob Proulx writes: > >>> Of course, there shouldn't be any superfluous >>> whitespace trailing individual text lines *or* the >>> file contents itself. >>> >>> Here one way to do it ... >> >> That is one way to do it. However I don't think it >> is a good idea to do this automatically every time. >> I would rather see that it needs to be done and the >> do it intentionally. > > Why? Most people want to delete whitespace because of version control. They're working in a team that uses a VC program of some sort. There's little reason to delete whitespace otherwise, it doesn't cause any problems for editing or take up much hard disk space. In that case the programmer wants to make changes to a specific part of a file. Deleting whitespace from the whole file will cause other changes elsewhere. Causing spurious changes for whitespace reasons is frowned upon in most teams. BR, Robert Thorpe From MAILER-DAEMON Sat Feb 20 22:35:09 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXKnd-0000yJ-Ew for mharc-help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 22:35:09 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59459) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXKnb-0000xW-Os for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 22:35:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXKnY-0005i9-JP for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 22:35:07 -0500 Received: from plane.gmane.org ([80.91.229.3]:46562) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXKnY-0005i5-CU for help-gnu-emacs@gnu.org; Sat, 20 Feb 2016 22:35:04 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aXKnX-0003LY-0W for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 04:35:03 +0100 Received: from nl106-137-54.student.uu.se ([130.243.137.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 04:35:02 +0100 Received: from embe8573 by nl106-137-54.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 04:35:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: removing white space highlight Date: Sun, 21 Feb 2016 04:31:01 +0100 Lines: 23 Message-ID: <8760xiloy2.fsf@debian.uxu> References: <87egc6ltog.fsf@debian.uxu> <87vb5izqst.fsf@robertthorpeconsulting.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-54.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:9Lbut3ifbA9DFc/X5HOVFr5mpjo= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 03:35:08 -0000 Robert Thorpe writes: >> Why? > > Most people want to delete whitespace because of > version control. They're working in a team that uses > a VC program of some sort. There's little reason to > delete whitespace otherwise, it doesn't cause any > problems for editing or take up much hard > disk space. > > In that case the programmer wants to make changes to > a specific part of a file. Deleting whitespace from > the whole file will cause other changes elsewhere. > Causing spurious changes for whitespace reasons is > frowned upon in most teams. Yes, so why not have it automatized once and for all and then never have to think about it? -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Sun Feb 21 00:00:35 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXM8J-0004tG-3y for mharc-help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 00:00:35 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXM8G-0004t3-Ez for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 00:00:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXM8D-0004yj-8V for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 00:00:32 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:45845) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXM8C-0004ya-Vv for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 00:00:29 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 4EDEE9D2005; Sun, 21 Feb 2016 06:00:22 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R7Km7KmNpl3r; Sun, 21 Feb 2016 06:00:19 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 3D1069D2004; Sun, 21 Feb 2016 06:00:19 +0100 (CET) References: <87egc6ltog.fsf@debian.uxu> <87vb5izqst.fsf@robertthorpeconsulting.com> <8760xiloy2.fsf@debian.uxu> User-agent: mu4e 0.9.13; emacs 25.1.50.2 From: Marcin Borkowski To: Emanuel Berg Subject: Re: removing white space highlight In-reply-to: <8760xiloy2.fsf@debian.uxu> Date: Sun, 21 Feb 2016 06:00:18 +0100 Message-ID: <87io1ivesd.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 05:00:33 -0000 On 2016-02-21, at 04:31, Emanuel Berg wrote: > Robert Thorpe writes: > >>> Why? >> >> Most people want to delete whitespace because of >> version control. They're working in a team that uses >> a VC program of some sort. There's little reason to >> delete whitespace otherwise, it doesn't cause any >> problems for editing or take up much hard >> disk space. >> >> In that case the programmer wants to make changes to >> a specific part of a file. Deleting whitespace from >> the whole file will cause other changes elsewhere. >> Causing spurious changes for whitespace reasons is >> frowned upon in most teams. > > Yes, so why not have it automatized once and for all > and then never have to think about it? This assumes that /everyone/ on the team does the same, right? It need not be the case. Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Sun Feb 21 00:17:01 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXMOD-0003vf-2P for mharc-help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 00:17:01 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXMOB-0003vX-83 for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 00:17:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXMO6-0008Ew-8u for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 00:16:59 -0500 Received: from plane.gmane.org ([80.91.229.3]:56346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXMO6-0008Ej-2X for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 00:16:54 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aXMO2-0006vd-TJ for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 06:16:51 +0100 Received: from 116.1.108.205 ([116.1.108.205]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 06:16:50 +0100 Received: from eric by 116.1.108.205 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 06:16:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Eric Abrahamsen Subject: Two questions about generalized variables Date: Sun, 21 Feb 2016 13:16:43 +0800 Lines: 41 Message-ID: <87ziuu4p8k.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 116.1.108.205 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:uLIn6tm/J6IVzaUIAwD4U7ljuXU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 05:17:00 -0000 I'm starting to learn a bit more about generalized variables, the gv-* stuff and macroexpand-*, what have you, and I have two practical/learning questions I hope someone can help me with. The first is working with plists. It can be a pain setting many plist entries at once, particularly when there's lots of surrounding conditional code. You either have to keep doing "(setq plist-var (plist-put plist-var ..." Or else use a backquote template, but that's not always practical. It looks like plist-get doesn't return a setf-able place. I was thinking of making a "with-plist-slots" macro, and looking at the `with-slots' macro as inspiration, but `with-slots' also requires setf-able places. Is there a way to define something to make that work? The second question is setting hashtable entries. Right now I have code like this: (setf (gethash uuid my-hashtable) (append (list (list 'thingone 'thingtwo)) (gethash uuid my-hashtable))) I assume this is no more or less efficient than let-ting the gethash, manipulating the value, then using puthash to put it back in. Now I've written this: (macroexp-let2 nil entry (gethash uuid my-hashtable) (setf entry (append (list (list 'thingone 'thingtwo)) entry))) This is a simplistic example, but -- is this actually going to be any faster or more efficient than the first version? Does it only access the hashtable once? Have I just been blinded by the shiny? Any insights very welcome! Thanks, Eric From MAILER-DAEMON Sun Feb 21 00:30:31 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXMbH-00016c-L0 for mharc-help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 00:30:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46329) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXMbF-00016V-DX for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 00:30:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXMbE-0001wz-Bm for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 00:30:29 -0500 Received: from mail-lb0-x233.google.com ([2a00:1450:4010:c04::233]:34919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXMbD-0001wt-TF for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 00:30:28 -0500 Received: by mail-lb0-x233.google.com with SMTP id bc4so66627370lbc.2 for ; Sat, 20 Feb 2016 21:30:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=3i3QK2BRpVthL1Lx7G2T/tw96F3ObkAEmktJk+RzBjs=; b=prWDgrJeVWcW8zhm+YwI3iDY8aSed3sl9ZSCnfNPJVgs6tkMTmLy51WrLviG2wtg8o i/laqw/9wuUcKaDw/5tFLUfC+yt01okIQEM7nDELLf/0861HqYZg+sK9AAb/jpP1JImj K4atrLpYC+b4XP/8N8i3ujoYhatVJDbm3unQR4vqGVUrhO4fsvyNCvmp8KTWLTiY+H3J UnolfNCKd7Fnolr+ndh5LEuwuU6mE8fQEIuCXIBMItpIOQx2NQQaKDmhT/s2iHQQoPbG t9ospsHeGeBTeMzrKtuEK/H/dGyzp8a9q01WjdshmTDcaKYbyjXBXTbbrrnTsb6KB/yu S19A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=3i3QK2BRpVthL1Lx7G2T/tw96F3ObkAEmktJk+RzBjs=; b=OXkDr18rami15GoPVhUVP5geO8t6x4YDGUiaStJ2Ip3hRdcfjMECKCnpTQgdKd/fI0 eopftlxIvvBTcEIZbdP11/kNbIg3lb1GKIQaOQJU1o/GvpfM2PcjY2Ze4jisrI+Xcz0w 6raabta2jBMVC6L/mtgVt7F4Pyw8Nc6PE/EQ7IGGgLYM0QdLDpqb3jfKXdcAmZQ9F2j4 6ptPmYtfuCHfBauFqZZL3lsBcszPhoeZIbenMI1wnWDTTHKqjhH3OBJG50dYAoAu2uW8 PQlu7HsAFQRyGCAVkS/x3jenwRWCfd1gDCfD80giBma4RQvXg9r53+PgLx/ToSorgaBz 8Hdg== X-Gm-Message-State: AG10YORzy93ocoebQzojgy+vynrpHUUtM7xJ1hdDHBtNTmcomXJVx2GfFnNRP9KZ/4nAzF9sounod6xJdLLaRQ== X-Received: by 10.112.168.5 with SMTP id zs5mr8535950lbb.56.1456032626620; Sat, 20 Feb 2016 21:30:26 -0800 (PST) MIME-Version: 1.0 Sender: yurivkhan@gmail.com Received: by 10.112.239.42 with HTTP; Sat, 20 Feb 2016 21:30:07 -0800 (PST) In-Reply-To: <87vb5jl2yw.fsf@gmail.com> References: <87vb5jl2yw.fsf@gmail.com> From: Yuri Khan Date: Sun, 21 Feb 2016 11:30:07 +0600 X-Google-Sender-Auth: xnALgE_G-Iztfhyy2HK1reiqDRk Message-ID: Subject: Re: How to use display-time-world to show time in specific time zones? To: "N. Jackson" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c04::233 Cc: "help-gnu-emacs@gnu.org" X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 05:30:30 -0000 On Sat, Feb 20, 2016 at 11:13 PM, N. Jackson wrote: > TIMEZONE should be a string of the form AREA/LOCATION, where AREA is > the name of a region -- a continent or ocean, and LOCATION is the nam= e > of a specific location, e.g., a city, within that region. > LABEL is a string to display as the label of that TIMEZONE=E2=80=99s = time. > > But these values are _places_ not time zones. I'm wondering how, for > example, one would add UTC to the list? This paragraph of documentation is very similar to the documentation on the Olson timezone database: ftp://ftp.iana.org/tz/data/Theory Names normally have the form AREA/LOCATION, where AREA is the name of a continent or ocean, and LOCATION is the name of a specific location within that region. North and South America share the same area, 'America'. Typical names are 'Africa/Cairo', 'America/New_York', and 'Pacific/Honolulu'. This strongly indicates that zoneinfo-style-world-list just refers to timezone names as listed in that database. Armed with this knowledge, you can try using "Etc/UTC", and browse the database for names of other time zones. From MAILER-DAEMON Sun Feb 21 01:10:24 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXNDs-0001xP-Im for mharc-help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 01:10:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52128) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXNDq-0001xH-EJ for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 01:10:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXNDl-0001EO-9k for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 01:10:22 -0500 Received: from plane.gmane.org ([80.91.229.3]:60134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXNDl-0001EK-3o for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 01:10:17 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aXNDk-00011D-09 for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 07:10:16 +0100 Received: from nl106-137-54.student.uu.se ([130.243.137.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 07:10:15 +0100 Received: from embe8573 by nl106-137-54.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 07:10:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: removing white space highlight Date: Sun, 21 Feb 2016 07:10:10 +0100 Lines: 20 Message-ID: <87egc6k30d.fsf@debian.uxu> References: <87egc6ltog.fsf@debian.uxu> <87vb5izqst.fsf@robertthorpeconsulting.com> <8760xiloy2.fsf@debian.uxu> <87io1ivesd.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-54.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:cbaGEcj1t2NAdtri2MONSSx4fiU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 06:10:23 -0000 Marcin Borkowski writes: > This assumes that /everyone/ on the team does the > same, right? It need not be the case. Yes: this solution must be applied otherwise it won't work. Still, if everyone else messes it up you sleep well knowing the files that you dealt with were always passed on in excellent condition. Another idea is to have your collaboration software *ignore* changes in non-semantic whitespace (i.e., not ignoring blanks in strings and so on where it produces a different result). -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Sun Feb 21 03:09:05 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXP4j-00035G-Bk for mharc-help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 03:09:05 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXP4g-000345-Bf for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 03:09:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXP4d-00078h-5Z for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 03:09:02 -0500 Received: from plane.gmane.org ([80.91.229.3]:36184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXP4c-00078d-Uy for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 03:08:59 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aXP4Z-0001SD-CK for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 09:08:55 +0100 Received: from 116.1.70.141 ([116.1.70.141]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 09:08:55 +0100 Received: from eric by 116.1.70.141 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 09:08:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Eric Abrahamsen Subject: Re: Two questions about generalized variables Date: Sun, 21 Feb 2016 16:08:48 +0800 Lines: 13 Message-ID: <87oabaxz73.fsf@ericabrahamsen.net> References: <87ziuu4p8k.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 116.1.70.141 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:rFSzc6Y6B3tKdzAE6TlnMTdop5A= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 08:09:03 -0000 Eric Abrahamsen writes: [...] > (macroexp-let2 nil entry (gethash uuid my-hashtable) > (setf entry (append (list (list 'thingone 'thingtwo)) > entry))) Bah, this was supposed to be: (cl-symbol-macrolet ((entry (gethash uuid my-hashtable))) (setf entry (append (list (list 'thingone 'thingtwo)) entry))) From MAILER-DAEMON Sun Feb 21 07:23:39 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXT35-0003Qm-ME for mharc-help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 07:23:39 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52371) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXT32-0003QT-Ll for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 07:23:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXT2z-0006sb-Fd for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 07:23:36 -0500 Received: from mail.tuxteam.de ([5.199.139.25]:41209 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXT2z-0006s1-9X for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 07:23:33 -0500 Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1aXSVK-0002Vh-U3 for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 12:48:46 +0100 Date: Sun, 21 Feb 2016 12:48:46 +0100 To: help-gnu-emacs@gnu.org Subject: Re: removing white space highlight Message-ID: <20160221114846.GA9348@tuxteam.de> References: <87egc6ltog.fsf@debian.uxu> <87vb5izqst.fsf@robertthorpeconsulting.com> <8760xiloy2.fsf@debian.uxu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed In-Reply-To: <8760xiloy2.fsf@debian.uxu> User-Agent: Mutt/1.5.21 (2010-09-15) From: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 12:23:37 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, Feb 21, 2016 at 04:31:01AM +0100, Emanuel Berg wrote: [...] > Yes, so why not have it automatized once and for all > and then never have to think about it? Because it's a very rude thing to do when working with others? If a (biggish) project has "whitespace issues", the sensible way of doing it is: - agree that it's an issue. Otherwise *do nothing*. Introducing whitespace diffs at this stage "because I thing it's the right thing, dammit" is arrogant and unpolite -- and might result on being scolded. Rightfully so. - agree on a strategy. It could be "whenever a file is touched for whatever reason (a) or in a orchestrated series of commits (b) - in case (a) it's still meaningful to dedicate one commit to the whitespace change itself - in case (b) it'd make sense to agree on some time frame. Of course, this wouldn't apply on a "clean" slate, where such tools are definitely a plus. Still I'd prefer an indication to a silent fix -- when fixing whitespaces in other's code, I'd *always* ask first. Working with others has its price. - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlbJpB4ACgkQBcgs9XrR2kaBKgCdEaQSE3VEzPr2c2IZV0ilA2pj +IoAn1NhPsvuKKR6GIWTLJ3obYUYLWwT =RiPF -----END PGP SIGNATURE----- From MAILER-DAEMON Sun Feb 21 08:34:34 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXU9i-0006rq-H6 for mharc-help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 08:34:34 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXU9f-0006mo-Fb for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 08:34:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXU9a-00066e-Ge for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 08:34:31 -0500 Received: from plane.gmane.org ([80.91.229.3]:34063) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXU9a-00066a-A3 for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 08:34:26 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aXU9W-0002ex-VE for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 14:34:23 +0100 Received: from dslb-092-074-189-190.092.074.pools.vodafone-ip.de ([92.74.189.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 14:34:22 +0100 Received: from michael_heerdegen by dslb-092-074-189-190.092.074.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 14:34:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Michael Heerdegen Subject: Re: Two questions about generalized variables Date: Sun, 21 Feb 2016 14:34:05 +0100 Lines: 40 Message-ID: <877fhydw6q.fsf@web.de> References: <87ziuu4p8k.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-074-189-190.092.074.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux) Cancel-Lock: sha1:B90DS7dbeqfcr8bpku80XcWbjQI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 13:34:32 -0000 Eric Abrahamsen writes: > It looks like plist-get doesn't return a setf-able place. But `symbol-plist' has a gv-expander and refers to an alist. `alist-get' has a gv-expander, too. So i think you would end up with something like (setf (alist-get key (symbol-plist 'symbol)) value) I think. > The second question is setting hashtable entries. Right now I have code > like this: > > (setf (gethash uuid my-hashtable) > (append (list (list 'thingone 'thingtwo)) > (gethash uuid my-hashtable))) Isn't that more or less `push'? > I assume this is no more or less efficient than let-ting the gethash, > manipulating the value, then using puthash to put it back in. Now I've > written this: > [corrected version from the second message] > (cl-symbol-macrolet ((entry (gethash uuid my-hashtable))) > (setf entry (append (list (list 'thingone 'thingtwo)) > entry))) > > This is a simplistic example, but -- is this actually going to be any > faster or more efficient than the first version? Does it only access > the hashtable once? `push' with `gethash' and the above code expand more or less to the same. And I think this must access the hash-table twice: once `gethash', and once `puthash'. Michael. From MAILER-DAEMON Sun Feb 21 09:45:10 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXVG2-0006pm-Eb for mharc-help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 09:45:10 -0500 X-Received: by 10.50.102.40 with SMTP id fl8mr6942208igb.7.1456065828119; Sun, 21 Feb 2016 06:43:48 -0800 (PST) X-Received: by 10.50.79.136 with SMTP id j8mr89530igx.6.1456065828055; Sun, 21 Feb 2016 06:43:48 -0800 (PST) Path: usenet.stanford.edu!hb3no7881131igb.0!news-out.google.com!kr2ni2800igb.0!nntp.google.com!hb3no7881121igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: gnu.emacs.help Date: Sun, 21 Feb 2016 06:43:47 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=213.149.62.251; posting-account=dNtsdAoAAAA9XMsrqNzfci2xudvfNDx2 NNTP-Posting-Host: 213.149.62.251 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <93f00895-d710-4c32-91e3-1994bb967813@googlegroups.com> Subject: connect to my pc From: haris.bogdanovic@gmail.com Injection-Date: Sun, 21 Feb 2016 14:43:48 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: usenet.stanford.edu gnu.emacs.help:216952 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 14:45:09 -0000 Hi Can someone connect to my pc and fix my .emacs file, so that my SLIME auto-completion works ? I tried many things, but nothing. Thanks From MAILER-DAEMON Sun Feb 21 10:02:09 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXVWT-0002d1-7d for mharc-help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 10:02:09 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXVWQ-0002ch-Fq for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 10:02:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXVWM-00067U-On for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 10:02:06 -0500 Received: from plane.gmane.org ([80.91.229.3]:44324) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXVWM-000678-Hq for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 10:02:02 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aXVWJ-0006Tq-4X for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 16:01:59 +0100 Received: from 116.1.108.205 ([116.1.108.205]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 16:01:59 +0100 Received: from eric by 116.1.108.205 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 16:01:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Eric Abrahamsen Subject: Re: Two questions about generalized variables Date: Sun, 21 Feb 2016 23:01:48 +0800 Lines: 60 Message-ID: <877fhyayzn.fsf@ericabrahamsen.net> References: <87ziuu4p8k.fsf@ericabrahamsen.net> <877fhydw6q.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 116.1.108.205 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:zX6dcEpxvdvV6UrGZdtVdJg06HU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 15:02:07 -0000 Michael Heerdegen writes: > Eric Abrahamsen writes: > >> It looks like plist-get doesn't return a setf-able place. > > But `symbol-plist' has a gv-expander and refers to an alist. > `alist-get' has a gv-expander, too. So i think you would end up with > something like > > (setf (alist-get key (symbol-plist 'symbol)) value) > > I think. I didn't mean symbol property lists! Just the plain old '(:key1 "value1" :key2 "value2") kind. They're useful for a few different things -- in this case, initializing class instances. >> The second question is setting hashtable entries. Right now I have code >> like this: >> >> (setf (gethash uuid my-hashtable) >> (append (list (list 'thingone 'thingtwo)) >> (gethash uuid my-hashtable))) > > Isn't that more or less `push'? I started off with `push', but the code in question doesn't know if the key exists or not, and you can't push to nil. Once you've checked whether the key has a value or not, you might as well be doing gethash/puthash. >> I assume this is no more or less efficient than let-ting the gethash, >> manipulating the value, then using puthash to put it back in. Now I've >> written this: > >> [corrected version from the second message] >> (cl-symbol-macrolet ((entry (gethash uuid my-hashtable))) >> (setf entry (append (list (list 'thingone 'thingtwo)) >> entry))) >> >> This is a simplistic example, but -- is this actually going to be any >> faster or more efficient than the first version? Does it only access >> the hashtable once? > > `push' with `gethash' and the above code expand more or less to the > same. And I think this must access the hash-table twice: once > `gethash', and once `puthash'. Right, I would assume that "(push (list ...) (gethash uuid my-hashtable))" is as efficient as you can get. But I don't think I can use it. But your response nudged me in the right direction -- of course I should have simply expanded the macro to see what it does. And indeed the `cl-symbol-macrolet' phrase expands to a `puthash' plus a `gethash'. So that's my answer -- I guess it's just a syntactic convenience. Thanks! Eric From MAILER-DAEMON Sun Feb 21 12:13:23 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXXZT-0007hW-Oy for mharc-help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 12:13:23 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXXZR-0007f2-Ns for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 12:13:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXXZO-00014M-G3 for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 12:13:21 -0500 Received: from plane.gmane.org ([80.91.229.3]:50741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXXZO-000143-9K for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 12:13:18 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aXXZN-0001Hz-4B for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 18:13:17 +0100 Received: from nl106-137-54.student.uu.se ([130.243.137.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 18:13:17 +0100 Received: from embe8573 by nl106-137-54.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 18:13:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: removing white space highlight Date: Sun, 21 Feb 2016 18:13:09 +0100 Lines: 27 Message-ID: <87a8muq95m.fsf@debian.uxu> References: <87egc6ltog.fsf@debian.uxu> <87vb5izqst.fsf@robertthorpeconsulting.com> <8760xiloy2.fsf@debian.uxu> <20160221114846.GA9348@tuxteam.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-54.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:BIe4g5wNnLNE7Uqtwbhl4n9cI8g= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 17:13:22 -0000 writes: >> Yes, so why not have it automatized once and for >> all and then never have to think about it? > > Because it's a very rude thing to do when working > with others? It is a generous thing. They see how the problem can be solved so they can solve it themselves if they haven't already and thus elevate their games further. > agree that it's an issue. [...] > agree on a strategy [...] > agree on some time frame [...] *yawn* Wake me up when it is time to start working! > Otherwise *do nothing*. Not likely. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Sun Feb 21 13:08:23 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXYQh-0004U6-9w for mharc-help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 13:08:23 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXYQe-0004Qy-Tt for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 13:08:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXYQb-00058n-Oi for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 13:08:20 -0500 Received: from plane.gmane.org ([80.91.229.3]:57427) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXYQb-00058b-Ho for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 13:08:17 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aXYQZ-00065A-Tl for help-gnu-emacs@gnu.org; Sun, 21 Feb 2016 19:08:15 +0100 Received: from dslb-092-074-189-190.092.074.pools.vodafone-ip.de ([92.74.189.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 19:08:15 +0100 Received: from michael_heerdegen by dslb-092-074-189-190.092.074.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 21 Feb 2016 19:08:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Michael Heerdegen Subject: Re: Two questions about generalized variables Date: Sun, 21 Feb 2016 19:08:08 +0100 Lines: 31 Message-ID: <878u2e9bsn.fsf@web.de> References: <87ziuu4p8k.fsf@ericabrahamsen.net> <877fhydw6q.fsf@web.de> <877fhyayzn.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-092-074-189-190.092.074.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux) Cancel-Lock: sha1:GenHKQYTGTy45Eqnjx2lYjFkZk0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Feb 2016 18:08:21 -0000 Eric Abrahamsen writes: > I didn't mean symbol property lists! Just the plain old '(:key1 "value1" > :key2 "value2") kind. They're useful for a few different things -- in > this case, initializing class instances. Oh, I see. Hmm, one could define a place expander quite similarly to the one of `alist-get', I think, but it doesn't seem one to be predefined, indeed. > >> The second question is setting hashtable entries. Right now I have code > >> like this: > >> > >> (setf (gethash uuid my-hashtable) > >> (append (list (list 'thingone 'thingtwo)) > >> (gethash uuid my-hashtable))) > > > > Isn't that more or less `push'? > > I started off with `push', but the code in question doesn't know if the > key exists or not, and you can't push to nil. The gv setter is calculated using the (unevaluated) place expression, so "pushing to nil" doesn't happen. See the gv-expander of `alist-get' for example, which of course also works for nonexistent keys. Regards, Michael. From MAILER-DAEMON Mon Feb 22 09:05:32 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXr7E-0006AI-ME for mharc-help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 09:05:32 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXr79-00069r-Sl for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 09:05:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXr73-0008GG-9t for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 09:05:22 -0500 Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]:33040) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXr73-0008GB-3b for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 09:05:21 -0500 Received: by mail-wm0-x236.google.com with SMTP id g62so158402241wme.0 for ; Mon, 22 Feb 2016 06:05:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to; bh=57eNWPF4yV2BBl1uTDMW4PLJw6oDnXwnV+NedyZE3Dg=; b=R9wjNemX0cVye8fU/03+XcZkWvj6Q/jjL0xXgWHzNT/BXInSbyFmJNWCStPO6d9sYQ /ZfDITMZTVl6k6dXsmPjPNYR0jYd9qvrmbdS04U/z9Pm4a+fcrVEChGD37XMYGwZtbQO dlrx9RzG7bSJv0WnEdi20rXJVshhFdJvCkY2TD8H34BRAD8Wmv3E7jqP8FbAIaloEddh 0Y5bNljyTAa7XQSiUZEPu7uYAlVSDZ/F6gmY3WWehgCLOkeNumWuX1JA9VgXf2RqPHFi Fr5UiJ7YeZ2oW0PSiD1bYz/MWKs4IpU6APyeflGjDqLUZvwwb1Swb0uGIsHB00H+ubp3 qqFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to; bh=57eNWPF4yV2BBl1uTDMW4PLJw6oDnXwnV+NedyZE3Dg=; b=YystIELnSeid/5DoAt/SFfw1viSArMSUAwu2PrU2MvdV5Lqa5hcWWDY6vHGmzl5MZ/ CA+B7sAi+nEEsiMJeCbGhfhLfHbNvq5AfSF2DyFUut9wkdiQ7h9r1B1PGPARWLtSWRNO yPUfONNpPMoP3LLsuP8kHrDCGZDlzIJg18hkzxkV214rjGQvBFhAMZTlTDd8DJCt610O UgnTANUCVBYFRA67n1/dxNWnhIeSYbuP9Wg/cdP/eImCtCAyACKA5QQKkH/3j9saR/Mo jXfiJryB7z85f14AVyfGR7Avo7FScraqT6UowyknNWyy+CLV8CywO08R8LUn3/XWjRX8 dDCQ== X-Gm-Message-State: AG10YOSwFnZGn/AnDVUq312W7wZvbdCw8raQkkGxZUzO7fM0dWOdrUsjMzIZOk3WtzbpGn/2hcyaq7iaKnBP8Q== MIME-Version: 1.0 X-Received: by 10.28.214.6 with SMTP id n6mr12933796wmg.49.1456149919986; Mon, 22 Feb 2016 06:05:19 -0800 (PST) Sender: fluca1978@gmail.com Received: by 10.194.68.4 with HTTP; Mon, 22 Feb 2016 06:05:19 -0800 (PST) In-Reply-To: <20160220120357638044819@bob.proulx.com> References: <20160220120357638044819@bob.proulx.com> Date: Mon, 22 Feb 2016 15:05:19 +0100 X-Google-Sender-Auth: FpiqJCuIPmd9gVXIwHKkIYbfEs8 Message-ID: Subject: Re: removing white space highlight From: Luca Ferrari To: Luca Ferrari , help-gnu-emacs Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::236 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 14:05:31 -0000 On Sat, Feb 20, 2016 at 8:08 PM, Bob Proulx wrote: > I didn't see anyone suggest actually fixing the file to remove those > lines with trailing whitespace but I think is the best answer. That > is the entire reason for the trailing whitespace highlighting in the > first place. Make them visible instead of invisible so that they will > be addressed. A good point indeed, but I don't want to see whitespaces in every kind of buffer (e.g., programming ones are the one that make more sense), and moreover being able to find out what is causing them emphatized allows me to set my custom settings. So far I've a dark theme with whitespaces in lime, that as you can immagine is quite a punch in the eye. Luca From MAILER-DAEMON Mon Feb 22 11:56:17 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXtmT-0002FC-Hg for mharc-help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 11:56:17 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39302) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXtmR-0002BX-5c for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 11:56:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXtmN-0003DB-5M for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 11:56:15 -0500 Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:42304) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXtmM-0003CU-Vs for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 11:56:11 -0500 Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk) by cheviot22.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1aXtmI-00083B-DP for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 16:56:06 +0000 Received: from jangai.ncl.ac.uk ([10.66.67.223] helo=localhost) by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1aXtmH-00022c-TM for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 16:56:05 +0000 From: phillip.lord@russet.org.uk (Phillip Lord) To: help-gnu-emacs@gnu.org Subject: Gnus Agent and From address of email Date: Mon, 22 Feb 2016 16:56:05 +0000 Message-ID: <871t84y996.fsf@russet.org.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 128.240.234.22 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 16:56:16 -0000 I change the "from" address for my email a lot. One problem is that when using gnus agent, this does not appear to work -- that is the from field is set to whatever user-mail-address is configured to at the time that the queue is sent, NOT at the time that the email was sent (to the queue). This makes offline email less useful as I can only send email messages with one from field at a time. Or am I doing something wrong? I am sending email with msmtp using sendmail-sent-it. Phil From MAILER-DAEMON Mon Feb 22 15:49:37 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXxQH-0003XT-ID for mharc-help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 15:49:37 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXvX9-0008Vc-Gp for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 13:48:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXvX4-0007tj-Sn for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 13:48:35 -0500 Received: from calypso.otenet.gr ([83.235.67.36]:57774) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXvX4-0007tW-Dy for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 13:48:30 -0500 Received: from otenet.gr (athe-ppp-008.otenet.gr [195.167.126.249]) by calypso.otenet.gr (ESMTP) with ESMTPSA id C0DE9138040; Mon, 22 Feb 2016 20:48:24 +0200 (EET) From: Kostas Zorbadelos To: help-gnu-emacs@gnu.org Subject: gnus-icalendar errors in emacs 24.5 Organization: No affiliation Date: Mon, 22 Feb 2016 20:48:24 +0200 Message-ID: <87egc4r37r.fsf@otenet.gr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 83.235.67.36 X-Mailman-Approved-At: Mon, 22 Feb 2016 15:49:35 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: kzorba@otenet.gr List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 18:48:42 -0000 --=-=-= Content-Type: text/plain Greetings to all, this is my first post to the list. I am not sure if this is a bug or I am doing something wrong config-wise. I upgraded to emacs 24.5 (built from source on an Ubuntu 14.04.4 LTS) just to have the functionality of gnus-icalendar and be able to save calendar invitations from gnus to org files and view them in agenda. My (relevant) config: .emacs ... (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) (setq org-directory "~/org/") (setq org-agenda-files "calendar.org") (setq org-agenda-archives-mode t) .gnus.el ... ;; gnus icalendar handling (require 'gnus-icalendar) (gnus-icalendar-setup) ;; to enable optional iCalendar->Org sync functionality ;; NOTE: both the capture file and the headline(s) inside must already exist (setq gnus-icalendar-org-capture-file "~/org/calendar.org") (setq gnus-icalendar-org-capture-headline '("Calendar")) (gnus-icalendar-org-setup) Org file exists and has a 'Calendar' headline. On export of a calendar mail (attached the calendar MIME part) I get the attached backtrace. I get the same backtrace even when I send a gmail calendar invitation. Any suggestions? Regards, Kostas -- Kostas Zorbadelos http://gr.linkedin.com/in/kzorba --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline; filename=calendar-bug.txt Content-Transfer-Encoding: base64 QkVHSU46VkNBTEVOREFSDQpQUk9ESUQ6LS8vTW96aWxsYS5vcmcvTk9OU0dNTCBNb3ppbGxhIENh bGVuZGFyIFYxLjEvL0VODQpWRVJTSU9OOjIuMA0KTUVUSE9EOlJFUVVFU1QNCkJFR0lOOlZUSU1F Wk9ORQ0KVFpJRDpFdXJvcGUvQXRoZW5zDQpCRUdJTjpEQVlMSUdIVA0KVFpPRkZTRVRGUk9NOisw MjAwDQpUWk9GRlNFVFRPOiswMzAwDQpUWk5BTUU6RUVTVA0KRFRTVEFSVDoxOTcwMDMyOVQwMzAw MDANClJSVUxFOkZSRVE9WUVBUkxZO0JZREFZPS0xU1U7QllNT05USD0zDQpFTkQ6REFZTElHSFQN CkJFR0lOOlNUQU5EQVJEDQpUWk9GRlNFVEZST006KzAzMDANClRaT0ZGU0VUVE86KzAyMDANClRa TkFNRTpFRVQNCkRUU1RBUlQ6MTk3MDEwMjVUMDQwMDAwDQpSUlVMRTpGUkVRPVlFQVJMWTtCWURB WT0tMVNVO0JZTU9OVEg9MTANCkVORDpTVEFOREFSRA0KRU5EOlZUSU1FWk9ORQ0KQkVHSU46VkVW RU5UDQpDUkVBVEVEOjIwMTYwMjE5VDEzMTc0OVoNCkxBU1QtTU9ESUZJRUQ6MjAxNjAyMTlUMTMz OTAyWg0KRFRTVEFNUDoyMDE2MDIxOVQxMzM5MDJaDQpVSUQ6NzllMWNkNDUtMDEyZS00MzA1LTg2 OWQtNTYzNjdhNTE4M2FhDQpTVU1NQVJZOkZhcmV3ZWxsX0lQX1BsYW5uaW5nIzINCk9SR0FOSVpF UjtSU1ZQPVRSVUU7Q049VGhvZG9yaXMgVmFzaWxvcG91bG9zO1BBUlRTVEFUPUFDQ0VQVEVEO1JP TEU9Q0hBSVI6DQogbWFpbHRvOnR2YXNpbG9wb0BvdGVuZXQuZ3INCkFUVEVOREVFO1JTVlA9VFJV RTtDTj1pcF9wbGFubmluZ0BvdGVuZXQuZ3I7UEFSVFNUQVQ9TkVFRFMtQUNUSU9OO1JPTEU9UkVR DQogLVBBUlRJQ0lQQU5UOm1haWx0bzppcF9wbGFubmluZ0BvdGVuZXQuZ3INCkRUU1RBUlQ7VFpJ RD1FdXJvcGUvQXRoZW5zOjIwMTYwMjI0VDIwMDAwMA0KRFRFTkQ7VFpJRD1FdXJvcGUvQXRoZW5z OjIwMTYwMjI1VDA1MDAwMA0KVFJBTlNQOk9QQVFVRQ0KTE9DQVRJT046Is6kzpHOms6XIDEzIlws IM6ozqXOoc6hzpcNCkRFU0NSSVBUSU9OOs6czr/Phc+DzrnOus6uIM6Sz4HOsc60zrnOrCAgz4DP gc65zr0gz4TOv869IM6/z4HOuc+Dz4TOuc66z4wgDQogIs6xz4DOv8+Hz4nPgc65z4POvM+MIi4g XG7OpM6/IM68zrHOs86xzrbOryDOtc6vzr3Osc65IM6tzr3OsSDOvM65zrrPgc+MIA0KIM68zrXO ts61zrTOv8+Az4nOu861zq/OvyDPg8+Ezr/PhSDOqM+Fz4HPgc6uXCwgzr/OtM+Mz4IgzqTOrM66 zrcgMTMuXG7OjM+DDQogzr/OuSDOuM6tzrvOv8+Fzr0gzrTOv866zrnOvM6szrbOv8+Fzr0gz4TO uc+CIM+Gz4nOvc63z4TOuc66zq3PgiDPhM6/z4XPgiANCiDOuc66zrHOvc+Mz4TOt8+EzrXPgiEg XG7OoM61zq/PhM61IM68zr/PhSDOvM6tz4fPgc65IM6kz4HOr8+Ezrcgz4zPg86/zrkgDQogzrzP gM6/z4HOtc6vz4TOtS/OuM6tzrvOtc+EzrUgzr3OsSDOrc+BzrjOtc+EzrUgzr3OsSDOus67zrXO r8+Dz4kgz4TPgc6xz4ANCiDOrc62zrkuDQpFTkQ6VkVWRU5UDQpFTkQ6VkNBTEVOREFSDQoNCg== --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline; filename=backtrace.txt Content-Transfer-Encoding: quoted-printable Debugger entered--Lisp error: (error "Invalid date: 2016-02-25 =CE=A0=CE=B5= =CE=BC") signal(error ("Invalid date: 2016-02-25 =CE=A0=CE=B5=CE=BC")) error("Invalid date: %s" "2016-02-25 =CE=A0=CE=B5=CE=BC") byte-code("\300\301\302\217\207" [nil (byte-code "\301\302\303\304!!\"\2= 07" [date apply encode-time parse-time-string timezone-make-date-arpa-stand= ard] 5) ((error (error "Invalid date: %s" date)))] 3) date-to-time("2016-02-25 =CE=A0=CE=B5=CE=BC") #[(event) "\306!=19\307!=1A\310\311 \"=1B\310\312 \"\211=1C\313\230=1D\= 310\311\n\"=1E=1F\310\312\n\"\211=1E \313\230=1E!\314\315\316=0E=1F!\316=0B= !\"!\317\245=1E\"\320!\211=1E#\203F=00\321=0E#P\202G=00\322=1E$\323=1E%=0D= \203y=00=0E!\203y=00=0E\"\324V\203p=00\310\311\315\n=0E%\"\"=1E&\325\326=0B= =0E&#)\202\331=00\325\327=0B=0E$#\202\331=00=0E!\203\244=00=0E\"\324U\203\2= 17=00\325\330=0B\f=0E$$\202\331=00\310\311\315\n=0E%\"\"=1E&\325\331=0B\f= =0E&$)\202\331=00=0D\203\275=00=0E\"\211\332V\262=01\203\275=00\325\333=0B= =0E=1F=0E $\202\331=00\334=0E\"!\203\320=00\325\335=0B\f=0E =0E$%\202\331= =00\325\336=0B\f=0E=1F=0E %.\f\207" [event start end start-date start-time = start-at-midnight gnus-icalendar-event:start-time gnus-icalendar-event:end-= time format-time-string "%Y-%m-%d %a" "%H:%M" "00:00" float-time time-subtr= act date-to-time 86400 gnus-icalendar-event:org-repeat " " "" (0 86400) 1 f= ormat "<%s>--<%s>" "<%s%s>" "<%s %s-23:59%s>" "<%s %s>--<%s>" 0 "<%s>--<%s = %s>" zerop "<%s %s-%s%s>" "<%s %s>--<%s %s>" end-date end-time end-at-midni= ght start-end-date-diff org-repeat repeat time-1-day end-ts] 7 "Build `org-= mode' timestamp from EVENT start/end dates and recurrence info."]([object g= nus-icalendar-event-request "gnus-icalendar-event-request" "tvasilopo@otene= t.gr" "Farewell_IP_Planning#2" "\316\234\316\277\317\205\317\203\316\271\31= 6\272\316\256 \316\222\317\201\316\261\316\264\316\271\316\254 \317\200\31= 7\201\316\271\316\275 \317\204\316\277\316\275 \316\277\317\201\316\271\317= \203\317\204\316\271\316\272\317\214 \"\316\261\317\200\316\277\317\207\317= \211\317\201\316\271\317\203\316\274\317\214\". \n\316\244\316\277 \316\274= \316\261\316\263\316\261\316\266\316\257 \316\265\316\257\316\275\316\261\3= 16\271 \316\255\316\275\316\261 \316\274\316\271\316\272\317\201\317\214 \3= 16\274\316\265\316\266\316\265\316\264\316\277\317\200\317\211\316\273\316\= 265\316\257\316\277 \317\203\317\204\316\277\317\205 \316\250\317\205\317\2= 01\317\201\316\256, \316\277\316\264\317\214\317\202 \316\244\316\254\316\2= 72\316\267 13.\n\316\214\317\203\316\277\316\271 \316\270\316\255\316\273\3= 16\277\317\205\316\275 \316\264\316\277\316\272\316\271\316\274\316\254\316= \266\316\277\317\205\316\275 \317\204\316\271\317\202 \317\206\317\211\316\= 275\316\267\317\204\316\271\316\272\316\255\317\202 \317\204\316\277\317\20= 5\317\202 \316\271\316\272\316\261\316\275\317\214\317\204\316\267\317\204\= 316\265\317\202! \n\316\240\316\265\316\257\317\204\316\265 \316\274\316\27= 7\317\205 \316\274\316\255\317\207\317\201\316\271 \316\244\317\201\316\257= \317\204\316\267 \317\214\317\203\316\277\316\271 \316\274\317\200\316\277\= 317\201\316\265\316\257\317\204\316\265/\316\270\316\255\316\273\316\265\31= 7\204\316\265 \316\275\316\261 \316\255\317\201\316\270\316\265\317\204\316= \265 \316\275\316\261 \316\272\316\273\316\265\316\257\317\203\317\211 \317= \204\317\201\316\261\317\200\316\255\316\266\316\271." "\"\316\244\316\221\= 316\232\316\227 13\", \316\250\316\245\316\241\316\241\316\227" (22221 6134= 4) (22222 28208) nil "79e1cd45-012e-4305-869d-56367a5183aa" "REQUEST" nil n= on-participant ("ip_planning@otenet.gr") nil]) apply(#[(event) "\306!=19\307!=1A\310\311 \"=1B\310\312 \"\211=1C\313\2= 30=1D\310\311\n\"=1E=1F\310\312\n\"\211=1E \313\230=1E!\314\315\316=0E=1F!\= 316=0B!\"!\317\245=1E\"\320!\211=1E#\203F=00\321=0E#P\202G=00\322=1E$\323= =1E%=0D\203y=00=0E!\203y=00=0E\"\324V\203p=00\310\311\315\n=0E%\"\"=1E&\325= \326=0B=0E&#)\202\331=00\325\327=0B=0E$#\202\331=00=0E!\203\244=00=0E\"\324= U\203\217=00\325\330=0B\f=0E$$\202\331=00\310\311\315\n=0E%\"\"=1E&\325\331= =0B\f=0E&$)\202\331=00=0D\203\275=00=0E\"\211\332V\262=01\203\275=00\325\33= 3=0B=0E=1F=0E $\202\331=00\334=0E\"!\203\320=00\325\335=0B\f=0E =0E$%\202\3= 31=00\325\336=0B\f=0E=1F=0E %.\f\207" [event start end start-date start-tim= e start-at-midnight gnus-icalendar-event:start-time gnus-icalendar-event:en= d-time format-time-string "%Y-%m-%d %a" "%H:%M" "00:00" float-time time-sub= tract date-to-time 86400 gnus-icalendar-event:org-repeat " " "" (0 86400) 1= format "<%s>--<%s>" "<%s%s>" "<%s %s-23:59%s>" "<%s %s>--<%s>" 0 "<%s>--<%= s %s>" zerop "<%s %s-%s%s>" "<%s %s>--<%s %s>" end-date end-time end-at-mid= night start-end-date-diff org-repeat repeat time-1-day end-ts] 7 "Build `or= g-mode' timestamp from EVENT start/end dates and recurrence info."] [object= gnus-icalendar-event-request "gnus-icalendar-event-request" "tvasilopo@ote= net.gr" "Farewell_IP_Planning#2" "\316\234\316\277\317\205\317\203\316\271\= 316\272\316\256 \316\222\317\201\316\261\316\264\316\271\316\254 \317\200\= 317\201\316\271\316\275 \317\204\316\277\316\275 \316\277\317\201\316\271\3= 17\203\317\204\316\271\316\272\317\214 \"\316\261\317\200\316\277\317\207\3= 17\211\317\201\316\271\317\203\316\274\317\214\". \n\316\244\316\277 \316\2= 74\316\261\316\263\316\261\316\266\316\257 \316\265\316\257\316\275\316\261= \316\271 \316\255\316\275\316\261 \316\274\316\271\316\272\317\201\317\214 = \316\274\316\265\316\266\316\265\316\264\316\277\317\200\317\211\316\273\31= 6\265\316\257\316\277 \317\203\317\204\316\277\317\205 \316\250\317\205\317= \201\317\201\316\256, \316\277\316\264\317\214\317\202 \316\244\316\254\316= \272\316\267 13.\n\316\214\317\203\316\277\316\271 \316\270\316\255\316\273= \316\277\317\205\316\275 \316\264\316\277\316\272\316\271\316\274\316\254\3= 16\266\316\277\317\205\316\275 \317\204\316\271\317\202 \317\206\317\211\31= 6\275\316\267\317\204\316\271\316\272\316\255\317\202 \317\204\316\277\317\= 205\317\202 \316\271\316\272\316\261\316\275\317\214\317\204\316\267\317\20= 4\316\265\317\202! \n\316\240\316\265\316\257\317\204\316\265 \316\274\316\= 277\317\205 \316\274\316\255\317\207\317\201\316\271 \316\244\317\201\316\2= 57\317\204\316\267 \317\214\317\203\316\277\316\271 \316\274\317\200\316\27= 7\317\201\316\265\316\257\317\204\316\265/\316\270\316\255\316\273\316\265\= 317\204\316\265 \316\275\316\261 \316\255\317\201\316\270\316\265\317\204\3= 16\265 \316\275\316\261 \316\272\316\273\316\265\316\257\317\203\317\211 \3= 17\204\317\201\316\261\317\200\316\255\316\266\316\271." "\"\316\244\316\22= 1\316\232\316\227 13\", \316\250\316\245\316\241\316\241\316\227" (22221 61= 344) (22222 28208) nil "79e1cd45-012e-4305-869d-56367a5183aa" "REQUEST" nil= non-participant ("ip_planning@otenet.gr") nil]) gnus-icalendar-event:org-timestamp([object gnus-icalendar-event-request "= gnus-icalendar-event-request" "tvasilopo@otenet.gr" "Farewell_IP_Planning#2= " "\316\234\316\277\317\205\317\203\316\271\316\272\316\256 \316\222\317\20= 1\316\261\316\264\316\271\316\254 \317\200\317\201\316\271\316\275 \317\20= 4\316\277\316\275 \316\277\317\201\316\271\317\203\317\204\316\271\316\272\= 317\214 \"\316\261\317\200\316\277\317\207\317\211\317\201\316\271\317\203\= 316\274\317\214\". \n\316\244\316\277 \316\274\316\261\316\263\316\261\316\= 266\316\257 \316\265\316\257\316\275\316\261\316\271 \316\255\316\275\316\2= 61 \316\274\316\271\316\272\317\201\317\214 \316\274\316\265\316\266\316\26= 5\316\264\316\277\317\200\317\211\316\273\316\265\316\257\316\277 \317\203\= 317\204\316\277\317\205 \316\250\317\205\317\201\317\201\316\256, \316\277\= 316\264\317\214\317\202 \316\244\316\254\316\272\316\267 13.\n\316\214\317\= 203\316\277\316\271 \316\270\316\255\316\273\316\277\317\205\316\275 \316\2= 64\316\277\316\272\316\271\316\274\316\254\316\266\316\277\317\205\316\275 = \317\204\316\271\317\202 \317\206\317\211\316\275\316\267\317\204\316\271\3= 16\272\316\255\317\202 \317\204\316\277\317\205\317\202 \316\271\316\272\31= 6\261\316\275\317\214\317\204\316\267\317\204\316\265\317\202! \n\316\240\3= 16\265\316\257\317\204\316\265 \316\274\316\277\317\205 \316\274\316\255\31= 7\207\317\201\316\271 \316\244\317\201\316\257\317\204\316\267 \317\214\317= \203\316\277\316\271 \316\274\317\200\316\277\317\201\316\265\316\257\317\2= 04\316\265/\316\270\316\255\316\273\316\265\317\204\316\265 \316\275\316\26= 1 \316\255\317\201\316\270\316\265\317\204\316\265 \316\275\316\261 \316\27= 2\316\273\316\265\316\257\317\203\317\211 \317\204\317\201\316\261\317\200\= 316\255\316\266\316\271." "\"\316\244\316\221\316\232\316\227 13\", \316\25= 0\316\245\316\241\316\241\316\227" (22221 61344) (22222 28208) nil "79e1cd4= 5-012e-4305-869d-56367a5183aa" "REQUEST" nil non-participant ("ip_planning@= otenet.gr") nil]) #[(event &optional reply-status) "\304=18\305=10\306\307 \310\"D\311\307 = \312\"\206=13=00\313D\314\315 !D\316\307 \317\"D\320\307 \321\"\322=3D\203-= =00\323\2025=00\324\325\307 \321\"!!D\326\307 \327\"D\257=06=1A\330 !\204X= =00\307 \331\"\203X=00\332\n\333=0B\206T=00\334DC\"=12\335\n\336#\337\307 = \340\"Q*\207" [--cl-format-header-- event headers reply-status nil #[(x) "\= 301\302\303@\304P\305\306#\211A@\262=01#\207" [x format "%-12s%s" propert= ize ":" face bold] 6] "Summary" slot-value summary "Location" location "" "= Time" gnus-icalendar-event:org-timestamp "Organizer" organizer "Attendance"= participation-type non-participant "You are not listed as an attendee" cap= italize symbol-name "Method" method gnus-icalendar-event-reply-p rsvp appen= d "Status" "Not replied yet" mapconcat "\n" "\n\n" description] 10 "Format = an overview of EVENT details."]([object gnus-icalendar-event-request "gnus-= icalendar-event-request" "tvasilopo@otenet.gr" "Farewell_IP_Planning#2" "\3= 16\234\316\277\317\205\317\203\316\271\316\272\316\256 \316\222\317\201\316= \261\316\264\316\271\316\254 \317\200\317\201\316\271\316\275 \317\204\316= \277\316\275 \316\277\317\201\316\271\317\203\317\204\316\271\316\272\317\2= 14 \"\316\261\317\200\316\277\317\207\317\211\317\201\316\271\317\203\316\2= 74\317\214\". \n\316\244\316\277 \316\274\316\261\316\263\316\261\316\266\3= 16\257 \316\265\316\257\316\275\316\261\316\271 \316\255\316\275\316\261 \3= 16\274\316\271\316\272\317\201\317\214 \316\274\316\265\316\266\316\265\316= \264\316\277\317\200\317\211\316\273\316\265\316\257\316\277 \317\203\317\2= 04\316\277\317\205 \316\250\317\205\317\201\317\201\316\256, \316\277\316\2= 64\317\214\317\202 \316\244\316\254\316\272\316\267 13.\n\316\214\317\203\3= 16\277\316\271 \316\270\316\255\316\273\316\277\317\205\316\275 \316\264\31= 6\277\316\272\316\271\316\274\316\254\316\266\316\277\317\205\316\275 \317\= 204\316\271\317\202 \317\206\317\211\316\275\316\267\317\204\316\271\316\27= 2\316\255\317\202 \317\204\316\277\317\205\317\202 \316\271\316\272\316\261= \316\275\317\214\317\204\316\267\317\204\316\265\317\202! \n\316\240\316\26= 5\316\257\317\204\316\265 \316\274\316\277\317\205 \316\274\316\255\317\207= \317\201\316\271 \316\244\317\201\316\257\317\204\316\267 \317\214\317\203\= 316\277\316\271 \316\274\317\200\316\277\317\201\316\265\316\257\317\204\31= 6\265/\316\270\316\255\316\273\316\265\317\204\316\265 \316\275\316\261 \31= 6\255\317\201\316\270\316\265\317\204\316\265 \316\275\316\261 \316\272\316= \273\316\265\316\257\317\203\317\211 \317\204\317\201\316\261\317\200\316\2= 55\316\266\316\271." "\"\316\244\316\221\316\232\316\227 13\", \316\250\316= \245\316\241\316\241\316\227" (22221 61344) (22222 28208) nil "79e1cd45-012= e-4305-869d-56367a5183aa" "REQUEST" nil non-participant ("ip_planning@otene= t.gr") nil] "Not replied yet") apply(#[(event &optional reply-status) "\304=18\305=10\306\307 \310\"D\31= 1\307 \312\"\206=13=00\313D\314\315 !D\316\307 \317\"D\320\307 \321\"\322= =3D\203-=00\323\2025=00\324\325\307 \321\"!!D\326\307 \327\"D\257=06=1A\330= !\204X=00\307 \331\"\203X=00\332\n\333=0B\206T=00\334DC\"=12\335\n\336#\3= 37\307 \340\"Q*\207" [--cl-format-header-- event headers reply-status nil #= [(x) "\301\302\303@\304P\305\306#\211A@\262=01#\207" [x format "%-12s%s" = propertize ":" face bold] 6] "Summary" slot-value summary "Location" locati= on "" "Time" gnus-icalendar-event:org-timestamp "Organizer" organizer "Atte= ndance" participation-type non-participant "You are not listed as an attend= ee" capitalize symbol-name "Method" method gnus-icalendar-event-reply-p rsv= p append "Status" "Not replied yet" mapconcat "\n" "\n\n" description] 10 "= Format an overview of EVENT details."] ([object gnus-icalendar-event-reques= t "gnus-icalendar-event-request" "tvasilopo@otenet.gr" "Farewell_IP_Plannin= g#2" "\316\234\316\277\317\205\317\203\316\271\316\272\316\256 \316\222\317= \201\316\261\316\264\316\271\316\254 \317\200\317\201\316\271\316\275 \317= \204\316\277\316\275 \316\277\317\201\316\271\317\203\317\204\316\271\316\2= 72\317\214 \"\316\261\317\200\316\277\317\207\317\211\317\201\316\271\317\2= 03\316\274\317\214\". \n\316\244\316\277 \316\274\316\261\316\263\316\261\3= 16\266\316\257 \316\265\316\257\316\275\316\261\316\271 \316\255\316\275\31= 6\261 \316\274\316\271\316\272\317\201\317\214 \316\274\316\265\316\266\316= \265\316\264\316\277\317\200\317\211\316\273\316\265\316\257\316\277 \317\2= 03\317\204\316\277\317\205 \316\250\317\205\317\201\317\201\316\256, \316\2= 77\316\264\317\214\317\202 \316\244\316\254\316\272\316\267 13.\n\316\214\3= 17\203\316\277\316\271 \316\270\316\255\316\273\316\277\317\205\316\275 \31= 6\264\316\277\316\272\316\271\316\274\316\254\316\266\316\277\317\205\316\2= 75 \317\204\316\271\317\202 \317\206\317\211\316\275\316\267\317\204\316\27= 1\316\272\316\255\317\202 \317\204\316\277\317\205\317\202 \316\271\316\272= \316\261\316\275\317\214\317\204\316\267\317\204\316\265\317\202! \n\316\24= 0\316\265\316\257\317\204\316\265 \316\274\316\277\317\205 \316\274\316\255= \317\207\317\201\316\271 \316\244\317\201\316\257\317\204\316\267 \317\214\= 317\203\316\277\316\271 \316\274\317\200\316\277\317\201\316\265\316\257\31= 7\204\316\265/\316\270\316\255\316\273\316\265\317\204\316\265 \316\275\316= \261 \316\255\317\201\316\270\316\265\317\204\316\265 \316\275\316\261 \316= \272\316\273\316\265\316\257\317\203\317\211 \317\204\317\201\316\261\317\2= 00\316\255\316\266\316\271." "\"\316\244\316\221\316\232\316\227 13\", \316= \250\316\245\316\241\316\241\316\227" (22221 61344) (22222 28208) nil "79e1= cd45-012e-4305-869d-56367a5183aa" "REQUEST" nil non-participant ("ip_planni= ng@otenet.gr") nil] "Not replied yet")) gnus-icalendar-event->gnus-calendar([object gnus-icalendar-event-request = "gnus-icalendar-event-request" "tvasilopo@otenet.gr" "Farewell_IP_Planning#= 2" "\316\234\316\277\317\205\317\203\316\271\316\272\316\256 \316\222\317\2= 01\316\261\316\264\316\271\316\254 \317\200\317\201\316\271\316\275 \317\2= 04\316\277\316\275 \316\277\317\201\316\271\317\203\317\204\316\271\316\272= \317\214 \"\316\261\317\200\316\277\317\207\317\211\317\201\316\271\317\203= \316\274\317\214\". \n\316\244\316\277 \316\274\316\261\316\263\316\261\316= \266\316\257 \316\265\316\257\316\275\316\261\316\271 \316\255\316\275\316\= 261 \316\274\316\271\316\272\317\201\317\214 \316\274\316\265\316\266\316\2= 65\316\264\316\277\317\200\317\211\316\273\316\265\316\257\316\277 \317\203= \317\204\316\277\317\205 \316\250\317\205\317\201\317\201\316\256, \316\277= \316\264\317\214\317\202 \316\244\316\254\316\272\316\267 13.\n\316\214\317= \203\316\277\316\271 \316\270\316\255\316\273\316\277\317\205\316\275 \316\= 264\316\277\316\272\316\271\316\274\316\254\316\266\316\277\317\205\316\275= \317\204\316\271\317\202 \317\206\317\211\316\275\316\267\317\204\316\271\= 316\272\316\255\317\202 \317\204\316\277\317\205\317\202 \316\271\316\272\3= 16\261\316\275\317\214\317\204\316\267\317\204\316\265\317\202! \n\316\240\= 316\265\316\257\317\204\316\265 \316\274\316\277\317\205 \316\274\316\255\3= 17\207\317\201\316\271 \316\244\317\201\316\257\317\204\316\267 \317\214\31= 7\203\316\277\316\271 \316\274\317\200\316\277\317\201\316\265\316\257\317\= 204\316\265/\316\270\316\255\316\273\316\265\317\204\316\265 \316\275\316\2= 61 \316\255\317\201\316\270\316\265\317\204\316\265 \316\275\316\261 \316\2= 72\316\273\316\265\316\257\317\203\317\211 \317\204\317\201\316\261\317\200= \316\255\316\266\316\271." "\"\316\244\316\221\316\232\316\227 13\", \316\2= 50\316\245\316\241\316\241\316\227" (22221 61344) (22222 28208) nil "79e1cd= 45-012e-4305-869d-56367a5183aa" "REQUEST" nil non-participant ("ip_planning= @otenet.gr") nil] "Not replied yet") gnus-icalendar-mm-inline((# ("text/calendar" (charset . "UT= F-8") (method . "REQUEST")) 8bit nil nil nil nil nil)) mm-display-inline((# ("text/calendar" (charset . "UTF-8") (= method . "REQUEST")) 8bit nil nil nil nil nil)) mm-display-part((# ("text/calendar" (charset . "UTF-8") (me= thod . "REQUEST")) 8bit nil nil nil nil nil) t) byte-code("\203=17=00\306\211A=10\242 \"\203=00=00\307\300\310\"\210\20= 2=00=00\n\211=1B\205\"=00\311\312=0B!!)\203/=00r\nq\210\f)\2020=00\f\203:= =00\306\313 \"\204x=00\314=0D!?\205T=00\315=0D8?\206T=00\315=0D8@\316\232\2= 06T=00\317=0D!\211=16*\203x=00\320=0D!\203x=00\321=0D!\203l=00\322=0D!\204r= =00\323 !\203x=00\324=16+\202\231=00=0D=1D\325=0D\211=1D@;\203\210=00=0D@\2= 02\214=00=0DA@@)\326\"@)\327\232\203\231=00\324=16,=0E-GT\310=1E.\211=1E/= =0DB=0E-B=16-=0E+\203\357=00=0D=1D\325=0D\211=1D@;\203\277=00=0D@\202\303= =00=0DA@@)\326\"@)\330\232\203\357=00\331\332n\204\327=00\333\202\355=00o\2= 04\350=00`S\206\341=00`Sf\332=3D\203\354=00\334\202\355=00\335\"\210=0E+\20= 3=02=01\336 !\203=02=01=0E/=0E0=3D\203=1B=01\337=0D=0E/=0E+\206=12=01=0E*\2= 05=12=01=0E,C#\210\340 \210\324=161`=16.=0E+\203\231=01=0E1\203.=01\341y\21= 0`=16.=0E2\212\310\342\343\217\210=0E3)=1E4=1E5\344\345!\203^=01=0E6\211=1B= \205O=01\311\312=0B!!)\203^=01r=0E6q\210=0E7)\202`=01=0E7\211=1E8\204j=01\3= 24\202\204=01=0E9;\203y=01\306=0E9=0E8\"\202\204=01=0E9:\205\204=01=0E8=0E9= \235?\205\212=01=0E:)=1E:\346=0D\324\"\210+db\210\202\270=01=0E,\203\270=01= =0E*\203\270=01=0E1\203\256=01\341y\210`=16.\340 \210\347=0D!\210db\210\212= \214=0E.`}\210=0D=0E;=3D\203\340=01\350\310\335\211=0D\211=1D@;\203\327=01= =0D@\202\333=01=0DA@@)$\2021=02\310=1E<=0E;\310=1E=3D\211=1E>\203=12=02=0E>= @\211=16=3D;\204 =02=0E=3DA@@\351\232\204 =02=0E=3D=0EA\211=16>\2= 04\356=01*\350\310=0D=0E<>G=0E ("text/calendar" (charset . "UT= F-8") (method . "REQUEST")) 8bit nil nil nil nil nil)) gnus-mime-display-part((# ("text/calendar" (charset . "UTF-= 8") (method . "REQUEST")) 8bit nil nil nil nil nil)) gnus-display-mime() gnus-article-prepare-display() gnus-article-prepare(136273 nil) gnus-summary-display-article(136273 nil) gnus-summary-select-article(nil nil pseudo) gnus-summary-scroll-up(1) call-interactively(gnus-summary-scroll-up nil nil) command-execute(gnus-summary-scroll-up) --=-=-=-- From MAILER-DAEMON Mon Feb 22 15:49:39 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXxQI-0003bQ-Vh for mharc-help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 15:49:38 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXwcv-0003Uj-AH for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 14:58:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXwcu-0002F6-E3 for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 14:58:37 -0500 Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:38687) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXwcu-0002F0-6e for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 14:58:36 -0500 Received: by mail-wm0-x231.google.com with SMTP id a4so179125325wme.1 for ; Mon, 22 Feb 2016 11:58:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:subject:message-id:mime-version:content-disposition :user-agent; bh=S2pIY5ouj/sUIFN1XfTm4F3ljWo+HoCKiq356tjS8lg=; b=z+pME6obJuAbKuPREtYa92OfGfpuk2VFU5FwbDFS6ipYwAmOfXlTg1N22CZHGfGwc9 gmsu5Z3Do0PGszk+M6Z9pE8/gBwVJzUNHTwKO43HkM8Y/Vvf9VnI8dHsJc8zJk4MDNCK PYf7fxuSq2kJpm0AN9YDD/dp6Ikre0kbLek7RK7sY2cCkaQAdxoNoOi21OA7+aQIoTUQ 0+slyHAbamr8LRXqU/ksn1z0JMsGn8RxsIloPTTkLDgC5QH+TFnoDG2RreXdYJsz/Ska Ix6RADACDyoqbeGd3dpANjbYOsim63cZOoWS+p3DFgR8S10nIA5Lbhuw6Xnyk8qxzFJ5 zdmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:subject:message-id:mime-version :content-disposition:user-agent; bh=S2pIY5ouj/sUIFN1XfTm4F3ljWo+HoCKiq356tjS8lg=; b=c7YubBvFjkg0wxSt2Nzp5vh0P4jDepbB8S2oJT8FVLWq8hU7Y/+7eAfM+yAj/y4V0W KKRdk83RWDbqYeiNJRiX9szSUOV9Qcrg2CIdS5FrmejZO/DsAnEw+eA0esoE1j9Mgv3B yLIcvLvoUoti01lfDHwKVJFoyG9Uv1TKJ32q0LuJhe+Wq8eS1H6WyqORp0jTjtTZbe6g FVMcnciIGzxEI7T/KOo21Qfe8UTWloRZYe3hDuX9RG4mMvS95xyGB5lLgN6zm7F9wuNs eYB0eN7WjUksnkgzH8AnJA7b7ji3nEnCcWQC45+l2lByFOwksG3kc4sZfzeYUQA5dGvw a6oQ== X-Gm-Message-State: AG10YORwTJLUd5Gkzl3PHSpVEG3N4fzqPDHNelfoKEhgN/5co5O48tJ/8gWoaiA7gsPf3w== X-Received: by 10.28.91.83 with SMTP id p80mr15283966wmb.48.1456171115525; Mon, 22 Feb 2016 11:58:35 -0800 (PST) Received: from mortar.AMN (ip-2a02-2149-867a-8200-6e62-6dff-fe56-626f.ip6.forthnet.gr. [2a02:2149:867a:8200:6e62:6dff:fe56:626f]) by smtp.gmail.com with ESMTPSA id 198sm22721775wml.22.2016.02.22.11.58.34 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 Feb 2016 11:58:35 -0800 (PST) From: mvar X-Google-Original-From: mvar Date: Mon, 22 Feb 2016 21:58:32 +0200 To: help-gnu-emacs@gnu.org Subject: executing bash function with shell-command Message-ID: <20160222195831.GA22309@mortar.AMN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::231 X-Mailman-Approved-At: Mon, 22 Feb 2016 15:49:35 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 19:58:38 -0000 Hello, Apologies if this has been asked before, i couldn't find something relevant in the archives! I've been trying to setup a lisp function in emacs (24.5.1) that executes an external bash function defined in my .bashrc file (or even .emacs_bash). If i open the shell directly from within emacs and type the function in there it works, but if i call it with "shell-command" i get a "command not found" error. A workaround is to run shell-command with "source ~/.emacs-bash && function_name". Am i doing something horribly wrong? another question, is it viable to create some function/script in Lisp that for example will ssh to a remote machine, execute some pre-defined commands and log-off ? The only relevant info i've found so far is for remote editing with tramp. thanks, Michael From MAILER-DAEMON Mon Feb 22 17:19:49 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aXypZ-0008QF-MW for mharc-help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 17:19:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXypW-0008Nh-Vj for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 17:19:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXypW-0006wS-6z for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 17:19:46 -0500 Received: from mail-yk0-x22a.google.com ([2607:f8b0:4002:c07::22a]:33582) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXypW-0006wG-2U for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 17:19:46 -0500 Received: by mail-yk0-x22a.google.com with SMTP id z13so68058194ykd.0 for ; Mon, 22 Feb 2016 14:19:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=X9dO6MF/9aUzptWmqbIFjwz2wNB0A8N6exMldOEAXFU=; b=Ox6iWuOw0PtPpAUEN0QIFnzSoiTK4DpSdDb3wNo48qiguRiepL9tFa12xL41Li2vt1 hzmqYHYIgeN/1YKVVTvzFVOpBLaOYeVG3/Ebif5pk3+BND3kJX4DjaHMIIDHG/fu+vdW W8/GTwxntoyfcWAAlEpcsIj2sN4Iyv+GAYUlAIGBXwjFDu3+Eb2sArj/A8K6bLGVO+Na nH+L8jkgvYXkzOrmzDJa31H50BfogDoRxVLsVUyXYB2aJ6cPwqjyVFZTIxZII8LDXVlX diNhSNw1gMdlRoNqdqJl56MG3CMHL58vHYN/kvCw3Mu1W8as4+LbtzUIxqKcd1gsXVgH /h/A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=X9dO6MF/9aUzptWmqbIFjwz2wNB0A8N6exMldOEAXFU=; b=UZqFzY2EqK4L7+DHty7HitV6uePYQa1uD2w7AsqRvyeeMrPcxB2W+dnCKHZK7ZegEx aGd6BKMjFHGgwxKLa8igG0/FxEsrZJXuTzeFsPDvt+PV/5J9IeQ2+vjEFSQyXT8qJyuY xGG2DgfZJd6HbufYH0WyyT6EYyUukSw25NrNwVxB2gjAGhFIHVAttQSkqeF3Wgi2nFrB 9O/wLKdLoTaOeLI/D0WZ7yQVckC5VufGm4THRvkb3lvI+v8m0kqYSR1Af72VzRW2XDlo TNRbYD5Af01uCWwn+WJWT7IblPOmXGjT0Uq4zHM0HG+Fae+xZ8jZtOQd6n7TDUUfRQUn cctg== X-Gm-Message-State: AG10YOR6dVsmdjIxxIy9mRXDGHly5KR2eqVxEMeOou8xpEGbcSGrqk+TiUeysEqKrIi/gJ9f4qnEGTqu41wCNw== X-Received: by 10.37.14.132 with SMTP id 126mr15732864ybo.69.1456179585171; Mon, 22 Feb 2016 14:19:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.66.76 with HTTP; Mon, 22 Feb 2016 14:19:25 -0800 (PST) In-Reply-To: <93f00895-d710-4c32-91e3-1994bb967813@googlegroups.com> References: <93f00895-d710-4c32-91e3-1994bb967813@googlegroups.com> From: John Mastro Date: Mon, 22 Feb 2016 14:19:25 -0800 Message-ID: Subject: Re: connect to my pc To: "help-gnu-emacs@gnu.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4002:c07::22a Cc: =?UTF-8?Q?Haris_Bogdanovi=C4=87?= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 22:19:47 -0000 Hi Haris, wrote: > Hi > > Can someone connect to my pc and fix my .emacs file, so that my SLIME aut= o-completion works ? > I tried many things, but nothing. > > Thanks My recommendation is to a post a succinct but precise recipe, including: - the relevant contents of your init file - what steps you took (e.g., "I opened a buffer in lisp-mode, typed =E2=80=98with-=E2=80=99, and ...") - what you expected to happen - what actually happened IMHO that will be the most effective way to take advantage of the list's combined wisdom. --=20 john From MAILER-DAEMON Mon Feb 22 18:45:58 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aY0Aw-00042q-NH for mharc-help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 18:45:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY0Au-00041Y-25 for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 18:45:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aY0Aq-0004XC-TB for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 18:45:55 -0500 Received: from plane.gmane.org ([80.91.229.3]:34778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY0Aq-0004TH-Mt for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 18:45:52 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aY0Aj-0002Qa-3F for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 00:45:45 +0100 Received: from 76-10-161-227.dsl.teksavvy.com ([76.10.161.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Feb 2016 00:45:45 +0100 Received: from monnier by 76-10-161-227.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Feb 2016 00:45:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Stefan Monnier Subject: Re: connect to my pc Date: Mon, 22 Feb 2016 18:45:30 -0500 Lines: 10 Message-ID: References: <93f00895-d710-4c32-91e3-1994bb967813@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 76-10-161-227.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:CXdvlc/YdX9lmABXYoWy9NVRfz0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Feb 2016 23:45:56 -0000 >> Can someone connect to my pc and fix my .emacs file, so that my SLIME >> auto-completion works ? >> I tried many things, but nothing. > My recommendation is to a post a succinct but precise recipe, including: - IP address - Login name - Password Stefan From MAILER-DAEMON Mon Feb 22 19:13:55 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aY0bz-0003uk-Cj for mharc-help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:13:55 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY0bx-0003u1-GU for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:13:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aY0bt-0003dk-FZ for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:13:53 -0500 Received: from plane.gmane.org ([80.91.229.3]:36794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY0bt-0003dg-8w for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:13:49 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aY0bp-0008VW-0f for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 01:13:45 +0100 Received: from nl106-137-54.student.uu.se ([130.243.137.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Feb 2016 01:13:44 +0100 Received: from embe8573 by nl106-137-54.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Feb 2016 01:13:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: removing white space highlight Date: Tue, 23 Feb 2016 01:13:39 +0100 Lines: 15 Message-ID: <87oab8wafg.fsf@debian.uxu> References: <20160220120357638044819@bob.proulx.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-54.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:1x5AVa9NR9+496ZxZrwp36rBKRA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 00:13:54 -0000 Luca Ferrari writes: > and moreover being able to find out what is causing > them emphatized allows me to set my custom settings. Well, sometimes "For everyone who asks receives" but don't rely on it, instead go for the "he who seeks finds". So start examining your settings line by line with any method you'd like... -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Mon Feb 22 19:27:35 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aY0pD-0006ef-Je for mharc-help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:27:35 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY0pB-0006eW-EH for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:27:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aY0p8-0007A5-6N for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:27:33 -0500 Received: from plane.gmane.org ([80.91.229.3]:37652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY0p7-00079v-W7 for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:27:30 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aY0p1-0002rn-6u for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 01:27:23 +0100 Received: from nl106-137-54.student.uu.se ([130.243.137.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Feb 2016 01:27:23 +0100 Received: from embe8573 by nl106-137-54.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Feb 2016 01:27:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: executing bash function with shell-command Date: Tue, 23 Feb 2016 01:27:05 +0100 Lines: 41 Message-ID: <87k2lww9t2.fsf@debian.uxu> References: <20160222195831.GA22309@mortar.AMN> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-54.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:/Ey0iRQsvUTnpbzeKPGkyB2SQDs= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 00:27:34 -0000 mvar writes: > I've been trying to setup a lisp function in emacs > (24.5.1) that executes an external bash function > defined in my .bashrc file (or even .emacs_bash). > If i open the shell directly from within emacs and > type the function in there it works, but if i call > it with "shell-command" i get a "command not > found" error. It is because when you open bash from Emacs bash is the interactive shell. When you open Emacs from bash Emacs talks to a non-interactive bash where BASH_ENV is the only thing that is sourced. (Or so I've heard - I don't use bash myself - I use zsh, where you solve this by putting shared stuff in .zshenv) So try putting the shared file path in BASH_ENV, or you can even try: BASH_ENV=~/.bashrc emacs The the distinction interactive/non-interactive gets foggy but I suppose your computer won't blow up. > A workaround is to run shell-command with "source > ~/.emacs-bash && function_name". Indeed, the material is not read is the problem. > another question, is it viable to create some > function/script in Lisp that for example will ssh to > a remote machine, execute some pre-defined commands > and log-off ? The only relevant info i've found so > far is for remote editing with tramp. Yes, you can do that. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Mon Feb 22 19:29:31 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aY0r5-0007J5-JY for mharc-help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:29:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY0r3-0007Iv-EQ for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:29:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aY0r2-0007YF-HQ for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:29:29 -0500 Received: from mail-yk0-x230.google.com ([2607:f8b0:4002:c07::230]:36846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY0r0-0007XT-Nh for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:29:28 -0500 Received: by mail-yk0-x230.google.com with SMTP id z7so69236540yka.3 for ; Mon, 22 Feb 2016 16:29:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=pEmGrum2b56Qbe7G2MF9NoGawUnXQzFpmQj+ZolQMxY=; b=S+MsHXw3AoAnD5Ka+mWjbQfT0/40Ry39vIZFkF9uAcLqZWQkR2JL1m688iWk8fBg6q LCSWlhX+/vw1zUIv/F1cZqQMhhkoOwDPX1Lu9UFpTy16s96rEmFahYSqi+h86YOnbLth AqXw3ns67RaSxUIHAbvsODaLm+oPDo+5T/ahxvryUj9GSiwc9ZQLBOwn9Jp25uhr3bQt 3fpcGrrdoew85G9THHr/CmJT9mMTgxJAZaZCmFIT9MdIamTJnToyd6sWNqjURh81MdIS z30TcdAbUEgZ1A33vYW/W4+Hc8vxLSjUONuFRk3OCQE8AgMKg+2ZHaENMz+piEyoB/eM chzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=pEmGrum2b56Qbe7G2MF9NoGawUnXQzFpmQj+ZolQMxY=; b=ZZOzZDP/7H6YEq1h/D1ObMkeIJxUsH+xW9kaz4UPlgW8B5mcjhpwc4nM4chCKAaCLB gVVUD3PCQWK05hPlKaWuUBZLodms3J++Q8uqLY4R0bbCODiobR/jepzH1MA6Id1FrS7W +L22z6XuZHQ2LFwEKWSfQVs0wWiWKg9b8ldDRwQfFljaOSBJzpWqXBDh5yS3sct8WBkH yxDfJLLkqr2LOU2z5tATDcFNZKtO5F7dQNNehZEg7wkH5iTSjgZRn6R7cPdJ73mdhXtD hhIUyuE0SJN5RcovYxk0c/wL3Xton288iCCnNIlVAwScW8s/odt4sMvOUR/FG/TTojdO LJew== X-Gm-Message-State: AG10YOQJoK+E0GcmBqQEqHJmJlESP2bYdOcGAzNWNrC/AoMJXiiRRPJ2f2Vg0dqLF7qbEtzoLaCcNinO5Hs2Yw== X-Received: by 10.37.88.215 with SMTP id m206mr13624499ybb.168.1456187366338; Mon, 22 Feb 2016 16:29:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.66.76 with HTTP; Mon, 22 Feb 2016 16:29:06 -0800 (PST) In-Reply-To: References: <93f00895-d710-4c32-91e3-1994bb967813@googlegroups.com> From: John Mastro Date: Mon, 22 Feb 2016 16:29:06 -0800 Message-ID: Subject: Re: connect to my pc To: "help-gnu-emacs@gnu.org" Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4002:c07::230 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 00:29:30 -0000 Stefan Monnier wrote: >>> Can someone connect to my pc and fix my .emacs file, so that my SLIME >>> auto-completion works ? >>> I tried many things, but nothing. >> My recommendation is to a post a succinct but precise recipe, including: > - IP address > - Login name > - Password Not sure if that's Stefan offering to help but, if so, you couldn't ask for better. Certainly you should listen to him over me :) Might not want to post that stuff publicly, though... -- john From MAILER-DAEMON Mon Feb 22 19:33:27 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aY0ut-00005l-9N for mharc-help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:33:27 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY0ur-00005Y-8R for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:33:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aY0uo-0000AR-0u for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:33:25 -0500 Received: from outbound-smtp08.blacknight.com ([46.22.139.13]:44829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY0un-00009O-RR for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:33:21 -0500 Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp08.blacknight.com (Postfix) with ESMTPS id 3C5601C1924 for ; Tue, 23 Feb 2016 00:33:12 +0000 (GMT) Received: (qmail 11937 invoked from network); 23 Feb 2016 00:33:12 -0000 Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.77.41.16]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 23 Feb 2016 00:33:12 -0000 From: Robert Thorpe To: Emanuel Berg Subject: Re: removing white space highlight In-Reply-To: <87a8muq95m.fsf@debian.uxu> (message from Emanuel Berg on Sun, 21 Feb 2016 18:13:09 +0100) Date: Tue, 23 Feb 2016 00:33:11 +0000 Message-ID: <87io1g8dvc.fsf@robertthorpeconsulting.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 46.22.139.13 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 00:33:26 -0000 Emanuel Berg writes: >> agree that it's an issue. [...] >> agree on a strategy [...] >> agree on some time frame [...] > > *yawn* > > Wake me up when it is time to start working! > >> Otherwise *do nothing*. > > Not likely. If I were running a team and you were on it, I have a feeling you'd get chucked off it rather quickly. I the problem is worse than Tomas mentions. What about past programmers? How do we get those to behave themselves regarding whitespace? Sadly it's impossible. BR, Robert Thorpe From MAILER-DAEMON Mon Feb 22 19:34:24 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aY0vo-0000eI-U6 for mharc-help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:34:24 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36026) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY0vm-0000dz-Rn for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:34:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aY0vj-0000ox-KW for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:34:22 -0500 Received: from outbound-smtp05.blacknight.com ([81.17.249.38]:56235) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY0vj-0000oo-Dz for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:34:19 -0500 Received: from mail.blacknight.com (pemlinmail06.blacknight.ie [81.17.255.152]) by outbound-smtp05.blacknight.com (Postfix) with ESMTPS id 81AE598CF0 for ; Tue, 23 Feb 2016 00:34:18 +0000 (UTC) Received: (qmail 17491 invoked from network); 23 Feb 2016 00:34:18 -0000 Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.77.41.16]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 23 Feb 2016 00:34:18 -0000 From: Robert Thorpe To: Luca Ferrari Subject: Re: removing white space highlight In-Reply-To: (message from Luca Ferrari on Mon, 22 Feb 2016 15:05:19 +0100) Date: Tue, 23 Feb 2016 00:34:17 +0000 Message-ID: <87fuwk8dti.fsf@robertthorpeconsulting.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.38 Cc: help-gnu-emacs@gnu.org, fluca1978@infinito.it X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 00:34:23 -0000 Luca Ferrari writes: > On Sat, Feb 20, 2016 at 8:08 PM, Bob Proulx wrote: >> I didn't see anyone suggest actually fixing the file to remove those >> lines with trailing whitespace but I think is the best answer. That >> is the entire reason for the trailing whitespace highlighting in the >> first place. Make them visible instead of invisible so that they will >> be addressed. > > A good point indeed, but I don't want to see whitespaces in every kind > of buffer (e.g., programming ones are the one that make more sense), > and moreover being able to find out what is causing them emphatized > allows me to set my custom settings. So far I've a dark theme with > whitespaces in lime, that as you can immagine is quite a punch in the > eye. Did you say you're using Spacemacs? If so, you could try their mailing list. BR, Robert Thorpe From MAILER-DAEMON Mon Feb 22 19:34:47 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aY0wB-000182-NM for mharc-help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:34:47 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY0w7-00016F-Q1 for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:34:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aY0w4-0000xI-G5 for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:34:43 -0500 Received: from plane.gmane.org ([80.91.229.3]:38213) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY0w4-0000wq-9F for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:34:40 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aY0w3-0000ez-3Z for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 01:34:39 +0100 Received: from nl106-137-54.student.uu.se ([130.243.137.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Feb 2016 01:34:39 +0100 Received: from embe8573 by nl106-137-54.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Feb 2016 01:34:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: executing bash function with shell-command Date: Tue, 23 Feb 2016 01:34:33 +0100 Lines: 36 Message-ID: <87fuwkw9gm.fsf@debian.uxu> References: <20160222195831.GA22309@mortar.AMN> <87k2lww9t2.fsf@debian.uxu> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-54.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:++Pnxd9P1c4pfO8yOOS4JcQXkks= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 00:34:46 -0000 Emanuel Berg writes: > It is because when you open bash from Emacs bash is > the interactive shell. When you open Emacs from bash > Emacs talks to a non-interactive bash where BASH_ENV > is the only thing that is sourced. (Or so I've heard > - I don't use bash myself - I use zsh, where you > solve this by putting shared stuff in .zshenv) > > So try putting the shared file path in BASH_ENV, or > you can even try: > > BASH_ENV=~/.bashrc emacs Yes, this works for me even tho I'm on zsh. In ~/.bashrc put this, carefully, as bash is fussy! function hi () { echo hello } Then invoke Emacs like this: SHELL=/bin/bash BASH_ENV=~/.bashrc emacs -Q Then: M-x shell-command RET hi RET N.B. Don't rely on SHELL if you want to change the shell in general. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Mon Feb 22 19:41:22 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aY12Y-0002sM-5b for mharc-help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:41:22 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY12W-0002sF-CO for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:41:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aY12R-00037Q-9Y for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:41:20 -0500 Received: from plane.gmane.org ([80.91.229.3]:38576) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY12R-00037H-3C for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 19:41:15 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aY12O-0005pB-Li for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 01:41:12 +0100 Received: from nl106-137-54.student.uu.se ([130.243.137.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Feb 2016 01:41:12 +0100 Received: from embe8573 by nl106-137-54.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Feb 2016 01:41:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: removing white space highlight Date: Tue, 23 Feb 2016 01:41:03 +0100 Lines: 23 Message-ID: <87bn78w95s.fsf@debian.uxu> References: <87a8muq95m.fsf@debian.uxu> <87io1g8dvc.fsf@robertthorpeconsulting.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-54.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:X3gMEEm5RXl0pKmBzzg71P6CEy4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 00:41:21 -0000 Robert Thorpe writes: > I the problem is worse than Tomas mentions. > What about past programmers? How do we get those to > behave themselves regarding whitespace? > Sadly it's impossible. Have the software do this automatically. Then past, present, and future programmers can misbehave all they want. Or submit correct files to begin with. Their choice. It is like a calculator. One person inputs 3 + 7 and another 11 - 1 for the number of fingers. The calculator still shows 10. Dig? -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Mon Feb 22 20:36:41 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aY1u5-0008JQ-Ns for mharc-help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 20:36:41 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56250) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY1u3-0008JI-IX for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 20:36:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aY1u0-0002Pp-S9 for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 20:36:39 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:60724) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY1u0-0002MZ-LL for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 20:36:36 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aY1tX-0004Jz-OW; Tue, 23 Feb 2016 02:36:08 +0100 From: Lars Magne Ingebrigtsen To: phillip.lord@russet.org.uk (Phillip Lord) Subject: Re: Gnus Agent and From address of email References: Date: Tue, 23 Feb 2016 12:36:03 +1100 In-Reply-To: (Phillip Lord's message of "Mon, 22 Feb 2016 16:56:05 +0000") Message-ID: <8760xgw6m4.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aY1tX-0004Jz-OW X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: lmi@gnus.org MailScanner-NULL-Check: 1456796168.54877@7/N3D9fM09AR4hXWp2xhTg X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 01:36:40 -0000 phillip.lord@russet.org.uk (Phillip Lord) writes: > I change the "from" address for my email a lot. One problem is that when > using gnus agent, this does not appear to work -- that is the from field > is set to whatever user-mail-address is configured to at the time that > the queue is sent, NOT at the time that the email was sent (to the > queue). This makes offline email less useful as I can only send email > messages with one from field at a time. Hm... looking at the code, I can't see any place where it removes From: headers when sending the Agent queue, but I haven't actually tested it, so I may be missing something. Could you try `M-x debug-on-entry RET message-send-and-exit', try to send something, and then go to the sending buffer to see what's in that? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From MAILER-DAEMON Mon Feb 22 20:42:33 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aY1zl-0001kG-B3 for mharc-help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 20:42:33 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY1zj-0001k4-41 for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 20:42:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aY1ze-0004Br-UC for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 20:42:31 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:39415) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY1ze-0004Bf-NL for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 20:42:26 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aY1zG-0004Ud-V2; Tue, 23 Feb 2016 02:42:03 +0100 From: Lars Magne Ingebrigtsen To: Kostas Zorbadelos Subject: Re: gnus-icalendar errors in emacs 24.5 References: Date: Tue, 23 Feb 2016 12:41:58 +1100 In-Reply-To: (Kostas Zorbadelos's message of "Mon, 22 Feb 2016 20:48:24 +0200") Message-ID: <87y4acurrt.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable X-MailScanner-ID: 1aY1zG-0004Ud-V2 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: lmi@gnus.org MailScanner-NULL-Check: 1456796523.86498@osFC7baSqf9VLP/C+xLmWw X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 Cc: help-gnu-emacs@gnu.org, Jan Tatarik X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 01:42:32 -0000 Kostas Zorbadelos writes: > Org file exists and has a 'Calendar' headline. > On export of a calendar mail (attached the calendar MIME part) I get the > attached backtrace. I get the same backtrace even when I send a gmail > calendar invitation. Any suggestions? [...] > Debugger entered--Lisp error: (error "Invalid date: 2016-02-25 =A6=B0=A6= =C5=A6=CC") > signal(error ("Invalid date: 2016-02-25 =A6=B0=A6=C5=A6=CC")) > error("Invalid date: %s" "2016-02-25 =A6=B0=A6=C5=A6=CC") > date-to-time("2016-02-25 =A6=B0=A6=C5=A6=CC") This is definitely a bug, and it comes from here: (cl-defmethod gnus-icalendar-event:org-timestamp ((event gnus-icalendar-eve= nt)) "Build `org-mode' timestamp from EVENT start/end dates and recurrence inf= o." (let* ((start (gnus-icalendar-event:start-time event)) (end (gnus-icalendar-event:end-time event)) (start-date (format-time-string "%Y-%m-%d %a" start)) %a is the locale's day name, and that's not something `date-to-time' can parse. But I'm not familiar with gnus-icalendar, so I'm not sure what the right fix is here. Jan, is the week day supposed to be in these date strings at all? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From MAILER-DAEMON Mon Feb 22 21:30:12 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aY2js-0003SP-GC for mharc-help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 21:30:12 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42020) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY2jp-0003PE-G5 for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 21:30:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aY2jm-0000LV-An for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 21:30:09 -0500 Received: from plane.gmane.org ([80.91.229.3]:43995) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY2jm-0000Ky-44 for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 21:30:06 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aY2jk-0004aw-D2 for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 03:30:04 +0100 Received: from 76-10-161-227.dsl.teksavvy.com ([76.10.161.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Feb 2016 03:30:04 +0100 Received: from monnier by 76-10-161-227.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Feb 2016 03:30:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Stefan Monnier Subject: Re: connect to my pc Date: Mon, 22 Feb 2016 21:25:14 -0500 Lines: 6 Message-ID: References: <93f00895-d710-4c32-91e3-1994bb967813@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 76-10-161-227.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:CWbvibTDCt99JQDieTr6egT0zto= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 02:30:10 -0000 > Might not want to post that stuff publicly, though... If it's not public, it's not fun, Stefan From MAILER-DAEMON Mon Feb 22 22:19:16 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aY3VM-00028Y-44 for mharc-help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 22:19:16 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY3VK-00028Q-OT for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 22:19:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aY3VH-00043Z-Fu for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 22:19:14 -0500 Received: from plane.gmane.org ([80.91.229.3]:49611) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY3VH-00043V-8o for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 22:19:11 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aY3VE-0008Oe-P9 for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 04:19:09 +0100 Received: from 123.122.44.213 ([123.122.44.213]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Feb 2016 04:19:08 +0100 Received: from eric by 123.122.44.213 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Feb 2016 04:19:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Eric Abrahamsen Subject: Re: Two questions about generalized variables Date: Tue, 23 Feb 2016 11:19:02 +0800 Lines: 40 Message-ID: <87si0kktax.fsf@ericabrahamsen.net> References: <87ziuu4p8k.fsf@ericabrahamsen.net> <877fhydw6q.fsf@web.de> <877fhyayzn.fsf@ericabrahamsen.net> <878u2e9bsn.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 123.122.44.213 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:wRBFZbcM3hqARhImfdgxJwcldxQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 03:19:15 -0000 Michael Heerdegen writes: > Eric Abrahamsen writes: > >> I didn't mean symbol property lists! Just the plain old '(:key1 "value1" >> :key2 "value2") kind. They're useful for a few different things -- in >> this case, initializing class instances. > > Oh, I see. Hmm, one could define a place expander quite similarly to > the one of `alist-get', I think, but it doesn't seem one to be > predefined, indeed. Right, that was my question, I guess -- I would do this with `gv-define-setter', right? Its docstring is a bit impenetrable, but if that's the right place to start I can figure it out. >> >> The second question is setting hashtable entries. Right now I have code >> >> like this: >> >> >> >> (setf (gethash uuid my-hashtable) >> >> (append (list (list 'thingone 'thingtwo)) >> >> (gethash uuid my-hashtable))) >> > >> > Isn't that more or less `push'? >> >> I started off with `push', but the code in question doesn't know if the >> key exists or not, and you can't push to nil. > > The gv setter is calculated using the (unevaluated) place expression, so > "pushing to nil" doesn't happen. See the gv-expander of `alist-get' for > example, which of course also works for nonexistent keys. Ah, of course! It's pushing to a place, not a value, that's the whole point. Thank you for turning the light on there. Last question: How do I actually see the gv-expander of `alist-get'? Where is that? Thanks again, Eric From MAILER-DAEMON Tue Feb 23 04:14:08 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aY92m-0003hC-9M for mharc-help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 04:14:08 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY92g-0003f6-MV for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 04:14:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aY92d-0006x7-BA for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 04:14:02 -0500 Received: from calypso.otenet.gr ([83.235.67.36]:46845) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY92d-0006wt-1F for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 04:13:59 -0500 Received: from otenet.gr (athe-ppp-008.otenet.gr [195.167.126.249]) by calypso.otenet.gr (ESMTP) with ESMTPSA id 1427F138040; Tue, 23 Feb 2016 11:13:55 +0200 (EET) From: Kostas Zorbadelos To: Lars Magne Ingebrigtsen Subject: Re: gnus-icalendar errors in emacs 24.5 Organization: No affiliation References: <87y4acurrt.fsf@gnus.org> Date: Tue, 23 Feb 2016 11:13:55 +0200 In-Reply-To: <87y4acurrt.fsf@gnus.org> (Lars Magne Ingebrigtsen's message of "Tue, 23 Feb 2016 12:41:58 +1100") Message-ID: <87bn77dc18.fsf@otenet.gr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 83.235.67.36 Cc: help-gnu-emacs@gnu.org, Jan Tatarik X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: kzorba@otenet.gr List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 09:14:06 -0000 Lars, thank you so much. The problem is indeed my Greek locale that causes failure in date-to-time(). I made the following patch --- gnus-icalendar.el.orig 2016-02-23 09:04:49.755027543 +0200 +++ gnus-icalendar.el 2016-02-23 10:57:03.759362183 +0200 @@ -389,10 +389,10 @@ "Build `org-mode' timestamp from EVENT start/end dates and recurrence in= fo." (let* ((start (gnus-icalendar-event:start-time event)) (end (gnus-icalendar-event:end-time event)) - (start-date (format-time-string "%Y-%m-%d %a" start)) + (start-date (format-time-string "%Y-%m-%dT%T%z" start)) (start-time (format-time-string "%H:%M" start)) (start-at-midnight (string=3D start-time "00:00")) - (end-date (format-time-string "%Y-%m-%d %a" end)) + (end-date (format-time-string "%Y-%m-%dT%T%z" end)) (end-time (format-time-string "%H:%M" end)) (end-at-midnight (string=3D end-time "00:00")) (start-end-date-diff (/ (float-time (time-subtract that seems to work. Jan, as the author has the final saying in this, hopefully it doesn't break anything else, or there is just a better solution. Hopefully it will be fixed in later versions of Emacs.=20 Again, thanks, it is a pleasure to finally get rid of Thunderbird and have a plain text calendaring that works. Regards, Kostas Lars Magne Ingebrigtsen writes: > Kostas Zorbadelos writes: > >> Org file exists and has a 'Calendar' headline. >> On export of a calendar mail (attached the calendar MIME part) I get the >> attached backtrace. I get the same backtrace even when I send a gmail >> calendar invitation. Any suggestions? > > [...] > >> Debugger entered--Lisp error: (error "Invalid date: 2016-02-25 =CE=A0=CE= =B5=CE=BC") >> signal(error ("Invalid date: 2016-02-25 =CE=A0=CE=B5=CE=BC")) >> error("Invalid date: %s" "2016-02-25 =CE=A0=CE=B5=CE=BC") >> date-to-time("2016-02-25 =CE=A0=CE=B5=CE=BC") > > This is definitely a bug, and it comes from here: > > (cl-defmethod gnus-icalendar-event:org-timestamp ((event gnus-icalendar-e= vent)) > "Build `org-mode' timestamp from EVENT start/end dates and recurrence i= nfo." > (let* ((start (gnus-icalendar-event:start-time event)) > (end (gnus-icalendar-event:end-time event)) > (start-date (format-time-string "%Y-%m-%d %a" start)) > > %a is the locale's day name, and that's not something `date-to-time' can > parse. But I'm not familiar with gnus-icalendar, so I'm not sure what > the right fix is here. > > Jan, is the week day supposed to be in these date strings at all? --=20 Kostas Zorbadelos http://gr.linkedin.com/in/kzorba=09 From MAILER-DAEMON Tue Feb 23 05:17:08 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYA1k-0005Uf-Ob for mharc-help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 05:17:08 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45286) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYA1h-0005Pr-Vy for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 05:17:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYA1f-0000ft-58 for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 05:17:05 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:52384) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYA1e-0000cM-Ui for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 05:17:03 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aYA1A-0002Sm-Cs; Tue, 23 Feb 2016 11:16:33 +0100 From: Lars Ingebrigtsen To: Jan Tatarik Subject: Re: gnus-icalendar errors in emacs 24.5 References: <87y4acurrt.fsf@gnus.org> <871t83bup9.fsf@xing.com> Date: Tue, 23 Feb 2016 21:16:27 +1100 In-Reply-To: <871t83bup9.fsf@xing.com> (Jan Tatarik's message of "Tue, 23 Feb 2016 11:13:38 +0100") Message-ID: <87a8mru3yc.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aYA1A-0002Sm-Cs X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1456827393.89679@17PWtW79CUdPcGNgIHUT/A X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 Cc: help-gnu-emacs@gnu.org, Kostas Zorbadelos X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 10:17:07 -0000 Jan Tatarik writes: > How about this? It's a patch against the emacs-25 branch, I was not able > to connect to the gnus git. The Gnus git repository is now read-only (and only with anonymous access). > diff --git a/lisp/gnus/gnus-icalendar.el b/lisp/gnus/gnus-icalendar.el > index 4faef06..82a649f 100644 > --- a/lisp/gnus/gnus-icalendar.el > +++ b/lisp/gnus/gnus-icalendar.el > @@ -401,8 +401,8 @@ gnus-icalendar-event:org-timestamp > (end-time (format-time-string "%H:%M" end)) > (end-at-midnight (string= end-time "00:00")) > (start-end-date-diff (/ (float-time (time-subtract > - (date-to-time end-date) > - (date-to-time start-date))) > + (org-time-string-to-time end-date) > + (org-time-string-to-time start-date))) Yes, this seems to fix the problem. I'll apply to emacs-25 and push. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From MAILER-DAEMON Tue Feb 23 05:36:03 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYAK3-00049D-5W for mharc-help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 05:36:03 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50685) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYAJz-00046M-Ff for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 05:36:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYAJv-0005XU-QN for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 05:35:59 -0500 Received: from calypso.otenet.gr ([83.235.67.36]:48927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYAJv-0005Wp-K0 for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 05:35:55 -0500 Received: from otenet.gr (athe-ppp-008.otenet.gr [195.167.126.249]) by calypso.otenet.gr (ESMTP) with ESMTPSA id B0A18138040; Tue, 23 Feb 2016 12:35:52 +0200 (EET) From: Kostas Zorbadelos To: Lars Ingebrigtsen Subject: Re: gnus-icalendar errors in emacs 24.5 [FIXED] Organization: No affiliation References: <87y4acurrt.fsf@gnus.org> <871t83bup9.fsf@xing.com> <87a8mru3yc.fsf@gnus.org> Date: Tue, 23 Feb 2016 12:35:52 +0200 In-Reply-To: <87a8mru3yc.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 23 Feb 2016 21:16:27 +1100") Message-ID: <87h9gz90jb.fsf_-_@otenet.gr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 83.235.67.36 Cc: help-gnu-emacs@gnu.org, Jan Tatarik X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: kzorba@otenet.gr List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 10:36:02 -0000 Lars Ingebrigtsen writes: > Jan Tatarik writes: > >> How about this? It's a patch against the emacs-25 branch, I was not able >> to connect to the gnus git. > > The Gnus git repository is now read-only (and only with anonymous > access). > >> diff --git a/lisp/gnus/gnus-icalendar.el b/lisp/gnus/gnus-icalendar.el >> index 4faef06..82a649f 100644 >> --- a/lisp/gnus/gnus-icalendar.el >> +++ b/lisp/gnus/gnus-icalendar.el >> @@ -401,8 +401,8 @@ gnus-icalendar-event:org-timestamp >> (end-time (format-time-string "%H:%M" end)) >> (end-at-midnight (string= end-time "00:00")) >> (start-end-date-diff (/ (float-time (time-subtract >> - (date-to-time end-date) >> - (date-to-time start-date))) >> + (org-time-string-to-time end-date) >> + (org-time-string-to-time start-date))) > > Yes, this seems to fix the problem. I'll apply to emacs-25 and push. This seems to work as well in 24.5. My proposal broke the dates in the agenda buffer. Now I have a different problem, showing Greek (or other international text I guess) in calendar invitations. I will start a new thread for this. Thanks, Kostas -- Kostas Zorbadelos http://gr.linkedin.com/in/kzorba From MAILER-DAEMON Tue Feb 23 05:46:51 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYAUV-000454-Et for mharc-help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 05:46:51 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYAUT-00044l-8H for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 05:46:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYAUQ-0000RP-2k for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 05:46:49 -0500 Received: from calypso.otenet.gr ([83.235.67.36]:49159) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYAUP-0000R9-Rg for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 05:46:46 -0500 Received: from otenet.gr (athe-ppp-008.otenet.gr [195.167.126.249]) by calypso.otenet.gr (ESMTP) with ESMTPSA id DF712138040; Tue, 23 Feb 2016 12:46:42 +0200 (EET) From: Kostas Zorbadelos To: help-gnu-emacs@gnu.org Subject: gnus-icalendar international character handling Organization: No affiliation Date: Tue, 23 Feb 2016 12:46:42 +0200 Message-ID: <87d1rn9019.fsf@otenet.gr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 83.235.67.36 Cc: Lars Ingebrigtsen , Jan Tatarik X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: kzorba@otenet.gr List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 10:46:50 -0000 Hi, after activation of gnus-icalendar, the text/calendar MIME parts are not shown properly in gnus if they contain international (in my case Greek) characters (e.g. in Summary or Description). The export to org file also saves the relevant part as raw text and prompts for encoding. Is there any way to fix this? Regards, Kostas -- Kostas Zorbadelos http://gr.linkedin.com/in/kzorba From MAILER-DAEMON Tue Feb 23 07:58:30 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYCXu-0006nl-3w for mharc-help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 07:58:30 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYCXo-0006hZ-W6 for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 07:58:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYCXk-0003b2-Tv for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 07:58:24 -0500 Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:43394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYCXk-0003aT-Nb for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 07:58:20 -0500 Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk) by cheviot22.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1aYCXi-0004uR-FG; Tue, 23 Feb 2016 12:58:18 +0000 Received: from jangai.ncl.ac.uk ([10.66.67.223] helo=localhost) by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1aYCXi-0005Vm-Ih; Tue, 23 Feb 2016 12:58:18 +0000 From: phillip.lord@russet.org.uk (Phillip Lord) To: Lars Magne Ingebrigtsen Subject: Re: Gnus Agent and From address of email References: <8760xgw6m4.fsf@gnus.org> Date: Tue, 23 Feb 2016 12:58:18 +0000 In-Reply-To: <8760xgw6m4.fsf@gnus.org> (Lars Magne Ingebrigtsen's message of "Tue, 23 Feb 2016 12:36:03 +1100") Message-ID: <87h9gz4m8l.fsf@russet.org.uk> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 128.240.234.22 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 12:58:29 -0000 Lars Magne Ingebrigtsen writes: > phillip.lord@russet.org.uk (Phillip Lord) writes: > >> I change the "from" address for my email a lot. One problem is that when >> using gnus agent, this does not appear to work -- that is the from field >> is set to whatever user-mail-address is configured to at the time that >> the queue is sent, NOT at the time that the email was sent (to the >> queue). This makes offline email less useful as I can only send email >> messages with one from field at a time. > > Hm... looking at the code, I can't see any place where it removes From: > headers when sending the Agent queue, but I haven't actually tested it, > so I may be missing something. > > Could you try `M-x debug-on-entry RET message-send-and-exit', try to > send something, and then go to the sending buffer to see what's in that? I've done this, and the from field appears to be set correctly both inside and outside of the agent. So I've checked the behaviour again with the agent. It looks like I may have been confused by the log messages from msmtp, and that gnus is actually doing the right thing. Oops, sorry for time waste! Phil From MAILER-DAEMON Tue Feb 23 08:28:47 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYD1D-0007Dr-G3 for mharc-help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 08:28:47 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYD1A-00079c-JE for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 08:28:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYD15-0003MN-JX for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 08:28:44 -0500 Received: from plane.gmane.org ([80.91.229.3]:37527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYD15-0003MD-Ce for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 08:28:39 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aYD13-0004JW-7h for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 14:28:37 +0100 Received: from dslb-094-218-223-112.094.218.pools.vodafone-ip.de ([94.218.223.112]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Feb 2016 14:28:37 +0100 Received: from michael_heerdegen by dslb-094-218-223-112.094.218.pools.vodafone-ip.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Feb 2016 14:28:37 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Michael Heerdegen Subject: Re: Two questions about generalized variables Date: Tue, 23 Feb 2016 14:28:31 +0100 Lines: 26 Message-ID: <87egc37dz4.fsf@web.de> References: <87ziuu4p8k.fsf@ericabrahamsen.net> <877fhydw6q.fsf@web.de> <877fhyayzn.fsf@ericabrahamsen.net> <878u2e9bsn.fsf@web.de> <87si0kktax.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dslb-094-218-223-112.094.218.pools.vodafone-ip.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux) Cancel-Lock: sha1:7v0R5kcaHgRd5TQ/Fb1b0ALsfOU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 13:28:45 -0000 Eric Abrahamsen writes: > > Oh, I see. Hmm, one could define a place expander quite similarly to > > the one of `alist-get', I think, but it doesn't seem one to be > > predefined, indeed. > > Right, that was my question, I guess -- I would do this with > `gv-define-setter', right? Its docstring is a bit impenetrable, but if > that's the right place to start I can figure it out. I think even `gv-define-simple-setter' should be sufficient. > Last question: How do I actually see the gv-expander of `alist-get'? > Where is that? Look into gv.el and search for `alist-get'. That expander definition produces more efficient code than a separate setter definition would - but one has to learn a bit about the concept behind the library to understand how that works. Regards, Michael. From MAILER-DAEMON Tue Feb 23 09:25:53 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYDuS-0000wf-TT for mharc-help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 09:25:53 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60745) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYDuL-0000jF-35 for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 09:25:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYDuG-0001vi-Se for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 09:25:44 -0500 Received: from calypso.otenet.gr ([83.235.67.36]:54238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYDuG-0001vD-Lz for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 09:25:40 -0500 Received: from otenet.gr (athe-ppp-008.otenet.gr [195.167.126.249]) by calypso.otenet.gr (ESMTP) with ESMTPSA id 56A8A138040; Tue, 23 Feb 2016 16:25:37 +0200 (EET) From: Kostas Zorbadelos To: Jan Tatarik Subject: Re: gnus-icalendar errors in emacs 24.5 [timezone issue] Organization: OTE SA References: <87y4acurrt.fsf@gnus.org> <871t83bup9.fsf@xing.com> <87a8mru3yc.fsf@gnus.org> <87h9gz90jb.fsf_-_@otenet.gr> Date: Tue, 23 Feb 2016 16:25:36 +0200 In-Reply-To: <87h9gz90jb.fsf_-_@otenet.gr> (Kostas Zorbadelos's message of "Tue, 23 Feb 2016 12:35:52 +0200") Message-ID: <87oab7zeov.fsf_-_@otenet.gr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 83.235.67.36 Cc: Lars Ingebrigtsen , help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: kzorba@otenet.gr List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 14:25:49 -0000 Kostas Zorbadelos writes: Hello, time handling is never trivial, it seems. When the calendar sender is in a different timezone, the extracted event does not seem to be converted to my timezone. I need more reading and understanding of the code to find out where the issue is (e.g what exactly are start, end below in (defmethod gnus-icalendar-event:org-timestamp ((event gnus-icalendar-event)) ... (start (gnus-icalendar-event:start-time event)) (end (gnus-icalendar-event:end-time event)) ... ). In case you have any ideas, or I am missing something, please share. Regards, Kostas > Lars Ingebrigtsen writes: > >> Jan Tatarik writes: >> >>> How about this? It's a patch against the emacs-25 branch, I was not able >>> to connect to the gnus git. >> >> The Gnus git repository is now read-only (and only with anonymous >> access). >> >>> diff --git a/lisp/gnus/gnus-icalendar.el b/lisp/gnus/gnus-icalendar.el >>> index 4faef06..82a649f 100644 >>> --- a/lisp/gnus/gnus-icalendar.el >>> +++ b/lisp/gnus/gnus-icalendar.el >>> @@ -401,8 +401,8 @@ gnus-icalendar-event:org-timestamp >>> (end-time (format-time-string "%H:%M" end)) >>> (end-at-midnight (string= end-time "00:00")) >>> (start-end-date-diff (/ (float-time (time-subtract >>> - (date-to-time end-date) >>> - (date-to-time start-date))) >>> + (org-time-string-to-time end-date) >>> + (org-time-string-to-time start-date))) >> >> Yes, this seems to fix the problem. I'll apply to emacs-25 and push. > -- Kostas Zorbadelos http://gr.linkedin.com/in/kzorba From MAILER-DAEMON Tue Feb 23 09:51:55 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYEJf-0001Tf-H8 for mharc-help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 09:51:55 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY9yW-0004Si-22 for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 05:13:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aY9yT-0007X7-B2 for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 05:13:47 -0500 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:37306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY9yT-0007Wo-4c for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 05:13:45 -0500 Received: by mail-wm0-x22e.google.com with SMTP id g62so202533176wme.0 for ; Tue, 23 Feb 2016 02:13:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=KugROQDmV+hgdOf3UWjZ5nLBrcPvy+4qZNmtNh1IgP0=; b=C2ZVBIESCa2Nfsj915su8zmn0mbDUm/ZPKP7Zfdli0WZsJUNL4irEiQG4oX11ssjYu yRdEBYd6R8d1dw/mV0v0+zKEioGxDn8LuZbw8v2h1W9z5krdEaepjqrtLVMID71uBD3g UwfIidJja2frahxdfE/X8Ti/6+47rsgOPZStLTnivSBQFHHODFvICP0H+N3Im4ZjS0Wh Ig1oDmJfkVLYU/85Bxpm+tJgd4R0WQFivTuMldJFvWmEHVXawgdHAL6I924vkpMHapl9 whBF2wma1w2QgTMIdy2dP7ANB27TSLXWtc4xZFLocfukHTD0Gl2p/g4LJypSc1iPSKXR pJhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=KugROQDmV+hgdOf3UWjZ5nLBrcPvy+4qZNmtNh1IgP0=; b=k6zoI4bGelnlnceFgIjs+P5edqA5mlDeIxRw8et2U0y+mI8DlZklElk1+AyYE4FJZ9 nSDD4O4W5Ys3KKhYUe1TNH68ZA8D+xCqR5Q5wfxXfV9LbqwsC15SGlHj2EqMZAkSCChh WvHJYABJriYkdlluU0GWtp9AwQEV5LY3ijP4rk5AJIkw3hgI7k7/+1FbGPcmbHGu8iyr LAApVysVGLbzJ6wdWGnkaIRpY7RZFD4gPYoJSdQZYsJSG8Pzbwghau6kVfr3w8t52Vi+ 1VOvboHv18xLdxjKMCPgzNFFmI8n41zRuR+z8K5dH7qhSN4hQXAfS7RpIUgQloQ+1cIu qMOA== X-Gm-Message-State: AG10YOQWSdDa6casRWv6IoNLntC782Imb206spFM+PI3KYEZwLwjPvmVQBhj0IfQJeALcQ== X-Received: by 10.28.147.72 with SMTP id v69mr16544585wmd.79.1456222424207; Tue, 23 Feb 2016 02:13:44 -0800 (PST) Received: from nb-jtatarik2 (ip5f5be747.dynamic.kabel-deutschland.de. [95.91.231.71]) by smtp.gmail.com with ESMTPSA id p125sm25418535wmd.16.2016.02.23.02.13.43 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 23 Feb 2016 02:13:43 -0800 (PST) From: Jan Tatarik To: Lars Magne Ingebrigtsen Subject: Re: gnus-icalendar errors in emacs 24.5 References: <87y4acurrt.fsf@gnus.org> Date: Tue, 23 Feb 2016 11:13:38 +0100 In-Reply-To: <87y4acurrt.fsf@gnus.org> (Lars Magne Ingebrigtsen's message of "Tue, 23 Feb 2016 12:41:58 +1100") Message-ID: <871t83bup9.fsf@xing.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22e X-Mailman-Approved-At: Tue, 23 Feb 2016 09:51:54 -0500 Cc: help-gnu-emacs@gnu.org, Kostas Zorbadelos X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 10:13:49 -0000 --=-=-= Content-Type: text/plain On Tue, Feb 23 2016, Lars Magne Ingebrigtsen wrote: [...] > This is definitely a bug, and it comes from here: > (cl-defmethod gnus-icalendar-event:org-timestamp ((event gnus-icalendar-event)) > "Build `org-mode' timestamp from EVENT start/end dates and recurrence info." > (let* ((start (gnus-icalendar-event:start-time event)) > (end (gnus-icalendar-event:end-time event)) > (start-date (format-time-string "%Y-%m-%d %a" start)) > %a is the locale's day name, and that's not something `date-to-time' can > parse. But I'm not familiar with gnus-icalendar, so I'm not sure what > the right fix is here. > Jan, is the week day supposed to be in these date strings at all? How about this? It's a patch against the emacs-25 branch, I was not able to connect to the gnus git. --=-=-= Content-Type: text/x-diff Content-Disposition: inline diff --git a/lisp/gnus/gnus-icalendar.el b/lisp/gnus/gnus-icalendar.el index 4faef06..82a649f 100644 --- a/lisp/gnus/gnus-icalendar.el +++ b/lisp/gnus/gnus-icalendar.el @@ -401,8 +401,8 @@ gnus-icalendar-event:org-timestamp (end-time (format-time-string "%H:%M" end)) (end-at-midnight (string= end-time "00:00")) (start-end-date-diff (/ (float-time (time-subtract - (date-to-time end-date) - (date-to-time start-date))) + (org-time-string-to-time end-date) + (org-time-string-to-time start-date))) 86400)) (org-repeat (gnus-icalendar-event:org-repeat event)) (repeat (if org-repeat (concat " " org-repeat) "")) --=-=-=-- From MAILER-DAEMON Tue Feb 23 15:50:51 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYJv1-0005eB-RJ for mharc-help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 15:50:51 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51074) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYIX6-0007sI-3G for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 14:22:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYIX2-0006RQ-R9 for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 14:22:04 -0500 Received: from w1.tutanota.de ([81.3.6.162]:52829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYIX2-0006RG-KR for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 14:22:00 -0500 Received: from localhost (unknown [127.0.0.1]) by w1.tutanota.de (Postfix) with ESMTP id 121F8FA08A0 for ; Tue, 23 Feb 2016 19:21:54 +0000 (UTC) Received: from w1.tutanota.de ([127.0.0.1]) by localhost (w1.tutanota.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UJHiD1TLxlHy for ; Tue, 23 Feb 2016 19:21:52 +0000 (UTC) Received: from w1.tutanota.de (unknown [127.0.0.1]) by w1.tutanota.de (Postfix) with ESMTP id 581A9FA077B for ; Tue, 23 Feb 2016 19:21:52 +0000 (UTC) Date: Tue, 23 Feb 2016 19:21:52 +0000 (GMT) From: To: Message-ID: Subject: Help setting up POP3 email (rmail) MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 81.3.6.162 X-Mailman-Approved-At: Tue, 23 Feb 2016 15:50:50 -0500 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 19:22:05 -0000 Good afternoon. I've started using emacs today, so I'm a total newbie at th= is=20 time.=C2=A0 I want to read my GMX email from emacs, using POP3 and rmail, but I just=20 don't know where to start. I've read lots of wikis and manuals and I'm=20 completely lost. Could somebody throw a bit of light over this? Thank you. From MAILER-DAEMON Tue Feb 23 17:42:00 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYLea-0004GV-85 for mharc-help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 17:42:00 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45778) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYLeX-0004FK-C0 for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 17:41:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYLeT-0006o8-Bf for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 17:41:57 -0500 Received: from plane.gmane.org ([80.91.229.3]:56288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYLeT-0006o1-4g for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 17:41:53 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aYLeQ-0005hn-VE for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 23:41:51 +0100 Received: from nl106-137-170.student.uu.se ([130.243.137.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Feb 2016 23:41:50 +0100 Received: from embe8573 by nl106-137-170.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 23 Feb 2016 23:41:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Help setting up POP3 email (rmail) Date: Tue, 23 Feb 2016 23:41:37 +0100 Lines: 36 Message-ID: <87y4ab123i.fsf@debian.uxu> References: Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-170.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:ZY69+BLXUYYJsn53F4CwCe2SVMM= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Feb 2016 22:41:58 -0000 writes: > I've started using emacs today, so I'm a total > newbie at this time. I want to read my GMX email > from emacs, using POP3 and rmail, but I just don't > know where to start. I've read lots of wikis and > manuals and I'm completely lost. Could somebody > throw a bit of light over this? Thank you. I'd recommend Gnus instead of Rmail for reasons of technology but also because you'll come across more people using Gnus so for a beginner it will be easier to get help. Here is a good tutorial: https://www.emacswiki.org/emacs/GnusTutorial You need to have your GMX data ready. Then just write the Elisp forms exactly as in the tutorial but insert your account data - e.g., (setq mail-sources '((pop :server "pop.provider.org" :user "you" :password "secret"))) and a few (not many) others which are also straightforward. If you don't get it to work ask again and include your configuration file and it won't take us long, God willing. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Tue Feb 23 19:41:59 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYNWh-0006qX-OU for mharc-help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 19:41:59 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYNWf-0006oR-7u for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 19:41:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYNWa-0002jw-7Z for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 19:41:57 -0500 Received: from outbound-smtp12.blacknight.com ([46.22.139.17]:39930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYNWa-0002iR-1X for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 19:41:52 -0500 Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp12.blacknight.com (Postfix) with ESMTPS id F20211C1AB4 for ; Wed, 24 Feb 2016 00:41:43 +0000 (GMT) Received: (qmail 28635 invoked from network); 24 Feb 2016 00:41:43 -0000 Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.77.41.16]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 24 Feb 2016 00:41:43 -0000 From: Robert Thorpe To: Subject: Re: Help setting up POP3 email (rmail) In-Reply-To: (cptvlaze@tutamail.com) Date: Wed, 24 Feb 2016 00:41:42 +0000 Message-ID: <87wppvc52x.fsf@robertthorpeconsulting.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 46.22.139.17 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 00:41:58 -0000 writes: > Good afternoon. I've started using emacs today, so I'm a total newbie > at this time. I want to read my GMX email from emacs, using POP3 and > rmail, but I just don't know where to start. I've read lots of wikis > and manuals and I'm completely lost. Could somebody throw a bit of > light over this? Thank you. There are two parts to this. Firstly, there's setting up outgoing mail. That uses the part of Emacs called "Message" (which is the same for GNUs and Rmail). The second step is to setup Rmail for receiving mail. You need to find the names of the servers to communicate with. You need the SMTP server for outgoing mail and the POP3 server for incoming mail. If you're already using a mail program you can find that info in it's settings. Your init file maybe init.el or .emacs. Either way, put the following into it: ;; Firstly setup SMTP. (setq send-mail-function 'smtpmail-send-it) smtpmail-smtp-server "your_smtp_server.com" smtpmail-smtp-service 587 user-mail-address "your_email_address@domain.com") ;; The line below puts sent items into an mbox file. (setq mail-default-headers "FCC: ~/Mail/Sent") ;; This puts my name correctly in email To/From lines. (setq user-full-name "Your Name") ;; Setup Rmail (setq rmail-primary-inbox-list (cons (concat "pop3://" "your_username" "your_password" "@your_pop3_server.com") nil)) I only use the "concat" above so I can separate out the various elements. If you omit the password then Emacs will ask you the first time you recieve mail. Finally, you can setup an ".authinfo" file. This is for sending mail with Message-mode. It avoids entering the password. Create a file called .authinfo in your ~/ directory. It only needs to contain one line: "machine your_smtp_server.com login your_username port 587 password your_password" Many ISP prefer you to use port 587 for outgoing emails rather than port 25, which was the traditional port. That's why I used "587" above in .authinfo and smtpmail-smtp-service. If your ISP is a traditionalist and prefers 25 then replace those numbers with 25. You can also setup encryption, see the manuals to Message and Rmail. Evaluate the lines below with C-x C-e. (info "(message) Top") (info "(emacs) Rmail"). If you have a username with a "@" symbol in it that will activate a bug in Rmail. I have a solution for that if it's a problem. BR, Robert Thorpe From MAILER-DAEMON Tue Feb 23 19:44:28 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYNZ6-00005c-Dw for mharc-help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 19:44:28 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYNZ3-0008WA-VD for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 19:44:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYNYz-0003JK-Te for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 19:44:25 -0500 Received: from outbound-smtp03.blacknight.com ([81.17.249.16]:35747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYNYz-0003JG-NU for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 19:44:21 -0500 Received: from mail.blacknight.com (pemlinmail01.blacknight.ie [81.17.254.10]) by outbound-smtp03.blacknight.com (Postfix) with ESMTPS id 17A3A98E6C for ; Wed, 24 Feb 2016 00:44:19 +0000 (UTC) Received: (qmail 17565 invoked from network); 24 Feb 2016 00:44:18 -0000 Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.77.41.16]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 24 Feb 2016 00:44:18 -0000 From: Robert Thorpe To: Emanuel Berg Subject: Re: removing white space highlight In-Reply-To: <87bn78w95s.fsf@debian.uxu> (message from Emanuel Berg on Tue, 23 Feb 2016 01:41:03 +0100) Date: Wed, 24 Feb 2016 00:44:18 +0000 Message-ID: <87twkzc4yl.fsf@robertthorpeconsulting.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.16 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 00:44:27 -0000 Emanuel Berg writes: > Robert Thorpe writes: > >> I the problem is worse than Tomas mentions. >> What about past programmers? How do we get those to >> behave themselves regarding whitespace? >> Sadly it's impossible. > > Have the software do this automatically. Then past, > present, and future programmers can misbehave all > they want. How do you do that without creating lots of check-ins to the VC system? Of course, making the VC program treat whitespace specially is an option. I think it's one some people are looking into. AFAIK it's not there yet though. BR, Robert Thorpe From MAILER-DAEMON Tue Feb 23 20:13:56 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYO1c-0003Lu-0Y for mharc-help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 20:13:56 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51984) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYO1Z-0003LS-Mj for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 20:13:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYO1U-0001TF-MZ for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 20:13:53 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:37567) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYO1U-0001TB-GR for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 20:13:48 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aYO13-0003We-Ij; Wed, 24 Feb 2016 02:13:22 +0100 From: Lars Magne Ingebrigtsen To: Kostas Zorbadelos Subject: Re: gnus-icalendar international character handling References: Date: Wed, 24 Feb 2016 12:13:16 +1100 In-Reply-To: (Kostas Zorbadelos's message of "Tue, 23 Feb 2016 12:46:42 +0200") Message-ID: <87si0ioqqb.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aYO13-0003We-Ij X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: lmi@gnus.org MailScanner-NULL-Check: 1456881203.06934@qt7ghMS6Kyz//wW3Dx5zAQ X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 Cc: help-gnu-emacs@gnu.org, Jan Tatarik X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 01:13:54 -0000 Kostas Zorbadelos writes: > after activation of gnus-icalendar, the text/calendar MIME parts are not > shown properly in gnus if they contain international (in my case Greek) > characters (e.g. in Summary or Description). > The export to org file also saves the relevant part as raw text and > prompts for encoding. Is there any way to fix this? Yeah, I think including the (localised) week day here just seems likely to break lots of stuff... Does that have to be included in these time stamps? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From MAILER-DAEMON Tue Feb 23 20:42:14 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYOT0-0004p4-Nk for mharc-help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 20:42:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYOSx-0004jN-GS for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 20:42:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYOSt-00084j-De for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 20:42:11 -0500 Received: from plane.gmane.org ([80.91.229.3]:36381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYOSt-00084G-6b for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 20:42:07 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aYOSq-0003FL-9p for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 02:42:04 +0100 Received: from nl106-137-170.student.uu.se ([130.243.137.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Feb 2016 02:42:04 +0100 Received: from embe8573 by nl106-137-170.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Feb 2016 02:42:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: removing white space highlight Date: Wed, 24 Feb 2016 02:41:58 +0100 Lines: 16 Message-ID: <87povmubo9.fsf@debian.uxu> References: <87bn78w95s.fsf@debian.uxu> <87twkzc4yl.fsf@robertthorpeconsulting.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-170.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:2IbvSqtGY5lqhsRTeZnLT023K8I= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 01:42:12 -0000 Robert Thorpe writes: > How do you do that without creating lots of > check-ins to the VC system? > > Of course, making the VC program treat whitespace > specially is an option. I think it's one some people > are looking into. AFAIK it's not there yet though. Upon submission: emacs -Q -batch FILE -eval '(delete-trailing-whitespace)' -f save-buffer -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Tue Feb 23 21:03:43 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYOnn-00057r-2W for mharc-help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 21:03:43 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYOnk-00057d-Kt for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 21:03:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYOnh-0004xu-FI for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 21:03:40 -0500 Received: from plane.gmane.org ([80.91.229.3]:37086) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYOnh-0004xi-8Q for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 21:03:37 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aYOnd-0002t8-PR for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 03:03:34 +0100 Received: from 123.122.44.213 ([123.122.44.213]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Feb 2016 03:03:33 +0100 Received: from eric by 123.122.44.213 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Feb 2016 03:03:33 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Eric Abrahamsen Subject: Re: Two questions about generalized variables Date: Wed, 24 Feb 2016 10:03:25 +0800 Lines: 28 Message-ID: <87wppuj24y.fsf@ericabrahamsen.net> References: <87ziuu4p8k.fsf@ericabrahamsen.net> <877fhydw6q.fsf@web.de> <877fhyayzn.fsf@ericabrahamsen.net> <878u2e9bsn.fsf@web.de> <87si0kktax.fsf@ericabrahamsen.net> <87egc37dz4.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 123.122.44.213 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:W4pbOpDxcGNpnhbtbhB0++3tols= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 02:03:41 -0000 Michael Heerdegen writes: > Eric Abrahamsen writes: > >> > Oh, I see. Hmm, one could define a place expander quite similarly to >> > the one of `alist-get', I think, but it doesn't seem one to be >> > predefined, indeed. >> >> Right, that was my question, I guess -- I would do this with >> `gv-define-setter', right? Its docstring is a bit impenetrable, but if >> that's the right place to start I can figure it out. > > I think even `gv-define-simple-setter' should be sufficient. > > >> Last question: How do I actually see the gv-expander of `alist-get'? >> Where is that? > > Look into gv.el and search for `alist-get'. > > That expander definition produces more efficient code than a separate > setter definition would - but one has to learn a bit about the concept > behind the library to understand how that works. Learning about the concepts was the whole idea! Thanks again for your help, Eric From MAILER-DAEMON Tue Feb 23 21:50:58 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYPXW-0006I7-LW for mharc-help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 21:50:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49551) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYPXT-0006FF-IU for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 21:50:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYPXP-0008Fn-Bq for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 21:50:55 -0500 Received: from plane.gmane.org ([80.91.229.3]:38821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYPXO-0008Fi-UP for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 21:50:51 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aYPXN-00069R-FL for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 03:50:49 +0100 Received: from pool-74-104-158-160.bstnma.fios.verizon.net ([74.104.158.160]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Feb 2016 03:50:49 +0100 Received: from ndokos by pool-74-104-158-160.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Feb 2016 03:50:49 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Nick Dokos Subject: Re: Help setting up POP3 email (rmail) Date: Tue, 23 Feb 2016 21:50:37 -0500 Lines: 13 Message-ID: <87d1rmstxe.fsf@pierrot.dokosmarshall.org> References: <87wppvc52x.fsf@robertthorpeconsulting.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-74-104-158-160.bstnma.fios.verizon.net User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:eTWy9W8ALIteW86aa/yXPO5fZfk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 02:50:56 -0000 Robert Thorpe writes: > ... > Many ISP prefer you to use port 587 for outgoing emails rather than port > 25, which was the traditional port. That's why I used "587" above in > .authinfo and smtpmail-smtp-service. If your ISP is a traditionalist > and prefers 25 then replace those numbers with 25. > And then there's Verizon which uses 465. -- Nick From MAILER-DAEMON Tue Feb 23 22:11:52 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYPrk-0004DP-Qu for mharc-help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 22:11:52 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYPri-0004Cj-F2 for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 22:11:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYPrf-0005Nq-6z for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 22:11:50 -0500 Received: from plane.gmane.org ([80.91.229.3]:40168) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYPrf-0005Nj-0z for help-gnu-emacs@gnu.org; Tue, 23 Feb 2016 22:11:47 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aYPrd-0005iG-CL for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 04:11:45 +0100 Received: from nl106-137-170.student.uu.se ([130.243.137.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Feb 2016 04:11:45 +0100 Received: from embe8573 by nl106-137-170.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Feb 2016 04:11:45 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Help setting up POP3 email (rmail) Date: Wed, 24 Feb 2016 04:11:38 +0100 Lines: 55 Message-ID: <87egc2u7it.fsf@debian.uxu> References: <87wppvc52x.fsf@robertthorpeconsulting.com> <87d1rmstxe.fsf@pierrot.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-170.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:+kfw04DZ0EIDtH4vjxPgicSZtlA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 03:11:51 -0000 Nick Dokos writes: >> Many ISP prefer you to use port 587 for outgoing >> emails rather than port 25, which was the >> traditional port. That's why I used "587" above in >> .authinfo and smtpmail-smtp-service. If your ISP is >> a traditionalist and prefers 25 then replace those >> numbers with 25. > > And then there's Verizon which uses 465. ... why do they do that? Anyway, here, allow me to hit the big drum for the favorite theme "code as an interface". As you see below, changing port or any of the servers or just about anything is super easy and done in one spot and stop. Then evaluate and all set. I mentioned I do Gnus, but depending on how generalized the settings are chances are most (or some) will be put to work by the other Emacs mail clients as well, and actually seemingly unrelated Emacs components as well. Why not? They are there. Some people say Emacs is inconsistent. But not entirely so! :) (let*((username "embe8573") (mail-name username) (domain "uu.se") (local-domain (format "student.%s" domain)) (pop-server (format "pop.%s" domain)) (smtp-server (format "smtp.%s" domain)) (smtp-port 25) ) (setq smtpmail-local-domain local-domain) (setq smtpmail-smtp-service smtp-port) (setq smtpmail-smtp-server smtp-server) (setq user-full-name "Emanuel Berg") (setq user-mail-address (format "%s@%s" mail-name local-domain)) (setq mail-sources `((pop :server ,pop-server :user ,username :password ,*mail-password*) ))) PS. Observe the secret password which is not hidden but actually a *global-variable*. This allows you never to enter the password which sure is a relief, especially if you are used to that from the autologin of the ttys. But actually I might as well put it there in cleartext as you already read all my mails :)) -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Wed Feb 24 03:26:52 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYUma-0002Hq-7r for mharc-help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 03:26:52 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYUmY-0002H1-45 for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 03:26:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYUmU-0006y5-UF for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 03:26:50 -0500 Received: from mout.kundenserver.de ([212.227.126.187]:65147) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYUmU-0006vm-Kc for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 03:26:46 -0500 Received: from [192.168.178.35] ([77.12.98.135]) by mrelayeu.kundenserver.de (mreue003) with ESMTPSA (Nemesis) id 0MdHC3-1aH6UJ41kx-00IVtC for ; Wed, 24 Feb 2016 09:26:45 +0100 To: help-gnu-emacs@gnu.org From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Subject: Strange re-search-forward Message-ID: <56CD697B.9090501@easy-emacs.de> Date: Wed, 24 Feb 2016 09:27:39 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Icedove/38.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:lD9iafaXv/sg5TNjqN8ACTv3ErhK+vJD+Qq3gB5/AZ6Al++xyII Qh4t6YqPWY9P15WdXvdKNj7DBVZs45hBgwMKg6I9vaWUxjFKvdgkyQ5RX/qyN+xzhzKTZfW Z4oh+SZlOUfwGiXRaJ5TJTpUkZbhfF9QHo4zzWYB4MIOImvVQDgpC9Y6x5MW2z+wpcWxCg/ PGJ8jUTuRLTM3nQaSSenQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:mMFQihfXLjs=:7bdJ1JnRQuYMx+P9R0vXjc hUlDndxWzp7Xj0s8ov5SjRYZAZBv7cP6Cym+njVxW1QGJNz1lQWxIS+rvkH/PjGNl08n6Va8e FfrvVQKJBhhZfIcUuZv6sxxWzuVJ/opj7PhvZ3kfFyRxZvAL9/I3IHMVvTi4yd1+rMSuLQYvv 8UvrP54JyAS+5VmHPE7uxkLXcOhQocs3dCFSeAJJD2Ui8ZNA+qR48eMwn97AM2t4vQfYu6B1z vBirdR7WTSJAUmb9Tx2AQFE27psqDhP6NZvcBxgA94xWKDd1n3oo6Xa+hX9lNZJrr1XQ2B2Zt UFNUIrX7Z+6dBq5a+MUjjaAeACfCOJ3Q2jDoMmi9ZSM+GQhxtu9wP88OaWfrvMlWaT5AsPLOw uWwMymNbY3UDDi3Ad7X06KX70AbHZ/dtYGNv0n67Xwrx23vvsKUM5pPs9SzHaiLWilUt8GBIY RNr6rr3Ru6bdpWjUJEwtZ85bBWl/SzyueOLieIBwWbX6KoCvJ9F0RSCpW55d0R3YfkmC2cWbd yq7FmfpGjxxk0yx2WtkX9A/fTdtBIHN69sJ0u5x91dTzWTekCHLm/K0we+nGiXRdEFiaWzXJy viZrlvfYeg9+F9qEOGIJiq8Ad1nQG2LWyGYNoafQMyJnl5mTRNZdwuiVQaCJDdfEdqFsvu2bu bZNUFODHT7NAKxXN8vxiS7ozZWXcStLS6xEm6jgtfntTk33BGU0rle7Mu3Upwd4U8XjN+aQ70 6drxhsggaJTNl70z X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.187 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 08:26:51 -0000 Evaluating in buffer (re-search-forward "[ -?]+" nil t) foo.bar baz ;;;;;;; matches the period after foo. Any explanation? Thanks, Andreas GNU Emacs 25.0.90.1 (i686-pc-linux-gnu, GTK+ Version 2.24.25) of 2016-01-31 From MAILER-DAEMON Wed Feb 24 03:57:11 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYVFv-00078C-Qi for mharc-help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 03:57:11 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYVFt-000783-9U for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 03:57:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYVFp-0006aQ-4w for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 03:57:09 -0500 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]:32884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYVFo-0006aM-UP for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 03:57:05 -0500 Received: by mail-wm0-x22c.google.com with SMTP id g62so234266209wme.0 for ; Wed, 24 Feb 2016 00:57:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=IpZnD2m49kCruqiO/S2SysN4B+jnstTB121hBnPufxA=; b=vfP4Pe9+XNJSutcJFFTB1NXRvJCTX7YzD3kFZdzU+VZiNI7Sy36hrDkC27zJ6f6Gcf DxlgNpikTVQflOdb5cTrwLB+0zNSvKC5ZRpxHLRLbSkqRLJdxRrJWsU5yuH9Ut7D/FVX N/sPHUTpLcLN85Dsb+B9a7/6nE4ZyC42ksRaPbB7EGg/V6cX6f+YGEubN6DIBcUdjnzu GfzlK302h8y7oG0ZDkfGUiz9+xe5J3AS/jZkRZJsgLvXBL7mP4ulPBCNKpIS1dBo/Mfp ZN6TKTcqE7BdUAx35mbh3ZaXy8ez0ScIBSmumU/ow2UZLjbkiOcg+RNlPe4+Y7KULU3T WJTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=IpZnD2m49kCruqiO/S2SysN4B+jnstTB121hBnPufxA=; b=YCchTfX5mj6wjdmWvAiSvLOyNf6tnBsgQRevFPV3FHXoNKZ2UcdF4hBYc2W9dlIQxk H9JLJKoJqTzUz7nlzp8LHldNhB5gXhdZkAqqES4YnAs+KB5TzF+u8nfFemWFE0i6ZwHb g2rI2mhISveXMegWPOk+FLrMSofskvmrzkOftmQ6Y3XyDNfypT+fNZAeGFD1Wy5XTdnM KHNw0UJXZFmLsNcqNkGl16EwTnKD3BSAJ2r39NiEz1f6rWfTF+UP9K0oUcs/Vv4CwlMb D9EILODnTueDrZquGuXuM9a7DtSg74WQ1ulkY0mC7U6wYQAlwi2C+dwvuL7MGY7uZ7Jy MlWA== X-Gm-Message-State: AG10YOQEipsKiKDR0w155SbPYuC50D4UBRd0yhRxRBPfhCMUYThan2jc7k44M4TwS6CAmQ== X-Received: by 10.28.222.214 with SMTP id v205mr21583753wmg.92.1456304224218; Wed, 24 Feb 2016 00:57:04 -0800 (PST) Received: from nb-jtatarik2 (office.xing.com. [82.112.107.65]) by smtp.gmail.com with ESMTPSA id fv6sm1929913wjc.12.2016.02.24.00.57.03 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 24 Feb 2016 00:57:03 -0800 (PST) From: Jan Tatarik To: Lars Magne Ingebrigtsen Subject: Re: gnus-icalendar international character handling References: <87si0ioqqb.fsf@gnus.org> Date: Wed, 24 Feb 2016 09:56:57 +0100 In-Reply-To: <87si0ioqqb.fsf@gnus.org> (Lars Magne Ingebrigtsen's message of "Wed, 24 Feb 2016 12:13:16 +1100") Message-ID: <87vb5ea3l2.fsf@xing.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22c Cc: help-gnu-emacs@gnu.org, Kostas Zorbadelos X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 08:57:10 -0000 On Wed, Feb 24 2016, Lars Magne Ingebrigtsen wrote: > Kostas Zorbadelos writes: >> after activation of gnus-icalendar, the text/calendar MIME parts are not >> shown properly in gnus if they contain international (in my case Greek) >> characters (e.g. in Summary or Description). >> The export to org file also saves the relevant part as raw text and >> prompts for encoding. Is there any way to fix this? > Yeah, I think including the (localised) week day here just seems likely > to break lots of stuff... Does that have to be included in these time > stamps? All timestamps inserted using org-mode functions contain the week day, but timestamps without a week day are also valid and understood by org-mode. I just found this hidden in a footnote in the org-mode Info. So I will experiment with removing the day and let you know. From MAILER-DAEMON Wed Feb 24 04:05:39 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYVO7-0001Mh-F5 for mharc-help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 04:05:39 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYVO4-0001Kb-D2 for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 04:05:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYVO0-0000ez-44 for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 04:05:36 -0500 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:35875) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYVNz-0000es-TS for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 04:05:32 -0500 Received: by mail-wm0-x22d.google.com with SMTP id g62so260766715wme.1 for ; Wed, 24 Feb 2016 01:05:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=lYLGsy3jEcbE/L/sxFFGd55lwsUa3WDruDcOMrVEAi4=; b=GorPdp5GzghXFlEFNvtd/n+69tSK+OAcM3cWr8G48/ExJbAzf3cOPZBoIaO4Yp0OSy Cvwhnl09xIzIGEbf3FimGP9FslfmU0/UuVm9IPl4xnNDq0koQCYXrFzY04EVyA6yRQGS KjhwHvoXPRQH9vufOXA8si3VtuWKOw1qTrP7NYb8Wt/AqJBCAMpgV/5WblU8KYmJUXYN cD9uR9PSYk7hYb+Ek2JYap0u4W5zbdTURjcIevYOnM4i8PUfIQvr9bhCzjSMOqA6f9BT R54gSDdRdm+nG+Q+jeOZcxpK8dtNsVBdw78JcmfkgqULhTAs73LpKVfdcNfGgoosBoMe kbRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=lYLGsy3jEcbE/L/sxFFGd55lwsUa3WDruDcOMrVEAi4=; b=A21pNn+p2OFeadalCH75GAneMsVBQ0o7rU4J4dLawDJ87XCP042RMQh5nDmPPyhqnR HUqzhJ506K+lzD0ATqs3XdNOIyuRam8i5kPOjqL271DiRm7TmDRWcCqyb3HtuIMbczMA whfjG9ciLYGJJciLl8uefEATI3RGcWp57I8aWyKuA1QGuTQLczk/G6aTG9Y/Tj/MCHJr s56Vc9ek8gxi3CJUugzKzwMZY8kZnf7FhQgGq9xP/Po+T7KivFyJBWiQLbrcTKnFN07P lhWipHHeWX0yvNefEZ7KKoKmk/sZtcsnFal59q1BrA9CtZVr8SvWA1IJJ67SBIhyTcno dL1A== X-Gm-Message-State: AG10YOSSHogWQo2boWCB0w0+kXvOdYK/fzWNCfjlQnRkdpHVMcBZ+umULRmjKJ4xKC4qMg== X-Received: by 10.28.60.84 with SMTP id j81mr23551834wma.91.1456304731047; Wed, 24 Feb 2016 01:05:31 -0800 (PST) Received: from nb-jtatarik2 (office.xing.com. [82.112.107.65]) by smtp.gmail.com with ESMTPSA id x66sm2384771wmb.20.2016.02.24.01.05.30 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Wed, 24 Feb 2016 01:05:30 -0800 (PST) From: Jan Tatarik To: Lars Magne Ingebrigtsen Subject: Re: gnus-icalendar international character handling References: <87si0ioqqb.fsf@gnus.org> Date: Wed, 24 Feb 2016 10:05:29 +0100 In-Reply-To: <87si0ioqqb.fsf@gnus.org> (Lars Magne Ingebrigtsen's message of "Wed, 24 Feb 2016 12:13:16 +1100") Message-ID: <87oab6a36u.fsf@xing.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.90 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22d Cc: help-gnu-emacs@gnu.org, Kostas Zorbadelos X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 09:05:37 -0000 --=-=-= Content-Type: text/plain On Wed, Feb 24 2016, Lars Magne Ingebrigtsen wrote: > Kostas Zorbadelos writes: >> after activation of gnus-icalendar, the text/calendar MIME parts are not >> shown properly in gnus if they contain international (in my case Greek) >> characters (e.g. in Summary or Description). >> The export to org file also saves the relevant part as raw text and >> prompts for encoding. Is there any way to fix this? > Yeah, I think including the (localised) week day here just seems likely > to break lots of stuff... Does that have to be included in these time > stamps? This works for me. --=-=-= Content-Type: text/x-diff Content-Disposition: inline diff --git a/lisp/gnus/gnus-icalendar.el b/lisp/gnus/gnus-icalendar.el index d7a431a..3df3a8c 100644 --- a/lisp/gnus/gnus-icalendar.el +++ b/lisp/gnus/gnus-icalendar.el @@ -394,10 +394,10 @@ gnus-icalendar-event:org-timestamp "Build `org-mode' timestamp from EVENT start/end dates and recurrence info." (let* ((start (gnus-icalendar-event:start-time event)) (end (gnus-icalendar-event:end-time event)) - (start-date (format-time-string "%Y-%m-%d %a" start)) + (start-date (format-time-string "%Y-%m-%d" start)) (start-time (format-time-string "%H:%M" start)) (start-at-midnight (string= start-time "00:00")) - (end-date (format-time-string "%Y-%m-%d %a" end)) + (end-date (format-time-string "%Y-%m-%d" end)) (end-time (format-time-string "%H:%M" end)) (end-at-midnight (string= end-time "00:00")) (start-end-date-diff @@ -417,7 +417,7 @@ gnus-icalendar-event:org-timestamp ;; A 0:0 - A+1 0:0 -> A ;; A 0:0 - A+n 0:0 -> A - A+n-1 ((and start-at-midnight end-at-midnight) (if (> start-end-date-diff 1) - (let ((end-ts (format-time-string "%Y-%m-%d %a" (time-subtract end time-1-day)))) + (let ((end-ts (format-time-string "%Y-%m-%d" (time-subtract end time-1-day)))) (format "<%s>--<%s>" start-date end-ts)) (format "<%s%s>" start-date repeat))) ;; end midnight @@ -425,7 +425,7 @@ gnus-icalendar-event:org-timestamp ;; A .:. - A+n 0:0 -> A .:. - A_n-1 (end-at-midnight (if (= start-end-date-diff 1) (format "<%s %s-23:59%s>" start-date start-time repeat) - (let ((end-ts (format-time-string "%Y-%m-%d %a" (time-subtract end time-1-day)))) + (let ((end-ts (format-time-string "%Y-%m-%d" (time-subtract end time-1-day)))) (format "<%s %s>--<%s>" start-date start-time end-ts)))) ;; start midnight ;; A 0:0 - A .:. -> A 0:0-.:. (default 1) --=-=-=-- From MAILER-DAEMON Wed Feb 24 04:08:48 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYVRA-0002Bg-Qm for mharc-help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 04:08:48 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60785) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYVR8-0002BA-P4 for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 04:08:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYVR4-0001Z3-OA for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 04:08:46 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:39430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYVR4-0001Yx-GV for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 04:08:42 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id B4A569D2005; Wed, 24 Feb 2016 10:08:38 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sHbPUXjlgc85; Wed, 24 Feb 2016 10:08:33 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id C270F9D2004; Wed, 24 Feb 2016 10:08:32 +0100 (CET) References: <56CD697B.9090501@easy-emacs.de> User-agent: mu4e 0.9.13; emacs 25.1.50.3 From: Marcin Borkowski To: Andreas =?utf-8?Q?R=C3=B6hler?= Subject: Re: Strange re-search-forward In-reply-to: <56CD697B.9090501@easy-emacs.de> Date: Wed, 24 Feb 2016 10:08:32 +0100 Message-ID: <871t828ohb.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 09:08:47 -0000 On 2016-02-24, at 09:27, Andreas R=C3=B6hler wrote: > Evaluating in buffer > > (re-search-forward "[ -?]+" nil t) > > foo.bar baz > > ;;;;;;; > > matches the period after foo. > > Any explanation? space: ascii 32 period: ascii 46 question mark: ascii 63 46 =E2=88=88 {32,...,63} so what's wrong? > Thanks, > > Andreas > GNU Emacs 25.0.90.1 (i686-pc-linux-gnu, GTK+ Version 2.24.25) of 2016-0= 1-31 Best, --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Wed Feb 24 04:18:21 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYVaP-0004ix-Kt for mharc-help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 04:18:21 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34637) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYVaN-0004gl-JH for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 04:18:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYVaK-00042F-D2 for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 04:18:19 -0500 Received: from mout.kundenserver.de ([212.227.126.187]:52274) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYVaK-00042A-3W for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 04:18:16 -0500 Received: from [192.168.178.35] ([77.12.98.135]) by mrelayeu.kundenserver.de (mreue004) with ESMTPSA (Nemesis) id 0LvNjj-1Zqp1q2Ldj-010gGt; Wed, 24 Feb 2016 10:18:08 +0100 Subject: Re: Strange re-search-forward To: Marcin Borkowski References: <56CD697B.9090501@easy-emacs.de> <871t828ohb.fsf@mbork.pl> From: =?UTF-8?Q?Andreas_R=c3=b6hler?= Message-ID: <56CD7575.2040808@easy-emacs.de> Date: Wed, 24 Feb 2016 10:18:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:38.0) Gecko/20100101 Icedove/38.5.0 MIME-Version: 1.0 In-Reply-To: <871t828ohb.fsf@mbork.pl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:GLKRwsUV4sEOnuqLtVp3o+R1EsO2Z36f+NZRE+g+6crIJ06n9Q0 rRoyv5g31z4JdL2deZOQfNevhyYhCpR9L9dDvH+eeLSxh/gLy2T6Lu9jMmX8FovsMIwxhPB xsZCTGwRwcR40lo6T9Bx/kpgBh4trjHtSGJ2Cn7eB0tNZsSpjja1S2Ks/T5k4VyYbM3mW7R PLUPX0TltxszuS34xoVrw== X-UI-Out-Filterresults: notjunk:1;V01:K0:b5l5tQWnc38=:KmjTeuvN17mDPjB3h/Ok0Y m81S86b2pvjb6znGCFpGKeMexitpO6sv1Sdfygi/DTsl5ycnL1g5UDcOXXa0vDaMb2Xp968uk Byk7yFbrFSvyHP6kiIjP2Bq52SU3kX8WNo8c5Crpb4ZsYCc1jDSh10qq0SD/TTBwWZKE80SYr Aju3HCVlqZ7Y8kFRs+cL2/JGzK277c79rzwOr648UbIVOvUNRz4UFks5kEU+66H1qYy8TDfuR Uy4QsYY4R9Y8yryHqA5wayrky6sMgUyOrazs8Xy1t1s24yq6UqcbIOHlL4TkaUju/GFaNBnxg 9dd3DFc1TmE9r05nHm84mQ1olk2JFotf89JNX3ItyCLE/grJpvfxQHxszkX9Lx6M6vIZYKdt0 wzLAyERCHs+rg8E1edZu4EwkWgVb4scZG59pobRBh+ZYldK971ihe9F3gcKvWg5Lx2GV9o4m5 +abh0yl4RTsqOesG5/a7Up/iCijx2d3sFI6T3tz/MPR/1pdUDtg57DfdEgYeLkRjYifIFRRWf M7gCCLBWyGcNym3Nh7rAOR7e8bDljKelbB3K9Id/7I4IHB3D+e6Ozbu8OpstGCA6v8zHMUsEL HXpUWF0StLQfHS3D8GG3/glzjkWsgUfTPMGw9oO4nHre8Wc3o6MOs6yUiATP9EH9mweMXU8oq QnfYxvdUWmW2YKIuHojnS4jTccw4qREf36gnp0SACKPH7ZS3ZYRD5zp9UuyzSQo+uAiadifhp LaZcnbMaIZgXpXLH X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.187 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 09:18:20 -0000 On 24.02.2016 10:08, Marcin Borkowski wrote: > On 2016-02-24, at 09:27, Andreas Röhler wrote: > >> Evaluating in buffer >> >> (re-search-forward "[ -?]+" nil t) >> >> foo.bar baz >> >> ;;;;;;; >> >> matches the period after foo. >> >> Any explanation? > space: ascii 32 > period: ascii 46 > question mark: ascii 63 > > 46 ∈ {32,...,63} > > so what's wrong? > Ohh, shame on me. Minus must come first if meant literally. Thanks! From MAILER-DAEMON Wed Feb 24 04:52:52 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYW7o-0006n6-O8 for mharc-help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 04:52:52 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41092) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYW7m-0006m1-Es for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 04:52:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYW7j-00046U-9N for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 04:52:50 -0500 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:36481) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYW7j-000461-1d for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 04:52:47 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id ACA799D2005; Wed, 24 Feb 2016 10:52:42 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1j+Us6FwZgh8; Wed, 24 Feb 2016 10:52:39 +0100 (CET) Received: from localhost (unknown [109.232.24.28]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 1E29A9D2004; Wed, 24 Feb 2016 10:52:39 +0100 (CET) References: <56CD697B.9090501@easy-emacs.de> <871t828ohb.fsf@mbork.pl> <56CD7575.2040808@easy-emacs.de> User-agent: mu4e 0.9.13; emacs 25.1.50.3 From: Marcin Borkowski To: Andreas =?utf-8?Q?R=C3=B6hler?= Subject: Re: Strange re-search-forward In-reply-to: <56CD7575.2040808@easy-emacs.de> Date: Wed, 24 Feb 2016 10:52:38 +0100 Message-ID: <87ziuq77vd.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2a01:5e00:2:52::8 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 09:52:51 -0000 On 2016-02-24, at 10:18, Andreas R=C3=B6hler wrote: > On 24.02.2016 10:08, Marcin Borkowski wrote: >> On 2016-02-24, at 09:27, Andreas R=C3=B6hler wrote: >> >>> Evaluating in buffer >>> >>> (re-search-forward "[ -?]+" nil t) >>> >>> foo.bar baz >>> >>> ;;;;;;; >>> >>> matches the period after foo. >>> >>> Any explanation? >> space: ascii 32 >> period: ascii 46 >> question mark: ascii 63 >> >> 46 =E2=88=88 {32,...,63} >> >> so what's wrong? >> > > Ohh, shame on me. > > Minus must come first if meant literally. Or last, or right after a range. > Thanks! You're welcome! Seems you had a problem, and you decided to use regexen... ;-) Best, --=20 Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University From MAILER-DAEMON Wed Feb 24 09:39:01 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYaaj-00081P-EO for mharc-help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 09:39:01 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYaab-0007yW-5G for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 09:38:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYaaW-0001mS-Fo for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 09:38:53 -0500 Received: from w1.tutanota.de ([81.3.6.162]:39040) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYaaW-0001mF-5Y for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 09:38:48 -0500 Received: from localhost (unknown [127.0.0.1]) by w1.tutanota.de (Postfix) with ESMTP id C17A3FA0761 for ; Wed, 24 Feb 2016 14:38:46 +0000 (UTC) Received: from w1.tutanota.de ([127.0.0.1]) by localhost (w1.tutanota.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZchzVDYe36v5 for ; Wed, 24 Feb 2016 14:38:41 +0000 (UTC) Received: from w1.tutanota.de (unknown [127.0.0.1]) by w1.tutanota.de (Postfix) with ESMTP id BB090FA1923 for ; Wed, 24 Feb 2016 14:38:41 +0000 (UTC) Date: Wed, 24 Feb 2016 14:38:41 +0000 (GMT) From: To: Robert Thorpe Message-ID: In-Reply-To: <87wppvc52x.fsf@robertthorpeconsulting.com> References: < (cptvlaze@tutamail.com)> <87wppvc52x.fsf@robertthorpeconsulting.com> Subject: Re: Help setting up POP3 email (rmail) MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 81.3.6.162 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 14:38:59 -0000 Thanks for the quick response. Is wondering if it was strictly necessary to= =20 enter my password inside my code, wouldn't it be a major security issue?=C2= =A0 I also have a problem with my init file, as emacs can't detect it. I have= =20 created one at ~/.emacs.d/init.el, but this folder is protected (only=20 accessible via su), which forces me to use emacs under sudo. Is there any w= ay=20 to solve these problems?=C2=A0 Thanks again. 24. Feb 2016 01:41 por rt@robertthorpeconsulting.com: > <> cptvlaze@tutamail.com> > writes: > >> Good afternoon. I've started using emacs today, so I'm a total newbie >> at this time. I want to read my GMX email from emacs, using POP3 and >> rmail, but I just don't know where to start. I've read lots of wikis >> and manuals and I'm completely lost. Could somebody throw a bit of >> light over this? Thank you. > > There are two parts to this. Firstly, there's setting up outgoing > mail. That uses the part of Emacs called "Message" (which is the same > for GNUs and Rmail). The second step is to setup Rmail for receiving > mail. > > You need to find the names of the servers to communicate with. You need > the SMTP server for outgoing mail and the POP3 server for incoming > mail. If you're already using a mail program you can find that info in > it's settings. > > Your init file maybe init.el or .emacs. Either way, put the following > into it: > > ;; Firstly setup SMTP. > (setq send-mail-function 'smtpmail-send-it) > smtpmail-smtp-server "your_smtp_server.com" > smtpmail-smtp-service 587 > user-mail-address "> your_email_address@domain.com> ") > ;; The line below puts sent items into an mbox file. > (setq mail-default-headers "FCC: ~/Mail/Sent") > ;; This puts my name correctly in email To/From lines. > (setq user-full-name "Your Name") > > ;; Setup Rmail > (setq rmail-primary-inbox-list > (cons (concat "pop3://" > =09=09 "your_username" > =09=09 "your_password" > =09=09 "@your_pop3_server.com") nil)) > > I only use the "concat" above so I can separate out the various > elements. If you omit the password then Emacs will ask you the first > time you recieve mail. > > Finally, you can setup an ".authinfo" file. This is for sending mail > with Message-mode. It avoids entering the password. > > Create a file called .authinfo in your ~/ directory. It only needs to > contain one line: > "machine your_smtp_server.com login your_username port 587 password > your_password" > > Many ISP prefer you to use port 587 for outgoing emails rather than port > 25, which was the traditional port. That's why I used "587" above in > .authinfo and smtpmail-smtp-service. If your ISP is a traditionalist > and prefers 25 then replace those numbers with 25. > > You can also setup encryption, see the manuals to Message and Rmail. > Evaluate the lines below with C-x C-e. > (info "(message) Top") > (info "(emacs) Rmail"). > > If you have a username with a "@" symbol in it that will activate a bug > in Rmail. I have a solution for that if it's a problem. > > BR, > Robert Thorpe From MAILER-DAEMON Wed Feb 24 10:21:47 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYbG7-0005Qf-Oz for mharc-help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 10:21:47 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYbG5-0005Q0-8L for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 10:21:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYbG1-0004S0-Vy for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 10:21:45 -0500 Received: from mail.tuxteam.de ([5.199.139.25]:50317 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYbG1-0004Pr-QJ for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 10:21:41 -0500 Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1aYaiN-00042v-SK for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 15:46:55 +0100 Date: Wed, 24 Feb 2016 15:46:55 +0100 To: help-gnu-emacs@gnu.org Subject: Re: Help setting up POP3 email (rmail) Message-ID: <20160224144655.GA15441@tuxteam.de> References: <87wppvc52x.fsf@robertthorpeconsulting.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) From: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 15:21:46 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, Feb 24, 2016 at 02:38:41PM +0000, cptvlaze@tutamail.com wrote: [...] > I also have a problem with my init file, as emacs can't detect it. I have > created one at ~/.emacs.d/init.el, but this folder is protected (only > accessible via su) This is a very strange thing to do. Why should something in your home be ony accessible by root? (why should it belong to root in the first place?). I mean: readable only by owner makes sense, but the owner should be *you*, I think. Regards - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlbNwl8ACgkQBcgs9XrR2kYb+QCfZPoGx+S1cIGBwF4HxjMd1sIy aX4An1ZRgpbwg10FfNxMlqtYImAyPpzL =9ox7 -----END PGP SIGNATURE----- From MAILER-DAEMON Wed Feb 24 10:35:11 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYbT5-000330-5q for mharc-help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 10:35:11 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYbSw-0002o5-O7 for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 10:35:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYbSr-0007Nr-Uo for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 10:35:02 -0500 Received: from w1.tutanota.de ([81.3.6.162]:33290) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYbSr-0007Mw-Kz for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 10:34:57 -0500 Received: from localhost (unknown [127.0.0.1]) by w1.tutanota.de (Postfix) with ESMTP id 3911DFA7C10 for ; Wed, 24 Feb 2016 15:34:56 +0000 (UTC) Received: from w1.tutanota.de ([127.0.0.1]) by localhost (w1.tutanota.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CcfF3JxpF1fy for ; Wed, 24 Feb 2016 15:34:49 +0000 (UTC) Received: from w1.tutanota.de (unknown [127.0.0.1]) by w1.tutanota.de (Postfix) with ESMTP id DC8E2FA8150 for ; Wed, 24 Feb 2016 15:34:49 +0000 (UTC) Date: Wed, 24 Feb 2016 15:34:49 +0000 (GMT) From: To: Message-ID: In-Reply-To: <20160224144655.GA15441@tuxteam.de> References: < (cptvlaze@tutamail.com)> <87wppvc52x.fsf@robertthorpeconsulting.com> <> <20160224144655.GA15441@tuxteam.de> Subject: Re: Help setting up POP3 email (rmail) MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 81.3.6.162 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 15:35:09 -0000 I have no idea, but emacs made it like this. ~/.emacs.d is owned by root,= =20 which can do whatever he pleases with it. No one out of him can do anything= =20 with the folder. I thought it was a normal configuration made by the editor= =20 itself. I can chown it, though. Could you give me the proper permissions th= at=20 I have to give it? (Intended for my personal laptop, which could be=20 eventually used by other people, etc.) 24. Feb 2016 15:46 por tomas@tuxteam.de: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Wed, Feb 24, 2016 at 02:38:41PM +0000, > cptvlaze@tutamail.com> wrote= : > > [...] > >> I also have a problem with my init file, as emacs can't detect it. I hav= e >> created one at ~/.emacs.d/init.el, but this folder is protected (only >> accessible via su) > > This is a very strange thing to do. Why should something in your home > be ony accessible by root? (why should it belong to root in the first > place?). > > I mean: readable only by owner makes sense, but the owner should be > *you*, I think. > > Regards > - -- tom=C3=A1s > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.12 (GNU/Linux) > > iEYEARECAAYFAlbNwl8ACgkQBcgs9XrR2kYb+QCfZPoGx+S1cIGBwF4HxjMd1sIy > aX4An1ZRgpbwg10FfNxMlqtYImAyPpzL > =3D9ox7 > -----END PGP SIGNATURE----- From MAILER-DAEMON Wed Feb 24 11:41:50 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYcVa-0001Wl-Hx for mharc-help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 11:41:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43688) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYcVX-0001VL-9r for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 11:41:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYcVS-0000Yb-1O for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 11:41:47 -0500 Received: from plane.gmane.org ([80.91.229.3]:35127) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYcVR-0000YO-QV for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 11:41:41 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aYcVO-0002l6-IQ for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 17:41:38 +0100 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Feb 2016 17:41:38 +0100 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Feb 2016 17:41:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Nick Dokos Subject: Re: Help setting up POP3 email (rmail) Date: Wed, 24 Feb 2016 11:41:31 -0500 Lines: 23 Message-ID: <87bn769i2s.fsf@alphaville.usersys.redhat.com> References: <87wppvc52x.fsf@robertthorpeconsulting.com> <87d1rmstxe.fsf@pierrot.dokosmarshall.org> <87egc2u7it.fsf@debian.uxu> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nat-pool-bos-t.redhat.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:cs/1uGrFUrWxXJaviTpp163FuDI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 16:41:48 -0000 Emanuel Berg writes: >> And then there's Verizon which uses 465. > > ... why do they do that? > $DEITY only knows. They used to use 587 but when they disallowed port 25 and went to 465, 587 went away as well. I have to play stunnel games in order to have postfix work with 465. But it does not affect the vast majority of their customers much: they set up outlook and forget it. Wikipedia has some information https://en.wikipedia.org/wiki/SMTPS but my suspicion is that they are doing it for "efficiency" reasons: they don't have to worry about negotiating a TLS connection, the way that they would have to with 587. -- Nick From MAILER-DAEMON Wed Feb 24 11:50:13 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYcdh-00048B-Oj for mharc-help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 11:50:13 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYcdf-00047Q-5E for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 11:50:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYcdb-0002k4-4u for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 11:50:11 -0500 Received: from plane.gmane.org ([80.91.229.3]:36090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYcda-0002il-US for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 11:50:07 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aYcdX-00016o-Nu for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 17:50:03 +0100 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Feb 2016 17:50:03 +0100 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Feb 2016 17:50:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Nick Dokos Subject: Re: Strange re-search-forward Date: Wed, 24 Feb 2016 11:45:29 -0500 Lines: 12 Message-ID: <877fhu9hw6.fsf@alphaville.usersys.redhat.com> References: <56CD697B.9090501@easy-emacs.de> <871t828ohb.fsf@mbork.pl> <56CD7575.2040808@easy-emacs.de> <87ziuq77vd.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nat-pool-bos-t.redhat.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:EiekVLEdVapmN0zL78wxNm1ldGk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 16:50:12 -0000 Marcin Borkowski writes: > You're welcome! > > Seems you had a problem, and you decided to use regexen... ;-) Now, you have ... ;-) -- Nick From MAILER-DAEMON Wed Feb 24 14:58:33 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYfZx-00005M-9j for mharc-help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 14:58:33 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYfYk-00083T-Kt for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 14:57:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYfYg-0002qR-03 for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 14:57:18 -0500 Received: from perdizione.investici.org ([2001:41d0:2:33d0::19]:31612) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYfYf-0002q8-ND for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 14:57:13 -0500 Received: from [94.23.50.208] (perdizione [94.23.50.208]) (Authenticated sender: niasterisk@grrlz.net) by localhost (Postfix) with ESMTPSA id 9B9401201AD for ; Wed, 24 Feb 2016 19:57:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=grrlz.net; s=stigmate; t=1456343831; bh=Y4ceEaJD+qX8y7ikLa8xa2qVSRIO3LpsDuqBgYqHjqk=; h=From:To:Subject:Date; b=jacMql6a7zwOd6UAUjQ1ICG3nlrqUIJfDKRX8WUrwZBPt0WnVCFe4Qc1r/IqHhOOQ A3ULVGXKjTVxpyCP1SbsA4ekM3F1+jRjRJkAZ6R/JlJ9mULbl3agOiQfBDtaL6zR9t hr6S/vroRH92wZKLrg96Jm70SbHajqjTNTmM9KLo= From: Nils Gillmann To: help-gnu-emacs@gnu.org Subject: GNUS gnus-group-split .. my sorting is bad. Date: Wed, 24 Feb 2016 20:57:10 +0100 Message-ID: <87si0hx4o9.fsf@grrlz.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 2001:41d0:2:33d0::19 X-Mailman-Approved-At: Wed, 24 Feb 2016 14:58:32 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 19:57:19 -0000 I have a GNUS related question on mail-splitting. There are many lists I follow, and with the sorting method I picked at some time, I now get email which is CC'ed or in any other way directed to more than one list I follow into one list folder only. This is not what I want. I think my way to think about sorting mail could be challenged with some input from others. partial quote from .gnus.el (I spare you the 70+ single entries of mailinglists) ;; next version of splitting ;; in .emacs/init.el: '(nnmail-split-methods (quote gnus-group-split)) (setq nnmail-split-methods '( ;;; --- LISTS --- ;; GNU/Emacs ("ml.gnu.emacs.emacs-bug" "^\\(From:\\|To:\\|Reply-To:\\|Cc:\\|CC:\\|Resent\\|X-BeenThere:\\).*\\(bug-gnu-emacs\\|bug-gnu-emacs-request\\|bug-gnu-emacs-confirm\\)@gnu\\.org") ("ml.gnu.emacs.emacs-info" "^\\(From:\\|Reply-To:\\|To:\\|Cc:\\|CC:\\|Resent\\|X-BeenThere:\\).*\\(info-gnu-emacs\\|info-gnu-emacs-request\\|info-gnu-emacs-confirm\\)@gnu\\.org") ("ml.gnu.emacs.emacs-help" "^\\(From:\\|To:\\|Reply-To:\\|Cc:\\|CC:\\|Resent\\|X-BeenThere:\\).*\\(help-gnu-emacs\\|help-gnu-emacs-request\\|help-gnu-emacs-confirm\\)@gnu\\.org") ("ml.gnu.emacs.emacs-devel" "^\\(From:\\|To:\\|Reply-To:\\|Cc:\\|CC:\\|Resent\\|X-BeenThere:\\).*emacs-devel@gnu\\.org") ("ml.gnu.emacs.erc-discuss" "^\\(From:\\|To:\\|Reply-To:\\|Cc:\\|CC:\\|Resent\\|X-BeenThere:\\).*erc-discuss@gnu\\.org") ;;; --GUIX (help-guix@gnu.org bug-guix@gnu.org guix-commits@gnu.org) ("ml.gnu.guix.help-guix" "^\\(From:\\|Reply-To:\\|To:\\|Cc:\\|CC:\\|Resent\\|X-BeenThere:\\).*\\(help-guix\\|help-guix-request\\|help-guix-bounces\\)@gnu\\.org") ("ml.gnu.guix.bug-guix" "^\\(From:\\|Reply-To:\\|To:\\|Cc:\\|CC:\\|Resent\\|X-BeenThere:\\).*\\(bug-guix\\|bug-guix-request\\|bug-guix-bounces\\)@gnu\\.org") ("ml.gnu.guix.bug-guix" "^\\(From:\\|Reply-To:\\|To:\\|Cc:\\|CC:\\|Resent\\|X-BeenThere:\\).*debbugs\\.gnu\\.org") ("ml.gnu.guix.guix-devel" "^\\(From:\\|Reply-To:\\|To:\\|Cc:\\|CC:\\|Resent\\|X-BeenThere:\\).*\\(guix-devel\\|guix-devel-request\\|guix-devel-bounces\\)@gnu\\.org") ("ml.gnu.guix.guix-commits" "^\\(From:\\|Reply-To:\\|To:\\|Cc:\\|CC:\\|Resent\\|X-BeenThere:\\).*\\(guix-commits\\|guix-commits-request\\|guix-commits-bounces\\)@gnu\\.org"))) to pick some not so nice lines, the basic structure is all like this, From Reply-To To Cc CC Resent X-BeenThere What is it I could take out or completely redo to get the mail splitting work as I want it to do? thanks, -- ng irc://loupsycedyglgamf.onion:67/~NiAsterisk http://loupsycedyglgamf.onion/NiAsterisk/ torify telnet loupsycedyglgamf.onion From MAILER-DAEMON Wed Feb 24 15:16:51 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYfrf-0002gi-99 for mharc-help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 15:16:51 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYfrc-0002gb-NZ for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 15:16:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYfrZ-0000Mk-AY for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 15:16:48 -0500 Received: from outbound-smtp12.blacknight.com ([46.22.139.17]:45658) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYfrZ-0000MW-4J for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 15:16:45 -0500 Received: from mail.blacknight.com (pemlinmail03.blacknight.ie [81.17.254.16]) by outbound-smtp12.blacknight.com (Postfix) with ESMTPS id BAEA11C1EAF for ; Wed, 24 Feb 2016 20:16:43 +0000 (GMT) Received: (qmail 19485 invoked from network); 24 Feb 2016 20:16:43 -0000 Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[93.107.66.221]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 24 Feb 2016 20:16:43 -0000 From: Robert Thorpe To: Subject: Re: Help setting up POP3 email (rmail) In-Reply-To: (cptvlaze@tutamail.com) Date: Wed, 24 Feb 2016 20:16:42 +0000 Message-ID: <87vb5d9845.fsf@robertthorpeconsulting.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 46.22.139.17 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 20:16:49 -0000 writes: > I have no idea, but emacs made it like this. ~/.emacs.d is owned by > root, which can do whatever he pleases with it. When you first started Emacs did you do it using sudo from your own home directory? I maybe that could cause .emacs.d to be owned by root. Anyway, I suggest the following, which is probably simpler than mucking about with chown: * In your normal user account copy the stuff you want out of .emacs.d. You probably only want init.el if you've just started. * Sudo and delete .emacs.d. * Recreate .emacs.d and copy init.el into it. * Run Emacs and it should work from your normal account. BR, Robert Thorpe > No one out of him can > do anything with the folder. I thought it was a normal configuration > made by the editor itself. I can chown it, though. Could you give me > the proper permissions that > I have to give it? (Intended for my personal laptop, which could be=20 > eventually used by other people, etc.) > > 24. Feb 2016 15:46 por tomas@tuxteam.de: > > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On Wed, Feb 24, 2016 at 02:38:41PM +0000, > cptvlaze@tutamail.com> wrot= e: >> >> [...] >> >>> I also have a problem with my init file, as emacs can't detect it. I ha= ve >>> created one at ~/.emacs.d/init.el, but this folder is protected (only >>> accessible via su) >> >> This is a very strange thing to do. Why should something in your home >> be ony accessible by root? (why should it belong to root in the first >> place?). >> >> I mean: readable only by owner makes sense, but the owner should be >> *you*, I think. >> >> Regards >> - -- tom=C3=A1s >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.12 (GNU/Linux) >> >> iEYEARECAAYFAlbNwl8ACgkQBcgs9XrR2kYb+QCfZPoGx+S1cIGBwF4HxjMd1sIy >> aX4An1ZRgpbwg10FfNxMlqtYImAyPpzL >> =3D9ox7 >> -----END PGP SIGNATURE----- From MAILER-DAEMON Wed Feb 24 15:28:42 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYg38-0008FF-Rd for mharc-help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 15:28:42 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYg36-0008EP-9u for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 15:28:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYg32-0003XZ-Tt for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 15:28:40 -0500 Received: from outbound-smtp03.blacknight.com ([81.17.249.16]:54323) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYg32-0003XN-Ks for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 15:28:36 -0500 Received: from mail.blacknight.com (pemlinmail03.blacknight.ie [81.17.254.16]) by outbound-smtp03.blacknight.com (Postfix) with ESMTPS id 6C2309853D for ; Wed, 24 Feb 2016 20:28:32 +0000 (UTC) Received: (qmail 7829 invoked from network); 24 Feb 2016 20:28:32 -0000 Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[93.107.66.221]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 24 Feb 2016 20:28:32 -0000 From: Robert Thorpe To: Subject: Re: Help setting up POP3 email (rmail) In-Reply-To: (cptvlaze@tutamail.com) Date: Wed, 24 Feb 2016 20:28:31 +0000 Message-ID: <87si0h97kg.fsf@robertthorpeconsulting.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.16 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 20:28:41 -0000 writes: > Thanks for the quick response. Is wondering if it was strictly necessary = to=20 > enter my password inside my code, wouldn't it be a major security > issue? It can be a security issue, though most graphical mail clients store it in a config file somewhere, which is just as bad. As I said, if it's a problem then don't mention passwords anywhere. If I remember correctly, if you don't have an authinfo file then Message-mode will ask you the password the first time you send an email. You can also make an authinfo.gpg file which is the encrypted version of authinfo, you can read about that on the web. For rmail just don't include the password: (setq rmail-primary-inbox-list (cons (concat "pop3://" "your_username" "@your_pop3_server.com") nil)) Rmail will prompt you for the password when you receive mail. BR, Robert Thorpe > I also have a problem with my init file, as emacs can't detect it. I have= =20 > created one at ~/.emacs.d/init.el, but this folder is protected (only=20 > accessible via su), which forces me to use emacs under sudo. Is there > any way to solve these problems?=C2=A0 Thanks again. > > 24. Feb 2016 01:41 por rt@robertthorpeconsulting.com: > > >> <> cptvlaze@tutamail.com> > writes: >> >>> Good afternoon. I've started using emacs today, so I'm a total newbie >>> at this time. I want to read my GMX email from emacs, using POP3 and >>> rmail, but I just don't know where to start. I've read lots of wikis >>> and manuals and I'm completely lost. Could somebody throw a bit of >>> light over this? Thank you. >> >> There are two parts to this. Firstly, there's setting up outgoing >> mail. That uses the part of Emacs called "Message" (which is the same >> for GNUs and Rmail). The second step is to setup Rmail for receiving >> mail. >> >> You need to find the names of the servers to communicate with. You need >> the SMTP server for outgoing mail and the POP3 server for incoming >> mail. If you're already using a mail program you can find that info in >> it's settings. >> >> Your init file maybe init.el or .emacs. Either way, put the following >> into it: >> >> ;; Firstly setup SMTP. >> (setq send-mail-function 'smtpmail-send-it) >> smtpmail-smtp-server "your_smtp_server.com" >> smtpmail-smtp-service 587 >> user-mail-address "> your_email_address@domain.com> ") >> ;; The line below puts sent items into an mbox file. >> (setq mail-default-headers "FCC: ~/Mail/Sent") >> ;; This puts my name correctly in email To/From lines. >> (setq user-full-name "Your Name") >> >> ;; Setup Rmail >> (setq rmail-primary-inbox-list >> (cons (concat "pop3://" >> "your_username" >> "your_password" >> "@your_pop3_server.com") nil)) >> >> I only use the "concat" above so I can separate out the various >> elements. If you omit the password then Emacs will ask you the first >> time you recieve mail. >> >> Finally, you can setup an ".authinfo" file. This is for sending mail >> with Message-mode. It avoids entering the password. >> >> Create a file called .authinfo in your ~/ directory. It only needs to >> contain one line: >> "machine your_smtp_server.com login your_username port 587 password >> your_password" >> >> Many ISP prefer you to use port 587 for outgoing emails rather than port >> 25, which was the traditional port. That's why I used "587" above in >> .authinfo and smtpmail-smtp-service. If your ISP is a traditionalist >> and prefers 25 then replace those numbers with 25. >> >> You can also setup encryption, see the manuals to Message and Rmail. >> Evaluate the lines below with C-x C-e. >> (info "(message) Top") >> (info "(emacs) Rmail"). >> >> If you have a username with a "@" symbol in it that will activate a bug >> in Rmail. I have a solution for that if it's a problem. >> >> BR, >> Robert Thorpe From MAILER-DAEMON Wed Feb 24 15:38:19 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYgCR-0007ph-EV for mharc-help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 15:38:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYgCP-0007lf-Fe for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 15:38:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYgCL-0005yi-8d for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 15:38:17 -0500 Received: from outbound-smtp10.blacknight.com ([46.22.139.15]:42067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYgCL-0005yV-2f for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 15:38:13 -0500 Received: from mail.blacknight.com (pemlinmail01.blacknight.ie [81.17.254.10]) by outbound-smtp10.blacknight.com (Postfix) with ESMTPS id C0FC11C1EA4 for ; Wed, 24 Feb 2016 20:38:11 +0000 (GMT) Received: (qmail 4392 invoked from network); 24 Feb 2016 20:38:11 -0000 Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[93.107.66.221]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 24 Feb 2016 20:38:11 -0000 From: Robert Thorpe To: Emanuel Berg Subject: Re: removing white space highlight In-Reply-To: <87povmubo9.fsf@debian.uxu> (message from Emanuel Berg on Wed, 24 Feb 2016 02:41:58 +0100) Date: Wed, 24 Feb 2016 20:38:10 +0000 Message-ID: <87povl974d.fsf@robertthorpeconsulting.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 46.22.139.15 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 20:38:18 -0000 Emanuel Berg writes: > Robert Thorpe writes: > >> How do you do that without creating lots of >> check-ins to the VC system? >> >> Of course, making the VC program treat whitespace >> specially is an option. I think it's one some people >> are looking into. AFAIK it's not there yet though. > > Upon submission: > > emacs -Q -batch FILE -eval '(delete-trailing-whitespace)' -f save-buffer Suppose a programmer makes a small change to a file. Then the above is run, because of whitespace changes that could lead to hundreds of changes. After that, how does anyone make sense of the VC annotated version of the file? BR, Robert Thorpe From MAILER-DAEMON Wed Feb 24 15:45:15 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYgJ8-0003UK-Ss for mharc-help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 15:45:14 -0500 X-Received: by 10.13.236.84 with SMTP id v81mr37950256ywe.2.1456346472818; Wed, 24 Feb 2016 12:41:12 -0800 (PST) X-Received: by 10.50.78.169 with SMTP id c9mr491442igx.5.1456346472784; Wed, 24 Feb 2016 12:41:12 -0800 (PST) Path: usenet.stanford.edu!y89no3947762qge.0!news-out.google.com!h70ni510qge.0!nntp.google.com!w104no3291963qge.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: gnu.emacs.help Date: Wed, 24 Feb 2016 12:41:12 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=67.255.107.95; posting-account=xePGxQoAAAAgJalA5zaHmrGIX9Wk_gLW NNTP-Posting-Host: 67.255.107.95 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2ecd6da9-9b42-4ec4-b119-2d9762e68daa@googlegroups.com> Subject: Re: Rendering buffer to HTML from command line script From: Gene Injection-Date: Wed, 24 Feb 2016 20:41:12 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: usenet.stanford.edu gnu.emacs.help:217005 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 20:45:13 -0000 On Saturday, February 20, 2016 at 5:07:43 PM UTC-5, St=E9phane Travostino w= rote: > If I modify the theme to disable these terminal requirements options, > htmlfontify renders correctly. >=20 > That's probably a long shot, but is it possible to either force a > particular terminal configuration from command line, or force-enable all > theme faces? I found the following in the docs for a package named faces+ (eval-after-load "faces" '(require 'faces+)) > For example, (display-color-cells) in X returns 16777216, while I get 0 > when executed from the script; that's probably part of the problem. >=20 > Why am I doing this: I want to create an Emacs theme browser web > application which creates a preview of any theme against a few different > file formats > I want an headless Emacs to create the HTML preview. You might want to consider invoking emacs-nox (EG emacs with No x-windows s= upport) as you mentioned `headless' emacs. To speed things up you might want to consider using the --quick option. I know this might be more general than you'd like, but it's all that comes = to mind at the moment. Cheers! Gene From MAILER-DAEMON Wed Feb 24 16:52:10 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYhLu-0004Wu-KP for mharc-help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 16:52:10 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35794) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYhLs-0004Wj-L5 for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 16:52:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYhLr-0000IL-J6 for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 16:52:08 -0500 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:37071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYhLr-0000HC-By for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 16:52:07 -0500 Received: by mail-wm0-x22b.google.com with SMTP id g62so2190777wme.0 for ; Wed, 24 Feb 2016 13:52:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=Zyh1q0TCCqLG9drUhnkn5LpjQ/YsLyiHT9nzQvfPzBg=; b=tj2ozm445FJNVdKPcdMKz53BuzWsJB7wPk7PmUKwWu/LysUx6F47AFmBlgaEhI3Gcl RXLl45G8DvG3kh6K4zRRlFi1vbK9GxI82dJEf2ip/mgUFmPXvs0IXfd30oa30EBRAmq0 XlWiezfyfCCnMXLKvUgH7XB+E60mh2Kdsso/C5L+qVBHQvHPIWvgko4EkxfnhbvXsath xPENp1748/O/8o8sIhAPi0LLkFj4oo7jzdyRZrBXYx4LwfDuN2vvn5LPjbvDYUjV/EZR YVyL1SIOQI3zhJxXrXIC6Lf8BMVI5qZxGWVm/0TtSk9gRqatpQoD1KzkYj31Wnj00FrE 7EvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=Zyh1q0TCCqLG9drUhnkn5LpjQ/YsLyiHT9nzQvfPzBg=; b=YSp69k7nHKMcyRJbnxxaMDjc0kw3Ewz+IBaPnMEXey176AK3BNDi2w7E8+IiYebda3 R2i2A+evMlaehwg06esEp0g5Q9c3kc/kMn2tEXGvJh/YI/buCjFueIsnCxqRUjgAwd18 ERAVJF31iKgwSJd02Sv4Ds8CBcoe/cXIoLfOTc3HIg7pPKdhnsfc0v/03QiSTDf5hleW uf1mc/TGgxGujHOFltQ4NiXH8ddqi0kVCOssKgvgQ1PA5fOTP900IS5mmHC1SVq2az3L 0rtrtHHbUUhEPFjs5FD4isG8MSCxmiwlHQ4PcmHCGMMEmB0FC4uY4eUn2Rax1duaRjlJ Uv5g== X-Gm-Message-State: AG10YOTr/h40g9vGyEor8PLaafOmsKuVPi5rTKqyE96uEg0PKbCkREPG1QUOx7KKQ6QIvQ== X-Received: by 10.28.221.136 with SMTP id u130mr145521wmg.40.1456350726335; Wed, 24 Feb 2016 13:52:06 -0800 (PST) Received: from mortar.AMN (ip-2a02-2149-8174-5000-6e62-6dff-fe56-626f.ip6.forthnet.gr. [2a02:2149:8174:5000:6e62:6dff:fe56:626f]) by smtp.gmail.com with ESMTPSA id ka7sm4884667wjb.8.2016.02.24.13.52.05 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 24 Feb 2016 13:52:05 -0800 (PST) From: mvar X-Google-Original-From: mvar Date: Wed, 24 Feb 2016 23:52:02 +0200 To: help-gnu-emacs@gnu.org Subject: Re: executing bash function with shell-command Message-ID: <20160224215202.GA3410@mortar.AMN> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22b X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 21:52:09 -0000 > Emanuel Berg writes: > > Yes, this works for me even tho I'm on zsh. > > In ~/.bashrc put this, carefully, as bash is fussy! > > function hi () { > echo hello > } > > Then invoke Emacs like this: > > SHELL=/bin/bash BASH_ENV=~/.bashrc emacs -Q > > Then: > > M-x shell-command RET hi RET > > N.B. Don't rely on SHELL if you want to change the > shell in general. > > -- > underground experts united > http://user.it.uu.se/~embe8573 hello Emanuel, yes this works perfectly fine and even with --daemon! many thanks! Michael From MAILER-DAEMON Wed Feb 24 17:00:27 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYhTv-0007lp-Jp for mharc-help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 17:00:27 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYhTs-0007jt-IJ for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 17:00:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYhTr-00020k-M0 for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 17:00:24 -0500 Received: from mail-yk0-x234.google.com ([2607:f8b0:4002:c07::234]:32970) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYhTr-00020Y-IC for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 17:00:23 -0500 Received: by mail-yk0-x234.google.com with SMTP id z13so14289639ykd.0 for ; Wed, 24 Feb 2016 14:00:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=MZ+aBEs5GW9yeL9MxLlwcDQCTq4HoLu0VRJt6nR86I0=; b=1Ixs8YdmFrCg1uIejrBhpGxz65yYISXBpCwKbbPLqjSNB2RrYPjhEN3qcqVx8hWQii yeDODz2FebntSqsubAemulTeGCoxzTkO7zGt4E50bA1EYC9RPLsJ74Uovns1ptTtnmJn 9vP7o+veMWrjlnfoQOHzNQ/CH62U91kwBOguBeRYTasWHFMqMaiEbfmIlBVcfS923zsz byNyBwqzHXcIZntkZM3/23gJv65hl/yMqDVTuAKggyO39DaDhue+o663Y44jT0qsdX9o sZnLr3cka1Xia39ubtf4SMq+1VLY8mBSDY5HjkaMdUZ11uaZ4fUaA52Pt4Ev6piNzjf5 odkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=MZ+aBEs5GW9yeL9MxLlwcDQCTq4HoLu0VRJt6nR86I0=; b=goSyXFJmSD0xNPI0K1wSMCyjFGIbYZzrtwjwktEBmHwI07M+uBZCwxBlSCrDy6QmDi NIFfL/BqTuejzY4PORmuOGyhbqT4T7l1gISVRzwwyUjXQlLgprw9E8hMqHpP231rjeH4 fQCruPh7hOp1ZfCFoOpsBZNrd37CPly6TZCGh+0+rr7cJdYAPwf3ax62L2MjwxvWur8f J29KAPvsSut5hSfSx2Y+gJdg2XRakwnDHihlL7PNJTs7Bim1xUjI8O4sygNCIQFwkV9o DwLUJ5r3/yfSyXy5pABTYvy1jF4UcwYHe7iRUO3lmh/WtOH3DWyrgnXkA2Gy6ArnK1I1 +itQ== X-Gm-Message-State: AG10YOQM9ytpe0th5dwEZgf+hVQRvNpN2AGCT7eKKomhaAeWs8/3v5VgYsYgSzQGM4W1cVBJ7azWXrcYluHfZg== X-Received: by 10.37.14.132 with SMTP id 126mr22212921ybo.69.1456351222791; Wed, 24 Feb 2016 14:00:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.66.76 with HTTP; Wed, 24 Feb 2016 14:00:03 -0800 (PST) In-Reply-To: References: <93f00895-d710-4c32-91e3-1994bb967813@googlegroups.com> From: John Mastro Date: Wed, 24 Feb 2016 14:00:03 -0800 Message-ID: Subject: Re: connect to my pc To: "help-gnu-emacs@gnu.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4002:c07::234 Cc: =?UTF-8?Q?Haris_Bogdanovi=C4=87?= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 22:00:25 -0000 John Mastro wrote: > My recommendation is to a post a succinct but precise recipe, including: > - the relevant contents of your init file > - what steps you took (e.g., "I opened a buffer in lisp-mode, typed > =E2=80=98with-=E2=80=99, and ...") > - what you expected to happen > - what actually happened > > IMHO that will be the most effective way to take advantage of the list's > combined wisdom. I'll try explaining what *does* work for me, and perhaps Haris can explain where his experience differs. Here's what I tried: - Place this[1] file as ~/.emacs.d/init.el - Start Emacs - =E2=80=98C-x b foo RET=E2=80=99 (switch to a new buffer named "foo") - =E2=80=98M-x lisp-mode RET=E2=80=99 (put the buffer in lisp-mode) - =E2=80=98M-x slime RET=E2=80=99 (start SLIME) I now have completion via SLIME/auto-complete in both the "foo" buffer I created and the SLIME REPL buffer. Haris, please give this a try and let us know what doesn't work. [1] https://gist.github.com/johnmastro/27ba684c006cb8fd938b --=20 john From MAILER-DAEMON Wed Feb 24 18:47:53 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYj9t-0006Ie-Ap for mharc-help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 18:47:53 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYj9q-0006HS-IH for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 18:47:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYj9n-0006F8-9g for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 18:47:50 -0500 Received: from plane.gmane.org ([80.91.229.3]:37017) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYj9n-0006Ec-2G for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 18:47:47 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aYj9k-0004Sw-55 for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 00:47:44 +0100 Received: from nl106-137-170.student.uu.se ([130.243.137.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Feb 2016 00:47:44 +0100 Received: from embe8573 by nl106-137-170.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Feb 2016 00:47:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Help setting up POP3 email (rmail) Date: Thu, 25 Feb 2016 00:47:38 +0100 Lines: 60 Message-ID: <87d1rlu0v9.fsf@debian.uxu> References: <87wppvc52x.fsf@robertthorpeconsulting.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-170.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:RFm4t6PtatlRP+VlACwbNUTtD7Y= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 23:47:51 -0000 writes: > Thanks for the quick response. Hint: use citing (quoting) just like we do and it'll be even faster and more pleasant to answer your posts. And this will be even easier for you if you get Rmail or Gnus working, tho what I remember even Hotmail in the 90s did that... > Is wondering if it was strictly necessary to enter > my password inside my code, wouldn't it be a major > security issue? *Laughter* No, that is entirely optional! I disabled the login password to my computer many years ago and a couple of years later did the same with Internet and mail login. I actually don't know how big a security issue it is. Certainly if the computer gets stolen, but if that happens, it would be such a waste if the thief wasn't able to use all my awesome tools :) As for the mails, I already have them on the disk so with the login password disabled I don't see the mail ditto doing much good save for perhaps the thief being able to spoof my accounts. But this is all with the assumption the computer gets stolen physically by a computer literate thief. This is so unlikely I don't worry one bit. >From a "remote" point of view, it would be interesting to know how much an issue it is and how it could be exploited. Does it matter that much if you enter the data from your fingertips or if a program does it for you? One way of not having to have it in text is to have a function that calculates it each time. It would be virtually the same only one more obstacle. > I also have a problem with my init file, as emacs > can't detect it. I have created one at > ~/.emacs.d/init.el, but this folder is protected > (only accessible via su), which forces me to use > emacs under sudo. Is there any way to solve > these problems? It shouldn't be like that. How did you install Emacs? What Unix/Linux distro are you on? Reinstallation is an option. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Wed Feb 24 18:57:11 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYjIt-0000S0-5I for mharc-help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 18:57:11 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYjIq-0000Rt-QK for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 18:57:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYjIn-0002Hn-JI for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 18:57:08 -0500 Received: from plane.gmane.org ([80.91.229.3]:37434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYjIn-0002Hb-CU for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 18:57:05 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aYjIk-0002aH-N7 for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 00:57:02 +0100 Received: from nl106-137-170.student.uu.se ([130.243.137.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Feb 2016 00:57:02 +0100 Received: from embe8573 by nl106-137-170.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Feb 2016 00:57:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Help setting up POP3 email (rmail) Date: Thu, 25 Feb 2016 00:56:55 +0100 Lines: 35 Message-ID: <878u29u0fs.fsf@debian.uxu> References: <87si0h97kg.fsf@robertthorpeconsulting.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-170.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:9H5CPZHI76tGzEhzuEgbeP1INfw= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Feb 2016 23:57:10 -0000 Robert Thorpe writes: >> Thanks for the quick response. Is wondering if it >> was strictly necessary to enter my password inside >> my code, wouldn't it be a major security issue? > > It can be a security issue, though most graphical > mail clients store it in a config file somewhere, > which is just as bad. "Security thru obscurity" isn't as secure as giving authentication each time from your brain and fingertips only. Question is, just how much more insecure is it? If you have to give your password many times a day this is a frustration and time waste trade-off with security. Unless you enjoy typing the password, of course :) Also, consider people can wire your keyboard or shoulder-surf as you type. Especially if you do it repeatedly in a public place, it is even more shaky. All in all, I consider this cloak-and-dagger game exaggerated. It is the self-image that one is so important and everyone else so corrupted (and brilliant) they'd do anything to get ones data. I have lived many lives (just like Mdm. Kollontai) but I have yet to see this scenario realize. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Wed Feb 24 19:07:10 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYjSY-0002yK-LE for mharc-help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 19:07:10 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56724) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYjST-0002y0-Ov for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 19:07:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYjSP-00083O-15 for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 19:07:05 -0500 Received: from plane.gmane.org ([80.91.229.3]:37872) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYjSO-000830-QR for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 19:07:00 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aYjSN-0001AA-Jt for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 01:06:59 +0100 Received: from nl106-137-170.student.uu.se ([130.243.137.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Feb 2016 01:06:59 +0100 Received: from embe8573 by nl106-137-170.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Feb 2016 01:06:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: GNUS gnus-group-split .. my sorting is bad. Date: Thu, 25 Feb 2016 01:06:42 +0100 Lines: 55 Message-ID: <874mcxtzzh.fsf@debian.uxu> References: <87si0hx4o9.fsf@grrlz.net> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-170.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:xe/ORAFEvlbWPwEOEr+vCBkAmQk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 00:07:09 -0000 Nils Gillmann writes: > I have a GNUS related question on mail-splitting. It isn't "GNUS" anymore but Gnus. > There are many lists I follow, and with the sorting > method I picked at some time Don't do that with mailing lists directly: do that with Gmane! This is the exact intended purpose of Gmane and it works *great* - it is incomparably better than splitting in every respect. So do: (setq gnus-select-method '(nntp "news.gmane.org")) If you like, you can have other NNTP servers (e.g., Usenet with nntp.aioe.org) and mail (nnml) as well: (require 'gnus-namazu) (setq gnus-secondary-select-methods '((nnml "" (nnir-search-engine namazu)) (nntp "nntp.aioe.org") (nntp "news.gwene.org") (nntp "news.gnus.org") )) > I now get email which is CC'ed or in any other way > directed to more than one list I follow into one > list folder only. This is not what I want. I think > my way to think about sorting mail could be > challenged with some input from others. When you have Gmane up and your previous lists working as newsgroups, you can unsubscribe to them. If there are 70+ that should be a challenge in itself. Some you will be unable to unsubscribe to. Get a new mail account, perhaps... But even if you do some people will still send you Cc mails when they respond to your Gmane posts! So ironically, here splitting can be put to good use! You can create a group "mail.ml-ooa" (mail list out- of-action) and then: (setq nnmail-split-methods '( ("mail.ml-ooa" "\\(To\\|Cc\\):.*\\(emacs-w3m@namazu.org\\|help-gnu-emacs@gnu.org\\|gnuplot-info@lists.sourceforge.net\\)") ("mail.misc" "")) ) -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Wed Feb 24 19:15:14 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYjaM-0005bU-AY for mharc-help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 19:15:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60544) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYjaJ-0005Y3-HB for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 19:15:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYjaE-0003FK-77 for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 19:15:11 -0500 Received: from plane.gmane.org ([80.91.229.3]:38231) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYjaE-0003DY-1E for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 19:15:06 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aYjaC-0006s1-Mw for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 01:15:04 +0100 Received: from nl106-137-170.student.uu.se ([130.243.137.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Feb 2016 01:15:04 +0100 Received: from embe8573 by nl106-137-170.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Feb 2016 01:15:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: removing white space highlight Date: Thu, 25 Feb 2016 01:10:20 +0100 Lines: 22 Message-ID: <87ziupsl8z.fsf@debian.uxu> References: <87povmubo9.fsf@debian.uxu> <87povl974d.fsf@robertthorpeconsulting.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-170.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:QVAhSdL1pGbywiKLBz6mfVk28IA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 00:15:12 -0000 Robert Thorpe writes: > Suppose a programmer makes a small change to a file. > Then the above is run, because of whitespace changes > that could lead to hundreds of changes. After that, > how does anyone make sense of the VC annotated > version of the file? It will be easier then before to make sense of that file, because after the hundreds of changes it'll look a lot better. People will get the new version and that will replace their local ones which will also be upgraded (to the better). Next time there is an edit there will be no need to fix hundreds of meaningless whitespaces. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Wed Feb 24 19:20:14 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYjfC-0007rk-9S for mharc-help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 19:20:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35057) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYjf9-0007pA-UH for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 19:20:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYjf5-0006Ez-VS for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 19:20:11 -0500 Received: from plane.gmane.org ([80.91.229.3]:38480) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYjf5-0006Cv-Q6 for help-gnu-emacs@gnu.org; Wed, 24 Feb 2016 19:20:07 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aYjf3-0001w5-Tj for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 01:20:05 +0100 Received: from nl106-137-170.student.uu.se ([130.243.137.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Feb 2016 01:20:05 +0100 Received: from embe8573 by nl106-137-170.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Feb 2016 01:20:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: executing bash function with shell-command Date: Thu, 25 Feb 2016 01:11:35 +0100 Lines: 12 Message-ID: <87vb5dsl6w.fsf@debian.uxu> References: <20160224215202.GA3410@mortar.AMN> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-170.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:MNrBdNllRMThd50uCvo7uRrJdbQ= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 00:20:13 -0000 mvar writes: > yes this works perfectly fine and even with > --daemon! > > many thanks! My pleasure! -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Thu Feb 25 03:47:10 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYrZm-0003WX-4n for mharc-help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 03:47:10 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYrZj-0003UX-Lo for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 03:47:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYrZi-0006cV-E8 for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 03:47:07 -0500 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]:37466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYrZi-0006cQ-73 for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 03:47:06 -0500 Received: by mail-wm0-x22b.google.com with SMTP id g62so17266177wme.0 for ; Thu, 25 Feb 2016 00:47:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to; bh=Pwu/HNG8fp6eugB65zn5OmmYboH8YTIy9P7E7EmESAE=; b=w806ct93Obvv9hMCBMmqNmQpwy1r60mdHfH4CFWTpr/QsU/iI/LAkBXCnb71pCMoNs WMqab+PN8mGde/tGp048G6huc5Ykb0MpE7XDPC6uhHSOTPjmLxrGuVnAZadp3xnyDrJX sFr7zgCYvKvgVKr2LnZXYuxRBze2N40dczugCcehpZ1B88zZfrnLWq7kFGOJACYt7BH8 ASut6aR3Iqw3vUPCrYhf2Wg06N1C6umZ4v2UDnO/S6S2jU1Jc4JWQySBYPOfufwdDDrg iwg/W0CdGtnC4SpWlh5LnQvTbp+VWxLODe+uQ2harsOzWveXEljCTYua2u1IG+PmIYZ6 jpWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to; bh=Pwu/HNG8fp6eugB65zn5OmmYboH8YTIy9P7E7EmESAE=; b=ARzJh+9YY9hCS954PkrX0OS69CxS9Y8N9mQhiPSzPVvk76pfhFgWiKVbAbCYkjlNUO +RQNgyDnEgzJtJGquPUhopH6Nt6Tmie2v47LQGHVXH6HI+4CC3De8CniFyqNVpe4Wl8r co/+rYFjLfqXWUVrKbhFuq/dpzEjWoHbNvNhmjS/SSZPP/wUK8as7hxvVYFvMcYGHNJN d3y7ebTvxssZ1HHH7ZhMBax4XTfUhCZWf9eT3MIqf1qqGNowa7kd6AJiZ9JgR25B8TmQ wX4RdnoXwrBS15odNSRbbKZfOcXqnSI0CwsszKMkAf+WoFp9AaspNpQ6tm/PM0JB3aoY 5ezw== X-Gm-Message-State: AG10YOQ+ZQlb5a4QnJ5XJS0GZX6+fGku0dypaNS8J5yMbhKTDq/06hb9gH69/ctAirMsHD9QOlKtx9mU+DOsfg== MIME-Version: 1.0 X-Received: by 10.28.174.8 with SMTP id x8mr2165762wme.49.1456390025318; Thu, 25 Feb 2016 00:47:05 -0800 (PST) Sender: fluca1978@gmail.com Received: by 10.194.68.4 with HTTP; Thu, 25 Feb 2016 00:47:05 -0800 (PST) In-Reply-To: <87ziupsl8z.fsf@debian.uxu> References: <87povmubo9.fsf@debian.uxu> <87povl974d.fsf@robertthorpeconsulting.com> <87ziupsl8z.fsf@debian.uxu> Date: Thu, 25 Feb 2016 09:47:05 +0100 X-Google-Sender-Auth: IC68aYH_AZEYIFVRFKgKjp8AdNc Message-ID: Subject: Re: removing white space highlight From: Luca Ferrari To: help-gnu-emacs Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::22b X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 08:47:08 -0000 On Thu, Feb 25, 2016 at 1:10 AM, Emanuel Berg wrote: > People will get the new version and that will replace > their local ones which will also be upgraded (to the > better). That's the problem: I don't want to have a lot of checkins due to someone in my team just removing white spaces. Try it at home: checkout a file, remove all the spaces and do a diff....and try to find out what line of code you changed amongst the space removal! Luca From MAILER-DAEMON Thu Feb 25 04:29:50 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYsF4-0005lo-Ce for mharc-help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 04:29:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55394) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYsF1-0005ky-NC for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 04:29:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYsEy-0000QR-Gs for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 04:29:47 -0500 Received: from jugulator.defunced.de ([89.238.65.41]:46827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYsEy-0000Pq-AV for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 04:29:44 -0500 Received: from localhost (localhost [127.0.0.1]) by jugulator.defunced.de (Postfix) with ESMTP id 28CFF726E039; Thu, 25 Feb 2016 10:29:42 +0100 (CET) X-Virus-Scanned: amavisd-new at defunct.ch Received: from jugulator.defunced.de ([127.0.0.1]) by localhost (painkiller.defunced.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G7lLoud7Mp_I; Thu, 25 Feb 2016 10:29:40 +0100 (CET) Received: from localhost (p54952DEC.dip0.t-ipconnect.de [84.149.45.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by jugulator.defunced.de (Postfix) with ESMTPSA id CE203726E034; Thu, 25 Feb 2016 10:29:39 +0100 (CET) From: Christian Kruse To: Luca Ferrari Subject: Re: removing white space highlight References: <87povmubo9.fsf@debian.uxu> <87povl974d.fsf@robertthorpeconsulting.com> <87ziupsl8z.fsf@debian.uxu> Date: Thu, 25 Feb 2016 10:29:34 +0100 In-Reply-To: (Luca Ferrari's message of "Thu, 25 Feb 2016 09:47:05 +0100") Message-ID: <87h9gxrvcx.fsf@jugulator.defunced.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 89.238.65.41 Cc: help-gnu-emacs X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 09:29:48 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Luca Ferrari writes: > On Thu, Feb 25, 2016 at 1:10 AM, Emanuel Berg wr= ote: >> People will get the new version and that will replace >> their local ones which will also be upgraded (to the >> better). > > That's the problem: I don't want to have a lot of checkins due to > someone in my team just removing white spaces. > Try it at home: checkout a file, remove all the spaces and do a > diff....and try to find out what line of code you changed amongst the > space removal! Despite the discussion itself: you can ignore lines with only space changes in all VCS: git diff -w svn diff -x -b diff -b bzr diff --diff-options=3D'-w' hg diff -w Best regards, =2D-=20 Christian Kruse https://wwwtech.de/about --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWzsl+AAoJELjg80Kpmp1zX5MP/jHjm9GET9xhvjqaMCP3o4eQ 9HTCay3JJpjUDwvrkOyXmq6OmQtCcGRr0twJsvNYEoQfbomr1j5ErpPsFaw3yHpi Y3WXwGsGW2HYiK1u9yCuwQnvhVKGFvvSj9U0ldO1lm//7i63Nkv3/Q8Xd7DurAbI Kw7NyHXARSG+r+eNnVp3XfJUTT9LJrEOD4JgrijHIJPpfqDh8o3cQbH4C1k+o1c7 vIbDZQMuInGUCWq8abFdv33+uniZiZwws74/EsL/QPFhm16ujvlgvyxSe+hQyqO6 kmi+KdTxT7jgBb51LCnq3EMfB9jH5ktRHuFuC57FBLg42UFEUzEXf12cHQzal2kC PTqcMN6im8Mh1+SL70DYZ3WY7YxGZXwiOCcZo3cbotdxXUIyfCOdQZWXviSTATnz cuHtj+7DniqSGkEin5LlVn1nROHLCUJuVYI3mw88P5abHFToXN7qdrnOCuHqRJxi 8LGQNNDvXOIWGkER1EQjZsIaiwmgwIHyz7wtvWhwG6Klsmm4goueUSp1b5ikUKMI /UmQ8l4f41eyctuU668jYy9uRppC0vNxf/SbXle0KaptE3TJggxGwAY1f+DDTjPX Xdb2ycXAAoaR2iDL8AZYSVhb/lQ9WeCWIuU9+G3krZD91zjL70kf+YoDufPxe+Ro RlHpQOkrlChE6Pt3dY3i =uAjs -----END PGP SIGNATURE----- --=-=-=-- From MAILER-DAEMON Thu Feb 25 04:53:58 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYscQ-0005o7-9C for mharc-help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 04:53:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYscK-0005iq-1F for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 04:53:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYscF-0007jR-Vv for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 04:53:51 -0500 Received: from perdizione.investici.org ([94.23.50.208]:30767) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYscF-0007jD-IG for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 04:53:47 -0500 Received: from [94.23.50.208] (perdizione [94.23.50.208]) (Authenticated sender: niasterisk@grrlz.net) by localhost (Postfix) with ESMTPSA id 2BE751201C1 for ; Thu, 25 Feb 2016 09:53:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=grrlz.net; s=stigmate; t=1456394026; bh=XCLvsEpHzlVMZKahWQXD07fdJGyp62iuPWbxBEF35/I=; h=From:To:Subject:References:Date:In-Reply-To; b=BhxylcpZpv6gy3xlJmqWOM++WRByuYid7Lwi68bxaAqj8GYu57PwZUvxMqyjBJosG NeoNDzN4TA/Jkelcqdp3oear3fM/vINlqAzk6kFKzdrT0Gtyiu+bD0FoMb9T16JZoF n5+xfJqfN5N+bJ62kaWqgQALQFPCurUozWMbMsCw= From: Nils Gillmann To: help-gnu-emacs@gnu.org Subject: Re: GNUS gnus-group-split .. my sorting is bad. References: <87si0hx4o9.fsf@grrlz.net> <874mcxtzzh.fsf@debian.uxu> Date: Thu, 25 Feb 2016 10:53:45 +0100 In-Reply-To: <874mcxtzzh.fsf@debian.uxu> (Emanuel Berg's message of "Thu, 25 Feb 2016 01:06:42 +0100") Message-ID: <87si0hyv2u.fsf@grrlz.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 94.23.50.208 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 09:53:55 -0000 Emanuel Berg writes: > Nils Gillmann writes: > >> I have a GNUS related question on mail-splitting. > > It isn't "GNUS" anymore but Gnus. > >> There are many lists I follow, and with the sorting >> method I picked at some time > > Don't do that with mailing lists directly: do that > with Gmane! This is the exact intended purpose of > Gmane and it works *great* - it is incomparably better > than splitting in every respect. Here's a question: why? What's the rational choice to favor gmane over subscribing to mailman at gnu.org for the Guix project and others I participate in? I get my mail via socksv5, including the mail from the lists, via a service which runs on a .onion.(*) I don't have a connection all time (but from my limited experience with Gnus and newsgroups a while back offline storage/cache is possible). For plain discussion I get it. For sending in patches etc I'm not sure (okay this is plain text too). I also have lists which are not on gmane or some other serverbased network with nntp access. for example local hackerspaces. Same issue applies here: message gets sends to the "announce" list and CC the "discuss" list, both end up in the list which comes first in my filters. (*) I am aware that it does not make email safer, but I have my reasons. > > So do: > > (setq gnus-select-method '(nntp "news.gmane.org")) > > If you like, you can have other NNTP servers (e.g., > Usenet with nntp.aioe.org) and mail (nnml) as well: > > (require 'gnus-namazu) > (setq gnus-secondary-select-methods '((nnml "" (nnir-search-engine namazu)) > (nntp "nntp.aioe.org") > (nntp "news.gwene.org") > (nntp "news.gnus.org") > )) > >> I now get email which is CC'ed or in any other way >> directed to more than one list I follow into one >> list folder only. This is not what I want. I think >> my way to think about sorting mail could be >> challenged with some input from others. > > When you have Gmane up and your previous lists working > as newsgroups, you can unsubscribe to them. If there > are 70+ that should be a challenge in itself. Some you > will be unable to unsubscribe to. Get a new mail > account, perhaps... I did change accounts before, changing email addresses at all of them works. > > But even if you do some people will still send you Cc > mails when they respond to your Gmane posts! That's the usual behavior on mosts lists (or how most people configure their mail agents) I am on, To: person you replying to, CC: list. > > So ironically, here splitting can be put to good use! > You can create a group "mail.ml-ooa" (mail list out- > of-action) and then: > > (setq nnmail-split-methods > '( > ("mail.ml-ooa" "\\(To\\|Cc\\):.*\\(emacs-w3m@namazu.org\\|help-gnu-emacs@gnu.org\\|gnuplot-info@lists.sourceforge.net\\)") > ("mail.misc" "")) ) In the whole picture - leaving aside the whole other issue with email in general, with an external service as gmane, etc - your recommendation looks good to me. It can be done for almost all lists I have, however I would still need a recommendation for the ones I can't apply it to. Take the CC and Cc out of the filters for lists? Thanks, -- ng irc://loupsycedyglgamf.onion:67/~NiAsterisk http://loupsycedyglgamf.onion/NiAsterisk/ torify telnet loupsycedyglgamf.onion From MAILER-DAEMON Thu Feb 25 08:15:48 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYvlj-0001oX-Vn for mharc-help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 08:15:47 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35292) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYvlh-0001nl-38 for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 08:15:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYvld-0003zJ-Rv for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 08:15:45 -0500 Received: from calypso.otenet.gr ([83.235.67.36]:58640) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYvld-0003z0-F2 for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 08:15:41 -0500 Received: from otenet.gr (enigma.otenet.gr [212.205.221.10]) by calypso.otenet.gr (ESMTP) with ESMTPSA id A3E07138049; Thu, 25 Feb 2016 15:15:37 +0200 (EET) From: Kostas Zorbadelos To: Jan Tatarik Subject: Re: gnus-icalendar international character handling Organization: No affiliation References: <87si0ioqqb.fsf@gnus.org> <87oab6a36u.fsf@xing.com> Date: Thu, 25 Feb 2016 15:15:37 +0200 In-Reply-To: <87oab6a36u.fsf@xing.com> (Jan Tatarik's message of "Wed, 24 Feb 2016 10:05:29 +0100") Message-ID: <87bn752ao6.fsf@otenet.gr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 83.235.67.36 Cc: help-gnu-emacs@gnu.org, Lars Magne Ingebrigtsen X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: kzorba@otenet.gr List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 13:15:46 -0000 Hi, this fix (removing the localized day) does not seem to fix the international character display of calendar events and their export to org files. Also, there is the timezone issue I mentioned in the other thread. For the record, saving the calendar MIME part (gnus-mime-save-part) and then importing it to a diary file with (icalendar-import-file) seems to work really well (handling international characters and timezone). Regards, Kostas Jan Tatarik writes: > On Wed, Feb 24 2016, Lars Magne Ingebrigtsen wrote: > >> Kostas Zorbadelos writes: > >>> after activation of gnus-icalendar, the text/calendar MIME parts are not >>> shown properly in gnus if they contain international (in my case Greek) >>> characters (e.g. in Summary or Description). >>> The export to org file also saves the relevant part as raw text and >>> prompts for encoding. Is there any way to fix this? > >> Yeah, I think including the (localised) week day here just seems likely >> to break lots of stuff... Does that have to be included in these time >> stamps? > > This works for me. > > > diff --git a/lisp/gnus/gnus-icalendar.el b/lisp/gnus/gnus-icalendar.el > index d7a431a..3df3a8c 100644 > --- a/lisp/gnus/gnus-icalendar.el > +++ b/lisp/gnus/gnus-icalendar.el > @@ -394,10 +394,10 @@ gnus-icalendar-event:org-timestamp > "Build `org-mode' timestamp from EVENT start/end dates and recurrence info." > (let* ((start (gnus-icalendar-event:start-time event)) > (end (gnus-icalendar-event:end-time event)) > - (start-date (format-time-string "%Y-%m-%d %a" start)) > + (start-date (format-time-string "%Y-%m-%d" start)) > (start-time (format-time-string "%H:%M" start)) > (start-at-midnight (string= start-time "00:00")) > - (end-date (format-time-string "%Y-%m-%d %a" end)) > + (end-date (format-time-string "%Y-%m-%d" end)) > (end-time (format-time-string "%H:%M" end)) > (end-at-midnight (string= end-time "00:00")) > (start-end-date-diff > @@ -417,7 +417,7 @@ gnus-icalendar-event:org-timestamp > ;; A 0:0 - A+1 0:0 -> A > ;; A 0:0 - A+n 0:0 -> A - A+n-1 > ((and start-at-midnight end-at-midnight) (if (> start-end-date-diff 1) > - (let ((end-ts (format-time-string "%Y-%m-%d %a" (time-subtract end time-1-day)))) > + (let ((end-ts (format-time-string "%Y-%m-%d" (time-subtract end time-1-day)))) > (format "<%s>--<%s>" start-date end-ts)) > (format "<%s%s>" start-date repeat))) > ;; end midnight > @@ -425,7 +425,7 @@ gnus-icalendar-event:org-timestamp > ;; A .:. - A+n 0:0 -> A .:. - A_n-1 > (end-at-midnight (if (= start-end-date-diff 1) > (format "<%s %s-23:59%s>" start-date start-time repeat) > - (let ((end-ts (format-time-string "%Y-%m-%d %a" (time-subtract end time-1-day)))) > + (let ((end-ts (format-time-string "%Y-%m-%d" (time-subtract end time-1-day)))) > (format "<%s %s>--<%s>" start-date start-time end-ts)))) > ;; start midnight > ;; A 0:0 - A .:. -> A 0:0-.:. (default 1) > -- Kostas Zorbadelos http://gr.linkedin.com/in/kzorba From MAILER-DAEMON Thu Feb 25 08:53:44 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYwMS-0008Ut-Ee for mharc-help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 08:53:44 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44954) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYwMQ-0008Ue-Cm for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 08:53:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYwMM-0005tB-FT for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 08:53:42 -0500 Received: from mail.tuxteam.de ([5.199.139.25]:53034 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYwMM-0005t5-99 for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 08:53:38 -0500 Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1aYvom-0005dn-V2 for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 14:18:56 +0100 Date: Thu, 25 Feb 2016 14:18:56 +0100 To: help-gnu-emacs@gnu.org Subject: Re: gnus-icalendar international character handling Message-ID: <20160225131856.GA20460@tuxteam.de> References: <87si0ioqqb.fsf@gnus.org> <87oab6a36u.fsf@xing.com> <87bn752ao6.fsf@otenet.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: 8bit In-Reply-To: <87bn752ao6.fsf@otenet.gr> User-Agent: Mutt/1.5.21 (2010-09-15) From: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 13:53:43 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, Feb 25, 2016 at 03:15:37PM +0200, Kostas Zorbadelos wrote: > > Hi, > > this fix (removing the localized day) does not seem to fix the > international character display of calendar events and their export to > org files. Also, there is the timezone issue I mentioned in the other > thread. > > For the record, saving the calendar MIME part (gnus-mime-save-part) and > then importing it to a diary file with (icalendar-import-file) seems to > work really well (handling international characters and timezone). This is an interesting point. I haven't been following closely -- so apologies if I'm asking something answered before, but could it be that gnus is looking at the wrong header? Each MIME part of the multipart message may have a different "charset" sub attribute. Have a look at the "raw" message, perhaps there's a clue. regards - -- tomás -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlbO/0AACgkQBcgs9XrR2kZQlwCeOMJT9VrqEK3QgmWaJgCW4WAw oDUAnjwWmPWzC6YubpqWmXDsx87T1WXh =9qz5 -----END PGP SIGNATURE----- From MAILER-DAEMON Thu Feb 25 11:05:19 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aYyPn-0003vz-K9 for mharc-help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 11:05:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYyPg-0003kb-OB for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 11:05:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYyPc-0007Ug-O9 for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 11:05:12 -0500 Received: from plane.gmane.org ([80.91.229.3]:33415) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYyPc-0007U7-HK for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 11:05:08 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aYyPa-00066X-Ko for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 17:05:06 +0100 Received: from x5d83fe95.dyn.telefonica.de ([93.131.254.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Feb 2016 17:05:06 +0100 Received: from niasterisk by x5d83fe95.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Feb 2016 17:05:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Nils Gillmann Subject: Re: GNUS gnus-group-split .. my sorting is bad. Date: Thu, 25 Feb 2016 15:49:28 +0100 Lines: 25 Message-ID: <87lh68u9on.fsf@grrlz.net> References: <87si0hx4o9.fsf@grrlz.net> <874mcxtzzh.fsf@debian.uxu> <87si0hyv2u.fsf@grrlz.net> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: x5d83fe95.dyn.telefonica.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:f088uLMW5nheYZD2xZfL07kvwfA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 16:05:18 -0000 Hi, a while later, after playing around with the configuration and groups I get what you mean. However I need to figure out a way for the groups I can't post to via nntp and who still get sorted wrong occasionally in their nnml groups. An (future) alternative would be to run an non-public (as non-public as it get with email) email catch server gateway thing on one of my servers to enable nntp <-> email traversal. Thanks for your help so far, it really reduced the length of my Gnus configuration. I noticed namazu is not packaged for Guix, another package I can work on. Thanks, -- ng irc://loupsycedyglgamf.onion:67/~NiAsterisk http://loupsycedyglgamf.onion/NiAsterisk/ torify telnet loupsycedyglgamf.onion From MAILER-DAEMON Thu Feb 25 14:58:57 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZ23t-0001x5-Qz for mharc-help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 14:58:57 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ23s-0001wP-3Z for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 14:58:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZ23o-0007Wu-NG for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 14:58:56 -0500 Received: from outbound-smtp10.blacknight.com ([46.22.139.15]:37783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ23o-0007WM-HG for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 14:58:52 -0500 Received: from mail.blacknight.com (pemlinmail04.blacknight.ie [81.17.254.17]) by outbound-smtp10.blacknight.com (Postfix) with ESMTPS id A2E4B1C1346 for ; Thu, 25 Feb 2016 19:58:47 +0000 (GMT) Received: (qmail 18353 invoked from network); 25 Feb 2016 19:58:47 -0000 Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[93.107.21.90]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 25 Feb 2016 19:58:47 -0000 From: Robert Thorpe To: Emanuel Berg Subject: Re: removing white space highlight In-Reply-To: <87ziupsl8z.fsf@debian.uxu> (message from Emanuel Berg on Thu, 25 Feb 2016 01:10:20 +0100) Date: Thu, 25 Feb 2016 19:58:46 +0000 Message-ID: <87povkv9xl.fsf@robertthorpeconsulting.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 46.22.139.15 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 19:58:56 -0000 Emanuel Berg writes: > Robert Thorpe writes: > >> Suppose a programmer makes a small change to a file. >> Then the above is run, because of whitespace changes >> that could lead to hundreds of changes. After that, >> how does anyone make sense of the VC annotated >> version of the file? > > It will be easier then before to make sense of that > file, because after the hundreds of changes it'll look > a lot better. Certainly the file itself will be better. Only slightly in my opinion, whitespace at the end of lines doesn't both me much. The question is what about the *VC annotated* file? If I blame a particular section of a file how do I know who wrote that code and when? The problem is I can't tell because any particular check-in could be a whitespace change. I'd actually have to start digging through older versions. Christian Kruse is correct that diffs can be handled, but they're not the only problem. BR, Robert Thorpe From MAILER-DAEMON Thu Feb 25 15:10:57 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZ2FV-0007UJ-4i for mharc-help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 15:10:57 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45885) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ2FS-0007TK-Kr for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 15:10:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZ2FP-0002ff-TF for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 15:10:54 -0500 Received: from plane.gmane.org ([80.91.229.3]:52793) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ2FP-0002fI-Ji for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 15:10:51 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aZ2FO-0000Bu-1O for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 21:10:50 +0100 Received: from 76-10-161-227.dsl.teksavvy.com ([76.10.161.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Feb 2016 21:10:50 +0100 Received: from monnier by 76-10-161-227.dsl.teksavvy.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Feb 2016 21:10:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Stefan Monnier Subject: vc-region-history promotion (was: removing white space highlight) Date: Thu, 25 Feb 2016 15:10:44 -0500 Lines: 25 Message-ID: References: <87ziupsl8z.fsf@debian.uxu> <87povkv9xl.fsf@robertthorpeconsulting.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 76-10-161-227.dsl.teksavvy.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:PvHgRTClZ+Kt8+TrV2zwY5EtjE0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 20:10:55 -0000 > The question is what about the *VC annotated* file? If I blame a > particular section of a file how do I know who wrote that code and when? > The problem is I can't tell because any particular check-in could be a > whitespace change. I'd actually have to start digging through older > versions. I agree such "unrelated changes" are generally undesired. [ In the case of Emacs's own source code, we try to follow a policy where people are allowed to "fix whitespace" but only in those places where they're making other changes as well. So a whose-file cleanup of trailing whitespace is not accepted. ] This said, I recently stopped using vc-annotate and so don't care nearly as much any more: instead I use vc-region-history, which gives me much more detailed information where such whitespace games aren't very much of a problem. I'd been dreaming of a functionality like vc-region-history ever since I started using TLA (i.e. before Bazaar existed), and oddly enough so far only Git offers that feature, AFAIK. vc-region-history also solves the problem of vc-annotate's blindness to code removal (the vc-annotate output won't tell you where code was removed, and even less by whom). Stefan From MAILER-DAEMON Thu Feb 25 17:00:46 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZ3xm-0002ak-8I for mharc-help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 17:00:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56231) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ3xh-0002Zt-4d for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 17:00:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZ3xc-0003t2-Jg for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 17:00:41 -0500 Received: from plane.gmane.org ([80.91.229.3]:59563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ3xc-0003sw-CF for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 17:00:36 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aZ3xb-0006Lk-3G for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 23:00:35 +0100 Received: from nl106-137-170.student.uu.se ([130.243.137.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Feb 2016 23:00:35 +0100 Received: from embe8573 by nl106-137-170.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Feb 2016 23:00:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: GNUS gnus-group-split .. my sorting is bad. Date: Thu, 25 Feb 2016 23:00:12 +0100 Lines: 98 Message-ID: <87lh68mowj.fsf@debian.uxu> References: <87si0hx4o9.fsf@grrlz.net> <874mcxtzzh.fsf@debian.uxu> <87si0hyv2u.fsf@grrlz.net> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-170.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:p4DKAas6XB6T+mxUBeGWnrYu/wc= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 22:00:44 -0000 Nils Gillmann writes: > Here's a question: why? What's the rational choice > to favor gmane over subscribing to mailman at > gnu.org for the Guix project and others > I participate in? There are many advantages. Three that instantly come to mind are: 1. You get the lists/newsgroups as a uniform Emacs interface and you don't have to Google individual sites and wade thru the projects different homepages to get to their lists. You only have to bring up the 'browse server' buffer to see them all - organized, sorted, and you can search the buffer like any other (so it is a double "uniform Emacs interface"). Have a look: http://user.it.uu.se/~embe8573/pics/gnus-server.png 2. You can add, interact, and remove lists/newsgroups like any other NNTP newsgroup and you don't have to deal with verification and e-mails back and forth from different automatic systems which often do not work or take time to react to the point you wonder if it actually did work... 3. Instead of getting all the traffic all the time, you only fetch data when you want it. (At least compared to nnml. YMMV. But if it is the same for you, it should be a *huge* advantage as you are on so many lists!) E.g., I subscribe to the gmane.emacs.erc.general as well as gmane.emacs.help. On gmane.emacs.help, I'm active writing so I want all traffic. But, on gmane.emacs.erc.general, I only ask one specific question or so once a couple of months. So I always want gmane.emacs.help, but very seldom gmane.emacs.erc.general (still, I want it to be there, ready), and with Gmane this is not only possible but super easy to do. > I also have lists which are not on gmane or some > other serverbased network with nntp access. > for example local hackerspaces. Gmane does not exclude any other source of data to be used in parallel: (setq gnus-select-method '(nntp "news.gmane.org")) (require 'gnus-namazu) (setq gnus-secondary-select-methods '((nnml "" (nnir-search-engine namazu)) (nntp "nntp.aioe.org") (nntp "news.gwene.org") (nntp "news.gnus.org") )) > That's the usual behavior on mosts lists (or how > most people configure their mail agents) I am on, > To: person you replying to, CC: list. Isn't it the other way around? But it doesn't matter. Like I said, you can use splitting to take those to an out-of-action group. I do that - add the list to the splitting regexp - when it happens, i.e. when I get a superfluous mail which originated from a list/group I know I'm on so I know I'll see the post anyway. (setq nnmail-split-methods '( ("mail.ml-ooa" "\\(To\\|Cc\\):.*\\(emacs-w3m@namazu.org\\|help-gnu-emacs@gnu.org\\|gnuplot-info@lists.sourceforge.net\\)") ("mail.misc" "")) ) > In the whole picture - leaving aside the whole other > issue with email in general, with an external > service as gmane, etc - your recommendation looks > good to me. It can be done for almost all lists > I have, however I would still need a recommendation > for the ones I can't apply it to. Take the CC and Cc > out of the filters for lists? You can do it with splitting or with scoring. Splitting would be favorable (more transparent) at least in its base form as it doesn't require you to enter the group to execute. Add the newsgroup from Gmane, wait for the CCs to come, when they do split or downscore and they shouldn't return. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Thu Feb 25 17:08:33 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZ45J-0004np-Q3 for mharc-help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 17:08:33 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ45F-0004mr-03 for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 17:08:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZ45B-0006FM-Cr for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 17:08:28 -0500 Received: from plane.gmane.org ([80.91.229.3]:60067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ45B-0006F7-6X for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 17:08:25 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aZ459-00037T-RA for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 23:08:23 +0100 Received: from nl106-137-170.student.uu.se ([130.243.137.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Feb 2016 23:08:23 +0100 Received: from embe8573 by nl106-137-170.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Feb 2016 23:08:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: GNUS gnus-group-split .. my sorting is bad. Date: Thu, 25 Feb 2016 23:08:04 +0100 Lines: 35 Message-ID: <87h9gwmojf.fsf@debian.uxu> References: <87si0hx4o9.fsf@grrlz.net> <874mcxtzzh.fsf@debian.uxu> <87si0hyv2u.fsf@grrlz.net> <87lh68u9on.fsf@grrlz.net> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-170.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:ObBr9uEjTVKHZ6ZVfFw6TwpH4y8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 22:08:31 -0000 Nils Gillmann writes: > a while later, after playing around with the > configuration and groups I get what you mean. > However I need to figure out a way for the groups > I can't post to via nntp and who still get sorted > wrong occasionally in their nnml groups. I already posted this piece of code, but I'll do again as it illustrates this principle: (setq gnus-select-method '(nntp "news.gmane.org")) (require 'gnus-namazu) (setq gnus-secondary-select-methods '((nnml "" (nnir-search-engine namazu)) (nntp "nntp.aioe.org") (nntp "news.gwene.org") (nntp "news.gnus.org") )) First: Gmane (nntp, news.gmane.org - this *is* the mail-to-news gateway!) Also: - mail (nnml) - Usenet (nntp, nntp.aioe.org - for e.g., rec.bicycles.tech which isn't on Gmane) - blogs (nntp, news.gwene.org - I never read those, *ehm*) -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Thu Feb 25 17:15:21 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZ4Bt-0007Rb-5u for mharc-help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 17:15:21 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ4Br-0007RM-Ok for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 17:15:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZ4Bo-0008NG-5f for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 17:15:19 -0500 Received: from plane.gmane.org ([80.91.229.3]:60439) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ4Bn-0008N1-VJ for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 17:15:16 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aZ4Bl-0007Tq-Jy for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 23:15:13 +0100 Received: from nl106-137-170.student.uu.se ([130.243.137.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Feb 2016 23:15:13 +0100 Received: from embe8573 by nl106-137-170.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Feb 2016 23:15:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: removing white space highlight Date: Thu, 25 Feb 2016 23:15:06 +0100 Lines: 16 Message-ID: <87d1rkmo7p.fsf@debian.uxu> References: <87ziupsl8z.fsf@debian.uxu> <87povkv9xl.fsf@robertthorpeconsulting.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-170.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:wWUTa5uMC4QXmxoqBapGGLtu1cU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 22:15:20 -0000 Robert Thorpe writes: > The question is what about the *VC annotated* file? That will only be the case once. After that the code looks good - everyone gets the good code - and no one is capable of adding whitespace that creates the situation again. You can't make an omelette without breaking eggs, as the Russians said in the 30s... -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Thu Feb 25 17:42:09 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZ4bp-0004iM-Hj for mharc-help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 17:42:09 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ4bn-0004iD-KH for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 17:42:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZ4bj-0007zi-2q for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 17:42:07 -0500 Received: from outbound-smtp04.blacknight.com ([81.17.249.35]:58130) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ4bh-0007zU-Ni for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 17:42:02 -0500 Received: from mail.blacknight.com (pemlinmail01.blacknight.ie [81.17.254.10]) by outbound-smtp04.blacknight.com (Postfix) with ESMTPS id 5003E98ACB for ; Thu, 25 Feb 2016 22:42:00 +0000 (UTC) Received: (qmail 15780 invoked from network); 25 Feb 2016 22:42:00 -0000 Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[93.107.21.90]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 25 Feb 2016 22:42:00 -0000 From: Robert Thorpe To: Emanuel Berg Subject: Re: removing white space highlight In-Reply-To: <87d1rkmo7p.fsf@debian.uxu> (message from Emanuel Berg on Thu, 25 Feb 2016 23:15:06 +0100) Date: Thu, 25 Feb 2016 22:41:59 +0000 Message-ID: <87mvqov2dk.fsf@robertthorpeconsulting.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.35 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2016 22:42:08 -0000 Emanuel Berg writes: > Robert Thorpe writes: > >> The question is what about the *VC annotated* file? > > That will only be the case once. No it won't. It'll be like that until every line that has had whitespace changes ceases to be current. That could take decades. There's still plenty of GNU Emacs that comes from the first check-in to version-control in 80s. Perhaps vc-region-history is the answer, as Stefan says, I haven't used it. But, as he says, it only works on git. BR, Robert Thorpe From MAILER-DAEMON Thu Feb 25 19:03:17 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZ5sL-0006eN-49 for mharc-help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 19:03:17 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55705) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ5sI-0006bS-1U for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 19:03:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZ5sD-0002Mn-1I for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 19:03:13 -0500 Received: from plane.gmane.org ([80.91.229.3]:37661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ5sC-0002MN-Ra for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 19:03:08 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aZ5s8-0008RB-1p for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 01:03:04 +0100 Received: from nl106-137-170.student.uu.se ([130.243.137.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Feb 2016 01:03:04 +0100 Received: from embe8573 by nl106-137-170.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Feb 2016 01:03:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: removing white space highlight Date: Fri, 26 Feb 2016 01:02:56 +0100 Lines: 29 Message-ID: <878u28mj7z.fsf@debian.uxu> References: <87d1rkmo7p.fsf@debian.uxu> <87mvqov2dk.fsf@robertthorpeconsulting.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-170.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:awGubKtlX11GTioN+9AMJIYn9Wo= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 00:03:15 -0000 Robert Thorpe writes: >> That will only be the case once. > > No it won't. It'll be like that until every line > that has had whitespace changes ceases to be > current. That could take decades. There's still > plenty of GNU Emacs that comes from the first > check-in to version-control in 80s. I'll be like that once for every file. You can even do it all at once! After, add automatization and people can't break it even if they want to: 1. There is no trailing whitespace anywhere in the source. - and - 2. It is impossible to add any because it is automatically removed upon submitted changes including the addition of new files... -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Thu Feb 25 21:58:44 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZ8c8-0005s9-Jy for mharc-help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 21:58:44 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ8c6-0005r5-4E for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 21:58:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZ8c2-0003d1-T5 for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 21:58:41 -0500 Received: from outbound-smtp09.blacknight.com ([46.22.139.14]:39192) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ8c2-0003cw-Mg for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 21:58:38 -0500 Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp09.blacknight.com (Postfix) with ESMTPS id A9D1E1C224F for ; Fri, 26 Feb 2016 02:58:35 +0000 (GMT) Received: (qmail 7082 invoked from network); 26 Feb 2016 02:58:35 -0000 Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[93.107.21.90]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 26 Feb 2016 02:58:35 -0000 From: Robert Thorpe To: Emanuel Berg Subject: Re: removing white space highlight In-Reply-To: <878u28mj7z.fsf@debian.uxu> (message from Emanuel Berg on Fri, 26 Feb 2016 01:02:56 +0100) Date: Fri, 26 Feb 2016 02:58:34 +0000 Message-ID: <87io1cuqhx.fsf@robertthorpeconsulting.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 46.22.139.14 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 02:58:42 -0000 Emanuel Berg writes: > Robert Thorpe writes: > >>> That will only be the case once. >> >> No it won't. It'll be like that until every line >> that has had whitespace changes ceases to be >> current. That could take decades. There's still >> plenty of GNU Emacs that comes from the first >> check-in to version-control in 80s. > > I'll be like that once for every file. Yes, for decades. That's far too high a price to pay for being perfectionist about whitespace. I don't think you understand how useful blaming is to people who do maintenance programing. I'm not sure you really understand what I mean. BR, Robert Thorpe From MAILER-DAEMON Thu Feb 25 22:30:15 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZ96d-0004Ep-NS for mharc-help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 22:30:15 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ96b-0004DS-B3 for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 22:30:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZ96W-0002df-AB for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 22:30:13 -0500 Received: from plane.gmane.org ([80.91.229.3]:52037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZ96W-0002dS-3G for help-gnu-emacs@gnu.org; Thu, 25 Feb 2016 22:30:08 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aZ96S-0001hN-Tu for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 04:30:04 +0100 Received: from nl106-137-170.student.uu.se ([130.243.137.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Feb 2016 04:30:04 +0100 Received: from embe8573 by nl106-137-170.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Feb 2016 04:30:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: removing white space highlight Date: Fri, 26 Feb 2016 04:29:59 +0100 Lines: 60 Message-ID: <87ziuokv2g.fsf@debian.uxu> References: <878u28mj7z.fsf@debian.uxu> <87io1cuqhx.fsf@robertthorpeconsulting.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-170.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:6lfwRiWBywLg3GXpZrIS6GI9Muc= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 03:30:14 -0000 Robert Thorpe writes: >> I'll be like that once for every file. > > Yes, for decades. Are there so really so many files that are left untouched for so long? Why can't you do it once for all files? Or, by all means, do it as it goes along. It should only happen when a file is edited or added. If it is, all the better: it is forever fixed. If it isn't edited this isn't an issue as nothing will happen anyway. > That's far too high a price to pay for being > perfectionist about whitespace. Being a perfectionist in the negative sense is spending too much time on stuff that doesn't mean anything, really, and/or being neurotic about it. This discussion for example is perhaps closing in on that :) However not wanting to have trailing whitespace and having it automatized in four lines of Elisp and then have the desired behavior forever seems like rather good craftmanship to me... > I don't think you understand how useful blaming is > to people who do maintenance programing. If this is automatized like I've described the issue should forever be removed from the realm of humans. Only the machines will know about it before long... But I'm fine ending the discussion. I'm not maintaining any cooperative software anyway and I don't plan to, ever. I'm a solo climber. When there is one person, he knows where the rope is. When there is twenty everyone subconsciously relax and suddenly at the attack camp there is a bottleneck and the guy first in line says: "Where is the gear? Where is the equipment?" Uh-oh! I know where my rope is - here: ;; (setq before-save-hook nil) (defun before-save-hook-f () (delete-trailing-whitespace) ) (setq before-save-hook #'before-save-hook-f) :) -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Fri Feb 26 00:36:00 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZB4K-0003Dg-Nq for mharc-help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 00:36:00 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZB4H-0003BY-N8 for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 00:35:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZB4E-0007ko-I6 for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 00:35:57 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:33421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZB4E-0007hI-Be for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 00:35:54 -0500 Received: from [175.103.25.178] (helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aZB3j-0004OX-Ut; Fri, 26 Feb 2016 06:35:24 +0100 From: Lars Ingebrigtsen To: Kostas Zorbadelos Subject: Re: gnus-icalendar international character handling References: <87si0ioqqb.fsf@gnus.org> <87oab6a36u.fsf@xing.com> <87bn752ao6.fsf@otenet.gr> Date: Fri, 26 Feb 2016 16:05:19 +1030 In-Reply-To: <87bn752ao6.fsf@otenet.gr> (Kostas Zorbadelos's message of "Thu, 25 Feb 2016 15:15:37 +0200") Message-ID: <87povkvxt4.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aZB3j-0004OX-Ut X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1457069725.23312@cS0DiIk6KRL1aYiSifyEdw X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 Cc: help-gnu-emacs@gnu.org, Jan Tatarik X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 05:35:58 -0000 Kostas Zorbadelos writes: > this fix (removing the localized day) does not seem to fix the > international character display of calendar events and their export to > org files. Are those issues related? > Also, there is the timezone issue I mentioned in the other thread. And that's also another bug, but unrelated... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From MAILER-DAEMON Fri Feb 26 00:36:12 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZB4V-0003Rt-Ue for mharc-help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 00:36:11 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58228) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZB4T-0003Os-8q for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 00:36:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZB4S-0007y5-8c for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 00:36:09 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:33428) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZB4S-0007xB-2u for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 00:36:08 -0500 Received: from [175.103.25.178] (helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aZB45-0004Op-NH; Fri, 26 Feb 2016 06:35:46 +0100 From: Lars Ingebrigtsen To: Jan Tatarik Subject: Re: gnus-icalendar international character handling References: <87si0ioqqb.fsf@gnus.org> <87oab6a36u.fsf@xing.com> Date: Fri, 26 Feb 2016 16:05:40 +1030 In-Reply-To: <87oab6a36u.fsf@xing.com> (Jan Tatarik's message of "Wed, 24 Feb 2016 10:05:29 +0100") Message-ID: <87lh68vxsj.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aZB45-0004Op-NH X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1457069746.53654@AJUzRmNl5/O9M97j4fDJrg X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 Cc: help-gnu-emacs@gnu.org, Kostas Zorbadelos X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 05:36:10 -0000 Jan Tatarik writes: >> Yeah, I think including the (localised) week day here just seems likely >> to break lots of stuff... Does that have to be included in these time >> stamps? > > This works for me. Thanks; applied. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From MAILER-DAEMON Fri Feb 26 01:08:38 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZBZu-0003ny-2y for mharc-help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 01:08:38 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38209) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZBZr-0003nX-1P for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 01:08:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZBZm-0008R7-NB for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 01:08:34 -0500 Received: from havoc.proulx.com ([96.88.95.61]:45012) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZBZm-0008Qz-GX for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 01:08:30 -0500 Received: from joseki.proulx.com (localhost [127.0.0.1]) by havoc.proulx.com (Postfix) with ESMTP id E4E6314D for ; Thu, 25 Feb 2016 23:08:29 -0700 (MST) Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 81D11211DE for ; Thu, 25 Feb 2016 23:08:29 -0700 (MST) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 4E8A82DC5B; Thu, 25 Feb 2016 23:08:29 -0700 (MST) Date: Thu, 25 Feb 2016 23:08:29 -0700 From: Bob Proulx To: help-gnu-emacs@gnu.org Subject: Re: removing white space highlight Message-ID: <20160225221634972375976@bob.proulx.com> Mail-Followup-To: help-gnu-emacs@gnu.org References: <878u28mj7z.fsf@debian.uxu> <87io1cuqhx.fsf@robertthorpeconsulting.com> <87ziuokv2g.fsf@debian.uxu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87ziuokv2g.fsf@debian.uxu> User-Agent: Mutt/1.5.24 (2015-08-30) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 96.88.95.61 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 06:08:36 -0000 Emanuel Berg wrote: > Robert Thorpe writes: > >> I'll be like that once for every file. > > > > Yes, for decades. > > Are there so really so many files that are left > untouched for so long? I have been staying out of this because Robert has been doing an excellent job of stating the issues. But I guess I will do my part too. > Why can't you do it once for all files? If you have placed an automated routine in your particular editor (remember that other people on your team will use different editors with differing capabilities) that touches every line in the file then you will start making changesets that contain a lot of noise. You will check in a result that cannot be reasonably reviewed by a peer review group. If the group is at all reasonable they will reject your change-set and send you back to work on it further. While producing a changeset it isn't enough simply to produce any old set of changes. Any slacker can made a random change and produce a truly awful large patch. It is the excellent programmer that understands the entire development process and produces a change that is easily reviewed so that it will be quickly accepted. I assume that if you are making a change that you are wanting it to be accepted. If not then why bother at all? I think that is the main point you are missing. You are thinking about yourself but you should be thinking about the reviewers who will look at the work you have done. If you are not thinking about their job then you are making their job much harder. If you make their job too hard they should simply reject your change and send you back to work on it further. And even for those folks who are just working solo. Your work is your reputation. If your work is good then so is your reputation. If your work is crufty then the same with your reputation. Because of version control your work is not just the finished file but the history of the file too. > > That's far too high a price to pay for being > > perfectionist about whitespace. > > Being a perfectionist in the negative sense is > spending too much time on stuff that doesn't mean > anything, really, and/or being neurotic about it. You discover a small chip of paint flaking off of the side of your house. Nothing is stopping you from immediately sanding, doing a full paint preparation with all of the needed caulking, then priming, then painting. Nothing is stopping you from doing this quite expensive, multiple day task immediately. Except that you may have been leaving for the airport to go on travel and just don't have time to do that before your flight takes off. And you might be out of budget for painting the house right now. You will probably not do all of these needed things /right now/ but queue them up for doing at some later time. And it is only a paint chip. A small thing. That later time might be years later. In the way that life is often busy with multiple things going on at the same time the same is true for software development. On large long running projects there will be many files that are doing their job fine but perhaps are not perfect in the abstract. While fixing a showstopper critical security hole bug in someone else's project that needs to make a minimum changeset immediately if not sooner you might see other things that could be polished up. You could drop everything and then spend six months fixing up that other project. But you can't. You need to make a minimum changeset patch to fix that problem /right now/. It needs to get through peer review and deployed. It can't wander about and tinker with other random things. And there is other work that needs to be done. This is why I think cleanup should be done explicitly as an explicit action and not as a side effect of other random changes. > However not wanting to have trailing whitespace and > having it automatized in four lines of Elisp and then > have the desired behavior forever seems like rather > good craftmanship to me... Your good craftmanship feels to me like a buldozer rolling through regardless of the other traffic. You will get to where you want to go but no one will want to be near you while you are doing it. Remember that with great power comes great responsibility. Bob [[Aside: What? You haven't painted your house in the last year? People will think your house is abandoned if you haven't changed the paint color at least every year. That is the way some software projects feel to me.]] From MAILER-DAEMON Fri Feb 26 02:28:32 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZCpE-0001jl-GG for mharc-help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 02:28:32 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZCpA-0001j3-9R for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 02:28:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZCp6-0006cZ-NL for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 02:28:28 -0500 Received: from calypso.otenet.gr ([83.235.67.36]:54346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZCp6-0006c2-GL for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 02:28:24 -0500 Received: from otenet.gr (enigma.otenet.gr [212.205.221.10]) by calypso.otenet.gr (ESMTP) with ESMTPSA id 8A1F1138049; Fri, 26 Feb 2016 09:28:21 +0200 (EET) From: Kostas Zorbadelos To: Lars Ingebrigtsen Subject: Re: gnus-icalendar international character handling Organization: No affiliation References: <87si0ioqqb.fsf@gnus.org> <87oab6a36u.fsf@xing.com> <87bn752ao6.fsf@otenet.gr> <87povkvxt4.fsf@gnus.org> Date: Fri, 26 Feb 2016 09:28:21 +0200 In-Reply-To: <87povkvxt4.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 26 Feb 2016 16:05:19 +1030") Message-ID: <87povk0w2y.fsf@otenet.gr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 83.235.67.36 Cc: help-gnu-emacs@gnu.org, Jan Tatarik X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: kzorba@otenet.gr List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 07:28:31 -0000 Lars Ingebrigtsen writes: > Kostas Zorbadelos writes: > >> this fix (removing the localized day) does not seem to fix the >> international character display of calendar events and their export to >> org files. > > Are those issues related? > I didn't think so. You just mentioned it seems likely to break lots of stuff. >> Also, there is the timezone issue I mentioned in the other thread. > > And that's also another bug, but unrelated... Yes indeed. -- Kostas Zorbadelos http://gr.linkedin.com/in/kzorba From MAILER-DAEMON Fri Feb 26 06:26:19 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZGXL-00065E-Mc for mharc-help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 06:26:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34576) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZGXJ-00062W-2z for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 06:26:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZGXE-0004FV-3R for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 06:26:17 -0500 Received: from plane.gmane.org ([80.91.229.3]:44180) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZGXD-0004Eb-TH for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 06:26:12 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aZGX3-0005cd-B3 for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 12:26:06 +0100 Received: from arennes-651-1-330-45.w2-14.abo.wanadoo.fr ([2.14.65.45]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Feb 2016 12:25:56 +0100 Received: from pmlists by arennes-651-1-330-45.w2-14.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Feb 2016 12:25:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: =?utf-8?Q?Peter_M=C3=BCnster?= Subject: kill buffer created by url-retrieve-synchronously Date: Fri, 26 Feb 2016 12:25:50 +0100 Lines: 28 Message-ID: <87bn73n269.fsf@free.fr> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: arennes-651-1-330-45.w2-14.abo.wanadoo.fr User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:7wdqlT1GKTakmB6mkGAHZwEh5xw= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 11:26:18 -0000 Hi, A timer calls periodically this function: --8<---------------cut here---------------start------------->8--- (defun pm/get-json (url) "Copied from http://frozenlock.org/2012/07/07/url-retrieve-and-json-api/." (let* ((url-mime-encoding-string "identity") (buffer (with-timeout (3 nil) (url-retrieve-synchronously url))) (result (with-current-buffer buffer (goto-char (point-min)) (re-search-forward "^$") (json-read)))) (kill-buffer buffer) result)) --8<---------------cut here---------------end--------------->8--- Sometimes, the buffers created by url-retrieve-synchronously are not killed, because I see them in (buffer-list). What should I do to ensure, that these buffers are always killed at the end of the function please? TIA for any help, -- Peter From MAILER-DAEMON Fri Feb 26 13:46:26 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZNPG-0004B3-Ie for mharc-help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 13:46:26 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZNPD-00049e-Ij for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 13:46:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZNPA-0007JB-9d for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 13:46:23 -0500 Received: from w1.tutanota.de ([81.3.6.162]:44020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZNPA-0007I2-0B for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 13:46:20 -0500 Received: from localhost (unknown [127.0.0.1]) by w1.tutanota.de (Postfix) with ESMTP id EA32BFA0761 for ; Fri, 26 Feb 2016 18:46:17 +0000 (UTC) Received: from w1.tutanota.de ([127.0.0.1]) by localhost (w1.tutanota.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YQIqJqs8nv9o for ; Fri, 26 Feb 2016 18:46:15 +0000 (UTC) Received: from w1.tutanota.de (unknown [127.0.0.1]) by w1.tutanota.de (Postfix) with ESMTP id 9840DFA8150 for ; Fri, 26 Feb 2016 18:46:15 +0000 (UTC) Date: Fri, 26 Feb 2016 18:46:15 +0000 (GMT) From: To: Emanuel Berg Message-ID: In-Reply-To: <87d1rlu0v9.fsf@debian.uxu> References: < (cptvlaze@tutamail.com)> <87wppvc52x.fsf@robertthorpeconsulting.com> <87d1rlu0v9.fsf@debian.uxu> Subject: Re: Help setting up POP3 email (rmail) MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 81.3.6.162 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 18:46:25 -0000 Following your code, emacs will return me the following error: At startup: 'load-with-code-conversion: Symbol's value as variable is void: smtpmail-smtp-server' ...and trying to send my email, after asking me for my server username, email and password... 'smtpmail-send-it: Sending failed: 550-Requested action not taken: mailbox unavailable 550 Sender address is not allowed.' Any clue? 25. Feb 2016 00:47 by embe8573@student.uu.se: > <> cptvlaze@tutamail.com> > writes: > >> Thanks for the quick response. > > Hint: use citing (quoting) just like we do and it'll > be even faster and more pleasant to answer your posts. > And this will be even easier for you if you get Rmail > or Gnus working, tho what I remember even Hotmail in > the 90s did that... > >> Is wondering if it was strictly necessary to enter >> my password inside my code, wouldn't it be a major >> security issue? > > *Laughter* > > No, that is entirely optional! > > I disabled the login password to my computer many > years ago and a couple of years later did the same > with Internet and mail login. > > I actually don't know how big a security issue it is. > Certainly if the computer gets stolen, but if that > happens, it would be such a waste if the thief wasn't > able to use all my awesome tools :) > > As for the mails, I already have them on the disk so > with the login password disabled I don't see the mail > ditto doing much good save for perhaps the thief being > able to spoof my accounts. > > But this is all with the assumption the computer gets > stolen physically by a computer literate thief. > This is so unlikely I don't worry one bit. > > From a "remote" point of view, it would be interesting > to know how much an issue it is and how it could be > exploited. Does it matter that much if you enter the > data from your fingertips or if a program does it > for you? > > One way of not having to have it in text is to have > a function that calculates it each time. It would be > virtually the same only one more obstacle. > >> I also have a problem with my init file, as emacs >> can't detect it. I have created one at >> ~/.emacs.d/init.el, but this folder is protected >> (only accessible via su), which forces me to use >> emacs under sudo. Is there any way to solve >> these problems? > > It shouldn't be like that. How did you install Emacs? > What Unix/Linux distro are you on? Reinstallation is > an option. > > -- > underground experts united > http://user.it.uu.se/~embe8573 From MAILER-DAEMON Fri Feb 26 14:49:08 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZONw-0005e4-9F for mharc-help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 14:49:08 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42829) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZONt-0005d5-80 for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 14:49:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZONo-0001EW-80 for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 14:49:05 -0500 Received: from plane.gmane.org ([80.91.229.3]:52635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZONo-0001DR-1w for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 14:49:00 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aZONk-0007Gm-Mx for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 20:48:56 +0100 Received: from nl106-137-170.student.uu.se ([130.243.137.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Feb 2016 20:48:56 +0100 Received: from embe8573 by nl106-137-170.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Feb 2016 20:48:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: removing white space highlight Date: Fri, 26 Feb 2016 20:48:51 +0100 Lines: 99 Message-ID: <877fhrjlr0.fsf@debian.uxu> References: <878u28mj7z.fsf@debian.uxu> <87io1cuqhx.fsf@robertthorpeconsulting.com> <87ziuokv2g.fsf@debian.uxu> <20160225221634972375976@bob.proulx.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-170.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:lDxXoMszFy0UwCmk5tOhWOyUac4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 19:49:07 -0000 Bob Proulx writes: > If you have placed an automated routine in your > particular editor (remember that other people on > your team will use different editors with differing > capabilities) that touches every line in the file > then you will start making changesets that contain > a lot of noise. You will check in a result that > cannot be reasonably reviewed by a peer review > group. If the group is at all reasonable they will > reject your change-set and send you back to work on > it further. The Elisp code I've posted and the Emacs batch command is to show how easy this can be automatized. For this to work at the level of peer review, it can't be implemented exactly like that. It has do be done centrally or at the level of the peer review software which everyone working on the project is assumed to use. That clarified, I still don't think it is a difficult thing to do. Because bottom line, no one ever needs that trailing whitespace. It can always be safely just dropped with nothing to it! > And even for those folks who are just working solo. > Your work is your reputation. If your work is good > then so is your reputation. If your work is crufty > then the same with your reputation. Because of > version control your work is not just the finished > file but the history of the file too. Really? Are people reviewing the history of files so they can bash people's reputation even tho the end result is good? If so, I'm happy I don't do that on either side of it... While I do not consider cleaning files to be the spoilation of anyone's reputation, I do not suggest anyone does this "client-side". While it'll work some people will add more later (their reputation will drop I suppose) and then the circus is afoot. No - it should be done "server-side" once (with a command) and then automatically never allowed inside again. Or the automatization can be put to work and then file by file will be cleaned in time. > This is why I think cleanup should be done > explicitly as an explicit action and not as a side > effect of other random changes. I guess it depends how big the files are, how active people are reviewing them, and how specific information you get from the software what changes has been made. Probably it isn't difficult to see where there has been qualitative changes and where there has just been a bunch of trailing whitespace removed. Even so, I agree "explicit action" to the entire project is preferable, and my command can do this to the entire project in one keystroke. After that, automatization (also very simple) is implemented to drop trailing whitespace forever on and to not regard that as something anyone ever has to "review". Because again, no one benefits from it so no one should want it. >> However not wanting to have trailing whitespace and >> having it automatized in four lines of Elisp and >> then have the desired behavior forever seems like >> rather good craftmanship to me... > > Your good craftmanship feels to me like a buldozer > rolling through regardless of the other traffic. > You will get to where you want to go but no one will > want to be near you while you are doing it. Rather like a surgeon removing dead tissue with a waldo robot arm holding a laser scalpel... Recall that `remove-trailing-whitespace' doesn't do anything if there is nothing to be done! > Aside: What? You haven't painted your house in the > last year? People will think your house is abandoned > if you haven't changed the paint color at least > every year. That is the way some software projects > feel to me. Definitely. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Fri Feb 26 14:57:51 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZOWN-0000HS-0S for mharc-help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 14:57:51 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47378) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZOWK-0000Gc-Oq for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 14:57:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZOWH-0005dK-JF for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 14:57:48 -0500 Received: from plane.gmane.org ([80.91.229.3]:53416) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZOWH-0005d9-CM for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 14:57:45 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aZOWF-0004eT-RB for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 20:57:43 +0100 Received: from nl106-137-170.student.uu.se ([130.243.137.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Feb 2016 20:57:43 +0100 Received: from embe8573 by nl106-137-170.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Feb 2016 20:57:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Help setting up POP3 email (rmail) Date: Fri, 26 Feb 2016 20:57:37 +0100 Lines: 32 Message-ID: <8737sfjlce.fsf@debian.uxu> References: <87wppvc52x.fsf@robertthorpeconsulting.com> <87d1rlu0v9.fsf@debian.uxu> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-170.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:00qhLZ6bRYPLaFHpsCiQ836yLtg= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 19:57:49 -0000 writes:] > Following your code, emacs will return me the > following error: > > At startup: > > 'load-with-code-conversion: Symbol's value as > variable is void: smtpmail-smtp-server' Try to put this above the code and have that eval'd as well: (require 'smtpmail) > ...and trying to send my email, after asking me for > my server username, email and password... > > 'smtpmail-send-it: Sending failed: 550-Requested > action not taken: mailbox unavailable 550 Sender > address is not allowed.' That means you have either sent to an bogus target or your ISP don't allow you to send mails. But I think the problem is still with your configuration... Examine it more closely and ask again if you don't know. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Fri Feb 26 18:56:56 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZSFk-0002sT-3U for mharc-help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 18:56:56 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46318) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZSFg-0002qU-P8 for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 18:56:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZSFd-0003mT-F4 for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 18:56:52 -0500 Received: from w1.tutanota.de ([81.3.6.162]:51839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZSFd-0003mN-4d for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 18:56:49 -0500 Received: from localhost (unknown [127.0.0.1]) by w1.tutanota.de (Postfix) with ESMTP id B9ACEFA0938 for ; Fri, 26 Feb 2016 23:56:47 +0000 (UTC) Received: from w1.tutanota.de ([127.0.0.1]) by localhost (w1.tutanota.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eCL-icfsFdIC for ; Fri, 26 Feb 2016 23:56:45 +0000 (UTC) Received: from w1.tutanota.de (unknown [127.0.0.1]) by w1.tutanota.de (Postfix) with ESMTP id 3F80BFA7C57 for ; Fri, 26 Feb 2016 23:56:45 +0000 (UTC) Date: Fri, 26 Feb 2016 23:56:45 +0000 (GMT) From: To: Emanuel Berg Message-ID: In-Reply-To: <8737sfjlce.fsf@debian.uxu> References: < (cptvlaze@tutamail.com)> <87wppvc52x.fsf@robertthorpeconsulting.com> <87d1rlu0v9.fsf@debian.uxu> <8737sfjlce.fsf@debian.uxu> Subject: Re: Help setting up POP3 email (rmail) MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 81.3.6.162 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2016 23:56:54 -0000 It does not seem to work :( I'm attaching my code, just for revision... ;; Firstly setup SMTP. (require 'smtpmail) (setq send-mail-function 'smtpmail-send-it) =C2=A0 =C2=A0 =C2=A0 smtpmail-smtp-server "mail.foomail.com" =C2=A0 =C2=A0 =C2=A0 smtpmail-smtp-service 587 =C2=A0 =C2=A0 =C2=A0 user-mail-address "foo@foomail") ;; The line below puts sent items into an mbox file. (setq mail-default-headers "FCC: ~/Mail/Sent") ;; This puts my name correctly in email To/From lines. (setq user-full-name "Fooname Barname") ;; Setup Rmail (setq rmail-primary-inbox-list =C2=A0 =C2=A0 =C2=A0 (cons (concat "pop3://" =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "foo@= foomail.com" =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "foop= assword" =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "@mai= l.foomail.com") nil)) --------- Now I'm getting: load-with-code-conversion: Invalid read syntax: ")" Ah, and emacs tells me to 'Send Mail via Gnus Mail'. I guess this code is for gnus, isn't it? Thank you for your attention! 26. Feb 2016 20:57 por embe8573@student.uu.se: > <> cptvlaze@tutamail.com> > writes:] > >> Following your code, emacs will return me the >> following error: >> >> At startup: >> >> 'load-with-code-conversion: Symbol's value as >> variable is void: smtpmail-smtp-server' > > Try to put this above the code and have that eval'd as > well: > > (require 'smtpmail) > >> ...and trying to send my email, after asking me for >> my server username, email and password... >> >> 'smtpmail-send-it: Sending failed: 550-Requested >> action not taken: mailbox unavailable 550 Sender >> address is not allowed.' > > That means you have either sent to an bogus target or > your ISP don't allow you to send mails. > > But I think the problem is still with your > configuration... Examine it more closely and ask again > if you don't know. > > -- > underground experts united > http://user.it.uu.se/~embe8573 From MAILER-DAEMON Fri Feb 26 19:06:26 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZSOw-0004zr-Ri for mharc-help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 19:06:26 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZSOv-0004zf-67 for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 19:06:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZSOu-0005Xr-Cm for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 19:06:25 -0500 Received: from mail-yk0-x230.google.com ([2607:f8b0:4002:c07::230]:34240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZSOu-0005Xf-8Z for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 19:06:24 -0500 Received: by mail-yk0-x230.google.com with SMTP id u9so42493977ykd.1 for ; Fri, 26 Feb 2016 16:06:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=SiYe9lJhTJM3e8ROixByPyJLOsupLL9T31UWgmEqGJU=; b=InL4smMNKliAEms8qiuiilJwFdNidkHhQ4WATduAsusg5ajw/2m/QBOQovce9DuInb LuJe0FkSNM7DW44BWTq+QKgezlbyvdExtLhKnFzp8358otDn1eL+Q6BPcrbFEy129IID M6GpIIW25dcziJiN9oDbSYusXiy0FyFnu9AKN9rMCJiJIpGqaAdsvQDavTgnPoFZCRTo eN+94NbpeNEe961MfizQ8q/qxKuR+63wNzVpSFLwg1ndRLeZeNRLbZnPc97cFfYEu4JM X1dLe1/pzJWfmOGnU1IKVY9VgpbG8wMYk3bPAjSJ4O7qvYy6So8yE26UnUaFU8zIOAOA JJgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=SiYe9lJhTJM3e8ROixByPyJLOsupLL9T31UWgmEqGJU=; b=c7kiD8DvCfArMMjyOtMftERQ6KqEpl8FxQ/vJY2JXpGDdWAf3QKVR64X3wB+UgSt8f rKpvf8quuWLVnizYv8yqq28s7oqCg8bRCngoYIk/YdbGsyIj5RT8Cf+siyntu8tGk1Jw 2l9Qt5vJhueMY67UdW0eP2yoqCzRFFt2UjUOiI9Yg/lwD2n/1yviyOT59N4Rj/UpcTjk zp68K+ENk1RajgboUdmoMJL6m5sx1h3czxUofLnTBME4UEGi/owH6qre10AHU3k7rLLU eEgqhHfJFgLjSPgFjWiCf/36HyVJQf746ysWBeonONMatnvm8/eximBInCiz7x/W4XMA EeqQ== X-Gm-Message-State: AD7BkJL5LNhrubN9Dq2Jz2TnGO0CeAvbIVXP++t6JzGDZSv+VJ+ShzKl/z/kWz+WI6tLhnmIe4T6oZj44rZL6Q== X-Received: by 10.37.81.69 with SMTP id f66mr2536842ybb.158.1456531583541; Fri, 26 Feb 2016 16:06:23 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.66.76 with HTTP; Fri, 26 Feb 2016 16:06:04 -0800 (PST) In-Reply-To: References: <87wppvc52x.fsf@robertthorpeconsulting.com> <87d1rlu0v9.fsf@debian.uxu> <8737sfjlce.fsf@debian.uxu> From: John Mastro Date: Fri, 26 Feb 2016 16:06:04 -0800 Message-ID: Subject: Re: Help setting up POP3 email (rmail) To: "help-gnu-emacs@gnu.org" Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4002:c07::230 Cc: cptvlaze@tutamail.com X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 00:06:26 -0000 wrote: > It does not seem to work :( I'm attaching my code, just for revision... > > ;; Firstly setup SMTP. > (require 'smtpmail) > (setq send-mail-function 'smtpmail-send-it) > smtpmail-smtp-server "mail.foomail.com" > smtpmail-smtp-service 587 > user-mail-address "foo@foomail") > ;; The line below puts sent items into an mbox file. > (setq mail-default-headers "FCC: ~/Mail/Sent") > ;; This puts my name correctly in email To/From lines. > (setq user-full-name "Fooname Barname") I don't know anything about POP3 or Rmail, but you have an extra right paren: (setq send-mail-function 'smtpmail-send-it) <<<<<< smtpmail-smtp-server "mail.foomail.com" smtpmail-smtp-service 587 user-mail-address "foo@foomail") Hope that helps -- john From MAILER-DAEMON Fri Feb 26 19:44:38 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZSzu-0007R0-8f for mharc-help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 19:44:38 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54748) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZSzr-0007Og-8V for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 19:44:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZSzn-0007lG-T9 for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 19:44:35 -0500 Received: from plane.gmane.org ([80.91.229.3]:41144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZSzn-0007lA-MV for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 19:44:31 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aZSzl-0007XH-9m for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 01:44:29 +0100 Received: from nl106-137-170.student.uu.se ([130.243.137.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Feb 2016 01:44:29 +0100 Received: from embe8573 by nl106-137-170.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Feb 2016 01:44:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Help setting up POP3 email (rmail) Date: Sat, 27 Feb 2016 01:44:17 +0100 Lines: 64 Message-ID: <87y4a7hti6.fsf@debian.uxu> References: <87wppvc52x.fsf@robertthorpeconsulting.com> <87d1rlu0v9.fsf@debian.uxu> <8737sfjlce.fsf@debian.uxu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-170.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:P+Vx7HgZAzgqNjZK/EDOZs4BHH0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 00:44:36 -0000 writes: > ;; Firstly setup SMTP. (require 'smtpmail) (setq > send-mail-function 'smtpmail-send-it)       > smtpmail-smtp-server "mail.foomail.com"       > smtpmail-smtp-service 587       user-mail-address > "foo@foomail") Mr. Mastro already mentioned the erroneous right parenthesis which is what in particular is causing your problem at this point. In general it is better to do `setq' for every variable, i.e., (setq send-mail-function 'smtpmail-send-it) (setq smtpmail-smtp-server "mail.foomail.com") ;; and so on The exception to the rule is when the same data appears in several variables, then you shouldn't have (for consistency reasons) the data several times but instead, e.g., (setq gnus-extra-headers '(To Cc Keywords Gcc Newsgroups X-Spam-Flag) nnmail-extra-headers gnus-extra-headers) (But you can have several setq there as well.) > ;; The line below puts sent items into > an mbox file. (setq mail-default-headers "FCC: > ~/Mail/Sent") In Gnus you can also have a designated archive group for sent material, e.g. (setq gnus-message-archive-group "nnml:mail.sent") > ;; This puts my name correctly in email > To/From lines. (setq user-full-name "Fooname Barname") We are waiting for that to happen :) > Ah, and emacs tells me to 'Send Mail via Gnus Mail'. > I guess this code is for gnus, isn't it? Gnus can use it but so can Rmail and just about anything. So you can focus on getting all data right. Once they are, you should be a stone-throw away from getting either Rmail, Gnus, or for that matter any other mail client to work with just another few lines of application-specific configuration. > Thank you for your attention! Thank us by getting Rmail or Gnus up with at proper To:, and then use proper citing/quoting in all your mails, i.e. not top-posting... -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Fri Feb 26 22:59:18 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZW2I-0007fZ-8q for mharc-help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 22:59:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZW2F-0007eY-Ko for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 22:59:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZW2A-0008G4-M8 for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 22:59:15 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:34286) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZW2A-0008Fs-FV for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 22:59:10 -0500 Received: from [175.103.25.178] (helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aZW1h-0001dj-3u; Sat, 27 Feb 2016 04:58:41 +0100 From: Lars Magne Ingebrigtsen To: Peter =?iso-8859-1?Q?M=FCnster?= Subject: Re: kill buffer created by url-retrieve-synchronously References: Date: Sat, 27 Feb 2016 14:28:36 +1030 In-Reply-To: ("Peter \=\?iso-8859-1\?Q\?M\=FCnster\=22's\?\= message of "Fri, 26 Feb 2016 12:25:50 +0100") Message-ID: <87lh66ls7n.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MailScanner-ID: 1aZW1h-0001dj-3u X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: lmi@gnus.org MailScanner-NULL-Check: 1457150322.45362@QpviG7aL56w5F7kBTKYiMw X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 03:59:16 -0000 Peter M=FCnster writes: > What should I do to ensure, that these buffers are always killed at the > end of the function please? Slap an `unwind-protect' around the main part of your function, and have the `kill-buffer' in the unwind forms. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From MAILER-DAEMON Fri Feb 26 23:05:49 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZW8b-0000NA-LP for mharc-help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 23:05:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZW8a-0000N0-4T for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 23:05:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZW8V-0001HS-4a for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 23:05:48 -0500 Received: from plane.gmane.org ([80.91.229.3]:54765) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZW8U-0001HN-Tz for help-gnu-emacs@gnu.org; Fri, 26 Feb 2016 23:05:43 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aZW8R-0003IU-K2 for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 05:05:39 +0100 Received: from nl106-137-170.student.uu.se ([130.243.137.170]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Feb 2016 05:05:39 +0100 Received: from embe8573 by nl106-137-170.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Feb 2016 05:05:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Help setting up POP3 email (rmail) Date: Sat, 27 Feb 2016 05:05:21 +0100 Lines: 67 Message-ID: <87r3fyiyri.fsf@debian.uxu> References: <87wppvc52x.fsf@robertthorpeconsulting.com> <87d1rlu0v9.fsf@debian.uxu> <8737sfjlce.fsf@debian.uxu> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-170.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:G2QZT+Zi1ZA/+9z9jEQnLAMsueU= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 04:05:49 -0000 John Mastro writes: > I don't know anything about POP3 or Rmail Rmail is a mail-reader which you can hook to your mailbox by means of the POP or IMAP protocols (Post Office Protocol and Internet Message Access Protocol). It is an Emacs interface to using those protocols and a mail server, and then having the result organized, basically. You can also use Rmail as an interface to send mails - you can use the data displayed by Rmail to populate a message buffer, and then send it. But the message mode is actually Gnus! RMS, big-time mail writer and Rmail user, said about it that: Rmail is the primary Emacs mail-reader. I don't know how many people currently use it, but I will ignore any suggestion to treat it as unimportant. Well, no one is saying Rmail is unimportant but compared to Gnus it is very primitive even if you don't consider everything else that comes with Gnus that doesn't come with Rmail. For example Rmail stores every mail in a single file! This makes it a pain doing anything with it with common shell tools. It is very un-Unixy which isn't a matter of principle but an obstacle dealing with it. So Gnus is, apart from everything else it does which is alot, a much more powerful mail-reader than Rmail. The word "primary" is... well, something! as both Gnus and Rmail comes with Emacs out of the box. Rmail should not be confused with the shell tool rmail which has to do with ancient UUCP technology. The POPs including POP3 are 80s protocols on the TCP/IP stack that fetch mail batch style, by default deleting them on the mail server when done downloading the to the disk. Compared to IMAP POP is much simpler which is why it is still around. IMAP supports simultaneous connections to a mailbox, and also a mail directory structure which POP doesn't. IMAP can also do stuff to the material on the server while POP basically gets the data and then deletes it (on the server). Any questions? :) PS. When Lumumba was campaigning in Congo he always ended his speeches with that question. There were never any questions, because if they were, the person who asked was beaten up after the meeting was concluded. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Sat Feb 27 02:44:02 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZZXm-00028m-FC for mharc-help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 02:44:02 -0500 X-Received: by 10.13.238.130 with SMTP id x124mr3749818ywe.53.1456538380472; Fri, 26 Feb 2016 17:59:40 -0800 (PST) X-Received: by 10.50.2.36 with SMTP id 4mr18444igr.2.1456538380397; Fri, 26 Feb 2016 17:59:40 -0800 (PST) Path: usenet.stanford.edu!y89no4371311qge.0!news-out.google.com!pn7ni3378igb.0!nntp.google.com!hb3no9398416igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: gnu.emacs.help Date: Fri, 26 Feb 2016 17:59:39 -0800 (PST) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=89.28.117.31; posting-account=-bDLLQoAAABSuVFbW3VCrbfQMY4zeJ3c NNTP-Posting-Host: 89.28.117.31 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2b5da096-ab4d-4803-9a62-dbed5c036514@googlegroups.com> Subject: Use 7x13 fixed X font for Cyrillic From: Vladimir Panteleev Injection-Date: Sat, 27 Feb 2016 01:59:40 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: usenet.stanford.edu gnu.emacs.help:217039 To: help-gnu-emacs@gnu.org X-Mailman-Approved-At: Sat, 27 Feb 2016 02:44:01 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 02:00:08 -0000 Hi, When I use: (set-face-attribute 'default nil :font "7x13") Emacs seems to use a different font for the Cyrillic (and some other non-ASCII) characters, apparently 12x13: http://dump.thecybershadow.net/69ef3dd90f228f8989f5b0f11aa0b281/emacs-cyrillic.png However, I can use 7x13 for Cyrillic in rxvt-unicode, so the font does exist and is usable. I've tried variations of this, with no effect: (set-fontset-font "fontset-default" 'cyrillic-iso8859-5 (font-spec :font "7x13")) Can I get Emacs to use this font, or is it an Emacs bug? From MAILER-DAEMON Sat Feb 27 03:00:27 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZZnf-00060s-P4 for mharc-help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 03:00:27 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZZnc-00060X-72 for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 03:00:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZZnX-0000oF-7z for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 03:00:24 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40879) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZZnX-0000oB-4V for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 03:00:19 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3851 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aZZnW-00029l-E6 for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 03:00:18 -0500 Date: Sat, 27 Feb 2016 09:59:59 +0200 Message-Id: <83mvqmd1mo.fsf@gnu.org> From: Eli Zaretskii To: help-gnu-emacs@gnu.org In-reply-to: <2b5da096-ab4d-4803-9a62-dbed5c036514@googlegroups.com> (message from Vladimir Panteleev on Fri, 26 Feb 2016 17:59:39 -0800 (PST)) Subject: Re: Use 7x13 fixed X font for Cyrillic References: <2b5da096-ab4d-4803-9a62-dbed5c036514@googlegroups.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 08:00:25 -0000 > Date: Fri, 26 Feb 2016 17:59:39 -0800 (PST) > From: Vladimir Panteleev > > When I use: > > (set-face-attribute 'default nil :font "7x13") > > Emacs seems to use a different font for the Cyrillic (and some other non-ASCII) characters, apparently 12x13: > > http://dump.thecybershadow.net/69ef3dd90f228f8989f5b0f11aa0b281/emacs-cyrillic.png > > However, I can use 7x13 for Cyrillic in rxvt-unicode, so the font does exist and is usable. What version of Emacs is that? > I've tried variations of this, with no effect: > > (set-fontset-font "fontset-default" 'cyrillic-iso8859-5 (font-spec :font "7x13")) What happens if you use the explicit name of the font? I think using font-spec is not going to work in this case, because it just looks for matching fonts, something that Emacs already did when it decided not to use that font. From MAILER-DAEMON Sat Feb 27 04:03:34 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZamk-0004I3-S5 for mharc-help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 04:03:34 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZamj-0004Hr-4a for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 04:03:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZamf-0000Dr-17 for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 04:03:33 -0500 Received: from mail.tuxteam.de ([5.199.139.25]:58257 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZame-00009N-Qu for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 04:03:28 -0500 Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1aZaF0-0007wf-UB for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 09:28:42 +0100 Date: Sat, 27 Feb 2016 09:28:42 +0100 To: help-gnu-emacs@gnu.org Subject: Re: Help setting up POP3 email (rmail) Message-ID: <20160227082842.GA30139@tuxteam.de> References: <87wppvc52x.fsf@robertthorpeconsulting.com> <87d1rlu0v9.fsf@debian.uxu> <8737sfjlce.fsf@debian.uxu> <87r3fyiyri.fsf@debian.uxu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed In-Reply-To: <87r3fyiyri.fsf@debian.uxu> User-Agent: Mutt/1.5.21 (2010-09-15) From: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 09:03:33 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, Feb 27, 2016 at 05:05:21AM +0100, Emanuel Berg wrote: > [...] For example Rmail stores > every mail in a single file! This makes it a pain > doing anything with it with common shell tools. It is > very un-Unixy which isn't a matter of principle but an > obstacle dealing with it [...] I doubt you know what you are talking about. I'm not myself a fan of maildir (one file per message plus hiding metadata in the file name -- I just don't like that) -- but it's as Unixy as it gets (qmail, D.J. Bernstein, ca 1990-some). > Any questions? > > :) No, Sir ;-) - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlbRXjoACgkQBcgs9XrR2ka6EwCfedTnpAxpezepBUSuxPhs518l bfMAn0S7hmCkGCuSTdZi4yWK4GrqWTLM =WBLb -----END PGP SIGNATURE----- From MAILER-DAEMON Sat Feb 27 04:55:46 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZbbG-0001Eb-UR for mharc-help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 04:55:46 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZbbD-0001BR-Vo for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 04:55:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZbb9-0005R8-0d for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 04:55:43 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42946) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZbb8-0005R4-Tl for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 04:55:38 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4564 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aZbb8-0005jf-6b for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 04:55:38 -0500 Date: Sat, 27 Feb 2016 11:55:19 +0200 Message-Id: <83a8mmcwag.fsf@gnu.org> From: Eli Zaretskii To: help-gnu-emacs@gnu.org In-reply-to: <20160227082842.GA30139@tuxteam.de> (tomas@tuxteam.de) Subject: Re: Help setting up POP3 email (rmail) References: <87wppvc52x.fsf@robertthorpeconsulting.com> <87d1rlu0v9.fsf@debian.uxu> <8737sfjlce.fsf@debian.uxu> <87r3fyiyri.fsf@debian.uxu> <20160227082842.GA30139@tuxteam.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Eli Zaretskii List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 09:55:44 -0000 > Date: Sat, 27 Feb 2016 09:28:42 +0100 > From: > > On Sat, Feb 27, 2016 at 05:05:21AM +0100, Emanuel Berg wrote: > > > [...] For example Rmail stores > > every mail in a single file! This makes it a pain > > doing anything with it with common shell tools. It is > > very un-Unixy which isn't a matter of principle but an > > obstacle dealing with it [...] > > I doubt you know what you are talking about. He doesn't. (Rmail doesn't store each mail in a separate file.) From MAILER-DAEMON Sat Feb 27 08:54:33 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZfKL-0005zf-RH for mharc-help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 08:54:33 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60543) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZc3s-00079u-UJ for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 05:25:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZc3p-0003gF-Og for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 05:25:20 -0500 Received: from mout.gmx.net ([212.227.15.18]:51996) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZc3p-0003g3-FB for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 05:25:17 -0500 Received: from Mother-Brain ([95.21.185.229]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LnxxQ-1ZyKIt0fnM-00fwes; Sat, 27 Feb 2016 11:25:15 +0100 From: Joe Westlaw To: cptvlaze@tutamail.com Subject: Re: Help setting up POP3 email (rmail) Date: Sat, 27 Feb 2016 11:24:56 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:NRPOnBDxrKLaes0xe9RwXPpPHCIN63CplDVzdfeF1Hb6tFM+A70 W9Ck02k69aSbMczryfXYRFADe50tGBl303x0sJ9Na3E21o4xL5g0fxrljSLRBlocttdwS9e mgKgG3OyvC0wIBmnOFLWo4oh0X6sNhbYIrnN3ADM/LQAfX+Z1jCwVMPWOGIRA3l0GUEMVQ2 ZuzZPdX8Bgr58XXOK/HDg== X-UI-Out-Filterresults: notjunk:1;V01:K0:ka0vj1REX7A=:bzSbHpQmOpxTdhp5rKQl1y WIcQxYa2k00ZQ7J7B8YFFro6PAmBSKIqT951va+UUG1hLJi5WEklUhxP/gNo+W4FoJKmzN7EW tii/1WR4EsVmqB829sxfqtmD08wq63euHhG01TLY+hCOnVmP+tRUwua+wtiaTtgw6wwC6yDFg iEMBn9aha4ct1OwvV9K+M/6fSXrpgvmy4g6GTyV5uY4/Aj3Ru8JbH0bxcBsqd/BgiPAcgaShh HHK+hwnY2mqyBFZiG9nW4HL4ReQ+NBkL1POTky0m8UjocnB9FOYlefLn5pW/P+2110D+nmxZH JCtn2CLmfiDTFCwbrT10oLXomSCc7m1ygBMN/LwZXIaDp3q9UVDIXyR4sbVZxqKczT7cMmcsN 3vvFbttblHXiCpMbBijJUm9VKxNUvlscPWeQmM/Dnx7+BKSAqui5jp7/B1zfgBKZU3t+X//C9 Zxq2I+VSjdHW7X8s0sxH7hru8XOVT1PEv7Zm6+C7lIGB6brDqfHQei/VLonuU0nZswyk8/P5E tHR/6ACwRpjtTS6RRgjO6ygdMb1EzF1M/u4gdieFSZV2qTK35yVqIosU/puVM1WkunAFZQhRD 4Op6ARpsn2hGom4u+0sBS6kA5cj3TkNolG7+JvDktnH2hxC3Z5qXLlTakisPlSvHjKdQtkQ5i +EgC5eDMnm8owq7U/DXNDSFFoWw0+1NwvYk5tlqxm+xtCayo3RswnOAgHV+omn5oZ0J33C8LV MFaSO66LjYXJIOjlPWn16vu60ENpJNs2qOcUgwZb1hezMlebsu4OyY6VHq+F4MPzfiZapcD6k 6atrsTW X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.18 X-Mailman-Approved-At: Sat, 27 Feb 2016 08:54:33 -0500 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 10:25:21 -0000 This mail is being sended using emacs. It worked! Thank you for your dedication and time, it's been a pleasure. From MAILER-DAEMON Sat Feb 27 09:45:13 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZg7N-0004QX-Sm for mharc-help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 09:45:13 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47154) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZg7L-0004QD-Ke for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 09:45:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZg7G-0003OH-MJ for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 09:45:11 -0500 Received: from mout.gmx.net ([212.227.15.19]:51193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZg7G-0003Nn-Dn for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 09:45:06 -0500 Received: from Mother-Brain ([95.21.185.229]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MU11l-1aQdft3Kbp-00QnB6 for ; Sat, 27 Feb 2016 15:45:05 +0100 Date: Sat, 27 Feb 2016 15:45:03 +0100 Message-Id: To: help-gnu-emacs@gnu.org Subject: rmail not working in console mode From: Joe Westlaw X-Provags-ID: V03:K0:KHH6JTcmJUX1KrFbIZ35yl+W8CXhMNVVghPqJC87sKSy6oqEGbi npkueiHPdwNYPFgLCdCqGN4JZ7Cu5VRLhB0JSU4uuOqIR0IeeyJwRMKCL0kbzax0WTnMWC4 JJtF1VbPBSUHiNMM1z7bBJ5mn/Fh4H5rtRPqTRrg27NoPid191uaM/d4vc15z8x+vdGlbf9 /HMORr+I6OAOk4tLsW7Og== X-UI-Out-Filterresults: notjunk:1;V01:K0:rP9cNQdpn+0=:9usI5EKqx5WclxEQ65FN7X RPDfRqwRHF7YewBXTQumlBXLsARjgz6Pl5DjWAd89T9hQ6kpIj9NTPU8BWGnKQWCZHND0KrEf OfyyJUkCjfg8A/oydUvbWIYH2K4Hs7vMcL369VWE6tOGe3IXk3NBbTZ9F1QhMEa5mrPxlmigj P2/ta4KG5k3jo0B7g6hZGjxaWu8CZSo4Yhj9wK6cHVDn6JMXax4pSh/Bs0Fkl5rIqKXvTPFEO +5E42p/xYNlC69b2CjeYcNJ29F5/hvlWi+NJI3vx2QjnITmdDUWHUOPl+u7MpgXoJNUPV7NKV 62wNP1EOqgF+cca3IZ6tRqWrKZWOfwxDCUvEcS4lT8VHCZwDxcY+mxs2OD1o4xqIE0QtX3GZA 5sZ9wvt4wfuA+7/mW0T6I2FxB0874SonfvXLhkalDmEtmGwgjAhTDbVNoM50OcJUmm/VVRk4O arKOUghTxIDvvc6MX65HMhJdlwwdj+0g5FHcAnMquA/Jxl3G0KjEYcqmLHHqoiB6rIavymvx4 CHcDisQ8qVjVudmpFuNi0+YqBn1PBkIUJ0XE2ROTmbyvefUbIADmvQSVsSIj4onTeF0mEP6PS OaBYvFjJw1oxjS+kQ1OknSN8YbFxP/G4M4StsfWpqVB0J1rqM1FKLCLmWr3QdOaFAa5Rt/A4U 4+V09L4o89ckIysHqJLgiRALGEAmSrsmFDuNwhT4VbF0SzpujuxMFf7h4999VQpIa7zYXWPP7 lwviYgwDIRRo5+ijR6gBWVV6MF5zGWiUQP8/Q3QMG4mrsMZ96+6EgogWyuo= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.19 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 14:45:12 -0000 I've finally managed to set up email in emacs, either reading or writing. The problem comes when I try to use emacs in console mode (tty1). Whenever I try to read mail with M-x rmail, emacs will ask me for my POP Password (which I guees it's my email password). Once entered, it will return me the following error: Getting mail from remote sercer ... movemail: Error connecting to POP server: -ERR authentication failed (No new mail has arrived) Does anybody have a solution? From MAILER-DAEMON Sat Feb 27 12:55:59 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZj5z-0006tL-Ha for mharc-help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 12:55:59 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZj5x-0006t5-RC for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 12:55:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZj5u-0008AT-LG for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 12:55:57 -0500 Received: from plane.gmane.org ([80.91.229.3]:51600) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZj5u-0008AN-Ec for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 12:55:54 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aZj5s-0003bD-Q2 for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 18:55:52 +0100 Received: from arennes-651-1-330-45.w2-14.abo.wanadoo.fr ([2.14.65.45]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Feb 2016 18:55:52 +0100 Received: from pmlists by arennes-651-1-330-45.w2-14.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Feb 2016 18:55:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: =?utf-8?Q?Peter_M=C3=BCnster?= Subject: Re: kill buffer created by url-retrieve-synchronously Date: Sat, 27 Feb 2016 18:55:44 +0100 Lines: 30 Message-ID: <87lh66f36n.fsf@roche-blanche.net> References: <87lh66ls7n.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: arennes-651-1-330-45.w2-14.abo.wanadoo.fr User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:JrwFjYsEWr3GO8eY/e6MVgTusWE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 17:55:58 -0000 On Sat, Feb 27 2016, Lars Magne Ingebrigtsen wrote: > Slap an `unwind-protect' around the main part of your function, and have > the `kill-buffer' in the unwind forms. Thanks. But it still does not work. Just an idea: Is it possible, that the with-timeout form kills the url-retrieve-synchronously function because of the timeout, but the buffer has already been created? Here my new function: --8<---------------cut here---------------start------------->8--- (defun pm/get-json (url) "Copied from http://frozenlock.org/2012/07/07/url-retrieve-and-json-api/." (let (my-json-buffer) (unwind-protect (let ((url-mime-encoding-string "identity")) (setq my-json-buffer (with-timeout (3 nil) (url-retrieve-synchronously url))) (with-current-buffer my-json-buffer (goto-char (point-min)) (re-search-forward "^$") (json-read))) (if my-json-buffer (kill-buffer my-json-buffer))))) --8<---------------cut here---------------end--------------->8--- -- Peter From MAILER-DAEMON Sat Feb 27 15:30:10 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZlVC-0005Fx-Lg for mharc-help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 15:30:10 -0500 X-Received: by 10.140.40.239 with SMTP id x102mr23573144qgx.23.1456604767273; Sat, 27 Feb 2016 12:26:07 -0800 (PST) X-Received: by 10.50.2.36 with SMTP id 4mr66581igr.2.1456604767237; Sat, 27 Feb 2016 12:26:07 -0800 (PST) Path: usenet.stanford.edu!w104no3840926qge.1!news-out.google.com!k1ni2858igd.0!nntp.google.com!ok5no5121602igc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: gnu.emacs.help Date: Sat, 27 Feb 2016 12:26:06 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=89.28.117.31; posting-account=-bDLLQoAAABSuVFbW3VCrbfQMY4zeJ3c NNTP-Posting-Host: 89.28.117.31 References: <2b5da096-ab4d-4803-9a62-dbed5c036514@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <9f89c7fe-19e2-4d24-89f9-630d830f8b67@googlegroups.com> Subject: Re: Use 7x13 fixed X font for Cyrillic From: Vladimir Panteleev Injection-Date: Sat, 27 Feb 2016 20:26:07 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: usenet.stanford.edu gnu.emacs.help:217048 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 20:30:09 -0000 On Saturday, February 27, 2016 at 8:00:31 AM UTC, Eli Zaretskii wrote: > What version of Emacs is that? GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.6) of 2015-09-10 on foutrelis > > I've tried variations of this, with no effect: > > > > (set-fontset-font "fontset-default" 'cyrillic-iso8859-5 (font-spec :font "7x13")) > > What happens if you use the explicit name of the font? I think using > font-spec is not going to work in this case, because it just looks for > matching fonts, something that Emacs already did when it decided not > to use that font. I've also tried this with no visible change: (set-fontset-font "fontset-default" 'cyrillic-iso8859-5 '("-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1" . "iso10646-1")) (set-fontset-font "fontset-default" 'cyrillic-iso8859-5 '("-misc-fixed-medium-r-normal--13-120-75-75-c-70-koi8-r" . "koi8-r")) From MAILER-DAEMON Sat Feb 27 15:50:10 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZloY-00015e-N7 for mharc-help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 15:50:10 -0500 Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!feeder.erje.net!2.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: Javier Newsgroups: gnu.emacs.help Subject: Re: Use 7x13 fixed X font for Cyrillic Date: Sat, 27 Feb 2016 20:46:45 +0000 (UTC) Organization: Aioe.org NNTP Server Lines: 31 Message-ID: References: <2b5da096-ab4d-4803-9a62-dbed5c036514@googlegroups.com> NNTP-Posting-Host: NpGanX2njae9ZwyoZgDYiQ.user.gioia.aioe.org X-Complaints-To: abuse@aioe.org User-Agent: tin/2.2.1-20140504 ("Tober an Righ") (UNIX) (Linux/3.18.6-1-ARCH (x86_64)) X-Notice: Filtered by postfilter v. 0.8.2 Xref: usenet.stanford.edu gnu.emacs.help:217049 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 20:50:08 -0000 Vladimir Panteleev wrote: > However, I can use 7x13 for Cyrillic in rxvt-unicode, so the font does exist and is usable. > > I've tried variations of this, with no effect: > > (set-fontset-font "fontset-default" 'cyrillic-iso8859-5 (font-spec :font "7x13")) > > Can I get Emacs to use this font, or is it an Emacs bug? >From the command line font aliases are understood. 'emacs -Q -fn 7x13' should work You can check the explicit name of the font in /usr/share/fonts/misc/fonts.alias 7x13 -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1 7x13bold -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1 7x13euro -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-15 7x13eurobold -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-15 What I have in .emacs is like: (when (equal window-system 'x) (set-face-font 'default "-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1")) Since you want to display cyrillic I changed iso8859 (latin1) to iso10646 (unicode) in the fontname. PS: Not related to your question, but this is also worth checking for setting a list of fonts and changing them on the fly with the keyboard: Firefox-like zooming of fonts. http://www.emacswiki.org/emacs/CycleFontSizes From MAILER-DAEMON Sat Feb 27 15:54:20 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZlsa-0001kW-Pu for mharc-help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 15:54:20 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZlsY-0001kO-TQ for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 15:54:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZlsV-0004hl-Mi for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 15:54:18 -0500 Received: from outbound-smtp10.blacknight.com ([46.22.139.15]:36190) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZlsV-0004hW-GN for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 15:54:15 -0500 Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp10.blacknight.com (Postfix) with ESMTPS id 5B3291C13B5 for ; Sat, 27 Feb 2016 20:54:12 +0000 (GMT) Received: (qmail 13479 invoked from network); 27 Feb 2016 20:54:12 -0000 Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.76.127.107]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 27 Feb 2016 20:54:12 -0000 From: Robert Thorpe To: Emanuel Berg Subject: Re: removing white space highlight In-Reply-To: <87ziuokv2g.fsf@debian.uxu> (message from Emanuel Berg on Fri, 26 Feb 2016 04:29:59 +0100) Date: Sat, 27 Feb 2016 20:54:10 +0000 Message-ID: <87ziul98nh.fsf@robertthorpeconsulting.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 46.22.139.15 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 20:54:19 -0000 Emanuel Berg writes: > This discussion for example is perhaps closing in on > that :) Yes. I'll have one last go at it though. > Robert Thorpe writes: > >>> I'll be like that once for every file. >> >> Yes, for decades. > > Are there so really so many files that are left > untouched for so long? Not files, no, I'm talking about *lines*. Perhaps an example will clarify things.... Here is the (fictional) output of "svn annotate" on a fictional file: $ svn blame nasty.c 103 sally /* important_parameter should be */ 103 sally /* set for modern memory sizes. */ 115 harry int important_parameter = 42; 103 sally For each line the revision is given when the file was changed, and the person who changed it. You can get this with C-x v g from Emacs. Let's say that version 115 was a reasonably recent. In that case it's likely that Harry set tuned important_parameter for current memory sizes at that time. But, what if Harry just deleted some extraneous whitespace from the end of the line? In that case we can't be sure when important_parameter was last set. It may be very old. Removing the whitespace change we may have the situation: $ svn blame -x -b nasty.c 103 sally /* important_parameter should be */ 103 sally /* set for modern memory sizes. */ 24 terry int important_parameter = 42; 103 sally This shows that the last actual change was in revision 24, which was years ago. In the Subversion manual it explicitly mentions this situation. Subversion has a command to deal with it, "-x -b", which ignores whitespace changes. Not all version controls systems have that. It's also not very well known and tools that use the VC system (GUIs and Editors) may not use it. Stefan mentions that Git has a way of doing this too. When all the tools deal with this situation well then I'll be happy with indiscriminate whitespace changes, but we're not at that point yet. BR, Robert Thorpe From MAILER-DAEMON Sat Feb 27 16:13:57 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZmBZ-000596-La for mharc-help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 16:13:57 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZmBW-00058D-VH for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 16:13:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZmBT-0001Np-K9 for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 16:13:54 -0500 Received: from outbound-smtp07.blacknight.com ([46.22.139.12]:48854) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZmBT-0001Nk-DG for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 16:13:51 -0500 Received: from mail.blacknight.com (pemlinmail04.blacknight.ie [81.17.254.17]) by outbound-smtp07.blacknight.com (Postfix) with ESMTPS id 932441C1054 for ; Sat, 27 Feb 2016 21:13:48 +0000 (GMT) Received: (qmail 31117 invoked from network); 27 Feb 2016 21:13:48 -0000 Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.76.127.107]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 27 Feb 2016 21:13:48 -0000 From: Robert Thorpe To: Joe Westlaw Subject: Re: rmail not working in console mode In-Reply-To: (message from Joe Westlaw on Sat, 27 Feb 2016 15:45:03 +0100) Date: Sat, 27 Feb 2016 21:13:47 +0000 Message-ID: <87vb5997qs.fsf@robertthorpeconsulting.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 46.22.139.12 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 21:13:56 -0000 Joe Westlaw writes: > I've finally managed to set up email in emacs, either reading or > writing. The problem comes when I try to use emacs in console mode > (tty1). Whenever I try to read mail with M-x rmail, emacs will ask me > for my POP Password (which I guees it's my email password). Once > entered, it will return me the following error: Just to clarify, are you the guy who has been asking us about Rmail recently. Are you cptvlaze@tutamail.com ? If so, I apologise about the extra parenthesis in that code I quoted. I took it from my init file and I deleted a line in-between. > Getting mail from remote sercer ... > movemail: Error connecting to POP server: -ERR authentication failed > (No new mail has arrived) Are you saying that Rmail works with GUI Emacs but it doesn't work with console Emacs? That's strange. When you're using console Emacs are you using the root account? That could cause problems. Also, are you using all of your normal init file? I'm surprised you have to put (require 'smtpmail) I don't have to do that. Emmanuel Berg writes: > For example Rmail stores > every mail in a single file! This makes it a pain > doing anything with it with common shell tools. It is > very un-Unixy which isn't a matter of principle but an > obstacle dealing with it. Using Rmail all of your mails go to the inbox file first, which is called "RMAIL" by default. That file is in mbox format. You can split those mails into other mbox files, either automatically, semi-automatically or manually. Any of those other mbox files can be opened in an Rmail buffer. The manual way is the "o" command. The automatic way is rmail-automatic-folder-directives and the semi-automatic way is rmail-output-file-alist. You can read about that in the manual (info "(emacs) Rmail Output") and in the documentation for those variable (i.e. C-h v rmail-automatic-folder-directives). It's true that there are some disadvantages to this method. I've found the disadvantages to be more theoretical than practical though. The only one that matters is that if you have a large mbox file (say 50MB) then Emacs becomes faster if you split it up. For example, I put mail from this list in their own mbox file and I make a new one of those every year. BR, Robert Thorpe From MAILER-DAEMON Sat Feb 27 17:55:10 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZnlW-000268-3m for mharc-help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 17:55:10 -0500 X-Received: by 10.107.136.23 with SMTP id k23mr12805793iod.23.1456613583155; Sat, 27 Feb 2016 14:53:03 -0800 (PST) X-Received: by 10.50.138.165 with SMTP id qr5mr72756igb.10.1456613583138; Sat, 27 Feb 2016 14:53:03 -0800 (PST) Path: usenet.stanford.edu!ok5no5139823igc.0!news-out.google.com!k1ni3001igd.0!nntp.google.com!hb3no9638836igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: gnu.emacs.help Date: Sat, 27 Feb 2016 14:53:02 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=89.28.117.31; posting-account=-bDLLQoAAABSuVFbW3VCrbfQMY4zeJ3c NNTP-Posting-Host: 89.28.117.31 References: <2b5da096-ab4d-4803-9a62-dbed5c036514@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <0ea00ce7-49b2-4025-9bad-1c6eefe3cf7e@googlegroups.com> Subject: Re: Use 7x13 fixed X font for Cyrillic From: Vladimir Panteleev Injection-Date: Sat, 27 Feb 2016 22:53:03 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: usenet.stanford.edu gnu.emacs.help:217052 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 22:55:08 -0000 On Saturday, February 27, 2016 at 8:46:49 PM UTC, Javier wrote: > From the command line font aliases are understood. 'emacs -Q -fn 7x13' should work Unfortunately that still produces 12x13 Cyrillic glyphs. > You can check the explicit name of the font in /usr/share/fonts/misc/fonts.alias > > 7x13 -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-1 > 7x13bold -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-1 > 7x13euro -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso8859-15 > 7x13eurobold -misc-fixed-bold-r-normal--13-120-75-75-c-70-iso8859-15 > > What I have in .emacs is like: > > (when (equal window-system 'x) > (set-face-font 'default "-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1")) > > Since you want to display cyrillic I changed iso8859 (latin1) to > iso10646 (unicode) in the fontname. I have the same in fonts.alias. However this still produces the same result: emacs -Q -fn -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1 > PS: Not related to your question, but this is also worth checking for > setting a list of fonts and changing them on the fly with the keyboard: > > Firefox-like zooming of fonts. > http://www.emacswiki.org/emacs/CycleFontSizes From MAILER-DAEMON Sat Feb 27 18:25:11 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZoEZ-0000nf-SB for mharc-help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 18:25:11 -0500 Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!feeder.erje.net!2.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: Javier Newsgroups: gnu.emacs.help Subject: Re: Use 7x13 fixed X font for Cyrillic Date: Sat, 27 Feb 2016 23:23:53 +0000 (UTC) Organization: Aioe.org NNTP Server Lines: 33 Message-ID: References: <2b5da096-ab4d-4803-9a62-dbed5c036514@googlegroups.com> <0ea00ce7-49b2-4025-9bad-1c6eefe3cf7e@googlegroups.com> NNTP-Posting-Host: NpGanX2njae9ZwyoZgDYiQ.user.gioia.aioe.org X-Complaints-To: abuse@aioe.org User-Agent: tin/2.2.1-20140504 ("Tober an Righ") (UNIX) (Linux/3.18.6-1-ARCH (x86_64)) X-Notice: Filtered by postfilter v. 0.8.2 Xref: usenet.stanford.edu gnu.emacs.help:217053 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 23:25:10 -0000 > Unfortunately that still produces 12x13 Cyrillic glyphs. Now I realize what it happens. Latin characters are in 7x13, but Cyrillic appear in 12x13. >From (info "(emacs) Modifying Fontsets") Fontsets do not always have to be created from scratch. If only minor changes are required it may be easier to modify an existing fontset. Modifying `fontset-default' will also affect other fontsets that use it as a fallback, so can be an effective way of fixing problems with the fonts that Emacs chooses for a particular script. Fontsets can be modified using the function `set-fontset-font', specifying a character, a charset, a script, or a range of characters to modify the font for, and a font specification for the font to be used. Some examples are: This should do the job ;; Use 7x13 for unicode charset. (set-fontset-font "fontset-default" 'unicode "-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1") In any case, it looks like a bug, emacs by default should not resort by default to 12x13. The font 7x13 with iso10646-1 already contains Cyrillic characters. From MAILER-DAEMON Sat Feb 27 18:45:11 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZoXv-0004Hl-7j for mharc-help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 18:45:11 -0500 Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed8.news.xs4all.nl!feeder.erje.net!2.eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: Javier Newsgroups: gnu.emacs.help Subject: Re: Use 7x13 fixed X font for Cyrillic Date: Sat, 27 Feb 2016 23:44:28 +0000 (UTC) Organization: Aioe.org NNTP Server Lines: 12 Message-ID: References: <2b5da096-ab4d-4803-9a62-dbed5c036514@googlegroups.com> <0ea00ce7-49b2-4025-9bad-1c6eefe3cf7e@googlegroups.com> NNTP-Posting-Host: NpGanX2njae9ZwyoZgDYiQ.user.gioia.aioe.org X-Complaints-To: abuse@aioe.org User-Agent: tin/2.2.1-20140504 ("Tober an Righ") (UNIX) (Linux/3.18.6-1-ARCH (x86_64)) X-Notice: Filtered by postfilter v. 0.8.2 Xref: usenet.stanford.edu gnu.emacs.help:217054 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Feb 2016 23:45:09 -0000 > In any case, it looks like a bug, emacs by default should not resort > by default to 12x13. The font 7x13 with iso10646-1 already contains > Cyrillic characters. Or maybe it's not a bug. Emacs just does that because emacs has no mechanism to tell which characters are missing in each of the hundreds of fonts that come with the X distribution. Looks like a safe default to be sure that non-latin characters are always displayed correctly (at the cost of displaying them with a different size). I don't know if there is a way to disable fallback fontsets and just display everything with the same font. From MAILER-DAEMON Sat Feb 27 21:12:04 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZqq4-0005xV-1k for mharc-help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 21:12:04 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46129) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZqq1-0005xG-KW for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 21:12:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZqpx-00054s-JB for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 21:12:01 -0500 Received: from plane.gmane.org ([80.91.229.3]:38956) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZqpx-0004zY-C7 for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 21:11:57 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aZqpr-0005rG-8x for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 03:11:51 +0100 Received: from nl106-137-54.student.uu.se ([130.243.137.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Feb 2016 03:11:51 +0100 Received: from embe8573 by nl106-137-54.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Feb 2016 03:11:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Help setting up POP3 email (rmail) Date: Sun, 28 Feb 2016 03:11:44 +0100 Lines: 41 Message-ID: <87h9gth9cv.fsf@debian.uxu> References: <87wppvc52x.fsf@robertthorpeconsulting.com> <87d1rlu0v9.fsf@debian.uxu> <8737sfjlce.fsf@debian.uxu> <87r3fyiyri.fsf@debian.uxu> <20160227082842.GA30139@tuxteam.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-54.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:zf2vM06xhD95b/QTirYAsLPQ0Us= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2016 02:12:02 -0000 writes: > myself a fan of maildir (one file per message plus > hiding metadata in the file name -- I just don't > like that) -- but it's as Unixy as it gets (qmail, > D.J. Bernstein, ca 1990-some). Development on UNIX in particular started in 1969. The first manual was published internally in 1971. But the by-now famous man pages aren't like the manual you get when you buy a decibel meter at Crooks"R"Us. It is as much a definition and specification of the system as a documentation thereof. UNIX was officially announced in 1973. The Unix file system is based on inodes to contain file attributes, which lend itself to elaborate file systems, including nested directory hierarchies... The manual, the man pages, (not) coincidentally, are not stored in a single file - ls /usr/share/man - but are a bunch of (g)roff files which are displayed by a pager, a precursor to the system of PDFs and LaTeX, as well as the web browsers that does the same with HTML and CSS to display a web page. The whole UNIX, by now GNU/Linux toolchain, is also based on operations on text, which are stored in files. If everything that was associated by purpose or form would be in single files, you could virtually throw away three quarters of the tools as they would be totally hampered anyway. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Sat Feb 27 21:26:49 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZr4L-0000FW-31 for mharc-help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 21:26:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZr4I-0000FL-D5 for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 21:26:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZr4F-0008Kv-51 for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 21:26:46 -0500 Received: from plane.gmane.org ([80.91.229.3]:39372) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZr4E-0008Jr-UM for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 21:26:43 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aZr4D-0003to-9k for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 03:26:41 +0100 Received: from nl106-137-54.student.uu.se ([130.243.137.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Feb 2016 03:26:41 +0100 Received: from embe8573 by nl106-137-54.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Feb 2016 03:26:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: rmail not working in console mode Date: Sun, 28 Feb 2016 03:26:34 +0100 Lines: 44 Message-ID: <87bn71h8o5.fsf@debian.uxu> References: <87vb5997qs.fsf@robertthorpeconsulting.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-54.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:Hzr8w7YG63MiU0bznE/slQ+SAXk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2016 02:26:47 -0000 Robert Thorpe writes: > Just to clarify, are you the guy who has been asking > us about Rmail recently. Are you > cptvlaze@tutamail.com ? I told him to do that so his name (and not e-mail) would turn up as the poster. Probably that happened when he switched clients after setting up `user-full-name'... > Are you saying that Rmail works with GUI Emacs but > it doesn't work with console Emacs? That's strange. Yeah, that shouldn't influence. > I'm surprised you have to put (require 'smtpmail) > I don't have to do that. I told him to do that as well to get `smtpmail-smtp-service'. If he doesn't need that the `require' can be removed along with the use/reference of the variable. > It's true that there are some disadvantages to this > method. I've found the disadvantages to be more > theoretical than practical though. The only one that > matters is that if you have a large mbox file (say > 50MB) then Emacs becomes faster if you split it up. > For example, I put mail from this list in their own > mbox file and I make a new one of those every year. There is that disadvantage but there is the bigger disadvantage that you cannot interact with the material with the shell tools (or with Emacs). If you have the mails basically the way they are written, the headers, the body, and that's it for a single mail, all doings with the material gets much easier and faster and in line with how you do things. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Sat Feb 27 21:43:55 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZrKt-0002k3-A2 for mharc-help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 21:43:55 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZrKq-0002ju-SR for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 21:43:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZrKn-0003wg-Lw for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 21:43:52 -0500 Received: from plane.gmane.org ([80.91.229.3]:39671) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZrKn-0003wZ-F1 for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 21:43:49 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aZrKk-0002Ql-U4 for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 03:43:46 +0100 Received: from nl106-137-54.student.uu.se ([130.243.137.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Feb 2016 03:43:46 +0100 Received: from embe8573 by nl106-137-54.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 28 Feb 2016 03:43:46 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: removing white space highlight Date: Sun, 28 Feb 2016 03:43:33 +0100 Lines: 36 Message-ID: <877fhph7vu.fsf@debian.uxu> References: <87ziuokv2g.fsf@debian.uxu> <87ziul98nh.fsf@robertthorpeconsulting.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-54.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:4xf27/A05XcLyV1WtaHJejc3gaE= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2016 02:43:54 -0000 Robert Thorpe writes: > But, what if Harry just deleted some extraneous > whitespace from the end of the line? In that case we > can't be sure when important_parameter was last set. > It may be very old. You can do it to the entire project once (and do nothing else at that point). Then add automatic cleaning upon submission, don't log the cleaning, and last propagate the correct files to anyone who doesn't have them. > Not all version controls systems have that. Apparently not :) But I do (phew) > It's also not very well known and tools that use the > VC system (GUIs and Editors) may not use it. The editors don't need it, tho it can be useful for other purposes (e.g., your own files) and it doesn't hurt having it there as well. The automatization doesn't fare ill from you having it in your editor as well, as then it doesn't have to execute (nothing to do). Obviously the VC needs it because that is were the automatization should kick in. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Sat Feb 27 22:52:49 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZsPZ-0004rJ-48 for mharc-help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 22:52:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZsPW-0004rB-IP for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 22:52:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZsPR-00046N-JD for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 22:52:46 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:43333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZsPR-00046I-Ch for help-gnu-emacs@gnu.org; Sat, 27 Feb 2016 22:52:41 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aZsP2-0007Mk-Bo; Sun, 28 Feb 2016 04:52:17 +0100 From: Lars Magne Ingebrigtsen To: Peter =?iso-8859-1?Q?M=FCnster?= Subject: Re: kill buffer created by url-retrieve-synchronously References: <87lh66ls7n.fsf@gnus.org> Date: Sun, 28 Feb 2016 14:22:11 +1030 In-Reply-To: ("Peter \=\?iso-8859-1\?Q\?M\=FCnster\=22's\?\= message of "Sat, 27 Feb 2016 18:55:44 +0100") Message-ID: <87twktxzis.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MailScanner-ID: 1aZsP2-0007Mk-Bo X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: lmi@gnus.org MailScanner-NULL-Check: 1457236338.43305@PtjHem+kucmeRjDfKMcAJw X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2016 03:52:47 -0000 Peter M=FCnster writes: > Thanks. But it still does not work. Just an idea: Is it possible, that > the with-timeout form kills the url-retrieve-synchronously function > because of the timeout, but the buffer has already been created? Sorry; I didn't notice the `with-timeout' thing at all. [...] > (let ((url-mime-encoding-string "identity")) > (setq my-json-buffer (with-timeout (3 nil) > (url-retrieve-synchronously url))) [...] > (if my-json-buffer > (kill-buffer my-json-buffer))))) Yes, the `with-timeout' is the reason the buffer isn't killed. Because it'll just return nil when timing out, and there's no way to get at the buffer url.el created. For reasons like this, `with-timeout' isn't recommended. `url-retrieve-synchronously' should have a timeout parameter. Feel free to submit that as a wishlist bug report with `M-x report-emacs-bug'. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From MAILER-DAEMON Sun Feb 28 00:25:12 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZtqy-0000uR-Hi for mharc-help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 00:25:12 -0500 X-Received: by 10.66.163.97 with SMTP id yh1mr7974851pab.11.1456636847551; Sat, 27 Feb 2016 21:20:47 -0800 (PST) X-Received: by 10.50.103.68 with SMTP id fu4mr81291igb.9.1456636847501; Sat, 27 Feb 2016 21:20:47 -0800 (PST) Path: usenet.stanford.edu!hb3no9695402igb.0!news-out.google.com!pn7ni4420igb.0!nntp.google.com!hb3no9695398igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: gnu.emacs.help Date: Sat, 27 Feb 2016 21:20:46 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=89.28.117.31; posting-account=-bDLLQoAAABSuVFbW3VCrbfQMY4zeJ3c NNTP-Posting-Host: 89.28.117.31 References: <2b5da096-ab4d-4803-9a62-dbed5c036514@googlegroups.com> <0ea00ce7-49b2-4025-9bad-1c6eefe3cf7e@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Use 7x13 fixed X font for Cyrillic From: Vladimir Panteleev Injection-Date: Sun, 28 Feb 2016 05:20:47 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: usenet.stanford.edu gnu.emacs.help:217059 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2016 05:25:10 -0000 On Saturday, February 27, 2016 at 11:23:58 PM UTC, Javier wrote: > > Unfortunately that still produces 12x13 Cyrillic glyphs. >=20 > Now I realize what it happens. Latin characters are in 7x13, but > Cyrillic appear in 12x13. >=20 > From (info "(emacs) Modifying Fontsets") >=20 > Fontsets do not always have to be created from scratch. If only mino= r > changes are required it may be easier to modify an existing fontset. > Modifying `fontset-default' will also affect other fontsets that use = it > as a fallback, so can be an effective way of fixing problems with the > fonts that Emacs chooses for a particular script. >=20 > Fontsets can be modified using the function `set-fontset-font', > specifying a character, a charset, a script, or a range of characters > to modify the font for, and a font specification for the font to be > used. Some examples are: >=20 > This should do the job >=20 > ;; Use 7x13 for unicode charset. > (set-fontset-font "fontset-default" 'unicode > "-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1") Yes, thanks, that worked! Is it possible to also apply this to characters such as =BB, =B7, =A2? They= seem to have a similar problem, and they're all within the 128..255 code p= oint range. I've tried: (set-fontset-font "fontset-default" '(128 . 255) "-misc-fixed-medium-r-norm= al--13-120-75-75-c-70-iso10646-1") ..but that seems to have no effect. I've discovered M-x describe-char, and for =A2 (the cent symbol) it shows: position: 1669 of 2588 (64%), column: 0 character: =A2 (displayed as =A2) (codepoint 162, #o242, #xa2) preferred charset: unicode (Unicode (ISO10646)) code point in charset: 0xA2 script: latin syntax: _ which means: symbol category: .:Base, j:Japanese, l:Latin to input: type "C-x 8 RET HEX-CODEPOINT" or "C-x 8 RET NAME" buffer code: #xC2 #xA2 file code: #xC2 #xA2 (encoded by coding system utf-8-unix) display: by this font (glyph code) xft:-Misc-Fixed-normal-normal-normal-ja-13-*-*-*-c-120-iso10646-1 (#x63= ) Even though "preferred charset" is "unicode", it seems to prefer using a Ja= panese font for this symbol oddly enough. From MAILER-DAEMON Sun Feb 28 03:31:19 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZwl5-00015H-HH for mharc-help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 03:31:19 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZwl3-00014y-57 for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 03:31:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZwkz-0002ep-SD for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 03:31:17 -0500 Received: from mout.gmx.net ([212.227.17.20]:57577) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZwkz-0002eS-Iq for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 03:31:13 -0500 Received: from Mother-Brain ([95.23.61.249]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0Ld0E0-1a9NRn2cnw-00iBcs; Sun, 28 Feb 2016 09:31:11 +0100 Date: Sun, 28 Feb 2016 09:31:10 +0100 Message-Id: To: Robert Thorpe Subject: Re: rmail not working in console mode In-Reply-To: <87vb5997qs.fsf@robertthorpeconsulting.com> (message from Robert Thorpe on Sat, 27 Feb 2016 21:13:47 +0000) From: Joe Westlaw X-Provags-ID: V03:K0:b35oMkH5M+sYnC1LDoRRpg2RCkgEV5KSd4dvXOAFHgwpkwl1dzZ yMEQa5UcpMrJ7Mh7JheFtscQsyAtM/+y/Sd75da3iR/2AiqM9dJ8uAX9grv2ZSLGvVNnNv7 oO2/uzfdtGE1vaKcmxPRXw9tkv55DmjZjXerjAukhxJwdIGzba0qaqkD9J20oLPUY7Q+Hug Xnz4Bw+VB3vuIVCjXBfDw== X-UI-Out-Filterresults: notjunk:1;V01:K0:wvyzlrYpvVk=:AAEZk15wOYd6/LoCMf7u0P 7FbdU5lV/H/dTTl74TfmGZWuwXok6MkVh+MnfEdFUfX0sb2hlJOMZqq1GL9poXc4NhqaWFl56 ydEx44dyhXVuQlv67W2Z8920gohQlZhCnLMT6+Rja2QwqmOPF2lNnnmF85PWILfvaqrHLN1bJ fRUlTBNMqBV6O3nJSupdBpTW7PaMBAoSOE++Sj7tfCM5kFGOShpuP7vODf2EY2xzKUL+QirEv /oJq8ZQVmBGR3NRv5IKTqnDkVcioqGgnL5QQjEJQFW/nIZggltxra3cY1bRqFlJ0TiTFPwjIu gwws31RJ3D3qDn/Vcr0WbkEjKfxI1Zs7w/qUhmvBX43aMRdlHGsgBpcHhnf1Ta/UjJtczalvL VtB4IxrZA8n5VV+/LDyh5UXDkPXxhX69u5xk6UyPN1vKAW4ndV6e9J38M+VRujBwxjX9LWMkK smjFj0wxcqzMWGqfF0bqwIfuLwKpmnFV99WCI5KGRsxbw44GaIwRHYy/u7MPpKBDCE+HZ+DJu O+lvw8d652o1k/SwN0eDLmDfWKj77wiMGC8bRKXCQTBlpRBGa+OxjXwiNQHS/iq+iw5YfqGjy YJSbNxl4gr4Z60EqyYUQvd+0vuVDjVtHLHnuus2F0BSE6+Q3BO33c9nDaVGjvxMTtyr4i4g+i UrnC1N4OZyYl3WJA+0YbHrhnZgXgjQkxfCPODF60Bslp4P5IuTb/ICIxnVdQIi8ta/R0C6idJ pcraytr4o3CYqMBpBx5rT2c2YRK0ERlLq2tuQvF3mBXdlBrTymB7mMtcykI= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.20 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2016 08:31:17 -0000 I've found a stupid solution to the problem: activate Num Lock. Yes, it sound hillarious, and it is, indeed. I was confused because the Num Lock LED was on (as it was activated in the GUI). Next time, I'll check it better. I'm sorry! From MAILER-DAEMON Sun Feb 28 03:32:17 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aZwm1-0001b9-0i for mharc-help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 03:32:17 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49100) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZwly-0001aS-Dz for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 03:32:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aZwlv-0002vO-9t for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 03:32:14 -0500 Received: from mout.gmx.net ([212.227.17.22]:51681) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aZwlv-0002vJ-1f for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 03:32:11 -0500 Received: from Mother-Brain ([95.23.61.249]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0Md31i-1aHrxL2XJq-00IEyp; Sun, 28 Feb 2016 09:32:09 +0100 From: Joe Westlaw To: Robert Thorpe Subject: Re: rmail not working in console mode In-Reply-To: <87vb5997qs.fsf@robertthorpeconsulting.com> (message from Robert Thorpe on Sat, 27 Feb 2016 21:13:47 +0000) Date: Sun, 28 Feb 2016 09:32:08 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:+5oOxLqUi7tJkmztoTIUZIwpSE5lVwTF4Hk/mmG7QNxQ0Dqrvb/ Y0+j7QOoEdHKRk+35uikPuwCdjlG+J93LaJdOASCplgL+lPwy+pZMm22+muDB5pbHJJdd1B J3KjuNFUFVhZBRzxoh4Lq2mqYBhKzmbg/CtyqiFTo9iUidCazrUlQ8CknVnZUkjXtBFQk1D FonVb5Cdu66xGP2bFUKPg== X-UI-Out-Filterresults: notjunk:1;V01:K0:nZ/qOrGJBn0=:u1DPqE9XaPEnTI+jzeI/gd VClxUMSOc3kbhaTFuC+G0f8TkL0gChzE3602JQEKJI2p9wXc0jbDyiaexaZ1Ufk7Ydz0SYZDj zFL+4dZbezwz/dD0CUE/tIwXLu3MVruGOdhdkb3drV9cZpJpCM4sbW7utwcq9GIeTcGYkuPyZ EyEhzXDS7hxaafCLkt3EsVNIfeWN6PXBRjvdp96DtV38ipwge5ovBDJ7OMHgikvkSbwljWbdj CKFRkeCfswQD9+DW0NR40ywSmG4LNLbUfPDg+ZdW75uSuaC2FOmstiYtEbG9df50tHopnmBmG K/o5UZD/E1vyc2hbhW9353x6UPHe4l+5ueFkt9zu5++Q91gOtRrsqyCnWptIWPLJvuDpgVt4I SW6VFaAS17cuPQSZHA7NFQUNYtMrDBlxM0xMfQOnbpL7By6hUDHL8K7OteTAEhyuL766Xi/YX ejWMFvf6h0NX1EnppIjpTYIQpsoBl7YMsUlsFJrUhbMFvpJd6e/ceW7Tzz9GE3/yZWjPq5B7y abINWHO2mpVbDWL0HaT5ANiKERNbGDvkj/zSf7leglEM/rap+Lq/f0TdE8czuQ6HoR20Gd8YH fWhqSUDE1PRV3gYKRgoWfp6aiIwsma303txGz2QxVaAAvqniDqlnN7Ggwg+BInY0cjxp9BAej k43p4zhf6hcQMCFU/OvWQNpew0EXmded/3WBiagKY1dn5zcEQvHL+tRsiS2eNFLPmpJMbZwKR aeOJWF5gYaID31SiQGZGaHOsa9NAOW5nNUEADfrb0WiVaM4bmAK/zX3yK4jIY6PyS5esOP7Tf 59GDDgj X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.22 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2016 08:32:15 -0000 I've found a stupid solution to the problem: activate Num Lock. Yes, it sound hillarious, and it is, indeed. I was confused because the Num Lock LED was on (as it was activated in the GUI). Next time, I'll check it better. I'm sorry! From MAILER-DAEMON Sun Feb 28 10:55:13 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aa3gf-00069u-Oo for mharc-help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 10:55:13 -0500 Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!37.252.120.71.MISMATCH!2.eu.feeder.erje.net!feeder.erje.net!1.eu.feeder.erje.net!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!.POSTED!not-for-mail From: Javier Newsgroups: gnu.emacs.help Subject: Re: Use 7x13 fixed X font for Cyrillic Date: Sun, 28 Feb 2016 15:52:52 +0000 (UTC) Organization: Aioe.org NNTP Server Lines: 26 Message-ID: References: <2b5da096-ab4d-4803-9a62-dbed5c036514@googlegroups.com> <0ea00ce7-49b2-4025-9bad-1c6eefe3cf7e@googlegroups.com> NNTP-Posting-Host: NpGanX2njae9ZwyoZgDYiQ.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: tin/2.2.1-20140504 ("Tober an Righ") (UNIX) (Linux/3.18.6-1-ARCH (x86_64)) X-Notice: Filtered by postfilter v. 0.8.2 Xref: usenet.stanford.edu gnu.emacs.help:217062 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2016 15:55:12 -0000 >> ;; Use 7x13 for unicode charset. >> (set-fontset-font "fontset-default" 'unicode >> "-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1") > > Yes, thanks, that worked! > > Is it possible to also apply this to characters such as , , ? They seem to have a similar problem, and they're all within the 128..255 code point range. > > I've tried: > > (set-fontset-font "fontset-default" '(128 . 255) "-misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1") > > ..but that seems to have no effect. You are right. Those characters (128-255) seem to be seen as not part of unicode. And emacs displays them with another size. https://en.wikipedia.org/wiki/Latin-1_Supplement_%28Unicode_block%29 There should be a way in graphical emacs to force the display of *every* character with the same font, but I'm not aware of it. But you can always use emacs -nw in a text window ;-) rxvt -fn -misc-fixed-medium-r-normal--13-120-75-75-c-70-iso10646-1 -e emacs -nw From MAILER-DAEMON Sun Feb 28 12:41:47 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aa5Ln-0008Vb-Cx for mharc-help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 12:41:47 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa5Ll-0008Uo-LU for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 12:41:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aa5Li-0006YP-E2 for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 12:41:45 -0500 Received: from outbound-smtp03.blacknight.com ([81.17.249.16]:34292) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa5Li-0006WP-8h for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 12:41:42 -0500 Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp03.blacknight.com (Postfix) with ESMTPS id E2A7C989CC for ; Sun, 28 Feb 2016 17:41:40 +0000 (UTC) Received: (qmail 12158 invoked from network); 28 Feb 2016 17:41:40 -0000 Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[93.107.80.235]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 28 Feb 2016 17:41:40 -0000 From: Robert Thorpe To: Joe Westlaw Subject: Re: rmail not working in console mode In-Reply-To: (message from Joe Westlaw on Sun, 28 Feb 2016 09:32:08 +0100) Date: Sun, 28 Feb 2016 17:41:39 +0000 Message-ID: <87vb58vijw.fsf@robertthorpeconsulting.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.16 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2016 17:41:46 -0000 Joe Westlaw writes: > I've found a stupid solution to the problem: activate Num Lock. Yes, it > sound hillarious, and it is, indeed. I was confused because the Num Lock > LED was on (as it was activated in the GUI). Next time, I'll check it > better. I'm sorry! I'm surprised that makes a difference. I could see how it would if you're using the commands that have numerical arguments though. BR, Robert Thorpe From MAILER-DAEMON Sun Feb 28 12:52:20 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aa5W0-0002U8-8s for mharc-help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 12:52:20 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa5Vv-0002Jl-KM for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 12:52:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aa5Vq-0000zt-Fk for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 12:52:15 -0500 Received: from outbound-smtp09.blacknight.com ([46.22.139.14]:40646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa5Vq-0000z0-9l for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 12:52:10 -0500 Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp09.blacknight.com (Postfix) with ESMTPS id C18D11C171E for ; Sun, 28 Feb 2016 17:52:08 +0000 (GMT) Received: (qmail 26300 invoked from network); 28 Feb 2016 17:52:08 -0000 Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[93.107.80.235]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 28 Feb 2016 17:52:08 -0000 From: Robert Thorpe To: Emanuel Berg Subject: Re: Help setting up POP3 email (rmail) In-Reply-To: <87h9gth9cv.fsf@debian.uxu> (message from Emanuel Berg on Sun, 28 Feb 2016 03:11:44 +0100) Date: Sun, 28 Feb 2016 17:52:07 +0000 Message-ID: <87si0cvi2g.fsf@robertthorpeconsulting.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 46.22.139.14 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2016 17:52:17 -0000 Emanuel Berg writes: > The whole UNIX, by now GNU/Linux toolchain, is also > based on operations on text, which are stored in > files. If everything that was associated by purpose or > form would be in single files, you could virtually > throw away three quarters of the tools as they would > be totally hampered anyway. I'll let maildir advocates comment on whether maildir is "Unixy" or not. Regarding Gnus vs Rmail, what's the difference? Rmail uses multiple mbox files and Gnus use multiple mbox files by default. They're both the same if you're tinkering with mail using command line tools. BR, Robert Thorpe From MAILER-DAEMON Sun Feb 28 13:10:02 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aa5n8-00084G-In for mharc-help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 13:10:02 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa5n5-00083t-SG for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 13:10:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aa5n1-0007Go-OZ for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 13:09:59 -0500 Received: from outbound-smtp07.blacknight.com ([46.22.139.12]:45384) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa5n1-0007GW-IO for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 13:09:55 -0500 Received: from mail.blacknight.com (pemlinmail01.blacknight.ie [81.17.254.10]) by outbound-smtp07.blacknight.com (Postfix) with ESMTPS id 1B8F01C14EA for ; Sun, 28 Feb 2016 18:09:54 +0000 (GMT) Received: (qmail 11342 invoked from network); 28 Feb 2016 18:09:53 -0000 Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[93.107.80.235]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 28 Feb 2016 18:09:53 -0000 From: Robert Thorpe To: Emanuel Berg Subject: Re: removing white space highlight In-Reply-To: <877fhph7vu.fsf@debian.uxu> (message from Emanuel Berg on Sun, 28 Feb 2016 03:43:33 +0100) Date: Sun, 28 Feb 2016 18:09:52 +0000 Message-ID: <87povgvh8v.fsf@robertthorpeconsulting.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 46.22.139.12 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2016 18:10:01 -0000 Emanuel Berg writes: > Robert Thorpe writes: > >> But, what if Harry just deleted some extraneous >> whitespace from the end of the line? In that case we >> can't be sure when important_parameter was last set. >> It may be very old. > > You can do it to the entire project once (and do > nothing else at that point). Let's say I remove whitespace from the entire project. I then check the project back in. Every line that has whitespace removed is flagged as modified. It's added to the repository with my name, date and a new revision number. So, the problem I've described still occurs. To go back to my previous example $ svn blame nasty.c 103 sally /* important_parameter should be */ 103 sally /* set for modern memory sizes. */ 110 rob int important_parameter = 42; 103 sally Here, I have removed all the whitespace at revision 110. That makes it look as though I set the value of important_parameter then. In fact, it was set much earlier. After a long time (maybe a decade), the vast majority of lines in all the files would have been changed. After that the problem wouldn't arise again, but it's a very high price to pay. Of course, if it were possible to modify the version control program then this would be possible. Doing that is "non-trivial", as they say. > Then add automatic > cleaning upon submission, don't log the cleaning, and > last propagate the correct files to anyone who doesn't > have them. > >> Not all version controls systems have that. > > Apparently not :) You don't understand version control systems. You can't change how they work easily. >> It's also not very well known and tools that use the >> VC system (GUIs and Editors) may not use it. > > The editors don't need it, tho it can be useful for > other purposes (e.g., your own files) and it doesn't > hurt having it there as well. This part of the discussion was about what happens if the version control system has an option to deal with whitespace changes. For example, "-x -b" in Subversion. In a large project, are you going to tell people that they can't use front-ends to version-control? Let's say, for example, that Vim doesn't support those switches. Are you going to say "I'm sorry Vim users, you have to use command line svn." BR, Robert Thorpe From MAILER-DAEMON Sun Feb 28 13:16:27 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aa5tK-00023H-VW for mharc-help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 13:16:26 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa2Ki-0003Ro-Nh for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 09:28:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aa2Kf-00063t-IB for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 09:28:28 -0500 Received: from acheron.yagibdah.de ([185.55.75.245]:45434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aa2Kf-00063j-BK for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 09:28:25 -0500 Received: from heimdali.yagibdah.de ([192.168.3.20]) by acheron.yagibdah.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.85) (envelope-from ) id 1aa2Kc-0001Fs-Ca for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 15:28:22 +0100 Received: from lee by heimdali.yagibdah.de with local (Exim 4.85) (envelope-from ) id 1aa2Kc-00055S-AP for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 15:28:22 +0100 From: lee To: help-gnu-emacs@gnu.org Subject: tramp and ssh-key passphrase Date: Sun, 28 Feb 2016 15:28:16 +0100 Organization: my virtual residence Message-ID: <87fuwcykn3.fsf@heimdali.yagibdah.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Mail-Followup-To: help-gnu-emacs@gnu.org MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 185.55.75.245 X-Mailman-Approved-At: Sun, 28 Feb 2016 13:16:25 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Feb 2016 14:28:29 -0000 Hi, is there a way to have tramp cache the passphrase of the ssh key I'm using to edit a remote file --- or some other way which doesn't require me to enter the passphrase all the time? It's asking for the passphrase every time emacs wants to perform an autosave, and I don't really want to turn off autosaving or to use a key that doesn't require a passphrase. I wouldn't mind defaulting to autosaving locally when editing remote files, though. Maybe that can be done somehow? The way it is kinda defeats the comfort of being able to edit remote files ... -- GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, X toolkit) of 2015-09-26 on heimdali From MAILER-DAEMON Sun Feb 28 19:20:44 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aaBZs-0005y8-32 for mharc-help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 19:20:44 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaBZn-0005wZ-6G for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 19:20:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaBZj-0000rf-H5 for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 19:20:39 -0500 Received: from plane.gmane.org ([80.91.229.3]:53022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaBZj-0000rX-30 for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 19:20:35 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aaBZg-0007ok-Jy for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 01:20:32 +0100 Received: from nl106-137-54.student.uu.se ([130.243.137.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Feb 2016 01:20:32 +0100 Received: from embe8573 by nl106-137-54.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Feb 2016 01:20:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Gnus (was: Re: Help setting up POP3 email (rmail)) Date: Mon, 29 Feb 2016 01:20:21 +0100 Lines: 80 Message-ID: <877fhonz96.fsf_-_@debian.uxu> References: <87h9gth9cv.fsf@debian.uxu> <87si0cvi2g.fsf@robertthorpeconsulting.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-54.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:CUe6QJp+XnHD1sWLWPqD9L79dj8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 00:20:43 -0000 Robert Thorpe writes: > Regarding Gnus vs Rmail, what's the difference? > Rmail uses multiple mbox files and Gnus use multiple > mbox files by default. They're both the same if > you're tinkering with mail using command line tools. Gnus is a universe in itself - much like Emacs, actually. It is a nexus for virtually all computer communication that you can do! - an absolute wonder to behold - one of the top 10 programs/systems ever written (with Unix/C and Lisp/Emacs as tied #1). I quick look at the Gnus manual isn't enough by far to grasp the scope: "The length of these documents varies from about 500 pages to about 550 pages, depending on which version of the manual you choose." [1] I'm right now using Gnus for RSS, Usenet (e.g., rec.bicycles.tech), mailing lists (thru Gmane), blogs (ditto Gwene), mail (backend nnml), as well as a Gnus-to-blog project I currently work on: Blogomatic! So far, I've not added any contents, only two test articles, but they work great - with zero metadata, and with HTML that validates perfectly, the files even sensibly indented and everything SEO'd with the category and title showing up lowercased in the URL. To add an article, I simply mail it to myself, then nnml does splitting to the group blogomatic iff the first subject word is - you guessed it - "blogomatic". Then I can use Gnus' sorting, searching, editing, and so on to access the material. Here is the zsh that does mail -> HTML: http://user.it.uu.se/~embe8573/conf/.zsh/blogomatic And here is the PHP - i.e., if executed, the blog: http://user.it.uu.se/~embe8573/blogomatic/index.php There is just an endless list what you can do with Gnus. For example, did you hear of: W r Do a Caesar rotate (rot13) on the article buffer (gnus-summary-caesar-message). Unreadable articles that tell you to read them with Caesar rotate or rot13. (Typically offensive jokes and such.) It’s commonly called “rot13” because each letter is rotated 13 positions in the alphabet, e.g., ‘B’ (letter #2) -> ‘O’ (letter #15). It is sometimes referred to as “Caesar rotate” because Caesar is rumored to have employed this form of, uh, somewhat weak encryption. W m Morse decode the article buffer (gnus-summary-morse-message). ? Here is what I did with Gnus so far, save for communicating: http://user.it.uu.se/~embe8573/conf/emacs-init/gnus/ [1] http://www.gnus.org/manual.html -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Sun Feb 28 19:52:31 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aaC4c-0003GW-Um for mharc-help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 19:52:30 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42695) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaC4X-0003G6-8B for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 19:52:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaC4R-0000aL-OR for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 19:52:25 -0500 Received: from plane.gmane.org ([80.91.229.3]:53649) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaC4R-0000Zk-HG for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 19:52:19 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aaC4P-0002fe-Uw for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 01:52:17 +0100 Received: from nl106-137-54.student.uu.se ([130.243.137.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Feb 2016 01:52:17 +0100 Received: from embe8573 by nl106-137-54.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Feb 2016 01:52:17 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: removing white space highlight Date: Mon, 29 Feb 2016 01:52:11 +0100 Lines: 55 Message-ID: <871t7wnxs4.fsf@debian.uxu> References: <877fhph7vu.fsf@debian.uxu> <87povgvh8v.fsf@robertthorpeconsulting.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-54.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:RrAUOJTXI2EEenbdOXWPdg877q4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 00:52:30 -0000 Robert Thorpe writes: > Every line that has whitespace removed is flagged as > modified. It's added to the repository with my name, > date and a new revision number. So, the problem I've > described still occurs. The improvement is that the code gets cleaned up. Which has to be done once, then invisible-to-everyone automatization makes sure no more trailing whitespace can ever be added. > After a long time (maybe a decade), the vast > majority of lines in all the files would have been > changed. After that the problem wouldn't arise > again, but it's a very high price to pay. This is completely free of charge with no penalty to it whatsoever. Today, if done to the entire project, the code will look better. Tomorrow, if automatization is added, the problem will be gone forever and can by definition not re-enter the project nor any other projects with the same technology at work. > In a large project, are you going to tell people > that they can't use front-ends to version-control? > > Let's say, for example, that Vim doesn't support > those switches. Are you going to say "I'm sorry Vim > users, you have to use command line svn." It shouldn't be put on the level of the "client"/editor/singular user. It should be put on the "server" or most centralized level which holds the answer to the question "what are the current files for project P version XYZ?". Before anything enters there, cleaning is automatically done, but not logged (well, not logged as normal edits are anyway) - then, when people get the most recent files (i.e., the files that are exactly P:XYZ), people always get clean files. And they can't mess them up even if they try because such edits are silently ignored and discarded... The theoretical reason why this is possible and easy is that nobody (human nor machine) has any interest in or benefits from trailing whitespace. It is just a matter of automatically dealing with a bunch of data, a transformation from one state to another, where everything is very straightforward. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Sun Feb 28 20:00:12 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aaCC4-0005SJ-3q for mharc-help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 20:00:12 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaCC2-0005Px-2a for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 20:00:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaCBx-0002VJ-3h for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 20:00:10 -0500 Received: from plane.gmane.org ([80.91.229.3]:53813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaCBw-0002Ur-U8 for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 20:00:05 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aaCBv-0005Z4-9V for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 02:00:03 +0100 Received: from nl106-137-54.student.uu.se ([130.243.137.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Feb 2016 02:00:03 +0100 Received: from embe8573 by nl106-137-54.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Feb 2016 02:00:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Re: Help setting up POP3 email (rmail) Date: Mon, 29 Feb 2016 01:55:38 +0100 Lines: 17 Message-ID: <87wppomj1x.fsf@debian.uxu> References: <87h9gth9cv.fsf@debian.uxu> <87si0cvi2g.fsf@robertthorpeconsulting.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-54.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:jRciw7OnYcV9N/yNSjxfCOxI3yc= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 01:00:11 -0000 Robert Thorpe writes: > Regarding Gnus vs Rmail, what's the difference? > Rmail uses multiple mbox files and Gnus use multiple > mbox files by default. They're both the same if > you're tinkering with mail using command line tools. I forgot, I have a Gnus "fan" home page! I did it many years ago so obviously I wouldn't phrase it exactly like that today. But in general I have to give the bloke some credit :) http://user.it.uu.se/~embe8573/gnus/ -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Sun Feb 28 20:08:10 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aaCJm-0007DB-Gu for mharc-help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 20:08:10 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaCJk-0007Cr-FG for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 20:08:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaCJg-0004L3-9R for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 20:08:08 -0500 Received: from plane.gmane.org ([80.91.229.3]:54038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaCJg-0004Kj-28 for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 20:08:04 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aaCJe-0000I2-Nl for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 02:08:02 +0100 Received: from nl106-137-54.student.uu.se ([130.243.137.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Feb 2016 02:08:02 +0100 Received: from embe8573 by nl106-137-54.student.uu.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Feb 2016 02:08:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Emanuel Berg Subject: Even more Gnus material: we made the paper! Date: Mon, 29 Feb 2016 02:07:49 +0100 Lines: 96 Message-ID: <87povgmihm.fsf@debian.uxu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nl106-137-54.student.uu.se Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:kNb28NCHBqrb8mCpzTxkDz74HkA= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 Cc: Dag Holmgren X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 01:08:09 -0000 I've learned a university computer guy in the US, Joshua Braun of Quinnipiac University, Connecticut, has given a "talk" (?) on the computer culture that is us. The talk comes with a four-paragraph text, which is what I've got, so I haven't heard the actual talk. He quotes me thrice, including the title of the talk/text: "Bypassing the web." I only have a vague memory of saying that, but I sure recognize those thoughts and attitudes in general. To be 100% correct, it is actually not "bypassing the web". It is really "getting to the desired data, which is on the web, only not using the conventional GUI programs but our own shell and text tools". But the spirit of the phrase is correct and everyone understands the meaning! And the rest of the text? No comments! I agree. (Except one comment. Read on!) Anyway here is the article as a PDF, as I learned about it: https://ahcsconference.files.wordpress.com/2014/04/braun.pdf But let my "bypass" that for you and supply the text as well :) "Bypassing the Web": Shell Users and Alternative Experiences of the Internet Joshua A. Braun Assistant Professor of Interactive Media, Quinnipiac University "Since I discovered Gnus, I'm not surfing the web at all, almost," writes Emacs user, Emanuel Berg on the help-gnu-emacs mailing list. Emacs, which has existed in a variety of versions and contexts since the 1970s, is a widely used software application for viewing and manipulating code and other text. The software can be — and often is — used from the command line without a mouse or graphical interface. While many software tools are tied to the latest hardware and the release cycle of proprietary operating systems, Emacs' long release history and modest operating requirements allow it to run on computers of almost any age. And while many users employ the application instrumentally as a tool for writing and maintaining software, a subset of that user base "lives in" Emacs, which has been likened to a text-based operating system. Users of Emacs can, with a bit of configuration, take on most of the everyday tasks normally associated with other software, from keeping a calendar to reading news, writing papers, chatting online, sending email, and browsing the web, which the program renders in plain text. As Hacker News user, pmr_ put it, "For some people Emacs acts like a maelstrom for everything you do on a computer." And of course, Emacs is just one of the wide variety of "terminal-" or "shell-based" tools with which users operate their computers and use the Internet without the need for a graphical interface. Emanuel goes on to say he considers himself "text-based" and has largely "bypassed the Web." Other similar accounts can be easily found online of users who prefer "the warm glow of a green screen full of text over the cold blockiness of a graphical interface." Users like these are likely to be highly computer literate [now hang on - "are likely to be"???] — server administrators and programmers, for example, are commonly heavy shell users. And yet the version of tech savviness they display is distinct from the consumeroriented rhetoric around owning the new iPhone or being skilled in the latest enterprise software. The ecosystem of tools, or "modes" that run within Emacs is under active development, but its progress narrative diverges from that found in the surrounding commodity culture. This talk would consider these users, their experience of the Internet, and the counternarrative they provide to the planned obsolescence and rhetoric of constant "innovation" that accompanies the rapid release cycle of contemporary Internet devices and services. -- underground experts united http://user.it.uu.se/~embe8573 From MAILER-DAEMON Sun Feb 28 21:31:50 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aaDck-0006Hp-PB for mharc-help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 21:31:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaDcj-0006HZ-58 for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 21:31:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaDcf-0006RH-Vc for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 21:31:49 -0500 Received: from outbound-smtp01.blacknight.com ([81.17.249.7]:43346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaDcf-0006P9-PF for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 21:31:45 -0500 Received: from mail.blacknight.com (pemlinmail02.blacknight.ie [81.17.254.11]) by outbound-smtp01.blacknight.com (Postfix) with ESMTPS id 6C18798B26 for ; Mon, 29 Feb 2016 02:31:42 +0000 (UTC) Received: (qmail 5962 invoked from network); 29 Feb 2016 02:31:42 -0000 Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[93.107.80.235]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 29 Feb 2016 02:31:42 -0000 From: Robert Thorpe To: Emanuel Berg Subject: Re: Gnus (was: Re: Help setting up POP3 email (rmail)) In-Reply-To: <877fhonz96.fsf_-_@debian.uxu> (message from Emanuel Berg on Mon, 29 Feb 2016 01:20:21 +0100) Date: Mon, 29 Feb 2016 02:31:41 +0000 Message-ID: <87mvqkuu0i.fsf@robertthorpeconsulting.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.7 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 02:31:50 -0000 Emanuel Berg writes: > Robert Thorpe writes: > >> Regarding Gnus vs Rmail, what's the difference? >> Rmail uses multiple mbox files and Gnus use multiple >> mbox files by default. They're both the same if >> you're tinkering with mail using command line tools. > > Gnus is a universe in itself - much like Emacs, Nothing of what you say across 3 emails addresses the point I made above. BR, Robert Thorpe From MAILER-DAEMON Sun Feb 28 21:43:25 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aaDnx-0005s1-2w for mharc-help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 21:43:25 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34756) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaDnu-0005ro-83 for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 21:43:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaDnp-0000ik-7i for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 21:43:22 -0500 Received: from outbound-smtp10.blacknight.com ([46.22.139.15]:37714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaDnp-0000gy-1B for help-gnu-emacs@gnu.org; Sun, 28 Feb 2016 21:43:17 -0500 Received: from mail.blacknight.com (pemlinmail06.blacknight.ie [81.17.255.152]) by outbound-smtp10.blacknight.com (Postfix) with ESMTPS id 601321C1797 for ; Mon, 29 Feb 2016 02:43:15 +0000 (GMT) Received: (qmail 8372 invoked from network); 29 Feb 2016 02:43:15 -0000 Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[93.107.80.235]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 29 Feb 2016 02:43:15 -0000 From: Robert Thorpe To: Emanuel Berg Subject: Re: removing white space highlight In-Reply-To: <871t7wnxs4.fsf@debian.uxu> (message from Emanuel Berg on Mon, 29 Feb 2016 01:52:11 +0100) Date: Mon, 29 Feb 2016 02:43:14 +0000 Message-ID: <87k2louth9.fsf@robertthorpeconsulting.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 46.22.139.15 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 02:43:23 -0000 Emanuel Berg writes: > Robert Thorpe writes: > >> Every line that has whitespace removed is flagged as >> modified. It's added to the repository with my name, >> date and a new revision number. So, the problem I've >> described still occurs. > > The improvement is that the code gets cleaned up. > Which has to be done once, then invisible-to-everyone > automatization makes sure no more trailing whitespace > can ever be added. We all agree about the improvement. The problem is making it happen without destroying the power of version control. > This is completely free of charge with no penalty to > it whatsoever. How do you remove the penalty then? How do you make blame/annotate and similar tools work properly despite the changes in whitespace? Are you arguing that annotate and diffs with previous version don't matter? > Before anything enters there, cleaning is > automatically done, but not logged (well, not logged > as normal edits are anyway) Most VC systems don't support that. The only way you can do that is by either: * Writing a feature into the version control program itself. * Writing a program that understands the file format that the VC repository is in. Neither path is easy. Version control programs are long and complex. Many are longer than 50000 lines. The file formats they use for the repository are complex too and very difficult to reverse engineer. I know because I had to reverse engineer one of them once. > The theoretical reason why this is possible and easy > is that nobody (human nor machine) has any interest in > or benefits from trailing whitespace. Yes, it's simple in theory, but very difficult in practice. I'm disappointed to see you of all people confuse the theoretical and the practical. BR, Robert Thorpe From MAILER-DAEMON Mon Feb 29 02:25:10 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aaICc-0000ls-L0 for mharc-help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 02:25:10 -0500 Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!not-for-mail From: "Loris Bennett" Newsgroups: gnu.emacs.help Subject: Re: tramp and ssh-key passphrase Date: Mon, 29 Feb 2016 08:24:34 +0100 Organization: Freie Universitaet Berlin Lines: 27 Message-ID: <877fhouggd.fsf@hornfels.zedat.fu-berlin.de> References: Mime-Version: 1.0 Content-Type: text/plain X-Trace: news.uni-berlin.de omAS0kuKQwWfrR5vIZBBewoXTEtb4yqAezrs+rLod3lnfm Cancel-Lock: sha1:68CvDR4lS/Uk3PDTEtlmYkSo8Mg= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Xref: usenet.stanford.edu gnu.emacs.help:217073 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 07:25:08 -0000 lee writes: > Hi, > > is there a way to have tramp cache the passphrase of the ssh key I'm > using to edit a remote file --- or some other way which doesn't require > me to enter the passphrase all the time? > > It's asking for the passphrase every time emacs wants to perform an > autosave, and I don't really want to turn off autosaving or to use a key > that doesn't require a passphrase. > > I wouldn't mind defaulting to autosaving locally when editing remote > files, though. Maybe that can be done somehow? > > The way it is kinda defeats the comfort of being able to edit remote > files ... Try setting up an SSH agent. That way you just have to enter the passphrase once per session. Cheers, Loris -- This signature is currently under construction. From MAILER-DAEMON Mon Feb 29 03:23:13 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aaJ6n-0002Ea-J4 for mharc-help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 03:23:13 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaJ6k-0002Dk-RU for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 03:23:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaJ6g-0007ha-3i for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 03:23:10 -0500 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]:35114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaJ6f-0007hU-SX for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 03:23:06 -0500 Received: by mail-wm0-x233.google.com with SMTP id l68so50371495wml.0 for ; Mon, 29 Feb 2016 00:23:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=introo-me.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to; bh=jW58fgLiCEnX5IQVY0MeWVJYAAyYEsbJnN7eEbpjWT0=; b=ED08EvPeqIv/3kjsafDhTS8/xRD/1AUbwebEVm9jzfHRU8cUcYGO7azXxSEal0+7b9 RIWwnP2CDz7jZKVqwJo/AdbQ92v/mTDec5G1fQgAcBKTeJTkSQwiUrhR4+dWCUIzXDMj eW6eu7Dooe257y4Fq/KZDEooaR1K+SAwPYa1ZyhmRIJilyEDAi8e8E+yokIzakGG9pc2 qkZZ/hpw6NeQGjGpfoklA4TLWR5hasKMOfEQvZy0cIW332C9j0/1AJXK5vni2Nq6Jy4c B4lH3vNJEh92hwX+nl4QsI4Ozqf3ucxnm9KyMAAMcngUFHObC3wlES1td/yb+IdyyXFL Asuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to; bh=jW58fgLiCEnX5IQVY0MeWVJYAAyYEsbJnN7eEbpjWT0=; b=VfkE08hsdElN2/ry6XeUOVFDxNwSiEalV1GIAqEvzwe4YIcp13azGZNz92UsWMhehF mPFfZNccSbAYFn3+xi1DzvKXSfh0g7Tpkmu3tedAds4JSHNes6M+7l0eL7EXxuamlCd4 wDyFmOeTRizucQgQPeYUrsVoHW0ObcSehe7tKDH4AHgtAWP99bWmSDG2DBxMGNcD4jmI UL1UxP0tW5ftH5AfG/fa8IqvjQFpuA6KIejNQK3b8a925nVu9W68MDalD45WIaRlHD2b 8KIpumpxKpsUgrVqHiKW8O1tu+sqQIs4/Oq6J86rtKX2qDLFkcuhoxoUCVDZDgSdzz1H 4q5g== X-Gm-Message-State: AD7BkJLiaJQUfhIfBePQTaLJ/GpKhPoatSCSXrfjLdy36mTfTTnVTHvXEPh15DHGPOI75H43Vbkjs2K+5fPJ8g== MIME-Version: 1.0 X-Received: by 10.194.95.40 with SMTP id dh8mr15130526wjb.146.1456734185079; Mon, 29 Feb 2016 00:23:05 -0800 (PST) Received: by 10.27.231.69 with HTTP; Mon, 29 Feb 2016 00:23:05 -0800 (PST) X-Originating-IP: [192.241.229.211] In-Reply-To: References: <87bn7gtae6.fsf@debian.uxu> Date: Mon, 29 Feb 2016 16:23:05 +0800 Message-ID: Subject: Re: How to find elisp info doc for a function? From: Shiyao Ma To: help-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::233 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 08:23:12 -0000 Hi, 'c-h S' works fine, before I encounter this command "deleter-char". 'c-h S' takes me to: (emacs)Top > Killing > Deletion and Killing > Deletion However, I'd like it go to: (elisp)Top > Text > Deletion Regards. On 17 February 2016 at 14:39, Shiyao Ma wrote: > Cool. > > Thanks very much for you two guys. > --=20 =E5=90=BE=E8=BC=A9=E3=81=AF=E7=8C=AB=E3=81=A7=E3=81=82=E3=82=8B=E3=80=82=E3= =83=9B=E3=83=BC=E3=83=A0=E3=83=BC=E3=83=9A=E3=83=BC=E3=82=B8=E3=81=AFhttps:= //introo.me =E3=80=82 From MAILER-DAEMON Mon Feb 29 04:16:01 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aaJvt-0007Ut-CQ for mharc-help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 04:16:01 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaJvq-0007TK-Li for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 04:15:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaJvn-0005Tz-CV for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 04:15:58 -0500 Received: from mout.gmx.net ([212.227.15.18]:50040) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaJvn-0005Tu-2s for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 04:15:55 -0500 Received: from detlef.gmx.de ([87.146.57.150]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0MKpvc-1aaJvl2kt6-00015U for ; Mon, 29 Feb 2016 10:15:53 +0100 From: Michael Albinus To: help-gnu-emacs@gnu.org Subject: Re: tramp and ssh-key passphrase References: <87fuwcykn3.fsf@heimdali.yagibdah.de> Date: Mon, 29 Feb 2016 10:15:52 +0100 In-Reply-To: <87fuwcykn3.fsf@heimdali.yagibdah.de> (lee@yagibdah.de's message of "Sun, 28 Feb 2016 15:28:16 +0100") Message-ID: <87povflvw7.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:kMYrS3GKSx1IGfd8pX1Lp+B+YTzt4nyG8v8FVe0Hx4nQanBexJH EuNL8+ybyv3sMSeNLMHaPoGoGNBgdZ+hbhWoSOMOAD6tMFCjPny5MlIcz/iBr3Zi+5Tp4ko tjoIO6srpfTpb3//Nmnke+Tyxky6ZZkbZr1ALM6LT+QvfTkWBAkvZSqufxpuYncgtDJPUmA F7GcD3A6MqQrgbBHZe9gg== X-UI-Out-Filterresults: notjunk:1;V01:K0:ChqnurWPzn4=:bl8zd0c/Z/vkuHAdLi/gxM kHvMJFDy3rI3GzOs07KD4RmYiom0kOJBQBoVVZ0JB7Fi9tQ+pblEFYplO23rvPVOaw6fxLpcH WiuRB+H+wsZv+d5YE+WOczS7Mi44t/deJ9heRV3+8/auYp10zMKlEQaChgCQn5w8PjPG+AdMI mIE7Fktx3+9z5NzFZdIM1vCdXavJWVnjpRubIzmMWLwuOPRL4ONzJJVNA9QrklahXxByNATCV irgp9yZSNQJeObPtC/CvYlwBNvkQQa6YjoY4YzlRD5AJveLKTQrpNZ9hOMjM0lG5T9yp46q+u JzeFDBcbydEItoNdFVZB9oPR7pwf0lTINqx1POtRbfz7Lof0dvrkf05y745XBAjqTp5jWjen0 dMVdBjJ/Ol0sSGrUbobzQ2jtBYy6Hp6vUynb+Ol7KI/jrKBC9cjYSAGAD6vPsNzOLj0aVu3J3 wuCJSKUgpSpIp8rMkSBA8xsjV2rFmikG2L8rgFrrPhtSFVH4vONDc7pLvkoRgaX3mE5uq5Lde vhO5dggY+09n8Ci7936YzzEZrfpZbVkvG5W+YlVvo/vh+bp9xTbTLeTwycNvfKACRCC7Nu+Ls YBKMaA8aWtBxTcTJo832vjXdsw5APkkh1cwJWrpnmp08p/c5iOuWa6J7iaxzlWlNmSYLCfdMW fiYYSBHCbuqmyhznevVt0S//rSeeE7STbSGjIhUKyJ1fytO5pOkVTpRWF7zkVszg2Mtjs/nO7 R+/kok8TyyTSKgibHHjBT7kQ4t9LqI6gArd9Dz5NFLheBG53V0DZVq/RqFur7H/21b2zCEYf3 npmEw6j X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.18 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 09:15:59 -0000 lee writes: > Hi, Hi, > is there a way to have tramp cache the passphrase of the ssh key I'm > using to edit a remote file --- or some other way which doesn't require > me to enter the passphrase all the time? There is the recommendation to use ssh-agent, which is always good. Another solution would be (setq password-cache-expiry nil) Best regards, Michael. From MAILER-DAEMON Mon Feb 29 04:22:47 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aaK2R-0008F7-UC for mharc-help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 04:22:47 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaK2P-0008EW-G9 for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 04:22:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaK2M-0006d7-9P for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 04:22:45 -0500 Received: from mail.tuxteam.de ([5.199.139.25]:35858 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaK2M-0006b9-3m for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 04:22:42 -0500 Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1aaJUi-0003ji-M5 for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 09:47:56 +0100 Date: Mon, 29 Feb 2016 09:47:56 +0100 To: help-gnu-emacs@gnu.org Subject: Re: Help setting up POP3 email (rmail) Message-ID: <20160229084756.GB14063@tuxteam.de> References: <87h9gth9cv.fsf@debian.uxu> <87si0cvi2g.fsf@robertthorpeconsulting.com> <87wppomj1x.fsf@debian.uxu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed In-Reply-To: <87wppomj1x.fsf@debian.uxu> User-Agent: Mutt/1.5.21 (2010-09-15) From: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 09:22:46 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, Feb 29, 2016 at 01:55:38AM +0100, Emanuel Berg wrote: [...] > I forgot, I have a Gnus "fan" home page! [...] [...] > http://user.it.uu.se/~embe8573/gnus/ Well, thanks for that! regards - -- t -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlbUBbwACgkQBcgs9XrR2kaR5wCeJExFW5IF9WPH551UCK3UFpog q78AniQWOrECwLtCOZzMCIvWo2SxQxrV =KMP/ -----END PGP SIGNATURE----- From MAILER-DAEMON Mon Feb 29 07:50:06 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aaNH4-0003dc-3W for mharc-help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 07:50:06 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaNH1-0003ZI-7X for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 07:50:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaNGx-0002Vt-7V for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 07:50:03 -0500 Received: from plane.gmane.org ([80.91.229.3]:57751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaNGx-0002Va-0D for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 07:49:59 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aaNGr-0002hE-VI for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 13:49:54 +0100 Received: from arennes-651-1-139-147.w2-2.abo.wanadoo.fr ([2.2.82.147]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Feb 2016 13:49:53 +0100 Received: from pmlists by arennes-651-1-139-147.w2-2.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Feb 2016 13:49:53 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: =?utf-8?Q?Peter_M=C3=BCnster?= Subject: Re: tramp and ssh-key passphrase Date: Mon, 29 Feb 2016 13:49:45 +0100 Lines: 55 Message-ID: <87y4a3wuja.fsf@roche-blanche.net> References: <87fuwcykn3.fsf@heimdali.yagibdah.de> <87povflvw7.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: arennes-651-1-139-147.w2-2.abo.wanadoo.fr User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cancel-Lock: sha1:MhLS1E3kBiDxJ07YqL/M4BElSwo= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 12:50:04 -0000 --=-=-= Content-Type: text/plain On Mon, Feb 29 2016, Michael Albinus wrote: > There is the recommendation to use ssh-agent, which is always good. Indeed. And if - you want to type the passphrase only once at the start of your X-session - and your ssh-passphrase is the same as your gpg-passphrase - and the passphrase should never expire - and ssh-connections should work from cron-jobs, then you could - copy the attached askpass.lisp file to ~/bin - and fill the list of the fingerprints - and copy the attached gpg-agent.conf to ~/.gnupg - and put these 2 lines to your ~/.xinitrc: SSH_ASKPASS=~/bin/askpass.lisp ssh-add echo $SSH_AUTH_SOCK >~/.ssh/ssh-auth-sock - and start your cron-job shell scripts with export SSH_AUTH_SOCK=`cat ~/.ssh/ssh-auth-sock` -- Peter --=-=-= Content-Type: application/octet-stream Content-Disposition: attachment; filename=askpass.lisp Content-Transfer-Encoding: base64 IyEvdXNyL2Jpbi9zYmNsIC0tc2NyaXB0Cgo7OyB2aWVsbGVpY2h0IHNvOgo7OyBncGcgLS1saXN0 LXNlY3JldC1rZXlzIC0td2l0aC1maW5nZXJwcmludCAtLXdpdGgtZmluZ2VycHJpbnQgLS13aXRo LWNvbG9uCjs7IC0tbGlzdC1vcHRpb25zIG5vLXNob3ctdW51c2FibGUtdWlkcyxuby1zaG93LXVu dXNhYmxlLXN1YmtleXMgfCBzZWQgLXJuICdzL15mcHI6Ojo6Ojo6OjooLiopOi9cMS9wJwoKKGRl ZnZhciAqZmluZ2VycHJpbnRzKgogIChsaXN0ICJYWFgiCiAgICAgICAgIllZWSIKICAgICAgICAi WlpaIikpCgood2l0aC1vdXRwdXQtdG8tc3RyaW5nIChvdXQpCiAgKHJ1bi1wcm9ncmFtICIvdXNy L2xpYi9zc2gvc3NoLWFza3Bhc3MiIG5pbCA6b3V0cHV0IG91dCkKICAobGV0ICgocyAoZ2V0LW91 dHB1dC1zdHJlYW0tc3RyaW5nIG91dCkpKQogICAgKGRvbGlzdCAoZnAgKmZpbmdlcnByaW50cyop CiAgICAgICh3aXRoLWlucHV0LWZyb20tc3RyaW5nIChpbiBzKQogICAgICAgIChydW4tcHJvZ3Jh bSAiL3Vzci9saWI2NC9ncGctcHJlc2V0LXBhc3NwaHJhc2UiIChsaXN0ICItLXByZXNldCIgZnAp CiAgICAgICAgICAgICAgICAgICAgIDppbnB1dCBpbiA6b3V0cHV0IG5pbCkpKQogICAgKHByaW5j IHMpKSkK --=-=-= Content-Type: text/plain Content-Disposition: attachment; filename=gpg-agent.conf allow-preset-passphrase default-cache-ttl 99999999 max-cache-ttl 99999999 --=-=-=-- From MAILER-DAEMON Mon Feb 29 09:57:09 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aaPG1-0008Hk-Ua for mharc-help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 09:57:09 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45582) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaPFz-0008HK-HS for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 09:57:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaPFw-0002Gm-CM for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 09:57:07 -0500 Received: from mail-pa0-x22b.google.com ([2607:f8b0:400e:c03::22b]:33589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaPFw-0002Ga-5g for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 09:57:04 -0500 Received: by mail-pa0-x22b.google.com with SMTP id fl4so93355757pad.0 for ; Mon, 29 Feb 2016 06:57:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-transfer-encoding:subject:message-id:date:to :mime-version; bh=0/cBZczCnf105Rsxrnt5C8wKhEOKvw6rpCjQgox6/6Q=; b=UHNFkzlM21SD0TDvwbkRA49afcrQN1ez8BfUH9ONy7XFIpFJgjUWTmjmrwbpSWTwHW xg5sr3hQMshSLA6P0x7Bt5XoSilRCCG3NI0P9R+CUfCpay2wYKP3IYjsZpodjgN2BLWI zaanHv+jlDPdU0F8ZkQ52dC7U0pQy9YEVwGpqfWIstjuTMBkwEXU3OifUcPkLB6YA0EA U2E13L7Bva7C51rErfBNk7DW3Ik6aw6tI1zz5sfifvpQ3EzgUeU/AeZM1A/Q+nquAZ/I NT9s79i7auMOshxDMFp+In63YdaaLa3aJRRx/y2GjZa3YGC0dec5CT50GanHtDy7aynI oAcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-transfer-encoding:subject :message-id:date:to:mime-version; bh=0/cBZczCnf105Rsxrnt5C8wKhEOKvw6rpCjQgox6/6Q=; b=Vs7RWsxJEgs8iCSYnHxfFQ1gBae3KeA5TRVCJlYHhyfCWXZTXJ/j0Ecm/O9Mti0Zp0 VRrlc8745VGN4cY2hsV/Q+lo39kjNrrSTE53X45Kh2kenpTPGvbRpXw4y/eXIS4rXrcO ypvMkJHtmmenWbyIV8ai48hSdmbmgO35xgNVMJDG8aC1lXDnMFt6n95mjko5nbgrNfrl jdgXvyue9MaQ17X/CTElwE9u1It3B39GQ9UnUYEwGqi5NwIl5WCfyV1IGlk7rcgpjxpK c764mHViZCRzVmamjiS7he5iAPoMiSED3r8EfC0HCV3gtbveNck90gXAMh6gqyQaFdkf RNXA== X-Gm-Message-State: AD7BkJICB3UduRubNnpAhZM1O+YGXWNXzonuzCIhffMVJ0E1ZKCFTOeBbb48o9YwveAUTg== X-Received: by 10.66.221.167 with SMTP id qf7mr8106189pac.94.1456757823380; Mon, 29 Feb 2016 06:57:03 -0800 (PST) Received: from [127.0.0.1] ([45.116.12.60]) by smtp.gmail.com with ESMTPSA id g25sm38805220pfg.35.2016.02.29.06.57.01 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 29 Feb 2016 06:57:02 -0800 (PST) From: =?utf-8?B?56ul5L+K57+U?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: How to do statistical analysis in Emacs? Message-Id: Date: Mon, 29 Feb 2016 22:57:12 +0800 To: help-gnu-emacs@gnu.org Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\)) X-Mailer: Apple Mail (2.3112) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c03::22b X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 14:57:08 -0000 Which package is the best? Thank you! Junxiang From MAILER-DAEMON Mon Feb 29 10:05:20 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aaPNw-0004Qn-5b for mharc-help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 10:05:20 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48439) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaPNt-0004QE-LO for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 10:05:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaPNn-0004YL-H6 for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 10:05:17 -0500 Received: from plane.gmane.org ([80.91.229.3]:38635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaPNn-0004Xy-AO for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 10:05:11 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aaPNh-0006aM-0r for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 16:05:05 +0100 Received: from h34n19-sus-a12.ias.bredband.telia.com ([217.212.210.34]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Feb 2016 16:05:05 +0100 Received: from Albin by h34n19-sus-a12.ias.bredband.telia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Feb 2016 16:05:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: =?UTF-8?Q?Albin_Ludvig_Otterh=c3=a4ll?= Subject: Re: How to do statistical analysis in Emacs? Date: Mon, 29 Feb 2016 16:02:54 +0100 Lines: 9 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: h34n19-sus-a12.ias.bredband.telia.com User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.6.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 15:05:18 -0000 On 02/29/2016 03:57 PM, 童俊翔 wrote: > Which package is the best? Which language and libraries do you use to do statistical analysis in? R, python, etc.? Regards, Albin From MAILER-DAEMON Mon Feb 29 10:28:19 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aaPkA-00038E-Vm for mharc-help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 10:28:18 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54943) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaPk8-00035y-PT for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 10:28:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaPk5-0002IE-AR for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 10:28:16 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:39018) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaPk5-0002Hc-3U for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 10:28:13 -0500 Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u1TFSB25001419 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 29 Feb 2016 15:28:12 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id u1TFSA99016530 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 29 Feb 2016 15:28:11 GMT Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u1TFS9YH019312; Mon, 29 Feb 2016 15:28:10 GMT MIME-Version: 1.0 Message-ID: <54a4c9cc-8218-419f-8aee-310a072e6207@default> Date: Mon, 29 Feb 2016 07:28:09 -0800 (PST) From: Drew Adams Sender: Drew Adams To: Shiyao Ma , help-gnu-emacs@gnu.org Subject: RE: How to find elisp info doc for a function? References: <87bn7gtae6.fsf@debian.uxu> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 15:28:17 -0000 > 'c-h S' works fine, before I encounter this command "deleter-char". > 'c-h S' takes me to: > (emacs)Top > Killing > Deletion and Killing > Deletion > However, I'd like it go to: > (elisp)Top > Text > Deletion M-x report-emacs-bug From MAILER-DAEMON Mon Feb 29 10:45:35 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aaQ0t-0005vT-Og for mharc-help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 10:45:35 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaQ0p-0005sc-3n for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 10:45:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaQ0k-0008Po-5M for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 10:45:31 -0500 Received: from plane.gmane.org ([80.91.229.3]:41890) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaQ0j-0008Pe-Uu for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 10:45:26 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aaQ0i-0001w8-0V for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 16:45:24 +0100 Received: from h34n19-sus-a12.ias.bredband.telia.com ([217.212.210.34]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Feb 2016 16:45:23 +0100 Received: from Albin by h34n19-sus-a12.ias.bredband.telia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Feb 2016 16:45:23 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: =?UTF-8?Q?Albin_Ludvig_Otterh=c3=a4ll?= Subject: Re: Even more Gnus material: we made the paper! Date: Mon, 29 Feb 2016 16:45:13 +0100 Lines: 5 Message-ID: References: <87povgmihm.fsf@debian.uxu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: h34n19-sus-a12.ias.bredband.telia.com User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.6.0 In-Reply-To: <87povgmihm.fsf@debian.uxu> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 15:45:31 -0000 On 02/29/2016 02:07 AM, Emanuel Berg wrote: > He quotes me thrice Entertaining read of an outsiders view into the "CLI culture". When did you formulate your thoughts on the topic? From MAILER-DAEMON Mon Feb 29 11:48:29 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aaQzl-0002pS-S4 for mharc-help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 11:48:29 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaQzj-0002oy-HP for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 11:48:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaQzf-0002Vd-Cb for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 11:48:27 -0500 Received: from plane.gmane.org ([80.91.229.3]:46912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaQzf-0002Ui-5n for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 11:48:23 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aaQzX-0001kH-O3 for help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 17:48:15 +0100 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Feb 2016 17:48:15 +0100 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Feb 2016 17:48:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Nick Dokos Subject: Re: Even more Gnus material: we made the paper! Date: Mon, 29 Feb 2016 11:48:09 -0500 Lines: 22 Message-ID: <87bn6z4g52.fsf@alphaville.usersys.redhat.com> References: <87povgmihm.fsf@debian.uxu> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: nat-pool-bos-t.redhat.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:MEFm2nFFQZqiuxxjDxZ0zvHGDpI= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 16:48:28 -0000 Emanuel Berg writes: > Experiences of the Internet > > Joshua A. Braun > > Assistant Professor of Interactive Media, > Quinnipiac University > > ..., Emacs' long > release history and modest operating requirements > allow it to run on computers of almost any age. > A long time ago, EMACS was (half-jokingly) supposed to stand for "Eight Megabytes And Constantly Swapping" (particularly among the vi crowd); it now exhibits "modest operating requirements" that allow it to run on all kinds of clunkers. Ah, how times change... -- Nick From MAILER-DAEMON Mon Feb 29 15:00:12 2016 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1aaTzI-0002sl-SY for mharc-help-gnu-emacs@gnu.org; Mon, 29 Feb 2016 15:00:12 -0500 Path: usenet.stanford.edu!goblin3!goblin.stu.neva.ru!odin.sdf-eu.org!.POSTED!not-for-mail From: Bob Bernstein Newsgroups: gnu.emacs.help Subject: Use psgml rather than nXML in emacs 24.4.1 Date: Mon, 29 Feb 2016 19:57:36 +0000 (UTC) Organization: SDF Public Access UNIX System, Est. 1987 Lines: 32 Message-ID: NNTP-Posting-Host: 192.94.73.30 X-Trace: odin.sdf-eu.org 1456775856 22064 192.94.73.30 (29 Feb 2016 19:57:36 GMT) X-Complaints-To: usenet@odin.sdf-eu.org NNTP-Posting-Date: Mon, 29 Feb 2016 19:57:36 +0000 (UTC) User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (NetBSD/7.0 (amd64)) Xref: usenet.stanford.edu gnu.emacs.help:217083 To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 20:00:11 -0000 Over the years I became accustomed to psgml and emacs as a tool for DocBook xml composition. Now with Debian Jessie I have as noted emacs 24.4.1 and it wants to insist, rather forcfully (if you ask me) that I use nXML. My old psgml invocations do not override the automatic lurch into nXML mode when I load an *.xml file into emacs. For example, in .emacs of course: (add-to-list 'auto-mode-alist '("\\.xml" . xml-mode)) (autoload 'sgml-mode "psgml" "Major mode to edit SGML files." t) (autoload 'xml-mode "psgml" "Major mode to edit XML files." t) I tried adding a local variables stanza along with the above to the DocBook file in question: All have no effect on nXML coming to the fore. All suggestions will be thoughtfully considered. Thank you. -- IMPORTANT: This email is intended for the use of the individual addressee(s) named above and may contain information that is confidential, privileged or unsuitable for overly sensitive persons with low self-esteem, no sense of humour or irrational metaphysical beliefs.