From MAILER-DAEMON Sun Jan 01 02:55:15 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RhGGB-0001dF-Qi for mharc-help-gnu-emacs@gnu.org; Sun, 01 Jan 2012 02:55:15 -0500 Received: from eggs.gnu.org ([140.186.70.92]:53955) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhGG8-0001d4-Bc for help-gnu-emacs@gnu.org; Sun, 01 Jan 2012 02:55:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RhGG7-0006Vy-8w for help-gnu-emacs@gnu.org; Sun, 01 Jan 2012 02:55:12 -0500 Received: from lo.gmane.org ([80.91.229.12]:46186) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhGG7-0006Vo-3s for help-gnu-emacs@gnu.org; Sun, 01 Jan 2012 02:55:11 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RhGG4-0007y3-97 for help-gnu-emacs@gnu.org; Sun, 01 Jan 2012 08:55:08 +0100 Received: from 232-170-85-95.dynamic.stcable.net ([95.85.170.232]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 01 Jan 2012 08:55:08 +0100 Received: from csanyipal by 232-170-85-95.dynamic.stcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 01 Jan 2012 08:55:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Csanyi Pal Subject: Emacs ignoring my settings in ~/.emacs Date: Sun, 01 Jan 2012 08:54:55 +0100 Lines: 12 Message-ID: <8762gv3lio.fsf@debian-asztal.excito> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 232-170-85-95.dynamic.stcable.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:tppLC78cwfD1VW0npbYscx/NsHo= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 01 Jan 2012 07:55:13 -0000 Hi, jesterday I upgraded my Debian GNU/Linux SID system and being used another desktop environment GNOME. Today I return back to my favorite Window Maker window manager but Emacs ignore settings in ~/.emacs. How can I solve this problem? -- Regards, Pal From MAILER-DAEMON Sun Jan 01 06:47:42 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RhJt8-00032V-6j for mharc-help-gnu-emacs@gnu.org; Sun, 01 Jan 2012 06:47:42 -0500 Received: from eggs.gnu.org ([140.186.70.92]:37506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhJt5-00032B-QR for help-gnu-emacs@gnu.org; Sun, 01 Jan 2012 06:47:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RhJt4-0004ed-OZ for help-gnu-emacs@gnu.org; Sun, 01 Jan 2012 06:47:39 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:57558) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhJt4-0004eP-Iv for help-gnu-emacs@gnu.org; Sun, 01 Jan 2012 06:47:38 -0500 Received: by wgbdt11 with SMTP id dt11so20055174wgb.30 for ; Sun, 01 Jan 2012 03:47:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:universe:user-agent; bh=lEa0zU+5DCJ6dco2Mov6sLXqLM7zgq3tvDsVOtkMnFQ=; b=RPhVmDad7I4CtBYzn5PkUuouNyiMn8BT0tkjec+4p8NxUdYWRhOgKpaxgN/0sxPQKH n4hk5E47YlM8T5BDxj8tOZl7Xj1LSrjN+i6YHAHshr4DWzCN6JW0piF5QDPF3HkWwTNA fOnRqHZDrGDKBKb8mqKgfWtZ4IWLpem+bzj1w= Received: by 10.227.198.19 with SMTP id em19mr55350359wbb.14.1325418457328; Sun, 01 Jan 2012 03:47:37 -0800 (PST) Received: from localhost (230.114.27.77.dynamic.mundo-r.com. [77.27.114.230]) by mx.google.com with ESMTPS id em4sm46523199wbb.20.2012.01.01.03.47.35 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 01 Jan 2012 03:47:36 -0800 (PST) Date: Sun, 1 Jan 2012 12:48:00 +0100 From: Pedro Insua To: help-gnu-emacs@gnu.org Subject: Re: Emacs ignoring my settings in ~/.emacs Message-ID: <20120101114800.GA4133@Zsdrums> Mail-Followup-To: help-gnu-emacs@gnu.org References: <8762gv3lio.fsf@debian-asztal.excito> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8762gv3lio.fsf@debian-asztal.excito> Universe: www.gnu.org User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.49 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 01 Jan 2012 11:47:41 -0000 On Sun, Jan 01, 2012 at 08:54:55AM +0100, Csanyi Pal wrote: > Hi, > > jesterday I upgraded my Debian GNU/Linux SID system and being used > another desktop environment GNOME. > > Today I return back to my favorite Window Maker window manager but Emacs > ignore settings in ~/.emacs. > > How can I solve this problem? You are using SID (unstable brach), maybe it's a bug in some Debian package.. have you installed/updated new/some packages ? You can run Emacs with '--debug-init' to see what's go on.. -- Porqué loitar e matar, se podes amar e sonhar /"\ \ / CAMPANHA DA FITA ASCII - CONTRA MAIL HTML X ASCII RIBBON CAMPAIGN - AGAINST HTML MAIL / \ From MAILER-DAEMON Sun Jan 01 09:13:29 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RhMAD-0006g7-Vg for mharc-help-gnu-emacs@gnu.org; Sun, 01 Jan 2012 09:13:29 -0500 Received: from eggs.gnu.org ([140.186.70.92]:53914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhMAC-0006g1-1b for help-gnu-emacs@gnu.org; Sun, 01 Jan 2012 09:13:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RhMAB-0006Pa-5T for help-gnu-emacs@gnu.org; Sun, 01 Jan 2012 09:13:28 -0500 Received: from fmmailgate02.web.de ([217.72.192.227]:51902) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhMAA-0006PW-Vo for help-gnu-emacs@gnu.org; Sun, 01 Jan 2012 09:13:27 -0500 Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate02.web.de (Postfix) with ESMTP id 4EBEE1BEBBE60 for ; Sun, 1 Jan 2012 15:13:25 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb001) with ESMTPA (Nemesis) id 0MTQ07-1S9a1y0T83-00SQf2; Sun, 01 Jan 2012 15:13:25 +0100 Subject: Re: Emacs ignoring my settings in ~/.emacs Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Peter Dyballa In-Reply-To: <8762gv3lio.fsf@debian-asztal.excito> Date: Sun, 1 Jan 2012 15:13:24 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <355A6FE3-0A27-44B7-9CFE-2673173DA19E@Web.DE> References: <8762gv3lio.fsf@debian-asztal.excito> To: Csanyi Pal X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:GfrsG7wJUvqqpgsgBWYmEjhFD8I1zvSCSJl8J4e/lNq 7nwlaFZUi79nx308GoI5+crTG87TckUi81J9Fp4SZRhCjHj+Vl CJSqKJaqRh7DalO4aWsNjlIg6riIddtQafC446STvSSPz+mssk +W0Kz/wAvAfg0tkoLFr9MR6+adEXQfZ+dYQ5Cs0+DEW8HhZaSJ y0YFIFR9t9aqZzTH6VVNA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.227 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, 01 Jan 2012 14:13:28 -0000 Am 01.01.2012 um 08:54 schrieb Csanyi Pal: > How can I solve this problem? Maybe by studying Sid documentation and finding out which system-wide = GNU Emacs start-up file is being used now... (or trace its use with some = *trace command) One other option would be to launch GNU Emacs with --no-site-file (or = simply -q?). OTOH you can try to find out to which values custom-file and = user-init-file are set. This could show an easy work-around. The = variable site-run-file stores the name of the system-wide GNU Emacs = start-up file, so you can find and study it as well. -- Greetings Pete "Debugging? Klingons do not debug! Our software does not coddle the = weak." From MAILER-DAEMON Mon Jan 02 04:51:32 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RheYG-0005l8-0m for mharc-help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 04:51:32 -0500 Received: from eggs.gnu.org ([140.186.70.92]:35078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RheYC-0005iL-Hy for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 04:51:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RheYB-0002aZ-Mc for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 04:51:28 -0500 Received: from spike.lmi.net ([66.117.140.17]:40034) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RheYB-0002aN-IE for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 04:51:27 -0500 Received: from neo.msri.org (75-101-50-210.dsl.static.sonic.net [75.101.50.210]) by spike.lmi.net (Postfix) with ESMTP id 61AF2154019; Mon, 2 Jan 2012 01:51:24 -0800 (PST) Received: by neo.msri.org (Postfix, from userid 1000) id F3895181003; Mon, 2 Jan 2012 01:51:23 -0800 (PST) Received: from neo.msri.org (localhost [127.0.0.1]) by neo.msri.org (Postfix) with ESMTP id DBCE5180170; Mon, 2 Jan 2012 01:51:23 -0800 (PST) To: help-gnu-emacs@gnu.org Subject: M-x mystery From: Silvio Levy Date: Mon, 02 Jan 2012 01:51:23 -0800 Sender: levy@msri.org Message-Id: <20120102095123.F3895181003@neo.msri.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 66.117.140.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: Mon, 02 Jan 2012 09:51:29 -0000 Dear emacs folks in trying to debug some bad interactions between vip.el (VI emulation) and icicles, I've come against an obstable I can't surmount: M-x sometimes ceases to be M-x and becomes instead ESC-x. Minimal example: I run "emacs -q -l foo.el" where foo.el contains this code: (defun doit () "run test" (interactive) (defvar vip-mode-map (make-keymap)) (define-key vip-mode-map "\e" 'kill-line) (use-local-map vip-mode-map) ) Then I into a scratch buffer and type M-x doit -- so far so good. After that, when I type M-x the behavior, it is as if I had typed ESC and x: the current line is killed and an x is inserted. Any ideas about what I'm doing wrong? Silvio From MAILER-DAEMON Mon Jan 02 09:25:23 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RhipH-00037t-Ay for mharc-help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 09:25:23 -0500 Received: from eggs.gnu.org ([140.186.70.92]:53049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhipE-00035v-85 for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 09:25:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RhipD-0007U4-98 for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 09:25:20 -0500 Received: from mail-pz0-f41.google.com ([209.85.210.41]:40123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhipD-0007Ts-28 for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 09:25:19 -0500 Received: by dakl33 with SMTP id l33so12649853dak.0 for ; Mon, 02 Jan 2012 06:25:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=04IXHoYHafzDcBasc0oYdrVPJf0QQVzCbLbxRQ/vdLg=; b=x5ENSUKtzFm12HOWD+0IIg9004POuSh09DnW6YX/f80+7l2Ih0RUWKNqVh5Dezsafz rpX/n6QEYGUn2AuJ8tRjiZ9mFMjF3Ml+4fY3n62Yl4WrZVU/t5Kl6SL+sjQ3ot+ESv+Z ECCb3g+bipzITNqhaBtvtSnU5FMJebH5IHvi8= Received: by 10.68.73.135 with SMTP id l7mr120960887pbv.57.1325514318193; Mon, 02 Jan 2012 06:25:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.247.28 with HTTP; Mon, 2 Jan 2012 06:24:37 -0800 (PST) In-Reply-To: <4EF0BC7E.4040103@gmail.com> References: <4EF0BC7E.4040103@gmail.com> From: Juanma Barranquero Date: Mon, 2 Jan 2012 15:24:37 +0100 Message-ID: Subject: Re: emacs server per project? To: Bruce Korb Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.41 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, 02 Jan 2012 14:25:21 -0000 On Tue, Dec 20, 2011 at 17:49, Bruce Korb wrote: > telling emacs itself which server name to use doesn't seem obvious to me. emacs --eval '(setq server-name "my-server-name")' -f server-mode =C2=A0 =C2=A0 Juanma From MAILER-DAEMON Mon Jan 02 11:32:38 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RhkoQ-0004HY-CR for mharc-help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 11:32:38 -0500 Received: from eggs.gnu.org ([140.186.70.92]:35073) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhkoN-0004HK-DN for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 11:32:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RhkoM-0006rO-Ac for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 11:32:35 -0500 Received: from mail-tul01m020-f169.google.com ([209.85.214.169]:49581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhkoM-0006rB-7D for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 11:32:34 -0500 Received: by obcwo8 with SMTP id wo8so14418053obc.0 for ; Mon, 02 Jan 2012 08:32:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=f/UEBPXAvtX5A+AYCNXxLTplK/MJYe5F8kALCceDZYY=; b=hpQUEDYUIQp/pJHjeu1EgW3PSSfQFaXzR0+/LFuPFjN32Ku+4Za6Ca4bOKN6Qpb/j2 wlMgpCVbBtpwg7Jdvmr6nQS17y81mgMsSgZH+XGBNa038aikfOpb+eXRbSRRNPx+CNK2 7ymr0GWNQB0q5vufKyt72nPzWmuo6xfTWtsxY= MIME-Version: 1.0 Received: by 10.182.15.104 with SMTP id w8mr42353663obc.20.1325521953007; Mon, 02 Jan 2012 08:32:33 -0800 (PST) Received: by 10.182.154.68 with HTTP; Mon, 2 Jan 2012 08:32:32 -0800 (PST) In-Reply-To: <20120102095123.F3895181003@neo.msri.org> References: <20120102095123.F3895181003@neo.msri.org> Date: Mon, 2 Jan 2012 11:32:32 -0500 Message-ID: Subject: Re: M-x mystery From: Alexander To: Silvio Levy Content-Type: multipart/alternative; boundary=f46d04462f8626a67604b58e21ae X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.169 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, 02 Jan 2012 16:32:36 -0000 --f46d04462f8626a67604b58e21ae Content-Type: text/plain; charset=ISO-8859-1 On Mon, Jan 2, 2012 at 4:51 AM, Silvio Levy wrote: > Dear emacs folks > > in trying to debug some bad interactions between vip.el (VI emulation) > and icicles, I've come against an obstable I can't surmount: M-x > sometimes ceases to be M-x and becomes instead ESC-x. > > Minimal example: I run "emacs -q -l foo.el" where foo.el contains this > code: > > (defun doit () > "run test" > (interactive) > (defvar vip-mode-map (make-keymap)) > (define-key vip-mode-map "\e" 'kill-line) > (use-local-map vip-mode-map) > ) > > Then I into a scratch buffer and type M-x doit -- so far so good. > After that, when I type M-x the behavior, it is as if I had typed ESC > and x: the current line is killed and an x is inserted. > > Any ideas about what I'm doing wrong? > > Silvio > > > I'm a novice but from what I read in an GNU emacs manual ESC and Meta are initially the same. So maybe you mapped something to ESC and emacs is confused? -- Alexander 7D9C597B --f46d04462f8626a67604b58e21ae Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

I'm a novice but from what I read in a= n GNU emacs manual ESC and Meta are initially the same. So maybe you mapped= something to ESC and emacs is confused?
--
Alexander
7D9C597B
--f46d04462f8626a67604b58e21ae-- From MAILER-DAEMON Mon Jan 02 11:32:44 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RhkoW-0004Yx-2g for mharc-help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 11:32:44 -0500 Received: from eggs.gnu.org ([140.186.70.92]:35099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhkoR-0004Kb-J5 for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 11:32:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RhkoP-0006s3-QY for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 11:32:39 -0500 Received: from st11p00mm-asmtpout002.mac.com ([17.172.81.1]:51507) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhkoK-0006qc-I6; Mon, 02 Jan 2012 11:32:32 -0500 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-disposition: inline Content-type: text/plain; CHARSET=US-ASCII Received: from debian.lan (78-105-231-74.zone3.bethere.co.uk [78.105.231.74]) by st11p00mm-asmtp002.mac.com (Oracle Communications Messaging Exchange Server 7u4-22.01 64bit (built Apr 21 2011)) with ESMTPSA id <0LX600FEIJA12560@st11p00mm-asmtp002.mac.com>; Mon, 02 Jan 2012 16:32:29 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110,1.0.211,0.0.0000 definitions=2012-01-02_04:2012-01-02, 2012-01-02, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=2 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000 definitions=main-1201020146 Date: Mon, 02 Jan 2012 16:30:18 +0000 From: Geoff Ferrari To: Vladimir Murzin Subject: Re: Emacs+Ansi-Term Display Glitches Message-id: <20120102163018.GC10290@debian.lan> References: <20111226153048.GA9542@lindy> <430661332-1324954259-cardhu_decombobulator_blackberry.rim.net-1495100216-@b13.c12.bise7.blackberry> In-reply-to: <430661332-1324954259-cardhu_decombobulator_blackberry.rim.net-1495100216-@b13.c12.bise7.blackberry> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (1203?) X-Received-From: 17.172.81.1 Cc: help-gnu-emacs@gnu.org, bug-gnu-emacs@gnu.org, help-gnu-emacs-bounces+murzin.v=gmail.com@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, 02 Jan 2012 16:32:41 -0000 I tried disabling composite manager by adding the following to /etc/X11/xorg.conf Section "Extensions" Option "Composite" "Disable" EndSection But it had no effect on the display glitches I mentioned. Any other suggestions? Maybe this bug will be solved in Emacs 24... Geoffrey On Tue, Dec 27, 2011 at 02:51:51AM +0000, Vladimir Murzin wrote: > Hi! > > Have you tried disabling composite manager? > > I met similar problem several months ago. Turning of composite feature of Metacity solved this problem for me. > Best wishes, Vladimir Murzin > > -----Original Message----- > From: Geoff Ferrari > Sender: help-gnu-emacs-bounces+murzin.v=gmail.com@gnu.orgDate: Mon, 26 Dec 2011 15:30:48 > To: > Cc: > Subject: Emacs+Ansi-Term Display Glitches > > Hi, > > I'm experiencing some display glitches when using ansi-term to access a > shell under the X11 version of emacs. There seem to be two separate > glitches, and they're a little hard to describe so I've included a link > to a video of the problem. > > FIRST GLITCH > > When I reach a full screen of text under ansi-term (i.e. once I've typed > in a few commands and the history of these commands fills the screen, so > that the input line is now at the bottom of the screen), the whole > screen seems to either flash or jump every time I type a new character. > > SECOND GLITCH > > After I've either filled the screen using my own commands, or after I've > used a programme such as top or mutt which takes over the whole screen, > then the two lines at the top of the screen seem to persist. Running the > "clear" command does not clear them, but they are cleared if I run the > "reset" command. > > You can see a download a video (7.6MB) of these glitches from: > http://cloud.geoffreyferrari.com/apps/files_sharing/get.php?token=db8e2a6726e03d1816548e17447a1df626215ac4 > > Both of these problems occur on both the latest 64-bit versions of ubuntu and > debian wheezy. With the terminal version of emacs I get the second > problem (lines being left at the top of the screen) but not the first > (no display jumpiness). > > My version of emacs as reported in Ubuntu 11.10 is > > "GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.5) > of 2011-08-14 on allspice, modified by Debian" > > I wonder if there's anything I can do to remove these annoying glitches, > of whether they are a bug that should be reported. > > Geoff > > > -- Geoffrey Ferrari Lecturer in Philosophy Lady Margaret Hall Office: 01865 [2]74381 Mobile: 07989 851364 web: geoffreyferrari.com From MAILER-DAEMON Mon Jan 02 11:33:28 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RhkpE-00056W-KX for mharc-help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 11:33:28 -0500 Received: from eggs.gnu.org ([140.186.70.92]:35408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhkpB-00056P-Lb for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 11:33:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RhkpA-00071Q-BD for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 11:33:25 -0500 Received: from st11p00mm-asmtpout002.mac.com ([17.172.81.1]:51514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rhkp5-00070c-AQ; Mon, 02 Jan 2012 11:33:19 -0500 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-disposition: inline Content-type: text/plain; CHARSET=US-ASCII Received: from debian.lan (78-105-231-74.zone3.bethere.co.uk [78.105.231.74]) by st11p00mm-asmtp002.mac.com (Oracle Communications Messaging Exchange Server 7u4-22.01 64bit (built Apr 21 2011)) with ESMTPSA id <0LX600FFJJBF2560@st11p00mm-asmtp002.mac.com>; Mon, 02 Jan 2012 16:33:19 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110,1.0.211,0.0.0000 definitions=2012-01-02_04:2012-01-02, 2012-01-02, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=2 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000 definitions=main-1201020146 Date: Mon, 02 Jan 2012 16:33:21 +0000 From: Geoff Ferrari To: Vladimir Murzin Subject: Re: Emacs+Ansi-Term Display Glitches Message-id: <20120102163321.GD10290@debian.lan> References: <20111226153048.GA9542@lindy> <430661332-1324954259-cardhu_decombobulator_blackberry.rim.net-1495100216-@b13.c12.bise7.blackberry> In-reply-to: <430661332-1324954259-cardhu_decombobulator_blackberry.rim.net-1495100216-@b13.c12.bise7.blackberry> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (1203?) X-Received-From: 17.172.81.1 Cc: help-gnu-emacs@gnu.org, bug-gnu-emacs@gnu.org, help-gnu-emacs-bounces+murzin.v=gmail.com@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, 02 Jan 2012 16:33:27 -0000 I tried disabling composite manager by adding the following to /etc/X11/xorg.conf Section "Extensions" Option "Composite" "Disable" EndSection But it had no effect on the display glitches I mentioned. Any other suggestions? Maybe this bug will be solved in Emacs 24... Geoffrey On Tue, Dec 27, 2011 at 02:51:51AM +0000, Vladimir Murzin wrote: > Hi! > > Have you tried disabling composite manager? > > I met similar problem several months ago. Turning of composite feature of Metacity solved this problem for me. > Best wishes, Vladimir Murzin > > -----Original Message----- > From: Geoff Ferrari > Sender: help-gnu-emacs-bounces+murzin.v=gmail.com@gnu.orgDate: Mon, 26 Dec 2011 15:30:48 > To: > Cc: > Subject: Emacs+Ansi-Term Display Glitches > > Hi, > > I'm experiencing some display glitches when using ansi-term to access a > shell under the X11 version of emacs. There seem to be two separate > glitches, and they're a little hard to describe so I've included a link > to a video of the problem. > > FIRST GLITCH > > When I reach a full screen of text under ansi-term (i.e. once I've typed > in a few commands and the history of these commands fills the screen, so > that the input line is now at the bottom of the screen), the whole > screen seems to either flash or jump every time I type a new character. > > SECOND GLITCH > > After I've either filled the screen using my own commands, or after I've > used a programme such as top or mutt which takes over the whole screen, > then the two lines at the top of the screen seem to persist. Running the > "clear" command does not clear them, but they are cleared if I run the > "reset" command. > > You can see a download a video (7.6MB) of these glitches from: > http://cloud.geoffreyferrari.com/apps/files_sharing/get.php?token=db8e2a6726e03d1816548e17447a1df626215ac4 > > Both of these problems occur on both the latest 64-bit versions of ubuntu and > debian wheezy. With the terminal version of emacs I get the second > problem (lines being left at the top of the screen) but not the first > (no display jumpiness). > > My version of emacs as reported in Ubuntu 11.10 is > > "GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.5) > of 2011-08-14 on allspice, modified by Debian" > > I wonder if there's anything I can do to remove these annoying glitches, > of whether they are a bug that should be reported. > > Geoff > > > -- Geoffrey Ferrari Lecturer in Philosophy Lady Margaret Hall Office: 01865 [2]74381 Mobile: 07989 851364 web: geoffreyferrari.com From MAILER-DAEMON Mon Jan 02 11:45:39 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rhl11-0001bB-Lb for mharc-help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 11:45:39 -0500 Received: from eggs.gnu.org ([140.186.70.92]:53136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rhl0y-0001aV-53 for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 11:45:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rhl0w-0000IT-Ir for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 11:45:36 -0500 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:59653) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rhl0q-0000HJ-HF; Mon, 02 Jan 2012 11:45:28 -0500 Received: by lagv3 with SMTP id v3so4762454lag.0 for ; Mon, 02 Jan 2012 08:45:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=x8MTKD5MIEdNJuAUynsBISWRrI/v3vdW25VgP8fhgQs=; b=d4ccda1ECM5b0qV1BKOpHPRBNxlbdcDoxVPPGGAiiwUFX6FXeWvjSVKDH1AuWqOQ4A +XQTz2rkm623S4uuzGrNhbq/SzDcOkTlh6PIuxSouBk2Fqok/SNhfj9yO+LxJm7akqKa /e2I5nB0XYhxuXNc1rejOeKgfM41ZjpD9OUL8= MIME-Version: 1.0 Received: by 10.152.112.42 with SMTP id in10mr41129031lab.21.1325522724882; Mon, 02 Jan 2012 08:45:24 -0800 (PST) Received: by 10.152.113.165 with HTTP; Mon, 2 Jan 2012 08:45:24 -0800 (PST) In-Reply-To: <20120102163321.GD10290@debian.lan> References: <20111226153048.GA9542@lindy> <430661332-1324954259-cardhu_decombobulator_blackberry.rim.net-1495100216-@b13.c12.bise7.blackberry> <20120102163321.GD10290@debian.lan> Date: Mon, 2 Jan 2012 19:45:24 +0300 Message-ID: Subject: Re: Emacs+Ansi-Term Display Glitches From: Vladimir Murzin To: Geoff Ferrari Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 Cc: help-gnu-emacs@gnu.org, bug-gnu-emacs@gnu.org, help-gnu-emacs-bounces+murzin.v=gmail.com@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, 02 Jan 2012 16:45:37 -0000 Hi Geoff In my case (Gnome2+Metacity ) the following was enough: $gconftool-2 --type boolean --set /apps/metacity/general/compositing_manager false My environment: GNU Emacs 23.3.3 Gnome 2.32.1 On Mon, Jan 2, 2012 at 8:33 PM, Geoff Ferrari wro= te: > I tried disabling composite manager by adding the following to /etc/X11/x= org.conf > > Section "Extensions" > =A0 =A0Option "Composite" "Disable" > EndSection > > But it had no effect on the display glitches I mentioned. Any other > suggestions? > > Maybe this bug will be solved in Emacs 24... > > Geoffrey > > > On Tue, Dec 27, 2011 at 02:51:51AM +0000, Vladimir Murzin wrote: >> Hi! >> >> Have you tried disabling composite manager? >> >> I met similar problem several months ago. Turning of composite feature o= f Metacity solved this problem for me. >> Best wishes, Vladimir Murzin >> >> -----Original Message----- >> From: Geoff Ferrari >> Sender: help-gnu-emacs-bounces+murzin.v=3Dgmail.com@gnu.orgDate: Mon, 26= Dec 2011 15:30:48 >> To: >> Cc: >> Subject: Emacs+Ansi-Term Display Glitches >> >> Hi, >> >> I'm experiencing some display glitches when using ansi-term to access a >> shell under the X11 version of emacs. There seem to be two separate >> glitches, and they're a little hard to describe so I've included a link >> to a video of the problem. >> >> FIRST GLITCH >> >> When I reach a full screen of text under ansi-term (i.e. once I've typed >> in a few commands and the history of these commands fills the screen, so >> that the input line is now at the bottom of the screen), the whole >> screen seems to either flash or jump every time I type a new character. >> >> SECOND GLITCH >> >> After I've either filled the screen using my own commands, or after I've >> used a programme such as top or mutt which takes over the whole screen, >> then the two lines at the top of the screen seem to persist. Running the >> "clear" command does not clear them, but they are cleared if I run the >> "reset" command. >> >> You can see a download a video (7.6MB) of these glitches from: >> http://cloud.geoffreyferrari.com/apps/files_sharing/get.php?token=3Ddb8e= 2a6726e03d1816548e17447a1df626215ac4 >> >> Both of these problems occur on both the latest 64-bit versions of ubunt= u and >> debian wheezy. With the terminal version of emacs I get the second >> problem (lines being left at the top of the screen) but not the first >> (no display jumpiness). >> >> My version of emacs as reported in Ubuntu 11.10 is >> >> "GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.5) >> =A0of 2011-08-14 on allspice, modified by Debian" >> >> I wonder if there's anything I can do to remove these annoying glitches, >> of whether they are a bug that should be reported. >> >> Geoff >> >> >> > > -- > Geoffrey Ferrari > Lecturer in Philosophy > Lady Margaret Hall > > Office: 01865 [2]74381 > Mobile: 07989 851364 > web: geoffreyferrari.com From MAILER-DAEMON Mon Jan 02 11:56:07 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RhlB9-0003xN-Pt for mharc-help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 11:56:07 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhlB5-0003rO-0n for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 11:56:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RhlB3-0001Vj-Lh for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 11:56:02 -0500 Received: from st11p00mm-asmtp003.mac.com ([17.172.81.2]:40871 helo=st11p00mm-asmtpout003.mac.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhlAx-0001Ua-Kv; Mon, 02 Jan 2012 11:55:55 -0500 Received: from debian.lan (78-105-231-74.zone3.bethere.co.uk [78.105.231.74]) by st11p00mm-asmtp003.mac.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPSA id <0LX600G2WKD1UU10@st11p00mm-asmtp003.mac.com>; Mon, 02 Jan 2012 08:55:53 -0800 (PST) Date: Mon, 02 Jan 2012 16:55:55 +0000 From: Geoff Ferrari Subject: Re: Emacs+Ansi-Term Display Glitches In-reply-to: To: Vladimir Murzin Message-id: <20120102165555.GA15697@debian.lan> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: QUOTED-PRINTABLE Content-disposition: inline X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110,1.0.211,0.0.0000 definitions=2012-01-02_05:2012-01-02, 2012-01-02, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=2 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000 definitions=main-1201020152 References: <20111226153048.GA9542@lindy> <430661332-1324954259-cardhu_decombobulator_blackberry.rim.net-1495100216-@b13.c12.bise7.blackberry> <20120102163321.GD10290@debian.lan> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (1203?) X-Received-From: 17.172.81.2 Cc: help-gnu-emacs@gnu.org, bug-gnu-emacs@gnu.org, help-gnu-emacs-bounces+murzin.v=gmail.com@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, 02 Jan 2012 16:56:04 -0000 Hi Vladimir, Sincere thanks for your suggestions. I checked and the configuration = value on my machine for /apps/metacity/general/compositing_manager was already se= t to false. Changing to true didn't help either. Incidentally, my usual window manager is stumpwm and I get the displa= y glitches there, too, so it might not be a problem with metacity in particular. One thing that helps the first glitch (the jumpiness when one has a f= ull screen of output) is switching from char-mode to line-mode. There's still some jumpiness, but it seems reduced. Best wishes, Geoff On Mon, Jan 02, 2012 at 07:45:24PM +0300, Vladimir Murzin wrote: > Hi Geoff >=20 > In my case (Gnome2+Metacity ) the following was enough: >=20 > $gconftool-2 --type boolean --set > /apps/metacity/general/compositing_manager false >=20 > My environment: > GNU Emacs 23.3.3 > Gnome 2.32.1 >=20 > On Mon, Jan 2, 2012 at 8:33 PM, Geoff Ferrari wrote: > > I tried disabling composite manager by adding the following to /e= tc/X11/xorg.conf > > > > Section "Extensions" > > =A0 =A0Option "Composite" "Disable" > > EndSection > > > > But it had no effect on the display glitches I mentioned. Any oth= er > > suggestions? > > > > Maybe this bug will be solved in Emacs 24... > > > > Geoffrey > > > > > > On Tue, Dec 27, 2011 at 02:51:51AM +0000, Vladimir Murzin wrote: > >> Hi! > >> > >> Have you tried disabling composite manager? > >> > >> I met similar problem several months ago. Turning of composite f= eature of Metacity solved this problem for me. > >> Best wishes, Vladimir Murzin > >> > >> -----Original Message----- > >> From: Geoff Ferrari > >> Sender: help-gnu-emacs-bounces+murzin.v=3Dgmail.com@gnu.orgDate:= Mon, 26 Dec 2011 15:30:48 > >> To: > >> Cc: > >> Subject: Emacs+Ansi-Term Display Glitches > >> > >> Hi, > >> > >> I'm experiencing some display glitches when using ansi-term to a= ccess a > >> shell under the X11 version of emacs. There seem to be two separ= ate > >> glitches, and they're a little hard to describe so I've included= a link > >> to a video of the problem. > >> > >> FIRST GLITCH > >> > >> When I reach a full screen of text under ansi-term (i.e. once I'= ve typed > >> in a few commands and the history of these commands fills the sc= reen, so > >> that the input line is now at the bottom of the screen), the who= le > >> screen seems to either flash or jump every time I type a new cha= racter. > >> > >> SECOND GLITCH > >> > >> After I've either filled the screen using my own commands, or af= ter I've > >> used a programme such as top or mutt which takes over the whole = screen, > >> then the two lines at the top of the screen seem to persist. Run= ning the > >> "clear" command does not clear them, but they are cleared if I r= un the > >> "reset" command. > >> > >> You can see a download a video (7.6MB) of these glitches from: > >> http://cloud.geoffreyferrari.com/apps/files_sharing/get.php?toke= n=3Ddb8e2a6726e03d1816548e17447a1df626215ac4 > >> > >> Both of these problems occur on both the latest 64-bit versions = of ubuntu and > >> debian wheezy. With the terminal version of emacs I get the seco= nd > >> problem (lines being left at the top of the screen) but not the = first > >> (no display jumpiness). > >> > >> My version of emacs as reported in Ubuntu 11.10 is > >> > >> "GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.5) > >> =A0of 2011-08-14 on allspice, modified by Debian" > >> > >> I wonder if there's anything I can do to remove these annoying g= litches, > >> of whether they are a bug that should be reported. > >> > >> Geoff > >> > >> > >> > > > > -- > > Geoffrey Ferrari > > Lecturer in Philosophy > > Lady Margaret Hall > > > > Office: 01865 [2]74381 > > Mobile: 07989 851364 > > web: geoffreyferrari.com --=20 Geoffrey Ferrari Lecturer in Philosophy Lady Margaret Hall Office: 01865 [2]74381 Mobile: 07989 851364 web: geoffreyferrari.com From MAILER-DAEMON Mon Jan 02 12:20:10 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RhlYQ-0004iL-1m for mharc-help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 12:20:10 -0500 Received: from eggs.gnu.org ([140.186.70.92]:52269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rhkqe-0008AD-Is for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 11:34:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RhkqZ-0007Sc-PJ for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 11:34:53 -0500 Received: from rcsinet15.oracle.com ([148.87.113.117]:44470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhkqZ-0007SR-Ik for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 11:34:51 -0500 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q02GYleH024576 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 2 Jan 2012 16:34:48 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q02GYkXA007746 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 2 Jan 2012 16:34:47 GMT Received: from abhmt105.oracle.com (abhmt105.oracle.com [141.146.116.57]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q02GYkEw010869; Mon, 2 Jan 2012 10:34:46 -0600 Received: from dradamslap1 (/10.159.57.64) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 02 Jan 2012 08:34:45 -0800 From: "Drew Adams" To: "'Silvio Levy'" , References: <20120102095123.F3895181003@neo.msri.org> Subject: RE: M-x mystery Date: Mon, 2 Jan 2012 08:34:33 -0800 Message-ID: <9FB2AF988B2F4C1389CB30235F2266A0@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20120102095123.F3895181003@neo.msri.org> Thread-Index: AczJNB0QL4rgxVm1QlOFkVNVU0ELowAMlgug X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-CT-RefId: str=0001.0A090206.4F01DCA8.0083,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.117 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 02 Jan 2012 17:20:08 -0000 > in trying to debug some bad interactions between vip.el (VI emulation) > and icicles, I've come against an obstable I can't surmount: M-x > sometimes ceases to be M-x and becomes instead ESC-x. > > Minimal example: I run "emacs -q -l foo.el" where foo.el > contains this code: > (defun doit () > "run test" > (interactive) > (defvar vip-mode-map (make-keymap)) > (define-key vip-mode-map "\e" 'kill-line) > (use-local-map vip-mode-map)) > > Then I into a scratch buffer and type M-x doit -- so far so good. > After that, when I type M-x the behavior, it is as if I had typed ESC > and x: the current line is killed and an x is inserted. > Any ideas about what I'm doing wrong? `M-x' is typically the same as `ESC x' (it is translated from `ESC x'). If you redefine `ESC' as a command (`kill-line') then it can no longer continue to act as a prefix key. So both `M-x' and `ESC x' are then undefined. (Also, why are you doing `make-keymap' here? Why is that necessary? Why not just invoke `doit' after you have loaded Vip, so the keymap will be already defined?) FYI: You can customize the key that Icicles uses to invoke `icicle-execute-extended-command' (by default it is `M-x'). Just customize option `icicle-top-level-key-bindings', changing the entry for that command. Anyway, I tried to follow your recipe. It seems incomplete. You start with `emacs -q`, which is good, but you do not show where/when you load vip.el[c] or Icicles, and you do not show where/when you turn on Vip mode or Icicles mode. Sometimes the load or mode-invocation order can matter (but it should not). When I do `emacs -Q', then load vip.el, then evaluate the code above and do `M-x doit', then load Icicles and turn on Icicle mode, I do not see the behavior you describe. If I then turn on Vip mode (using `M-x vip-mode' and answering `n' to inhibiting startup msg), I still do not see that behavior. If I toggle Icicle mode off then on again I still do not see that behavior. And I don't see any difference if I turn on vip-mode before Icicle mode, etc. The order does not seem to matter. `C-h k' says `M-x' and `ESC x' are undefined. But they both seem to work normally, invoking `icicle-execute-extended-command' in Icicle mode and `execute-extended-command' when I turn off Icicle mode! Yet looking at `vip-mode-map' I see that it has `ESC' defined as `kill-line'. But `C-h w kill-line' does not list `ESC' as one of the bindings. I get the impression that I am not really in Vip mode (?). And yet I see `Vi:' in the mode line. But `C-h m' does not mention Vip at all (?). I tried toggling Vip mode using `M-x vip-mode', but I still see `Vi:' in the mode line. I know nothing about Vip, so I'm probably not turning it off and on correctly. I took a quick look at the Vip doc, but it wasn't very helpful, IMHO. Please send me a more complete recipe, mentioning also your Emacs version. We can take this off list. But if someone else familiar with Vip can help, please post. From MAILER-DAEMON Mon Jan 02 12:37:23 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rhlp5-0003DE-6z for mharc-help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 12:37:23 -0500 Received: from eggs.gnu.org ([140.186.70.92]:48758) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rhlp2-0003B2-GU for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 12:37:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rhlp0-0006SB-NI for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 12:37:20 -0500 Received: from spike.lmi.net ([66.117.140.17]:36766) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rhlp0-0006S6-A4 for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 12:37:18 -0500 Received: from neo.msri.org (75-101-50-210.dsl.static.sonic.net [75.101.50.210]) by spike.lmi.net (Postfix) with ESMTP id BA723154150; Mon, 2 Jan 2012 09:37:16 -0800 (PST) Received: by neo.msri.org (Postfix, from userid 1000) id D8C94180B85; Mon, 2 Jan 2012 09:37:15 -0800 (PST) Received: from neo.msri.org (localhost [127.0.0.1]) by neo.msri.org (Postfix) with ESMTP id BF6D8180170; Mon, 2 Jan 2012 09:37:15 -0800 (PST) To: "Drew Adams" Subject: Re: M-x mystery In-reply-to: Your message of Mon, 2 Jan 2012 08:34:33 -0800 From: Silvio Levy Date: Mon, 02 Jan 2012 09:37:15 -0800 Sender: levy@msri.org Message-Id: <20120102173715.D8C94180B85@neo.msri.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 66.117.140.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: Mon, 02 Jan 2012 17:37:21 -0000 Hi Drew, I'll answer this question first: > (Also, why are you doing `make-keymap' here? Why is that necessary? It is vip that does make-keymap. I simply boiled down wha vip.el is doing to the minimum code that causes the problem. If I just reported "icicle messes up vi emulation mode" I couldn't expect someone to look at the vi emulation code. So I distilled out of that the problem I'm reporting. I can reproduce it in 6 lines. Let me rewrite them here without mentioning vip at all: (defun doit () "run test" (interactive) (defvar my-map (make-keymap)) (define-key my-map "\e" 'kill-line) (use-local-map my-map)) Now let me address this: > `M-x' is typically the same as `ESC x' (it is translated from `ESC x') I should have written alt-x, Surely that's distinct from ESC x. When I start a fresh emacs -q, if I type k x, emacs reports that M-x is bound to execute-extended-command. Now suppose I go into a buffer containing the code above, and do C-x C-e at the end of it. Then after M-x doit, it seems that x is not even recognized anymore: when I type k x, emacs reports that Escape is bounded to kill-line, And that's what I don't understand. It's one thing for x to be treated as M-x because some people lack that alt key, but for emacs to *convert* the keycode x to x seems to me like poor design. Why is it poor design? This is where I need to explain my motivation for rebinding . Vi makes a distinction between insert mode and command mode. The fact that (standard) emacs treats undecorated keys as self-insertion is in my view its only major design flaw, and one that is neatly remedied by vi emulation. In vi, undecorated keys are used for all sorts of purposes, like moving around the file, which avoid having to reach for the control key for every damn thing. Naturally, when you're adding text you want these same keys to self-insert; ergo, there is an insert mode. And in insert mode, ESC means "get me out of insert mode". So that's why vip rebinds ESC (when in insert mode). Icicle disables that. So I was trying to rebind vip-change-to-vi-mode (get out of insert mode) away from ESC to, say, , which is close to ESC on the keyboard -- close enough that I can live with it. But nothing I did worked. And in trying to figure out why, I'm frustrated by the fact that x is disabled by vip's rebinding of ESC. And **that's** the problem I'm trying to solve first. I have a hard time imagining that emacs cannot be persuaded to recognize x separately from . Best, Silvio > > in trying to debug some bad interactions between vip.el (VI emulation) > > and icicles, I've come against an obstable I can't surmount: M-x > > sometimes ceases to be M-x and becomes instead ESC-x. > > > > Minimal example: I run "emacs -q -l foo.el" where foo.el > > contains this code: > > (defun doit () > > "run test" > > (interactive) > > (defvar vip-mode-map (make-keymap)) > > (define-key vip-mode-map "\e" 'kill-line) > > (use-local-map vip-mode-map)) > > > > Then I into a scratch buffer and type M-x doit -- so far so good. > > After that, when I type M-x the behavior, it is as if I had typed ESC > > and x: the current line is killed and an x is inserted. > > Any ideas about what I'm doing wrong? > > `M-x' is typically the same as `ESC x' (it is translated from `ESC x'). If you > redefine `ESC' as a command (`kill-line') then it can no longer continue to act > as a prefix key. So both `M-x' and `ESC x' are then undefined. > > (Also, why are you doing `make-keymap' here? Why is that necessary? Why not > just invoke `doit' after you have loaded Vip, so the keymap will be already > defined?) > > FYI: You can customize the key that Icicles uses to invoke > `icicle-execute-extended-command' (by default it is `M-x'). Just customize > option `icicle-top-level-key-bindings', changing the entry for that command. > > Anyway, I tried to follow your recipe. It seems incomplete. You start with > `emacs -q`, which is good, but you do not show where/when you load vip.el[c] or > Icicles, and you do not show where/when you turn on Vip mode or Icicles mode. > Sometimes the load or mode-invocation order can matter (but it should not). > > When I do `emacs -Q', then load vip.el, then evaluate the code above and do `M-x > doit', then load Icicles and turn on Icicle mode, I do not see the behavior you > describe. If I then turn on Vip mode (using `M-x vip-mode' and answering `n' to > inhibiting startup msg), I still do not see that behavior. If I toggle Icicle > mode off then on again I still do not see that behavior. And I don't see any > difference if I turn on vip-mode before Icicle mode, etc. The order does not > seem to matter. > > `C-h k' says `M-x' and `ESC x' are undefined. But they both seem to work > normally, invoking `icicle-execute-extended-command' in Icicle mode and > `execute-extended-command' when I turn off Icicle mode! Yet looking at > `vip-mode-map' I see that it has `ESC' defined as `kill-line'. But `C-h w > kill-line' does not list `ESC' as one of the bindings. I get the impression > that I am not really in Vip mode (?). And yet I see `Vi:' in the mode line. > But `C-h m' does not mention Vip at all (?). > > I tried toggling Vip mode using `M-x vip-mode', but I still see `Vi:' in the > mode line. I know nothing about Vip, so I'm probably not turning it off and on > correctly. I took a quick look at the Vip doc, but it wasn't very helpful, > IMHO. > > Please send me a more complete recipe, mentioning also your Emacs version. We > can take this off list. But if someone else familiar with Vip can help, please > post. > From MAILER-DAEMON Mon Jan 02 12:53:47 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rhm4x-0002EB-5m for mharc-help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 12:53:47 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51377) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rhm4u-0002E5-Rh for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 12:53:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rhm4t-0008NJ-Um for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 12:53:44 -0500 Received: from lo.gmane.org ([80.91.229.12]:41304) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rhm4t-0008NF-Pa for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 12:53:43 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rhm4r-0004E8-R8 for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 18:53:41 +0100 Received: from 232-170-85-95.dynamic.stcable.net ([95.85.170.232]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Jan 2012 18:53:41 +0100 Received: from csanyipal by 232-170-85-95.dynamic.stcable.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 02 Jan 2012 18:53:41 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Csanyi Pal Subject: Re: Emacs ignoring my settings in ~/.emacs Date: Mon, 02 Jan 2012 18:53:28 +0100 Lines: 30 Message-ID: <8762gudm93.fsf@debian-asztal.excito> References: <8762gv3lio.fsf@debian-asztal.excito> <20120101114800.GA4133@Zsdrums> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 232-170-85-95.dynamic.stcable.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) Cancel-Lock: sha1:nGEsAXjdFApla+eSmljNJwHcm8E= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 02 Jan 2012 17:53:45 -0000 Pedro Insua writes: > On Sun, Jan 01, 2012 at 08:54:55AM +0100, Csanyi Pal wrote: >> jesterday I upgraded my Debian GNU/Linux SID system and being used >> another desktop environment GNOME. >> >> Today I return back to my favorite Window Maker window manager but Emacs >> ignore settings in ~/.emacs. >> >> How can I solve this problem? > > You are using SID (unstable brach), maybe it's a bug in some Debian > package.. have you installed/updated new/some packages ? > > You can run Emacs with '--debug-init' to see what's go on.. Well, I try to add some bug to my .emacs file (zzz letters in the first line) and realize that that actually Emacs load ~/.emacs file, but the Emacs window is so big that I can't see neither it's bottom nor the right edge. I must to change Emacs window geometry to get window smaller. It's interesting that that Emacs window geometry varying when one uses XDM or GDM display managers with the same setup in the ~/.emacs file. -- Regards from Pal Happy New Year! From MAILER-DAEMON Mon Jan 02 13:26:28 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rhmaa-0007hT-5O for mharc-help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 13:26:28 -0500 Received: from eggs.gnu.org ([140.186.70.92]:55804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhmaX-0007gi-1D for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 13:26:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RhmaV-0004DY-Nx for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 13:26:25 -0500 Received: from rcsinet15.oracle.com ([148.87.113.117]:39480) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhmaV-0004DU-HW for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 13:26:23 -0500 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q02IQL4T015213 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 2 Jan 2012 18:26:22 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q02IQK8I026773 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 2 Jan 2012 18:26:21 GMT Received: from abhmt107.oracle.com (abhmt107.oracle.com [141.146.116.59]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q02IQKss024458; Mon, 2 Jan 2012 12:26:20 -0600 Received: from dradamslap1 (/10.159.57.64) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 02 Jan 2012 10:26:20 -0800 From: "Drew Adams" To: References: Your message of Mon, 2 Jan 2012 08:34:33 -0800 <20120102173715.D8C94180B85@neo.msri.org> Subject: RE: M-x mystery Date: Mon, 2 Jan 2012 10:26:08 -0800 Message-ID: <29571DAF1C4F487BBEFB5FA21AEDA3DD@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20120102173715.D8C94180B85@neo.msri.org> Thread-Index: AczJdS2VuF+gbgXWQ5q7Qx0i6xZ6PgAAsRmQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-CT-RefId: str=0001.0A090203.4F01F6CE.0094,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.117 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, 02 Jan 2012 18:26:26 -0000 > And that's what I don't understand. It's one thing for x to be > treated as M-x because some people lack that alt key, but for emacs to > *convert* the keycode x to x seems to me like poor design. That's just what Emacs does, and it always has. (This much has nothing to do with Icicles.) See user option `meta-prefix-char', which is bound by default to ESC (character value 27). See also the Elisp manual, node `Functions for Key Lookup'. (You might also look at node `Other Char Bits', about the Alt key.) I'm no expert on Emacs's `Meta' key and the `Alt' key. No doubt others could inform you better about this. In particular, perhaps a Vip or Viper user can help you here. > Why is it poor design? This is where I need to explain my motivation > for rebinding . > > Vi makes a distinction between insert mode and command mode. The fact > that (standard) emacs treats undecorated keys as self-insertion is in > my view its only major design flaw, and one that is neatly remedied by > vi emulation. In vi, undecorated keys are used for all sorts of > purposes, like moving around the file, which avoid having to reach for > the control key for every damn thing. Naturally, when you're adding > text you want these same keys to self-insert; ergo, there is an insert > mode. And in insert mode, ESC means "get me out of insert mode". > > So that's why vip rebinds ESC (when in insert mode). Icicle disables > that. I wonder how. Are you sure it does? I believe there are some people who use Icicles with Viper (dunno about Vip). By default (see my previous mail about customizing this), Icicles remaps command `execute-extended-command' to `icicle-execute-extended-command' when in Icicle mode. If you use Emacs 22+ (you still haven't said what Emacs version you are using), then this is done using `remap' with `define-key'. If you are using Emacs < 22 then this is done using `substitute-key-definition'. In effect, this rebinds `M-x' to the Icicles version of the command. And AFAIK this remapping means that all keys normally bound to `execute-extended-command' are rebound - and that includes `ESC x'. But I'm not aware where Icicles binds `ESC' - it remains a prefix key, but I don't believe that Icicles redefines it as a prefix key if you have undefined it as such by binding it to a command (e.g. `kill-line'). In any case, you should be able to customize the binding of `icicle-execute-extended-command', as I mentioned. As I said, my attempt to repro your problem failed - I guess I need a more detailed recipe. When I tried to follow your recipe, `M-x' still behaved normally, invoking `(icicle-)execute-extended-command' in and out of Icicle mode. AFAICT, I was never really in Vip mode (?). > So I was trying to rebind vip-change-to-vi-mode (get out of > insert mode) away from ESC to, say, , which is close to ESC on the > keyboard -- close enough that I can live with it. But nothing I did > worked. It might be easier to leave Vip alone and customize Icicles. Follow up off list, if you like. Let me know in detail (in order) what goes wrong when you make no changes to either, and I can perhaps tell you how to customize Icicles to help the two get along well. Or perhaps a Vipian or Viperian on the list can help. > And in trying to figure out why, I'm frustrated by the fact that > x is disabled by vip's rebinding of ESC. And **that's** the > problem I'm trying to solve first. I have a hard time imagining that > emacs cannot be persuaded to recognize x separately from . See above. See option `meta-prefix-char'. And can you please give me a more detailed recipe that will let me repro the problem? When and how do you activate Vip and Icicles etc. See my previous reply. Thx - Drew. From MAILER-DAEMON Mon Jan 02 13:28:15 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RhmcJ-0008QJ-1l for mharc-help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 13:28:15 -0500 Received: from eggs.gnu.org ([140.186.70.92]:39864) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhhwL-00048q-W3 for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 08:28:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RhhwL-00089f-1v for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 08:28:37 -0500 Received: from 94-40-14-71.tktelekom.pl ([94.40.14.71]:41086 helo=mail.dgtronik.com.pl) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhhwK-00086j-Hc for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 08:28:36 -0500 Received: from [192.168.7.185] (unknown [192.168.7.185]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: krzysiek@mail.dgtronik.com.pl) by mail.dgtronik.com.pl (Postfix) with ESMTP id 093B2670110 for ; Mon, 2 Jan 2012 14:08:22 +0100 (CET) Message-ID: <4F01AC45.7080804@dgt.com.pl> Date: Mon, 02 Jan 2012 14:08:21 +0100 From: Krzysztof Czarnowski User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Thunderbird/3.1.16 MIME-Version: 1.0 To: help-gnu-emacs@gnu.org Subject: ediff: how to gracefully leave a child session Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-dgtronik-com-pl-MailScanner-Information: Please contact the ISP for more information X-dgtronik-com-pl-MailScanner-ID: 093B2670110.AA412 X-dgtronik-com-pl-MailScanner: Found to be clean X-dgtronik-com-pl-MailScanner-From: krzysztof.czarnowski@dgt.com.pl X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 94.40.14.71 X-Mailman-Approved-At: Mon, 02 Jan 2012 13:28:13 -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, 02 Jan 2012 13:28:38 -0000 Hello! I can't figure one thing about ediff. After "=" command (fine differences between the currently highlighted buffers) is issued, child ediff is executed and the work is done, I don't know how to gracefully "kill" the child ediff with its temp buffers. Killing "manually" the two buffers and the ediff frame is sort of clumsy. Anyone knows a better way? Krzysztof -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From MAILER-DAEMON Mon Jan 02 13:37:55 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rhmlf-0003C3-UI for mharc-help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 13:37:55 -0500 Received: from eggs.gnu.org ([140.186.70.92]:34116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rhmlc-0003BN-WB for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 13:37:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rhmlc-0005LI-5S for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 13:37:52 -0500 Received: from fmmailgate02.web.de ([217.72.192.227]:43285) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rhmlb-0005LA-Vv for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 13:37:52 -0500 Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate02.web.de (Postfix) with ESMTP id 4A6561BEDB03E for ; Mon, 2 Jan 2012 19:37:50 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0LpfFO-1SMswN3Zjy-00fj3c; Mon, 02 Jan 2012 19:37:50 +0100 Subject: Re: Emacs ignoring my settings in ~/.emacs Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Peter Dyballa In-Reply-To: <8762gudm93.fsf@debian-asztal.excito> Date: Mon, 2 Jan 2012 19:37:48 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <38678093-CE2B-4739-98DD-7E049ADEC847@Web.DE> References: <8762gv3lio.fsf@debian-asztal.excito> <20120101114800.GA4133@Zsdrums> <8762gudm93.fsf@debian-asztal.excito> To: Csanyi Pal X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:bar2MEtD1STOe5tDcISI9CEVqsssRjtqYFxeUBW13X2 gxA1bj7dD7yTwfsyUM8VOsn8u1VQFYscrRSZlowJpDZfLwHQRQ qQC9igj+pd4dYn7WCzJnUDN4NhaILH8+NTybbaoX0uMQONLwZ6 KI8QXmKPtRryjF/9ykMHlR+lH8e2OH0wHk++THhvdK03aunfeh q8fOWvhCEZH/YhWeq0kYw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.227 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, 02 Jan 2012 18:37:54 -0000 Am 02.01.2012 um 18:53 schrieb Csanyi Pal: > It's interesting that that Emacs window geometry varying when one uses > XDM or GDM display managers with the same setup in the ~/.emacs file. Because different values for the resources are used? You can overcome = these by setting values on the command line when launching GNU Emacs. -- Greetings Pete Give a man a fish, and you've fed him for a day. Teach him to fish, and = you've depleted the lake. From MAILER-DAEMON Mon Jan 02 14:41:20 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rhnl2-0004Tn-FR for mharc-help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 14:41:20 -0500 Received: from eggs.gnu.org ([140.186.70.92]:56646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rhnky-0004OF-Jc for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 14:41:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rhnkx-0004Q6-JG for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 14:41:16 -0500 Received: from mta-out.inet.fi ([195.156.147.13]:32772 helo=jenni2.inet.fi) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rhnkx-0004PZ-2x for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 14:41:15 -0500 Received: from mithlond.arda (84.251.132.215) by jenni2.inet.fi (8.5.140.02) id 4EB3AFE102B6AC03; Mon, 2 Jan 2012 21:41:01 +0200 Received: from dtw by mithlond.arda with local (Exim 4.72) (envelope-from ) id 1Rhnkf-0001qv-2i; Mon, 02 Jan 2012 21:40:57 +0200 From: Teemu Likonen To: Silvio Levy Subject: Re: M-x mystery References: <20120102173715.D8C94180B85@neo.msri.org> Date: Mon, 02 Jan 2012 21:40:57 +0200 In-Reply-To: <20120102173715.D8C94180B85@neo.msri.org> (Silvio Levy's message of "Mon, 02 Jan 2012 09:37:15 -0800") Message-ID: <87y5tp6gfq.fsf@mithlond.arda> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 195.156.147.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: Mon, 02 Jan 2012 19:41:17 -0000 * 2012-01-02T09:37:15-08:00 * Silvio Levy wrote: > And that's what I don't understand. It's one thing for x to be > treated as M-x because some people lack that alt key, but for emacs to > *convert* the keycode x to x seems to me like poor design. That's a historical Unix text terminal thing. All input must have a "slot" in the current character set. That is, everything must be a character (code). There is this concept of Meta key which is produced by Esc in today's keyboards. Its Ascii code is 27 so it's a character (kind of). If we want to use Alt key in text terminals we must decide which character (code) it produces. Well, the choice has already been made for us. Alt+x was chosen to insert Meta x so that it's easier to type those Meta key combinations. Emacs in Unix text terminals is tied to this design of text terminals (remember, you can use them through a modem/serial line). Emacs's graphical user interface does not _need_ to be as limited but apparently developers want it to be as compatible as possible anyway - and I agree with them. From MAILER-DAEMON Mon Jan 02 15:07:17 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RhoA9-0000bL-L3 for mharc-help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 15:07:17 -0500 Received: from eggs.gnu.org ([140.186.70.92]:44270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhoA6-0000bB-Hg for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 15:07:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RhoA5-0007HE-AY for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 15:07:14 -0500 Received: from spike.lmi.net ([66.117.140.17]:52973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhoA5-0007H9-0t for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 15:07:13 -0500 Received: from neo.msri.org (75-101-50-210.dsl.static.sonic.net [75.101.50.210]) by spike.lmi.net (Postfix) with ESMTP id 7EDF115401C; Mon, 2 Jan 2012 12:07:11 -0800 (PST) Received: by neo.msri.org (Postfix, from userid 1000) id 294CD180B85; Mon, 2 Jan 2012 12:07:08 -0800 (PST) Received: from neo.msri.org (localhost [127.0.0.1]) by neo.msri.org (Postfix) with ESMTP id 16B49180170; Mon, 2 Jan 2012 12:07:08 -0800 (PST) To: Teemu Likonen Subject: Re: M-x mystery In-reply-to: Your message of Mon, 02 Jan 2012 21:40:57 +0200 From: Silvio Levy Date: Mon, 02 Jan 2012 12:07:08 -0800 Sender: levy@msri.org Message-Id: <20120102200708.294CD180B85@neo.msri.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 66.117.140.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: Mon, 02 Jan 2012 20:07:15 -0000 Thank Teemu. I understand there are historical constraints. But note that I'm not using the emacs GUI at all. I'm just talking about the keyboard, and I thought alt-x is treated by keyboards in a way that's exactly parallel to ctrl-x. I do see that saying (define-key global-map "\M-x" 'kill-line) after I've redefined ESC generates the complaint "Key sequence M-x starts with non-prefix key". I'm studying the references Drew sent in the Elisp manual, `Functions for Key Lookup' and `Other Char Bits'. Obviously there are many subtleties I wasn't aware of. Best wishes, Silvio > From: Teemu Likonen > To: Silvio Levy > Cc: Drew Adams , help-gnu-emacs@gnu.org > Subject: Re: M-x mystery > References: <20120102173715.D8C94180B85@neo.msri.org> > Date: Mon, 02 Jan 2012 21:40:57 +0200 > In-Reply-To: <20120102173715.D8C94180B85@neo.msri.org> (Silvio Levy's message > of "Mon, 02 Jan 2012 09:37:15 -0800") > > * 2012-01-02T09:37:15-08:00 * Silvio Levy wrote: > > > And that's what I don't understand. It's one thing for x to be > > treated as M-x because some people lack that alt key, but for emacs to > > *convert* the keycode x to x seems to me like poor design. > > That's a historical Unix text terminal thing. All input must have a > "slot" in the current character set. That is, everything must be a > character (code). There is this concept of Meta key which is produced by > Esc in today's keyboards. Its Ascii code is 27 so it's a character (kind > of). > > If we want to use Alt key in text terminals we must decide which > character (code) it produces. Well, the choice has already been made for > us. Alt+x was chosen to insert Meta x so that it's easier to type those > Meta key combinations. > > Emacs in Unix text terminals is tied to this design of text terminals > (remember, you can use them through a modem/serial line). Emacs's > graphical user interface does not _need_ to be as limited but apparently > developers want it to be as compatible as possible anyway - and I agree > with them. From MAILER-DAEMON Mon Jan 02 15:45:32 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RholA-0005at-5r for mharc-help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 15:45:32 -0500 Received: from eggs.gnu.org ([140.186.70.92]:38727) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rhol7-0005an-Np for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 15:45:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rhol5-0002ra-Q1 for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 15:45:29 -0500 Received: from mail-yw0-f41.google.com ([209.85.213.41]:53818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rhol5-0002r4-NQ for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 15:45:27 -0500 Received: by yhgm50 with SMTP id m50so8485571yhg.0 for ; Mon, 02 Jan 2012 12:45:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=VLi3jGlsppMKpQnmF+rxigTh7A2eFg6JWPDxT32tV9I=; b=BN4JG+MDzfe0M4xLv0ZVTPNTOgWmuVNszyQZ5OhnOT7zr30XFBUjo4VT0j+IF3yhCn 9lRGOahQaXx+ImckucGW+gTTIp+tRdSghf+Z9sbrXgJ08Fk0qLSTOqKo0t2AaUN8Pvaz d1BLMjhVg1S/tO8fCgx0BlgOYZ47d7mFCY9H8= Received: by 10.236.154.37 with SMTP id g25mr4130782yhk.112.1325537126575; Mon, 02 Jan 2012 12:45:26 -0800 (PST) MIME-Version: 1.0 Received: by 10.147.182.7 with HTTP; Mon, 2 Jan 2012 12:45:04 -0800 (PST) From: Guido Van Hoecke Date: Mon, 2 Jan 2012 21:45:04 +0100 Message-ID: Subject: Sunrise Commander question To: =?UTF-8?Q?Jos=C3=A9_Alfredo_Romero_L=2E?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.213.41 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, 02 Jan 2012 20:45:30 -0000 Jos=C3=A9 Alfredo, I am a noob wrt Sunrise Commander, but can only praise you for this fantastic tool. Imho, this is truly what dired should be, and I have a strong feeling that this should be part of the standard emacs distribution. (Oops, where are my manners? I should of course start with my most sincere wishes for a healthy and prosperous 2012!) Can I bother you with a usability question? As advised on the site [1], I use OpenWith, including the defadvice [2] for the recentf registration of files viewed with an external app. This works as expected as far as viewing the files with the external app. But unfortunately, the window configuration is lost. I start with a left and right pane and a bottom eshell pane. Both the left and the right pane disappear and only one single window remains. I have to M-x sunrise to restore the sr panes. Is there same setting to avoid this unnecessary window juggling? If the bottom pane is the eshell buffer, the eshell buffer remains visible in the sole window, and M-x sunrise restores the intial configuration. But if the bottom pane is e.g. used for editing a file when external viewing from a sr-pane, the sole remainig window shows the eshell buffer, the scratch buffer or whatever, but no longer the file being edited. I have yet to discover the logic in this phenomenon, but again, I'd like to avoid this window / buffer juggling. Any suggestions or ideas? Guido [1] http://www.emacswiki.org/emacs/Sunrise_Commander_Tips#ExternalApps [2] http://www.emacswiki.org/emacs/Sunrise_Commander_Tips#toc4 -- If men acted after marriage as they do during courtship, there would be fewer divorces -- and more bankruptcies. -- Frances Rodman http://vanhoecke.org ... and go2 places! From MAILER-DAEMON Mon Jan 02 17:33:21 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RhqRV-0005T8-6T for mharc-help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 17:33:21 -0500 Received: from eggs.gnu.org ([140.186.70.92]:55395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhqRT-0005T1-3O for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 17:33:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RhqRR-0000IU-SR for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 17:33:19 -0500 Received: from spike.lmi.net ([66.117.140.17]:57357) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhqRR-0000IP-N3 for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 17:33:17 -0500 Received: from neo.msri.org (75-101-50-210.dsl.static.sonic.net [75.101.50.210]) by spike.lmi.net (Postfix) with ESMTP id 29A06154150; Mon, 2 Jan 2012 14:33:16 -0800 (PST) Received: by neo.msri.org (Postfix, from userid 1000) id 3E60F1810C9; Mon, 2 Jan 2012 14:33:15 -0800 (PST) Received: from neo.msri.org (localhost [127.0.0.1]) by neo.msri.org (Postfix) with ESMTP id 23C3B180B85; Mon, 2 Jan 2012 14:33:15 -0800 (PST) To: help-gnu-emacs@gnu.org Subject: Re: M-x mystery In-reply-to: Your message of Mon, 2 Jan 2012 10:26:08 -0800 From: Silvio Levy Date: Mon, 02 Jan 2012 14:33:15 -0800 Sender: levy@msri.org Message-Id: <20120102223315.3E60F1810C9@neo.msri.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 66.117.140.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: Mon, 02 Jan 2012 22:33:20 -0000 Hi, Sorry to bother you all, but the info in http://www.gnu.org/software/emacs/manual/html_node/elisp/Functions-for-Key-Lookup.html doesn't seem to correspond to my experience. I wonder if it corresponds to yours. First, let me tell you what does work as described. My ALT key does seem to be interpreted by Emacs as Meta, in principle. The page above says M-, a function key, is not converted into . and indeed, if I type ALT-F5 the response is " undefined", as expected. (I'm using F5 because my F1 is intercepted by the window manager - can't figure out how.) And, ALT-x is interpreted as ESC x, also as described above. The problem is the variable meta-prefix-char, which is supposed to alter that relationship. If I load a file containing only the command (setq meta-prefix-char [f5]) and check the value of the variable, the answer is [f5]. ******** Yet, after that, ALT-x is still interpreted as ESC x. ******** You might say that [f5] is not a valid prefix key. But [f2] is (it's bound to 2C-mode-map in two-column.el). After I set meta-prefix-char to [f2], typing ALT-x is still interpreted as ESC x, not [f2] x. In fact, I can't even duplicate the example near the bottom of the "Functions for Key Lookup" page (link above). Namely, setting meta-prefix-char to 24 **should** make M-x behave like C-x, according to that page. But that does not happen; even with meta-prefix-char=24, ALT-x is interpreted as ESC x. What have I misunderstood? This is all in emacs 23.1.50.1 called with -q. Silvio From MAILER-DAEMON Mon Jan 02 18:26:01 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RhrGT-0007FV-Dc for mharc-help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 18:26:01 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhrGP-0007Cl-Tn for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 18:25:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RhrGO-0007PM-Me for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 18:25:57 -0500 Received: from acsinet15.oracle.com ([141.146.126.227]:22737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhrGO-0007PE-GX for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 18:25:56 -0500 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q02NPsOO004856 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 2 Jan 2012 23:25:54 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q02NPrM2004181 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 2 Jan 2012 23:25:54 GMT Received: from abhmt110.oracle.com (abhmt110.oracle.com [141.146.116.62]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q02NPrHK008555; Mon, 2 Jan 2012 17:25:53 -0600 Received: from dradamslap1 (/10.159.57.64) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 02 Jan 2012 15:25:53 -0800 From: "Drew Adams" To: , References: Your message of Mon, 2 Jan 2012 10:26:08 -0800 <20120102223315.3E60F1810C9@neo.msri.org> Subject: RE: M-x mystery Date: Mon, 2 Jan 2012 15:25:40 -0800 Message-ID: <408087A3D7BE475B884C0F93CE2298C7@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <20120102223315.3E60F1810C9@neo.msri.org> Thread-Index: AczJnobFvtN6cBMLSYKuFePtEU7yWwABK8fQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090204.4F023D03.0011,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 02 Jan 2012 23:25:58 -0000 > The problem is the variable meta-prefix-char, which is supposed to > alter that relationship. > > If I load a file containing only the command (setq > meta-prefix-char [f5]) and check the value of the variable, > the answer is [f5]. > > ******** Yet, after that, ALT-x is still interpreted as ESC > x. ******** > > You might say that [f5] is not a valid prefix key. But [f2] is (it's > bound to 2C-mode-map in two-column.el). After I set meta-prefix-char > to [f2], typing ALT-x is still interpreted as ESC x, not [f2] x. I'm really no expert on these things. No doubt someone will clarify better. But [f2] is not a _character_. (It is a vector.) A character is a non-negative integer (in a certain range) - see the Elisp manual, node `Character Codes'. `meta-prefix-char' is a user option. Try using Customize to change its value. Customize does type-checking, and it will not even allow you to set the variable to [f2]. It raises this error: "This field should contain a single character" (It should say "must", not "should".) > In fact, I can't even duplicate the example near the bottom of the > "Functions for Key Lookup" page (link above). Namely, setting > meta-prefix-char to 24 **should** make M-x behave like C-x, according > to that page. But that does not happen; I think it does. Try `C-h k M-s' or `C-h k C-M-s'. They correspond to `C-x s' and `C-x C-x', respectively. > even with meta-prefix-char=24, > ALT-x is interpreted as ESC x. I think you're doing things backwards. Setting `meta-prefix-char' to the `C-x' character (24) makes what used to be treated as `C-x SOMETHING' be treated as `M-SOMETHING'. If `C-x x' were defined as a command, then `M-x' would then invoke that command (and not `execute-extended-command'). Since `C-x x' is undefined by default, after setting `meta-prefix-char' to 24, `C-h k M-x' says it is undefined. In any case, doing that in no way affects the treatment of Meta as ESC, AFAIK. > What have I misunderstood? 1. The value of `meta-prefix-char' needs to be a character. 2. I think the treatment of Meta as ESC happens at a different level. Node `Format of Keymaps' says this: "Keymaps do not directly record bindings for the meta characters. Instead, meta characters are regarded for purposes of key lookup as sequences of two characters, the first of which is (or whatever is currently the value of `meta-prefix-char'). Thus, the key `M-a' is internally represented as ` a', and its global binding is found at the slot for `a' in `esc-map' (*note Prefix Keys::). This conversion applies only to characters, not to function keys or other input events; thus, `M-' has nothing to do with ` '." It seems that a Meta character is treated as a sequence of two chars, the first of which is the value of `meta-prefix-char'. AFAIK, that's just the way it is. Someone will correct me if I misunderstand. From MAILER-DAEMON Mon Jan 02 22:59:07 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RhvWl-0000xE-AP for mharc-help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 22:59:07 -0500 Received: from eggs.gnu.org ([140.186.70.92]:46063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhvWi-0000vh-EG for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 22:59:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RhvWh-0003zz-Cy for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 22:59:04 -0500 Received: from lo.gmane.org ([80.91.229.12]:54296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhvWh-0003zr-66 for help-gnu-emacs@gnu.org; Mon, 02 Jan 2012 22:59:03 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RhvWe-0003QJ-Gg for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 04:59:00 +0100 Received: from 114.250.116.119 ([114.250.116.119]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Jan 2012 04:59:00 +0100 Received: from eric by 114.250.116.119 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Jan 2012 04:59:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Eric Abrahamsen Subject: local info files and top info directory Date: Tue, 03 Jan 2012 11:58:08 +0800 Lines: 31 Message-ID: <87sjjx77zj.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 114.250.116.119 User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:tPkmhHJ+GlVioLbXNwLkAnz2A/c= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 03 Jan 2012 03:59:05 -0000 I use a lot of development versions of emacs packages (gnus, org, magit, auctex, emms, etc), and keep them all under ~/.emacs.d. I've also got ~/.emacs.d/info, where I symlink those packages' info files, then I add it to the info directories like so: (add-to-list 'Info-default-directory-list "~/.emacs.d/info") This works, except that when I run `info' and it composes the main Info directory, the info files of some of the packages (gnus, org) show up in the directory listing, while others (magit, auctex, emms) don't. I'm able to reach all of the symlinked info files via `info-display-manual', so I know it's not a problem with the files themselves, or the info reader. I've looked at the info files and, with my limited understanding of info, can't see why one would make a directory entry and another wouldn't. I'm suspecting the `make' process: for all these packages I generally do configure/make, but no "make install", and then add the lisp dirs, if any, to my load path. My best guess is that something in the make process adds a listing to the directory, and for some of the packages that happens on "make", and for others on "make install". Should the `install-info' command line command come into play at all? Anyway, any hints very much appreciated! Eric -- GNU Emacs 24.0.92.1 (i686-pc-linux-gnu, GTK+ Version 2.24.8) of 2011-12-29 on pellet From MAILER-DAEMON Tue Jan 03 01:17:57 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rhxh7-0007qd-3B for mharc-help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 01:17:57 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rhxh4-0007qV-5Y for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 01:17:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rhxh3-0001gI-1k for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 01:17:54 -0500 Received: from moutng.kundenserver.de ([212.227.126.186]:58686) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rhxh2-0001fj-ML for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 01:17:53 -0500 Received: from [192.168.178.27] (brln-4db9c5e8.pool.mediaWays.net [77.185.197.232]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0LuHL9-1SiLSE24Wd-011Nh0; Tue, 03 Jan 2012 07:17:49 +0100 Message-ID: <4F029D86.3080605@easy-emacs.de> Date: Tue, 03 Jan 2012 07:17:42 +0100 From: =?ISO-8859-15?Q?Andreas_R=F6hler?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.24) Gecko/20111101 SUSE/3.1.16 Thunderbird/3.1.16 MIME-Version: 1.0 To: help-gnu-emacs@gnu.org Subject: Re: local info files and top info directory References: <87sjjx77zj.fsf@ericabrahamsen.net> In-Reply-To: <87sjjx77zj.fsf@ericabrahamsen.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:N9Yr8N+aA2KgATHb1+BkLElhMVGVUMW9mPFBwFvtb/8 mnKGD3dN+NyZoHWNVpotyhL7CSkXe3+PJ4SlVJiSSvQ6ctmqFX YgMBZfIvtxdQ6UDLLgj8oXwC1iRjsCB2fthIQvzqJMfU8yAWNH cJMbxlpQlDOn2/kUVhdWNOOOuUkCw7rRpmwUAwHtb+CdeQVQy0 FgEK6gjiG2ksKiyJVyi6YHMuL0noEtRZ5onhLrjRBgVEkMkh7c JA77XzDj8mIYe1789roPuOsg/NsgeBjVLWDwXdPj/IPUnTuX8E pYnwrLfskfqdVLSmbMccZS0QZZ/NVSOvQuBhbauN5/iRZWhtVI KOC9MlfBghpn2dBj9YjAZA9kdc7YrBd2/tuymlMoW X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.126.186 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 03 Jan 2012 06:17:55 -0000 Am 03.01.2012 04:58, schrieb Eric Abrahamsen: > I use a lot of development versions of emacs packages (gnus, org, magit, > auctex, emms, etc), and keep them all under ~/.emacs.d. I've also got > ~/.emacs.d/info, where I symlink those packages' info files, then I add > it to the info directories like so: > > (add-to-list 'Info-default-directory-list "~/.emacs.d/info") > > This works, except that when I run `info' and it composes the main Info > directory, the info files of some of the packages (gnus, org) show up in > the directory listing, while others (magit, auctex, emms) don't. > > I'm able to reach all of the symlinked info files via > `info-display-manual', so I know it's not a problem with the files > themselves, or the info reader. I've looked at the info files and, with > my limited understanding of info, can't see why one would make a > directory entry and another wouldn't. > > I'm suspecting the `make' process: for all these packages I generally do > configure/make, but no "make install", and then add the lisp dirs, if > any, to my load path. My best guess is that something in the make > process adds a listing to the directory, and for some of the packages > that happens on "make", and for others on "make install". Should the > `install-info' command line command come into play at all? > > Anyway, any hints very much appreciated! > > Eric > maybe $INFOPATH helps here? From MAILER-DAEMON Tue Jan 03 02:56:20 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RhzEK-0003Xp-5W for mharc-help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 02:56:20 -0500 Received: from eggs.gnu.org ([140.186.70.92]:35622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhzEG-0003VF-S9 for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 02:56:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RhzEF-00057s-T6 for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 02:56:16 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:47093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RhzEF-00057o-Rh for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 02:56:15 -0500 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RhzEE-00046j-V2 for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 02:56:15 -0500 Date: Tue, 03 Jan 2012 02:56:14 -0500 Message-Id: From: Eli Zaretskii To: help-gnu-emacs@gnu.org In-reply-to: <87sjjx77zj.fsf@ericabrahamsen.net> (message from Eric Abrahamsen on Tue, 03 Jan 2012 11:58:08 +0800) Subject: Re: local info files and top info directory References: <87sjjx77zj.fsf@ericabrahamsen.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 03 Jan 2012 07:56:17 -0000 > From: Eric Abrahamsen > Date: Tue, 03 Jan 2012 11:58:08 +0800 > > I use a lot of development versions of emacs packages (gnus, org, magit, > auctex, emms, etc), and keep them all under ~/.emacs.d. I've also got > ~/.emacs.d/info, where I symlink those packages' info files, then I add > it to the info directories like so: > > (add-to-list 'Info-default-directory-list "~/.emacs.d/info") > > This works, except that when I run `info' and it composes the main Info > directory, the info files of some of the packages (gnus, org) show up in > the directory listing, while others (magit, auctex, emms) don't. > > I'm able to reach all of the symlinked info files via > `info-display-manual', so I know it's not a problem with the files > themselves, or the info reader. I've looked at the info files and, with > my limited understanding of info, can't see why one would make a > directory entry and another wouldn't. In your ~/.emacs.d/info directory, there should be a file named `dir' or `DIR'. Its contents, and only its contents, are added to the main Info directory when Emacs composes it. Emacs does not look at the info files themselves, just in the DIR files it finds in every directory that is in Info-default-directory-list. > I'm suspecting the `make' process: for all these packages I generally do > configure/make, but no "make install", and then add the lisp dirs, if > any, to my load path. My best guess is that something in the make > process adds a listing to the directory, and for some of the packages > that happens on "make", and for others on "make install". Should the > `install-info' command line command come into play at all? Yes, you should run install-info on every info file you add to your ~/.emacs.d/info directory (only the main info files count; e.g., if you have foo.info, foo.info-1, and foo.info-2, then only run install-info on foo.info). From MAILER-DAEMON Tue Jan 03 05:34:57 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Ri1hp-0008WF-0M for mharc-help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 05:34:57 -0500 Received: from eggs.gnu.org ([140.186.70.92]:36461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri1hk-0008Og-DG for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 05:34:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ri1he-0001ty-5X for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 05:34:52 -0500 Received: from lo.gmane.org ([80.91.229.12]:54301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri1hd-0001tt-Ru for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 05:34:46 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ri1hc-0008Of-Ai for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 11:34:44 +0100 Received: from 114.250.131.168 ([114.250.131.168]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Jan 2012 11:34:44 +0100 Received: from eric by 114.250.131.168 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Jan 2012 11:34:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Eric Abrahamsen Subject: Re: local info files and top info directory Date: Tue, 03 Jan 2012 18:34:35 +0800 Lines: 55 Message-ID: <87d3b16pms.fsf@ericabrahamsen.net> References: <87sjjx77zj.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 114.250.131.168 User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:Jpk+i/b1Oemcio2RodaytK5YeS0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 03 Jan 2012 10:34:53 -0000 On Tue, Jan 03 2012, Eli Zaretskii wrote: >> From: Eric Abrahamsen >> Date: Tue, 03 Jan 2012 11:58:08 +0800 >> >> I use a lot of development versions of emacs packages (gnus, org, magit, >> auctex, emms, etc), and keep them all under ~/.emacs.d. I've also got >> ~/.emacs.d/info, where I symlink those packages' info files, then I add >> it to the info directories like so: >> >> (add-to-list 'Info-default-directory-list "~/.emacs.d/info") >> >> This works, except that when I run `info' and it composes the main Info >> directory, the info files of some of the packages (gnus, org) show up in >> the directory listing, while others (magit, auctex, emms) don't. >> >> I'm able to reach all of the symlinked info files via >> `info-display-manual', so I know it's not a problem with the files >> themselves, or the info reader. I've looked at the info files and, with >> my limited understanding of info, can't see why one would make a >> directory entry and another wouldn't. > > In your ~/.emacs.d/info directory, there should be a file named `dir' > or `DIR'. Its contents, and only its contents, are added to the main > Info directory when Emacs composes it. Emacs does not look at the > info files themselves, just in the DIR files it finds in every > directory that is in Info-default-directory-list. Nope, there's nothing in there but the symlinked info files. Info is definitely able to find them, though, so it doesn't seem like this is the main problem. >> I'm suspecting the `make' process: for all these packages I generally do >> configure/make, but no "make install", and then add the lisp dirs, if >> any, to my load path. My best guess is that something in the make >> process adds a listing to the directory, and for some of the packages >> that happens on "make", and for others on "make install". Should the >> `install-info' command line command come into play at all? > > Yes, you should run install-info on every info file you add to your > ~/.emacs.d/info directory (only the main info files count; e.g., if > you have foo.info, foo.info-1, and foo.info-2, then only run > install-info on foo.info). Huh, that worked! I made my own DIR file and pointed install-info at it, and everything worked okay except for bbdb.info, which apparently contains "no info dir entry". I still wonder how the other packages were able to list their info files, but no matter, this will do! Thanks, Eric -- GNU Emacs 24.0.92.1 (i686-pc-linux-gnu, GTK+ Version 2.24.8) of 2011-12-29 on pellet From MAILER-DAEMON Tue Jan 03 05:40:41 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Ri1nN-0002vi-8x for mharc-help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 05:40:41 -0500 Received: from eggs.gnu.org ([140.186.70.92]:39199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri1nH-0002u6-AD for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 05:40:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ri1nC-0002oK-Re for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 05:40:35 -0500 Received: from fmmailgate04.web.de ([217.72.192.242]:38508) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri1nC-0002oB-1u for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 05:40:30 -0500 Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate04.web.de (Postfix) with ESMTP id 98457707266C for ; Tue, 3 Jan 2012 11:40:28 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0LiCbT-1SU1jL192R-00n7DQ; Tue, 03 Jan 2012 11:40:28 +0100 Subject: Re: local info files and top info directory Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Peter Dyballa In-Reply-To: <87d3b16pms.fsf@ericabrahamsen.net> Date: Tue, 3 Jan 2012 11:40:27 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <64C9CB5C-4109-4CDA-8474-DFBCD1183A54@Web.DE> References: <87sjjx77zj.fsf@ericabrahamsen.net> <87d3b16pms.fsf@ericabrahamsen.net> To: Eric Abrahamsen X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:tzrGX9WwpkvvrcFcRt22cJgzNnf5nhaeNVpzP+j5yoL OS51V8e8tJ0u/W3dEaKKyRH1pToqE0hVqW+Xc9dbrfybolJEEE 0FXdaG/2i4q/50TdG0HWZyu1D6hwPMd04hb2qK6k/N6y8NC3G5 bOykoHZctkrFJlo0tJXggB0aqUZa9Usyt+f93LSWPo+Ike6/pv GDzq/KERAskKIpRVv0UPA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.242 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, 03 Jan 2012 10:40:39 -0000 Am 03.01.2012 um 11:34 schrieb Eric Abrahamsen: > Huh, that worked! I made my own DIR file and pointed install-info at = it, > and everything worked okay except for bbdb.info, which apparently > contains "no info dir entry". I still wonder how the other packages = were > able to list their info files, but no matter, this will do! Because these files are recorded in some dir file(s) in other info = directories? You can add manually a BBDB line to the dir file. -- Greetings Pete Cabbage, n. A familiar kitchen-garden vegetable about as large and wise = as a man's head. From MAILER-DAEMON Tue Jan 03 05:48:23 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Ri1up-0003x9-6M for mharc-help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 05:48:23 -0500 Received: from eggs.gnu.org ([140.186.70.92]:34489) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri1uj-0003ug-Nv for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 05:48:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ri1ui-0003i0-Gj for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 05:48:17 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:43619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri1ui-0003hv-Dj for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 05:48:16 -0500 Received: by iacb35 with SMTP id b35so33726382iac.0 for ; Tue, 03 Jan 2012 02:48:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=FCoSWijRjOwRWvHUPoNPKi7iIoBmZEcyye6F/j6fXeA=; b=Xm7W+3yKVqcFoYRbnemJawLdrJD985QD5vA1kpvRxM8Si9sPGv/eyLc/8dSmDkqMBm P6dXJjOqjZugodQX0C4Ue3zrVqeBTbH7dN3Dx6NtJvyuZQXkiTOOJMyWfTIelyKX5zxU /S37V1O7+bP3wIwPy3hgLaelDP8WcETnBb26k= Received: by 10.42.147.72 with SMTP id m8mr54710017icv.56.1325587695614; Tue, 03 Jan 2012 02:48:15 -0800 (PST) Received: from JAMBU-NETBOOK ([115.241.112.105]) by mx.google.com with ESMTPS id py9sm88760169igc.2.2012.01.03.02.48.11 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 03 Jan 2012 02:48:14 -0800 (PST) From: Jambunathan K To: Eric Abrahamsen Subject: Re: local info files and top info directory References: <87sjjx77zj.fsf@ericabrahamsen.net> <87d3b16pms.fsf@ericabrahamsen.net> Date: Tue, 03 Jan 2012 16:17:59 +0530 In-Reply-To: <87d3b16pms.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Tue, 03 Jan 2012 18:34:35 +0800") Message-ID: <81pqf1vz8g.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 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, 03 Jan 2012 10:48:21 -0000 Once you have compiled an org.texi file to org, you can visit it in info using C-u C-h i ~/src/org-mode/doc/org The only pain here is: you need to know the path to the file upfront. -- From MAILER-DAEMON Tue Jan 03 06:03:49 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Ri29l-0000Sc-ML for mharc-help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 06:03:49 -0500 Received: from eggs.gnu.org ([140.186.70.92]:57492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri29f-0000RO-PP for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 06:03:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ri29e-0006Cx-MZ for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 06:03:43 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:49519) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri29e-0006Ct-Jk for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 06:03:42 -0500 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Ri29e-0005FX-Hy for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 06:03:42 -0500 Date: Tue, 03 Jan 2012 06:03:42 -0500 Message-Id: From: Eli Zaretskii To: help-gnu-emacs@gnu.org In-reply-to: <87d3b16pms.fsf@ericabrahamsen.net> (message from Eric Abrahamsen on Tue, 03 Jan 2012 18:34:35 +0800) Subject: Re: local info files and top info directory References: <87sjjx77zj.fsf@ericabrahamsen.net> <87d3b16pms.fsf@ericabrahamsen.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 03 Jan 2012 11:03:47 -0000 > From: Eric Abrahamsen > Date: Tue, 03 Jan 2012 18:34:35 +0800 > > > In your ~/.emacs.d/info directory, there should be a file named `dir' > > or `DIR'. Its contents, and only its contents, are added to the main > > Info directory when Emacs composes it. Emacs does not look at the > > info files themselves, just in the DIR files it finds in every > > directory that is in Info-default-directory-list. > > Nope, there's nothing in there but the symlinked info files. Info is > definitely able to find them, though, so it doesn't seem like this is > the main problem. Yes, it _is_ the main problem: since there was no DIR file there, Emacs didn't have any place to collect the top-level menu entries from, for those files whose symlinks you had in ~/.emacs.d/info. Creating that DIR file solved the issue. From MAILER-DAEMON Tue Jan 03 11:23:00 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Ri78e-0003Kb-2z for mharc-help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 11:23:00 -0500 Received: from eggs.gnu.org ([140.186.70.92]:55278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri78W-0003Iz-EO for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 11:22:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ri78V-0006jW-6z for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 11:22:52 -0500 Received: from lo.gmane.org ([80.91.229.12]:40364) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri78U-0006jC-VI for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 11:22:51 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ri78S-00072B-Ox for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 17:22:48 +0100 Received: from 50-56-99-223.static.cloud-ips.com ([50.56.99.223]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Jan 2012 17:22:48 +0100 Received: from eric by 50-56-99-223.static.cloud-ips.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 03 Jan 2012 17:22:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Eric Abrahamsen Subject: Re: local info files and top info directory Date: Wed, 04 Jan 2012 00:21:45 +0800 Lines: 32 Message-ID: <871urg69k6.fsf@ericabrahamsen.net> References: <87sjjx77zj.fsf@ericabrahamsen.net> <87d3b16pms.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 50-56-99-223.static.cloud-ips.com User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:7UVd17deL4GEBR4edaSOWf/EuBg= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 03 Jan 2012 16:22:58 -0000 On Tue, Jan 03 2012, Eli Zaretskii wrote: >> From: Eric Abrahamsen >> Date: Tue, 03 Jan 2012 18:34:35 +0800 >> >> > In your ~/.emacs.d/info directory, there should be a file named `dir' >> > or `DIR'. Its contents, and only its contents, are added to the main >> > Info directory when Emacs composes it. Emacs does not look at the >> > info files themselves, just in the DIR files it finds in every >> > directory that is in Info-default-directory-list. >> >> Nope, there's nothing in there but the symlinked info files. Info is >> definitely able to find them, though, so it doesn't seem like this is >> the main problem. > > Yes, it _is_ the main problem: since there was no DIR file there, > Emacs didn't have any place to collect the top-level menu entries > from, for those files whose symlinks you had in ~/.emacs.d/info. > > Creating that DIR file solved the issue. Got it, thanks. I also realized that, in a long-ago customization, I'd added the gnus and org documentation directories to Info-additional-directory-list, which apparently circumvents the need for a DIR file (?); anyway, that's that mystery solved. Thanks again, E -- GNU Emacs 24.0.92.1 (i686-pc-linux-gnu, GTK+ Version 2.24.8) of 2011-12-29 on pellet From MAILER-DAEMON Tue Jan 03 12:07:50 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Ri7q2-00032a-2E for mharc-help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 12:07:50 -0500 Received: from eggs.gnu.org ([140.186.70.92]:57512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri29k-0000RV-16 for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 06:03:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ri29g-0006DJ-Sp for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 06:03:48 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:39161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri29g-0006D6-Li for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 06:03:44 -0500 Received: by wibhq12 with SMTP id hq12so12099799wib.0 for ; Tue, 03 Jan 2012 03:03:43 -0800 (PST) Received: by 10.180.75.7 with SMTP id y7mr15483129wiv.2.1325588623576; Tue, 03 Jan 2012 03:03:43 -0800 (PST) Received: from hotblack-desiato.hh.sledj.net (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25]) by mx.google.com with ESMTPS id di5sm126057854wib.3.2012.01.03.03.03.41 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 03 Jan 2012 03:03:42 -0800 (PST) Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000) id 67190A05D6; Tue, 3 Jan 2012 11:03:40 +0000 (GMT) To: Timur Aydin , help-gnu-emacs@gnu.org Subject: Re: Useful syntax highlighting (font lock) in a mixed xml lua file In-Reply-To: <4EFE234E.8040807@taydin.org> References: <4EFE234E.8040807@taydin.org> User-Agent: Notmuch/0.10.2+151~gbf1dc2b (http://notmuchmail.org) Emacs/24.0.92.1 (x86_64-pc-linux-gnu) From: David Edmondson Date: Tue, 03 Jan 2012 11:03:40 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.212.169 X-Mailman-Approved-At: Tue, 03 Jan 2012 12:07:47 -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, 03 Jan 2012 11:03:52 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 30 Dec 2011 22:47:10 +0200, Timur Aydin wrote: > I am working on an xml file that has an embedded CDATA section which=20 > contains lua source code. I am mostly working on the lua code and would=20 > like that code to be syntax highlighted by emacs. When I activate=20 > lua-mode, it understandably gets confused because of all the surrounding= =20 > xml. When I activate xml-mode, the xml stuff is properly syntax=20 > highlighted, but the lua code in the CDATA section is uniformly colored=20 > plain text. >=20 > Is there a way to utilize font-lock mode in a sensible manner? I=20 > attempted to put the lua code in a separate file (script.lua) and then=20 > included it into the xml using DOCTYPE and ENTITY tags, but this didn't=20 > help, because I don't have any control over the software that parses=20 > this xml file. It isn't able to deal with extra xml tags. >=20 > So my only hope is to be able to tell emacs to font-lock a region=20 > bounded by a CDATA tag using lua-mode and to font-lock the rest using=20 > xml-mode. Is there a way to do this? I don't know how to do that. Did you consider using an indirect buffer? If you have the indirect buffer narrowed to the Lua code and with the correct major-mode, font-lock should work there. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk8C4IwACgkQaezQq/BJZRYdYACdEPRa/ON8HqpBH+4i2GYI2Sxc khQAn2yJSAUCv/YKI0c+j2Oa8AvW8UjZ =2LUd -----END PGP SIGNATURE----- --=-=-=-- From MAILER-DAEMON Tue Jan 03 12:07:49 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Ri7q1-00031e-PJ for mharc-help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 12:07:49 -0500 Received: from eggs.gnu.org ([140.186.70.92]:47552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri1cU-0006TN-7B for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 05:29:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ri1cT-00019W-DP for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 05:29:26 -0500 Received: from fmmailgate03.web.de ([217.72.192.234]:60839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri1cT-00019Q-3k for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 05:29:25 -0500 Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate03.web.de (Postfix) with ESMTP id 6B1241AF0C942 for ; Tue, 3 Jan 2012 11:29:05 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb001) with ESMTPA (Nemesis) id 0MFLMa-1RwLTg3WNw-00EMSa; Tue, 03 Jan 2012 11:29:04 +0100 Subject: Re: local info files and top info directory Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Peter Dyballa In-Reply-To: <87sjjx77zj.fsf@ericabrahamsen.net> Date: Tue, 3 Jan 2012 11:29:03 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <5C075EE9-E5CC-4C6F-B9E0-24E2DDDBDFA7@Web.DE> References: <87sjjx77zj.fsf@ericabrahamsen.net> To: Eric Abrahamsen X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:J8GBHFesPAX1WvZtFnEVltqMDNfXOtgAG+V4BgoqUgg e8cIhxzmu72PpR9P9bTvirl4BKn+seHG/hnosv9MlkdU5FTrHE 8IS/1CQ3KcJ9L6pI3s10T09usW2k2dhyopCNCpn5gOyn6P+te9 1Ma7LGSOaYKYXWxc4uq1xmIZ2WBaoIAxjA+XjTpAQ7lrUFwl6n ufvj/gYlxITVFTz5eHHNw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.234 X-Mailman-Approved-At: Tue, 03 Jan 2012 12:07:47 -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: Tue, 03 Jan 2012 10:29:27 -0000 Am 03.01.2012 um 04:58 schrieb Eric Abrahamsen: > This works, except that when I run `info' and it composes the main = Info > directory, the info files of some of the packages (gnus, org) show up = in > the directory listing, while others (magit, auctex, emms) don't. You need to "register" the INFO files with the command install-info. = Then the docs are recorded in a file named "dir" which the info-mode in = GNU Emacs reads. What's not recorded is not visible, is not shown. -- Greetings Pete The light at the end of the tunnel has been turned off due to budget = cuts. From MAILER-DAEMON Tue Jan 03 12:12:37 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Ri7uf-00055l-VE for mharc-help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 12:12:37 -0500 Received: from eggs.gnu.org ([140.186.70.92]:53915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri7uc-0004uz-Px for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 12:12:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ri7uY-0007Hr-H6 for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 12:12:34 -0500 Received: from mail-gx0-f169.google.com ([209.85.161.169]:65464) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri7uY-0007Hg-Ei for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 12:12:30 -0500 Received: by ggni2 with SMTP id i2so11743510ggn.0 for ; Tue, 03 Jan 2012 09:12:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=BxCNsa3XHGMDO7qyjIM8jF1TteoOcWFf6AGjNDbrRXs=; b=nctcQr2vH6ONFg1cktpgx2yGaJxgCLGEEcEuIS/SmXJ3VCDIQjUytdzKbw1FCkW/DP eFC+WzMrFaCEON/8SUVsq8dJ7xJVLBwXZCOI39M/lnQI+2rl2t3N3AJ2XCRA3kyRpmN4 om7DkyHoRBQwANApAcOaItTEuoyLAgu/yaEPk= Received: by 10.50.15.161 with SMTP id y1mr74567306igc.4.1325610749090; Tue, 03 Jan 2012 09:12:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.4.149 with HTTP; Tue, 3 Jan 2012 09:11:49 -0800 (PST) In-Reply-To: <4EFE234E.8040807@taydin.org> References: <4EFE234E.8040807@taydin.org> From: Titus von der Malsburg Date: Tue, 3 Jan 2012 18:11:49 +0100 Message-ID: Subject: Re: Useful syntax highlighting (font lock) in a mixed xml lua file To: Timur Aydin Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.169 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, 03 Jan 2012 17:12:36 -0000 Perhaps you can use MuMaMo? http://www.emacswiki.org/emacs/MuMaMo "Mumamo is a library for cooperation of multiple major modes in a buffer. mumamo divides the buffer into chunks, each with its own major mode." Titus On Fri, Dec 30, 2011 at 9:47 PM, Timur Aydin wrote: > Hi, > > I am working on an xml file that has an embedded CDATA section which > contains lua source code. I am mostly working on the lua code and would like > that code to be syntax highlighted by emacs. When I activate lua-mode, it > understandably gets confused because of all the surrounding xml. When I > activate xml-mode, the xml stuff is properly syntax highlighted, but the lua > code in the CDATA section is uniformly colored plain text. > > Is there a way to utilize font-lock mode in a sensible manner? I attempted > to put the lua code in a separate file (script.lua) and then included it > into the xml using DOCTYPE and ENTITY tags, but this didn't help, because I > don't have any control over the software that parses this xml file. It isn't > able to deal with extra xml tags. > > So my only hope is to be able to tell emacs to font-lock a region bounded by > a CDATA tag using lua-mode and to font-lock the rest using xml-mode. Is > there a way to do this? > > -- > Timur Aydin > -- Titus von der Malsburg DFG Research Group 868: Mind and Brain Dynamics Dept. of Linguistics, University of Potsdam http://www.ling.uni-potsdam.de/~malsburg/ From MAILER-DAEMON Tue Jan 03 14:56:33 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RiATJ-0003Bz-Du for mharc-help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 14:56:33 -0500 Received: from eggs.gnu.org ([140.186.70.92]:48346) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiATH-0003BK-IR for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 14:56:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiATF-00027u-Rt for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 14:56:31 -0500 Received: from outerface.net ([195.70.199.109]:40110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiATF-00027i-Lp for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 14:56:29 -0500 Received: from [188.134.66.115] (port=53167 helo=[192.168.1.35]) by outerface.net with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1RiASt-0005JP-0T for help-gnu-emacs@gnu.org; Tue, 03 Jan 2012 22:56:07 +0300 Message-ID: <4F035D69.9070506@sergio.spb.ru> Date: Tue, 03 Jan 2012 23:56:25 +0400 From: sergio User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20111120 Icedove/8.0 MIME-Version: 1.0 To: help-gnu-emacs@gnu.org Subject: file encryption Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.70.199.109 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 03 Jan 2012 19:56:32 -0000 Hello. I'd like to use file encryption. I hear that emacs will automatically encrypt .gpg files. It works for me, but 1) how to turn on auto saving in this mode. 2) where can I read more about this? I haven't found anything interesting on http://www.gnu.org/software/emacs/manual/html_mono/emacs.html and in C-h a I'm using emacs 23.3+1-4 from debian sid. -- sergio. From MAILER-DAEMON Wed Jan 04 01:33:07 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RiKPL-0008LZ-9i for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 01:33:07 -0500 Received: from eggs.gnu.org ([140.186.70.92]:54566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiKPI-0008LQ-Rd for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 01:33:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiKPH-0005qu-RU for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 01:33:04 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:41514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiKPH-0005qh-Nw for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 01:33:03 -0500 Received: by iacb35 with SMTP id b35so35332347iac.0 for ; Tue, 03 Jan 2012 22:33:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=niGd4RZ/+Ai3DGoITaBuAvb5d848eMoBgnSGZIyg2Hk=; b=DCvyGfUimrNl9zTHmGBsTcmg0blFvBTN/sXFPs6ctWZhbj4NKfYyhdNxltvTOPFC9A gwsdRyNv62oVD/J+cHOHvan2vJ8kPGosIt/QNfNgF6QE7nJHYqg0GZTs6k9CvLOKnGRs Re58G1kvOnFl1dunKpGQl/wlefBJF1KRNMa2I= MIME-Version: 1.0 Received: by 10.42.135.69 with SMTP id o5mr67321821ict.34.1325658782228; Tue, 03 Jan 2012 22:33:02 -0800 (PST) Received: by 10.43.131.138 with HTTP; Tue, 3 Jan 2012 22:33:02 -0800 (PST) Date: Wed, 4 Jan 2012 15:33:02 +0900 Message-ID: Subject: build-in function for obtaining the index of an element of a list From: ishi soichi To: help-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=90e6ba6e836ccedefa04b5adfc6e X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 04 Jan 2012 06:33:05 -0000 --90e6ba6e836ccedefa04b5adfc6e Content-Type: text/plain; charset=ISO-8859-1 I have a question about Emacs Lisp. Is there any Emacs built-in function that returns the index of an element of a list? More specifically, say I have a list (setq lista '("apple" "banana" "orange)) then implement the function, which I want, (functionName lista "banana") ; => 1 If not, please give me an example of such function definition. Thanks in advance! soichi --90e6ba6e836ccedefa04b5adfc6e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I have a question about Emacs Lisp.

Is there any Emacs b= uilt-in function that returns the index of an element of a list?
=
More specifically, say I have a list

(setq lista '("apple" "banana" "orange))<= /div>

then implement the function, which I want,

(functionName lista "banana") =A0 =A0; =3D> = 1

If not, please give me an example of such function defi= nition.

Thanks in advance!

soichi --90e6ba6e836ccedefa04b5adfc6e-- From MAILER-DAEMON Wed Jan 04 07:52:14 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RiQKE-00052S-LI for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 07:52:14 -0500 Received: from eggs.gnu.org ([140.186.70.92]:57163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiQKA-0004vB-M0 for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 07:52:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiQK9-0005TH-CH for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 07:52:10 -0500 Received: from mail-pw0-f41.google.com ([209.85.160.41]:54397) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiQK9-0005T6-4r for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 07:52:09 -0500 Received: by pbdd2 with SMTP id d2so12371248pbd.0 for ; Wed, 04 Jan 2012 04:52:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=3YOCxUTfAAXX2tO9Lf85fGz10b2d9Q/q3Xwyii2hr9Q=; b=DXj7vgYVni9uVCgkW55VGD/5+6rA9JOEyCnbVrpIPkzSNuHNiaUbXqAmALR3VJa+H8 BLMK8KCx6t6h5hf8eLheV59ai3qHNjTJAc0l+rBgqbwcFRND0ogiDhb4P3MX0s0VoCqy 03+KcRw/aa7IfXQ9zX4mCItOaXlx7gxSKEFOk= Received: by 10.68.73.135 with SMTP id l7mr139779573pbv.57.1325681528057; Wed, 04 Jan 2012 04:52:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.247.28 with HTTP; Wed, 4 Jan 2012 04:51:25 -0800 (PST) In-Reply-To: References: From: Juanma Barranquero Date: Wed, 4 Jan 2012 13:51:25 +0100 Message-ID: Subject: Re: build-in function for obtaining the index of an element of a list To: ishi soichi Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.160.41 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, 04 Jan 2012 12:52:11 -0000 > Is there any Emacs built-in function that returns the index of an element= of > a list? If you don't mind using the CL package (included with Emacs), the function you want is `position' (position "banana" '("apple" "banana" "orange") :test 'string=3D) =3D> = 1 =C2=A0 =C2=A0 Juanma From MAILER-DAEMON Wed Jan 04 11:06:01 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RiTLl-0006s2-QY for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 11:06:01 -0500 Received: from eggs.gnu.org ([140.186.70.92]:42498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiTLj-0006qE-0r for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 11:06:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiTLb-000357-1a for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 11:05:58 -0500 Received: from cluster-g.mailcontrol.com ([208.87.233.190]:33144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiTLa-00034h-QS for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 11:05:51 -0500 Received: from CAMEUREXB02.EUROPE.ROOT.PRI ([193.128.72.68]) by rly16g.srv.mailcontrol.com (MailControl) with ESMTP id q04G5ixv021113 for ; Wed, 4 Jan 2012 16:05:45 GMT Received: from DC04PC01 ([10.103.11.129]) by CAMEUREXB02.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.4675); Wed, 4 Jan 2012 16:05:44 +0000 From: "David Chappaz" To: References: Your message of Mon, 2 Jan 2012 10:26:08 -0800<20120102223315.3E60F1810C9@neo.msri.org> <408087A3D7BE475B884C0F93CE2298C7@us.oracle.com> Subject: shell-command causes problems with absolute/relative paths in TAGS Date: Wed, 4 Jan 2012 16:05:13 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-reply-to: <408087A3D7BE475B884C0F93CE2298C7@us.oracle.com> Thread-Index: AczJnobFvtN6cBMLSYKuFePtEU7yWwABK8fQAFPVEkA= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-OriginalArrivalTime: 04 Jan 2012 16:05:44.0504 (UTC) FILETIME=[B6D66380:01CCCAFA] X-Scanned-By: MailControl 7.6.5 (www.mailcontrol.com) on 10.71.0.126 X-detected-operating-system: by eggs.gnu.org: Windows 98 (1) X-Received-From: 208.87.233.190 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 04 Jan 2012 16:06:00 -0000 Hi everyone, I'm having trouble when generating a TAGS file on windows. I should say that everything works fine on Linux (almost, see bottom of the message), so it really seems to be a windows specific problem. Note that I'm using GNU Emacs 23.3.1, with Exuberant CTags 5.8 So here is the thing. Say I have a "test" folder, with 2 source files, e.g. test1.c and test2.c I also have a "filelist.txt", e.g. generated with "GnuWin32 find", which contains : ./test1.v ./test2.v Now, I generate my TAGS file from a plain windows shell, with the following command: more filelist.txt | ctags -e -L - This works fine, and, as expected, the paths to the source files in the TAGS file are relative, so the entire "test" folder and the TAGS file can be moved to a different location. I'm developing a small emacs package to provide some sort of IDE. So now I'm trying to do the same from within emacs. If I do: M-x shell-command more filelist.txt | ctags -e -L - ...then the result is different, and now paths in the TAGS file become absolute. Even using the explicit option --tag-relative=yes does not change anything. I am not sure whether Exuberant CTags or Emacs shell-command is to blame. I believe it's got something to do with "shell-command", but it's just a guess really. Can anyone reproduce the problem and/or explain what's happening ? PS, on a slightly different note: 1/ on linux, shell-command also does something funny. Try "more filelist.txt" and check the output buffer. It contains some sort of "header" with "::::::::::::::" so the same command obviously fails. Use "less" instead of "more" and then everything works 2/ I have also found that "GnuWin32 find" is painfully slow on network (unix) drives, and that using the built-in dos command "dir /b /s" is much faster (but less powerful of course). Has anyone experienced the same ? Also "find" miserably fails if any directory it traverses contains (unix) symbolic links (which can't be resolved from windows, of course, but this shouldn't be a problem). From MAILER-DAEMON Wed Jan 04 11:14:25 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RiTTt-0007uC-7t for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 11:14:25 -0500 Received: from eggs.gnu.org ([140.186.70.92]:59714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiTTo-0007pf-M1 for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 11:14:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiTTm-0004cm-MK for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 11:14:20 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:37978) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiTTc-0004bQ-Bk; Wed, 04 Jan 2012 11:14:08 -0500 Received: by werf1 with SMTP id f1so11429347wer.0 for ; Wed, 04 Jan 2012 08:14:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=x-rim-org-msg-ref-id:message-id:content-transfer-encoding:reply-to :x-priority:references:in-reply-to:sensitivity:importance:subject:to :from:date:content-type:mime-version; bh=+HAk7zh+CgDd29+89xZ78+Cg630RE8rIrz+T37rf7K4=; b=Bt5dYyGvF5RMKO+8G1ha5u+r2ma1WrG0hCcLaYfKr57sumSWXVAoP0BFBE2G11dhlL NjS2B8CfZJVS69r3U/8xEdNtYz4HQFOR0N0AHkaXnBqGMkMzSBm2tdbqXoS+V42RlzK8 G9qYT0ZL2MOyTLVAhUud19H/usF+AcEzcYoAM= Received: by 10.216.138.218 with SMTP id a68mr37073934wej.38.1325693646285; Wed, 04 Jan 2012 08:14:06 -0800 (PST) Received: from 172.18.205.184 (bda-178-239-85-164.bis7.eu.blackberry.com. [178.239.85.164]) by mx.google.com with ESMTPS id ba4sm36782546wib.5.2012.01.04.08.14.05 (version=SSLv3 cipher=OTHER); Wed, 04 Jan 2012 08:14:05 -0800 (PST) X-rim-org-msg-ref-id: 1328337488 Message-ID: <1328337488-1325693643-cardhu_decombobulator_blackberry.rim.net-1323737730-@b13.c12.bise7.blackberry> Content-Transfer-Encoding: base64 X-Priority: Normal References: <20120102223315.3E60F1810C9@neo.msri.org> <408087A3D7BE475B884C0F93CE2298C7@us.oracle.com> In-Reply-To: Sensitivity: Normal Importance: Normal Subject: Re: shell-command causes problems with absolute/relative paths in TAGS To: "David Chappaz" , help-gnu-emacs-bounces+murzin.v=gmail.com@gnu.org, help-gnu-emacs@gnu.org From: "Vladimir Murzin" Date: Wed, 4 Jan 2012 16:15:03 +0000 Content-Type: text/plain MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: murzin.v@gmail.com 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, 04 Jan 2012 16:14:22 -0000 SGkgRGF2aWQgDQoNCkFGQUlLICJsZXNzIi8ibW9yZSIgYXJlIHBhZ2VycyBhbmQgc3VpdGFibGUg Zm9yIHJlYWRpbmcgZmlsZXMgYnkgaHVtYW4uIEhhdmUgeW91IHRyaWVkIHVzaW5nICJjYXQiPw0K QmVzdCB3aXNoZXMsIFZsYWRpbWlyIE11cnppbg0KDQotLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0t LQ0KRnJvbTogIkRhdmlkIENoYXBwYXoiIDxkYXZpZC5jaGFwcGF6QGZyZWUuZnI+DQpTZW5kZXI6 IGhlbHAtZ251LWVtYWNzLWJvdW5jZXMrbXVyemluLnY9Z21haWwuY29tQGdudS5vcmdEYXRlOiBX ZWQsIDQgSmFuIDIwMTIgMTY6MDU6MTMgDQpUbzogPGhlbHAtZ251LWVtYWNzQGdudS5vcmc+DQpT dWJqZWN0OiBzaGVsbC1jb21tYW5kIGNhdXNlcyBwcm9ibGVtcyB3aXRoIGFic29sdXRlL3JlbGF0 aXZlIHBhdGhzIGluIFRBR1MNCg0KSGkgZXZlcnlvbmUsDQoNCkknbSBoYXZpbmcgdHJvdWJsZSB3 aGVuIGdlbmVyYXRpbmcgYSBUQUdTIGZpbGUgb24gd2luZG93cy4gSSBzaG91bGQgc2F5IHRoYXQN CmV2ZXJ5dGhpbmcgd29ya3MgZmluZSBvbiBMaW51eCAoYWxtb3N0LCBzZWUgYm90dG9tIG9mIHRo ZSBtZXNzYWdlKSwgc28gaXQNCnJlYWxseSBzZWVtcyB0byBiZSBhIHdpbmRvd3Mgc3BlY2lmaWMg cHJvYmxlbS4NCg0KTm90ZSB0aGF0IEknbSB1c2luZyBHTlUgRW1hY3MgMjMuMy4xLCB3aXRoIEV4 dWJlcmFudCBDVGFncyA1LjgNCg0KU28gaGVyZSBpcyB0aGUgdGhpbmcuIFNheSBJIGhhdmUgYSAi dGVzdCIgZm9sZGVyLCB3aXRoIDIgc291cmNlIGZpbGVzLCBlLmcuDQp0ZXN0MS5jIGFuZCB0ZXN0 Mi5jDQpJIGFsc28gaGF2ZSBhICJmaWxlbGlzdC50eHQiLCBlLmcuIGdlbmVyYXRlZCB3aXRoICJH bnVXaW4zMiBmaW5kIiwgd2hpY2gNCmNvbnRhaW5zIDoNCg0KLi90ZXN0MS52DQouL3Rlc3QyLnYN Cg0KTm93LCBJIGdlbmVyYXRlIG15IFRBR1MgZmlsZSBmcm9tIGEgcGxhaW4gd2luZG93cyBzaGVs bCwgd2l0aCB0aGUgZm9sbG93aW5nDQpjb21tYW5kOg0KDQptb3JlIGZpbGVsaXN0LnR4dCB8IGN0 YWdzIC1lIC1MIC0NCg0KVGhpcyB3b3JrcyBmaW5lLCBhbmQsIGFzIGV4cGVjdGVkLCB0aGUgcGF0 aHMgdG8gdGhlIHNvdXJjZSBmaWxlcyBpbiB0aGUgVEFHUw0KZmlsZSBhcmUgcmVsYXRpdmUsIHNv IHRoZSBlbnRpcmUgInRlc3QiIGZvbGRlciBhbmQgdGhlIFRBR1MgZmlsZSBjYW4gYmUNCm1vdmVk IHRvIGEgZGlmZmVyZW50IGxvY2F0aW9uLg0KDQpJJ20gZGV2ZWxvcGluZyBhIHNtYWxsIGVtYWNz IHBhY2thZ2UgdG8gcHJvdmlkZSBzb21lIHNvcnQgb2YgSURFLiBTbyBub3cgSSdtDQp0cnlpbmcg dG8gZG8gdGhlIHNhbWUgZnJvbSB3aXRoaW4gZW1hY3MuIElmIEkgZG86DQoNCk0teCBzaGVsbC1j b21tYW5kDQptb3JlIGZpbGVsaXN0LnR4dCB8IGN0YWdzIC1lIC1MIC0NCg0KLi4udGhlbiB0aGUg cmVzdWx0IGlzIGRpZmZlcmVudCwgYW5kIG5vdyBwYXRocyBpbiB0aGUgVEFHUyBmaWxlIGJlY29t ZQ0KYWJzb2x1dGUuIEV2ZW4gdXNpbmcgdGhlIGV4cGxpY2l0IG9wdGlvbiAtLXRhZy1yZWxhdGl2 ZT15ZXMgZG9lcyBub3QgY2hhbmdlDQphbnl0aGluZy4NCg0KSSBhbSBub3Qgc3VyZSB3aGV0aGVy IEV4dWJlcmFudCBDVGFncyBvciBFbWFjcyBzaGVsbC1jb21tYW5kIGlzIHRvIGJsYW1lLiBJDQpi ZWxpZXZlIGl0J3MgZ290IHNvbWV0aGluZyB0byBkbyB3aXRoICJzaGVsbC1jb21tYW5kIiwgYnV0 IGl0J3MganVzdCBhIGd1ZXNzDQpyZWFsbHkuIENhbiBhbnlvbmUgcmVwcm9kdWNlIHRoZSBwcm9i bGVtIGFuZC9vciBleHBsYWluIHdoYXQncyBoYXBwZW5pbmcgPw0KDQpQUywgb24gYSBzbGlnaHRs eSBkaWZmZXJlbnQgbm90ZToNCg0KMS8gb24gbGludXgsIHNoZWxsLWNvbW1hbmQgYWxzbyBkb2Vz IHNvbWV0aGluZyBmdW5ueS4gVHJ5ICJtb3JlDQpmaWxlbGlzdC50eHQiIGFuZCBjaGVjayB0aGUg b3V0cHV0IGJ1ZmZlci4gSXQgY29udGFpbnMgc29tZSBzb3J0IG9mICJoZWFkZXIiDQp3aXRoICI6 Ojo6Ojo6Ojo6Ojo6OiIgc28gdGhlIHNhbWUgY29tbWFuZCBvYnZpb3VzbHkgZmFpbHMuIFVzZSAi bGVzcyINCmluc3RlYWQgb2YgIm1vcmUiIGFuZCB0aGVuIGV2ZXJ5dGhpbmcgd29ya3MNCg0KMi8g SSBoYXZlIGFsc28gZm91bmQgdGhhdCAiR251V2luMzIgZmluZCIgaXMgcGFpbmZ1bGx5IHNsb3cg b24gbmV0d29yaw0KKHVuaXgpIGRyaXZlcywgYW5kIHRoYXQgdXNpbmcgdGhlIGJ1aWx0LWluIGRv cyBjb21tYW5kICJkaXIgL2IgL3MiIGlzIG11Y2gNCmZhc3RlciAoYnV0IGxlc3MgcG93ZXJmdWwg b2YgY291cnNlKS4gSGFzIGFueW9uZSBleHBlcmllbmNlZCB0aGUgc2FtZSA/IEFsc28NCiJmaW5k IiBtaXNlcmFibHkgZmFpbHMgaWYgYW55IGRpcmVjdG9yeSBpdCB0cmF2ZXJzZXMgY29udGFpbnMg KHVuaXgpDQpzeW1ib2xpYyBsaW5rcyAod2hpY2ggY2FuJ3QgYmUgcmVzb2x2ZWQgZnJvbSB3aW5k b3dzLCBvZiBjb3Vyc2UsIGJ1dCB0aGlzDQpzaG91bGRuJ3QgYmUgYSBwcm9ibGVtKS4NCg0KDQoN Cg== From MAILER-DAEMON Wed Jan 04 11:28:22 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RiThO-0002Tf-Cv for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 11:28:22 -0500 Received: from eggs.gnu.org ([140.186.70.92]:36801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiThI-0002Sp-Ac for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 11:28:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiThH-0006lG-2S for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 11:28:16 -0500 Received: from cluster-g.mailcontrol.com ([208.87.233.190]:45310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiThG-0006l8-JL for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 11:28:15 -0500 Received: from rly11g.srv.mailcontrol.com (localhost.localdomain [127.0.0.1]) by rly11g.srv.mailcontrol.com (MailControl) with ESMTP id q04GS9T0010531 for ; Wed, 4 Jan 2012 16:28:10 GMT Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by rly11g.srv.mailcontrol.com (MailControl) id q04GRCK2003681 for ; Wed, 4 Jan 2012 16:27:12 GMT Received: from CAMEUREXB02.EUROPE.ROOT.PRI ([193.128.72.68]) by rly11g-eth0.srv.mailcontrol.com (envelope-sender ) (MIMEDefang) with ESMTP id q04GRA5K003431; Wed, 04 Jan 2012 16:27:12 +0000 (GMT) Received: from DC04PC01 ([10.103.11.129]) by CAMEUREXB02.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.4675); Wed, 4 Jan 2012 16:27:10 +0000 From: "David Chappaz" To: , References: <20120102223315.3E60F1810C9@neo.msri.org> <408087A3D7BE475B884C0F93CE2298C7@us.oracle.com> <1328337488-1325693643-cardhu_decombobulator_blackberry.rim.net-1323737730-@b13.c12.bise7.blackberry> Subject: RE: shell-command causes problems with absolute/relative paths in TAGS Date: Wed, 4 Jan 2012 16:27:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-reply-to: <1328337488-1325693643-cardhu_decombobulator_blackberry.rim.net-1323737730-@b13.c12.bise7.blackberry> Thread-Index: AczK++HALkczHbjkQD6/gWwCt0BZjgAAJ+rw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-OriginalArrivalTime: 04 Jan 2012 16:27:10.0096 (UTC) FILETIME=[B51C2900:01CCCAFD] X-Scanned-By: MailControl 7.6.5 (www.mailcontrol.com) on 10.71.1.121 X-detected-operating-system: by eggs.gnu.org: Windows 98 (1) X-Received-From: 208.87.233.190 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 04 Jan 2012 16:28:20 -0000 Vladimir, thanks for the very prompt reply ! Unfortunately, "cat" does not change the behaviour... I understand that "more" was perhaps not the best choice, but, I can't help thinking that shell-command somehow does something more than just sending a command to the shell.... -----Original Message----- From: Vladimir Murzin [mailto:murzin.v@gmail.com] Sent: 04 January 2012 16:15 To: David Chappaz; help-gnu-emacs-bounces+murzin.v=gmail.com@gnu.org; help-gnu-emacs@gnu.org Subject: Re: shell-command causes problems with absolute/relative paths in TAGS Hi David AFAIK "less"/"more" are pagers and suitable for reading files by human. Have you tried using "cat"? Best wishes, Vladimir Murzin -----Original Message----- From: "David Chappaz" Sender: help-gnu-emacs-bounces+murzin.v=gmail.com@gnu.orgDate: Wed, 4 Jan 2012 16:05:13 To: Subject: shell-command causes problems with absolute/relative paths in TAGS Hi everyone, I'm having trouble when generating a TAGS file on windows. I should say that everything works fine on Linux (almost, see bottom of the message), so it really seems to be a windows specific problem. Note that I'm using GNU Emacs 23.3.1, with Exuberant CTags 5.8 So here is the thing. Say I have a "test" folder, with 2 source files, e.g. test1.c and test2.c I also have a "filelist.txt", e.g. generated with "GnuWin32 find", which contains : ./test1.v ./test2.v Now, I generate my TAGS file from a plain windows shell, with the following command: more filelist.txt | ctags -e -L - This works fine, and, as expected, the paths to the source files in the TAGS file are relative, so the entire "test" folder and the TAGS file can be moved to a different location. I'm developing a small emacs package to provide some sort of IDE. So now I'm trying to do the same from within emacs. If I do: M-x shell-command more filelist.txt | ctags -e -L - ...then the result is different, and now paths in the TAGS file become absolute. Even using the explicit option --tag-relative=yes does not change anything. I am not sure whether Exuberant CTags or Emacs shell-command is to blame. I believe it's got something to do with "shell-command", but it's just a guess really. Can anyone reproduce the problem and/or explain what's happening ? PS, on a slightly different note: 1/ on linux, shell-command also does something funny. Try "more filelist.txt" and check the output buffer. It contains some sort of "header" with "::::::::::::::" so the same command obviously fails. Use "less" instead of "more" and then everything works 2/ I have also found that "GnuWin32 find" is painfully slow on network (unix) drives, and that using the built-in dos command "dir /b /s" is much faster (but less powerful of course). Has anyone experienced the same ? Also "find" miserably fails if any directory it traverses contains (unix) symbolic links (which can't be resolved from windows, of course, but this shouldn't be a problem). From MAILER-DAEMON Wed Jan 04 12:38:53 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RiUnd-0006YK-NV for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 12:38:53 -0500 Received: from eggs.gnu.org ([140.186.70.92]:37397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiUgZ-0005Ks-Gj for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 12:31:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiUgY-0000nf-Gv for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 12:31:35 -0500 Received: from mail-vw0-f41.google.com ([209.85.212.41]:38373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiUgY-0000nb-Ec for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 12:31:34 -0500 Received: by vbbfn1 with SMTP id fn1so16220868vbb.0 for ; Wed, 04 Jan 2012 09:31:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=4EWsv0iRtN3cOq6Glxcyid7D81VwJY6YYu0Jh+Yrj70=; b=yAJV3kfSOORxJgb+iWTETeWZNKTlQfegyfMFWMCDpPMcnJjW5xTy13mOeqguHNPDlu yfvVZnR6hrx45ay0x4z1BZBMsTXuNrpf68U+l8WT7P2H0Ttw+tXRYvcgj9kZBvlvdOYx GuX9D7AtuI5p2ueJRMIfJp0VhdRbPL72TTvd0= MIME-Version: 1.0 Received: by 10.52.70.209 with SMTP id o17mr27386679vdu.86.1325698293424; Wed, 04 Jan 2012 09:31:33 -0800 (PST) Received: by 10.52.37.169 with HTTP; Wed, 4 Jan 2012 09:31:33 -0800 (PST) Date: Wed, 4 Jan 2012 12:31:33 -0500 Message-ID: Subject: "C-h k" reports " is undefined" From: York Zhao To: help-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.212.41 X-Mailman-Approved-At: Wed, 04 Jan 2012 12:38:51 -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, 04 Jan 2012 17:31:36 -0000 Hi there, I have noticed this problem for awhile that for some of the key bindings "C-h k" shows " is undefined". For example, when I type "C-h k M-q", it says "M-q is undefined", but I really did bind it to my own function and my function was working because If I set breakpoint in the function where "M-q" was being bound to and press "M-q" I was able to get into the function. The key bindings not being shown by "C-h k" is not limited to "M-q" but a bunch of others as well. However, there are also a number of other key bindings that can be reported by "C-h k". I have no idea why this is happening. Can somebody tell me with this? Thanks, York From MAILER-DAEMON Wed Jan 04 12:39:00 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RiUnk-0006su-Bm for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 12:39:00 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58914) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiUkn-0005sX-Ly for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 12:35:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiUkm-0001Ya-Ad for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 12:35:57 -0500 Received: from mail-vx0-f169.google.com ([209.85.220.169]:43475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiUkm-0001YT-6h for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 12:35:56 -0500 Received: by vcge1 with SMTP id e1so15210313vcg.0 for ; Wed, 04 Jan 2012 09:35:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=4IAooy6YLKtJ7ZtIu0UF601/Mj1vEbYBCFywkWeu0KQ=; b=Ygpc7Fj557w2hMtyb1W7YFJl+OEZhC9+OWQRQNUNeYGNfmJW3Hd6pAZAd6MtDL/QOE FTxgx+fTlI7TvPo1tkPH8IkrHh7z+Lc9SrVeQxa3z9y97QcEIAF8/NBLoG06QmlIQZAU 22cT2npU6YlDjOGFeQeUhjyVFCP/g2dEDOE50= MIME-Version: 1.0 Received: by 10.52.34.97 with SMTP id y1mr6273779vdi.69.1325698555277; Wed, 04 Jan 2012 09:35:55 -0800 (PST) Received: by 10.52.37.169 with HTTP; Wed, 4 Jan 2012 09:35:55 -0800 (PST) In-Reply-To: References: Date: Wed, 4 Jan 2012 12:35:55 -0500 Message-ID: Subject: Re: "C-h k" reports " is undefined" From: York Zhao To: help-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.220.169 X-Mailman-Approved-At: Wed, 04 Jan 2012 12:38: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: Wed, 04 Jan 2012 17:35:58 -0000 > Hi there, > > I have noticed this problem for awhile that for some of the key bindings "C-h k" > shows " is undefined". For example, when I type "C-h k M-q", it > says "M-q is undefined", but I really did bind it to my own function and my > function was working because If I set breakpoint in the function where "M-q" was > being bound to and press "M-q" I was able to get into the function. The key > bindings not being shown by "C-h k" is not limited to "M-q" but a bunch of > others as well. However, there are also a number of other key bindings that can > be reported by "C-h k". I have no idea why this is happening. Can somebody tell > me with this? Forgot to mention that I'm using the latest emacs from git: commit 0ade109630e14430d3eb48c29417804130a0cbff Author: Bastien Guerry Date: Wed Jan 4 16:20:49 2012 +0100 Fix trailing whitespaces in Org files. I built it under windows using mingw. Thanks, York From MAILER-DAEMON Wed Jan 04 12:55:27 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RiV3f-00079a-Je for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 12:55:27 -0500 Received: from eggs.gnu.org ([140.186.70.92]:48469) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiV3c-00079R-3D for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 12:55:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiV3b-0004n6-32 for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 12:55:24 -0500 Received: from acsinet15.oracle.com ([141.146.126.227]:31100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiV3a-0004n1-QH for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 12:55:22 -0500 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q04HtKS2021690 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 4 Jan 2012 17:55:20 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q04HtJPG008384 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 4 Jan 2012 17:55:20 GMT Received: from abhmt101.oracle.com (abhmt101.oracle.com [141.146.116.53]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q04HtJ3e019693; Wed, 4 Jan 2012 11:55:19 -0600 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 04 Jan 2012 09:55:19 -0800 From: "Drew Adams" To: "'York Zhao'" , References: Subject: RE: "C-h k" reports " is undefined" Date: Wed, 4 Jan 2012 09:55:18 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AczLB7zS5aZPRYDGSl2ZAZw14AbZEQAAaPdg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090205.4F049289.0011,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 04 Jan 2012 17:55:25 -0000 > I have noticed this problem for awhile that for some of the > key bindings "C-h k" shows " is undefined". > For example, when I type "C-h k M-q", it says "M-q is undefined", > but I really did bind it to my own function and my > function was working because If I set breakpoint in the > function where "M-q" was being bound to and press "M-q" I was > able to get into the function. The key bindings not being shown > by "C-h k" is not limited to "M-q" but a bunch of > others as well. However, there are also a number of other key > bindings that can be reported by "C-h k". I have no idea why > this is happening. Can somebody tell me with this? 1. This can happen because `M-q' is not in fact bound in the current context (e.g. current buffer). Are you sure that you are using `C-h k M-q' in the same buffer where the command is effectively invoked whenever you hit `M-q'? 2. There could be an Emacs bug. You are apparently using a development version, not a released version of Emacs. If #1 above shows that `C-h k M-q' really should be showing a binding for your command, then consider reporting an Emacs bug, using `M-x report-emacs-bug'. The Emacs developers will determine whether there really is a problem. From MAILER-DAEMON Wed Jan 04 14:41:11 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RiWhz-0000US-Ir for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:41:11 -0500 Received: from eggs.gnu.org ([140.186.70.92]:37012) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiWQ7-0005CS-8x for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:22:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiWQ6-0002O9-EH for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:22:43 -0500 Received: from nk11p03mm-asmtp997.mac.com ([17.158.233.228]:54873 helo=nk11p99mm-asmtpout007.mac.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiWQ6-0002Ns-9s for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:22:42 -0500 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from [192.168.4.53] (packer.edu [209.177.44.2]) by nk11p03mm-asmtp997.mac.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPSA id <0LXA00BUBGHPQJ40@nk11p03mm-asmtp997.mac.com> for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 19:22:39 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110,1.0.211,0.0.0000 definitions=2012-01-04_07:2012-01-04, 2012-01-04, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=5 spamscore=5 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1012030000 definitions=main-1201040192 From: Kim Young Subject: newbie needs to be bailed out Date: Wed, 04 Jan 2012 14:22:36 -0500 Message-id: To: help-gnu-emacs@gnu.org X-Mailer: Apple Mail (2.1251.1) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (1203?) X-Received-From: 17.158.233.228 X-Mailman-Approved-At: Wed, 04 Jan 2012 14:41:10 -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, 04 Jan 2012 19:22:44 -0000 Hello, I am running Mac os x lion and I want to use emacs to try to write some shell scripts for work. I am new to emacs so I would like help with some very basic things. 1. What is the command to determine the version of emacs that is provided with lion? 2. How do I enable color highlighting for syntext? 3 How do I get a list of the command sequences that auto generate things like "for", "while" and "do" loops for the various languages (C++, ruby, etc) I might use? Thanks for any help you can give me. John "Kim" Young 1663 71st Street Brooklyn, NY 11204 (917) 620-5562 kimyoung@mac.com From MAILER-DAEMON Wed Jan 04 14:45:22 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RiWm2-0002Pr-Qf for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:45:22 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiWlz-0002J7-4Q for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:45:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiWlw-0005lw-Bo for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:45:18 -0500 Received: from fmmailgate01.web.de ([217.72.192.221]:54503) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiWlv-0005l3-Pv for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:45:16 -0500 Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate01.web.de (Postfix) with ESMTP id 18FC81A864E0E for ; Wed, 4 Jan 2012 20:45:13 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0M4qsv-1Sf2HN3gDd-00ylAU; Wed, 04 Jan 2012 20:45:12 +0100 Subject: Re: newbie needs to be bailed out Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 From: Peter Dyballa In-Reply-To: Date: Wed, 4 Jan 2012 20:45:12 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <937EB8E2-0B9A-4E61-950F-6302CE35FED2@Web.DE> References: To: Kim Young X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:9Sl7xAldLhh+zPjuJv0LaoDhKVGMpRVL+xnmjV3g5Jp ebTNNhj3CotGQxzeYa3rpk++4VYb8xnK+1EZ8rx7RSSebwD7Ed j7DLT2MPddFyHKCZ/T1MmM4AzyLp6pwKVvNeTuxmyzM0NwT/5b x31LdNekOMI++8HWUeBi5Q0SVtgJXWSPych2d1CS7la7v7O575 u3J2k4eI52NHECB+j15VQ== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.221 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, 04 Jan 2012 19:45:20 -0000 Am 04.01.2012 um 20:22 schrieb Kim Young: > 1. What is the command to determine the version of emacs that is = provided with lion? emacs --version >=20 > 2. How do I enable color highlighting for syntext? Use a colour terminal! -- Greetings Pete Government is actually the worst failure of civilized man. There has = never been a really good one, and even those that are most tolerable are = arbitrary, cruel, grasping and unintelligent. =96 H. L. Mencken From MAILER-DAEMON Wed Jan 04 14:55:12 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RiWvY-0006tm-U4 for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:55:12 -0500 Received: from eggs.gnu.org ([140.186.70.92]:34568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiWvS-0006qb-CI for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:55:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiWvR-0007SC-Fy for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:55:06 -0500 Received: from mail-vw0-f41.google.com ([209.85.212.41]:54409) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiWvR-0007Rt-BT for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:55:05 -0500 Received: by vbbfn1 with SMTP id fn1so16375151vbb.0 for ; Wed, 04 Jan 2012 11:55:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=ldt0mP6ON4TQDu0IZIqobONzqd/H1muYNX8jGzFM6KY=; b=oXjW241X9Z8jIByAVbkeMxqr7D8fcLwUX4btnJ5KsplAQcIcGHYMDS+/+dugqMV08Y 0NbsV6sCGtYsV7tDsoAPjR5qPwzNBAP8rkOvR+FdvJaivzgUYiIxOd5zvwAxd5/b3q2h L/XfSQCkj2TrC8ryV+zslsTEkyh5InKfaaB+o= MIME-Version: 1.0 Received: by 10.52.34.97 with SMTP id y1mr6775946vdi.69.1325706904802; Wed, 04 Jan 2012 11:55:04 -0800 (PST) Received: by 10.52.37.169 with HTTP; Wed, 4 Jan 2012 11:55:04 -0800 (PST) In-Reply-To: References: Date: Wed, 4 Jan 2012 14:55:04 -0500 Message-ID: Subject: Re: "C-h k" reports " is undefined" From: York Zhao To: Drew Adams Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.212.41 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, 04 Jan 2012 19:55:11 -0000 >> I have noticed this problem for awhile that for some of the >> key bindings "C-h k" shows " is undefined". >> For example, when I type "C-h k M-q", it says "M-q is undefined", >> but I really did bind it to my own function and my >> function was working because If I set breakpoint in the >> function where "M-q" was being bound to and press "M-q" I was >> able to get into the function. The key bindings not being shown >> by "C-h k" is not limited to "M-q" but a bunch of >> others as well. However, there are also a number of other key >> bindings that can be reported by "C-h k". I have no idea why >> this is happening. Can somebody tell me with this? > > 1. This can happen because `M-q' is not in fact bound in the current cont= ext > (e.g. current buffer). =A0Are you sure that you are using `C-h k M-q' in = the same > buffer where the command is effectively invoked whenever you hit `M-q'? My "M-q" is a global binding, and most importantly, while "C-h k M-q" repor= ts undefined binding, typing "M-q" invoked my function. After all, it's not ju= st "M-q" that was reported undefined binding, a number of other bindings are n= ot being to be reported by "C-h k". > 2. There could be an Emacs bug. =A0You are apparently using a development= version, > not a released version of Emacs. =A0If #1 above shows that `C-h k M-q' re= ally > should be showing a binding for your command, then consider reporting an = Emacs > bug, using `M-x report-emacs-bug'. =A0The Emacs developers will determine= whether > there really is a problem. Since I have never been able to get email work in Emacs, I'm afraid I'll no= t be able to report bugs inside Emacs using "M-x report-emacs-bug", is there any other way of reporting Emacs bugs? Thanks a lot, York From MAILER-DAEMON Wed Jan 04 14:58:28 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RiWyi-0008S6-7t for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:58:28 -0500 Received: from eggs.gnu.org ([140.186.70.92]:33258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiWs6-0005lg-FK for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:51:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiWs5-0006jX-CJ for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:51:38 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:50778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiWs5-0006jH-98 for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:51:37 -0500 Received: by iacb35 with SMTP id b35so36471373iac.0 for ; Wed, 04 Jan 2012 11:51:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=hLjhXf7eybZDBuqWeguu0Zadpq768ZYJt6mSj94lmbA=; b=XgfbTN1TbQoqHLomCdKAx6+YKy2IkY2Stfke2FWX7hdUyBDdkJL5AfpjMmBgf4C17+ f0xtJ0fFesG82Pyw6xc3YPLTqWykA1Zl8A0tEkGdVd7U2eTJnY7kp3fln26CoOSv/4OZ /5lqkHMo7xBMz4wOqjsgYhzO6d/BZ5iNmPMfA= Received: by 10.42.174.198 with SMTP id w6mr31302685icz.37.1325706691759; Wed, 04 Jan 2012 11:51:31 -0800 (PST) Received: from [192.168.1.70] (108-85-24-133.lightspeed.sntcca.sbcglobal.net. [108.85.24.133]) by mx.google.com with ESMTPS id l28sm192657873ibc.3.2012.01.04.11.51.27 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 04 Jan 2012 11:51:28 -0800 (PST) From: Kevin Tran Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: How to install a terminfo entry (eterm-color from Emacs)? Date: Wed, 4 Jan 2012 11:51:26 -0800 Message-Id: <52BB7501-1506-4FE7-8E67-119C192518A5@gmail.com> To: help-gnu-emacs@gnu.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 X-Mailman-Approved-At: Wed, 04 Jan 2012 14:58: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: Wed, 04 Jan 2012 19:51:39 -0000 I want to run GNU Screen from within an Emacs term-mode buffer. When I = try to do this I get an error: $ screen Cannot find terminfo entry for 'eterm-color'. This error suggests that I should install the eterm-color terminfo = entry. I attempted to do this in 2 ways which both failed. The first attempt was to use the TERMINFO environment variable. My .bashrc: export TERMINFO=3D~/.terminfo Then I did: $ mkdir -p ~/.terminfo/e/ $ cp /usr/local/Cellar/emacs/23.3a/share/emacs/23.3/etc/e/* = ~/.terminfo/e/ In the term-mode buffer the eterm-color entry is not found. It says that = it gets eterm-color from TERMCAP instead of from the actual file. $ infocmp # Reconstructed via infocmp from file: TERMCAP eterm-color, am, mir, xenl, colors#8, cols#138, it#8, lines#41, pairs#64, bel=3D^G, bold=3D\E[1m, clear=3D\E[H\E[J, cr=3D^M, csr=3D\E[%i%p1%d;%p2%dr, cub=3D\E[%p1%dD, cub1=3D^H, cud=3D\E[%p1%dB, cud1=3D^J, cuf=3D\E[%p1%dC, cuf1=3D\E[C, cup=3D\E[%i%p1%d;%p2%dH, cuu=3D\E[%p1%dA, cuu1=3D\E[A, dch=3D\E[%p1%dP, dch1=3D\E[P, dl=3D\E[%p1%dM, dl1=3D\E[M, = ed=3D\E[J, el=3D\E[K, el1=3D\E[1K, home=3D\E[H, ht=3D^I, ich=3D\E[%p1%d@, il=3D\E[%p1%dL, il1=3D\E[L, ind=3D^J, invis=3D\E[8m, kbs=3D\177, kcub1=3D\EOD, kcud1=3D\EOB, kcuf1=3D\EOC, kcuu1=3D\EOA, kdch1=3D\E[3~, kend=3D\E[4~, khome=3D\E[1~, knp=3D\E[6~, = kpp=3D\E[5~, nel=3D^M^J, op=3D\E[39;49m, rc=3D\E8, rev=3D\E[7m, rmir=3D\E[4l, rmso=3D\E[27m, rmul=3D\E24m, rs1=3D\Ec, sc=3D\E7, = setab=3D\E[4%p1%dm, setaf=3D\E[3%p1%dm, sgr0=3D\E[m, smir=3D\E[4h, smso=3D\E[7m, smul=3D\E[4m, The second attempt was to use symlinks. $ sudo mkdir /usr/share/terminfo/e/ $ sudo cp /usr/local/Cellar/emacs/23.3a/share/emacs/23.3/etc/e/* = /usr/share/terminfo/e/ This failed in the same way as the first attempt. Why did neither attempt work? How do I get the eterm-color terminfo = entry installed? I am running OS X 10.6.8 and Emacs 23.3.1.= From MAILER-DAEMON Wed Jan 04 14:58:28 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RiWyi-0008Tl-Jf for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:58:28 -0500 Received: from eggs.gnu.org ([140.186.70.92]:33484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiWtS-0005vL-EP for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:53:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiWtQ-0006rZ-Vu for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:53:02 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:47603) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiWtQ-0006rP-LQ for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 14:53:00 -0500 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RiWtJ-00020X-3H; Wed, 04 Jan 2012 20:52:53 +0100 From: Lars Magne Ingebrigtsen To: Marius Hofert Subject: Re: Gnus: How to simplify file attachments? References: Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUnISOsoKXcZ6mXgYz+ /v6ZcofcZqjeydR3WGisao/fZaoTDg9WRk0+NDi9YZSwlKOQj4lWAAACWElEQVQ4jc2UMWvcMBTH VUrAYAsqbrm5QwKZcogDQ5It0A9gDo4m8w0dy5GDTBfMwWtP7p5+gAyZtBQCsuBCKIhGAsERMNha bmqXQNcureQ2bVKSsdD/YMT7+b3/k58stPeI0NHZg9pDm/8v+PzmBE7g3cbR643J5C64+al/Zv79 IW168JV2KO0QQnvkj755QEjaXJK/5ME6If1Y5A8C2Bbo+E6hTgrvx22pqRAf7oYBXo59RifbNyi5 zUgbAMYC6KV+sSxuwY7wCdqXWr9gSpu1HR/rBriNB0OrPDg8TuEK+PSYdIsnnTzfSphGLciHcFXF 5oI845fdp0YLXQF768Gu1gscIwUak+X1LhUCLfUnDwpXWpxwqUvIaa4IFvElC8BqZy2Ok0UCqgtq WgoOxrd76PIhi2NxPpUfHTSqiH33KoAZpQdCiMaqApUusqhyAME8TvQOF1w1B07iesEThvMiACRQ zWPpANdl09T8XEepDeb73AlZl6LBVw7XNZbLqogD4KXjuJbFwtk+lnNbRlaIAHA0Lw0q2fVWrRru EJc4bgHM5muFQ0b5l7W2UoLmLpgDzCPmTKyNFYrZWlTaRAE44xImffsMiQhgKrVXKGVQhQAZnhg/ O2Dh4XC7DwxWwQKVPjLrD0BRj8MnkT5aaREmOsiyFHJ/GHQA4OeRIIsGkGUZTYGGUxJKMQVzjtB1 f5ZRSnPaGQCYFmhdC2xzGjSkhPYBktbcKc0a3YKc9vwJ/+Xx5eZWq5vV6vn6KixfeTAajc5Gp2en 93+cMXoxuafx79vnsWvpBwPyQ/fzOFMwAAAAAElFTkSuQmCC X-Now-Playing: Various's _Disco Discharge: Pink Pounders (1)_: "Careen Cole - I Need A Lover Tonight (Original 12" dance mix)" Date: Wed, 04 Jan 2012 20:52:52 +0100 In-Reply-To: (Marius Hofert's message of "Tue, 13 Dec 2011 21:02:49 +0100") Message-ID: User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1RiWtJ-00020X-3H X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1326311573.32895@lpMk1pOf5UwmaPl+zCHnig X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-Mailman-Approved-At: Wed, 04 Jan 2012 14:58:26 -0500 Cc: Emacs Help X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 04 Jan 2012 19:53:03 -0000 Marius Hofert writes: > I use C-c C-a to attach files (e.g., a pdf file) in Gnus v5.13. I am then asked: > 1) "Content type (default application/pdf):" > 2) "One line description:" > 3) "Disposition (default attachment):" > ... so quite a lot of questions. Yeah, that's three questions too many. I think Message should just guess at 1) and 3), and then the user can change it if the user wants to. 2) should just be removed. However, Emacs 24 is in a feature freeze, so that'll have to wait until the next development cycle. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From MAILER-DAEMON Wed Jan 04 16:09:16 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RiY5E-0000Vl-U5 for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 16:09:16 -0500 Received: from eggs.gnu.org ([140.186.70.92]:47142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiY5D-0000Vf-2E for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 16:09:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiY58-0002Xc-2K for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 16:09:14 -0500 Received: from acsinet15.oracle.com ([141.146.126.227]:41756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiY57-0002XM-Th for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 16:09:10 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q04L9474032354 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 4 Jan 2012 21:09:06 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q04L93WK026801 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 4 Jan 2012 21:09:04 GMT Received: from abhmt106.oracle.com (abhmt106.oracle.com [141.146.116.58]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q04L93Ps017100; Wed, 4 Jan 2012 15:09:03 -0600 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 04 Jan 2012 13:09:03 -0800 From: "Drew Adams" To: "'York Zhao'" References: Subject: RE: "C-h k" reports " is undefined" Date: Wed, 4 Jan 2012 13:09:02 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AczLGsFUwi0fu8fxTlaYXb9sh8WxBQACXVRw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090204.4F04BFF2.0097,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 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, 04 Jan 2012 21:09:16 -0000 > Since I have never been able to get email work in Emacs, I'm > afraid I'll not be > able to report bugs inside Emacs using "M-x > report-emacs-bug", is there any > other way of reporting Emacs bugs? AFAIK if you have mail already configured in general (not for Emacs), then `M-x report-emacs-bug' will prepare the mail content, subject, and destination, and then call up your mail client. E.g., on Windows, I use Outlook as my mail client, and `M-x report-emacs-bug' causes Outlook to open a new message. I then hit `C-v' to paste the bug-report content (automatically saved to the clipboard) into the message body. Even if you do not use Emacs for mail, `M-x report-emacs-bug' can help, because it puts you in an editing buffer where you type your bug report, and that buffer already has a bunch of important info that can help the Emacs developers. E.g., it shows exactly what your Emacs build is (hence which Emacs version and which platform), and it lists a bunch of variable values that might be pertinent. So you can just use `M-x report-emacs-bug' to get that data, and then paste it into an email message, if you like. You definitely need not configure or use Emacs for email. From MAILER-DAEMON Wed Jan 04 16:29:21 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RiYOf-0005Qd-1c for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 16:29:21 -0500 Received: from eggs.gnu.org ([140.186.70.92]:49375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiYOc-0005QS-PI for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 16:29:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiYOb-0005HC-4Y for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 16:29:18 -0500 Received: from edge10.ethz.ch ([82.130.75.186]:17619) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiYOa-0005H6-NF for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 16:29:17 -0500 Received: from CAS10.d.ethz.ch (172.31.38.210) by edge10.ethz.ch (82.130.75.186) with Microsoft SMTP Server (TLS) id 14.1.355.2; Wed, 4 Jan 2012 22:29:11 +0100 Received: from 80-218-246-165.dclient.hispeed.ch (80.218.246.165) by cas10.d.ethz.ch (172.31.38.210) with Microsoft SMTP Server (TLS) id 14.1.355.2; Wed, 4 Jan 2012 22:29:14 +0100 Subject: Re: Gnus: How to simplify file attachments? MIME-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="iso-8859-1" From: Marius Hofert In-Reply-To: Date: Wed, 4 Jan 2012 22:29:13 +0100 Content-Transfer-Encoding: quoted-printable Message-ID: <1D83305A-6FE0-44A7-A74D-D2681520068F@math.ethz.ch> References: To: Lars Magne Ingebrigtsen X-Mailer: Apple Mail (2.1251.1) X-Originating-IP: [80.218.246.165] X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.130.75.186 Cc: Emacs Help X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 04 Jan 2012 21:29:19 -0000 Thanks for answering this, I highly appreciate it and look forward to an = update.=20 Since I typically attach several documents, I currently switch to dired = mode, mark the attachments and add them to the current mail (via C-c C-m = C-a).=20 I really like many features of Gnus, but given the ease of use of modern = mail programs, I admit that especially attaching documents is far too = slow in Gnus. In Mac Mail for example, I can simply drag-and-drop = documents to a mail to attach them -- I don't have to switch buffers, = navigate to a folder via the minibuffer, hit C-C C-m C-a... If there was = a drag-and-drop feature, that would be very nice. Just a thought. It = would also be fantastic to have such a feature for saving attachments = (just drag them out of the mail buffer to somewhere).=20 A second (not related to this thread anymore but to the use of Gnus as a = mail program) thought is the following. I typically have one window open = all the time, running Gnus and checking mails every minute. Assume you = have another buffer open where you type text. Then, every minute, the = minibuffer shows "Checking new news...done" and when this is displayed, = I can't input text anymore. I first have to hit C-g before continuing as = normal. Not sure if it is possible to make Gnus more work in the = background not interfering with work done in other buffers, but that = would also be good. But I guess this is only a Mac problem since under = Linux one could run several emacs instances independently (and therefore = Gnus in a different emacs) [is that true? I don't have a linux box to = test that]. Cheers, Marius On 2012-01-04, at 20:52 , Lars Magne Ingebrigtsen wrote: > Marius Hofert writes: >=20 >> I use C-c C-a to attach files (e.g., a pdf file) in Gnus v5.13. I am = then asked: >> 1) "Content type (default application/pdf):" >> 2) "One line description:" >> 3) "Disposition (default attachment):" >> ... so quite a lot of questions. >=20 > Yeah, that's three questions too many. I think Message should just > guess at 1) and 3), and then the user can change it if the user wants > to. >=20 > 2) should just be removed. >=20 > However, Emacs 24 is in a feature freeze, so that'll have to wait = until > the next development cycle. >=20 > --=20 > (domestic pets only, the antidote for overdose, milk.) > bloggy blog http://lars.ingebrigtsen.no/ ETH Zurich Dr. Marius Hofert RiskLab, Department of Mathematics HG E 65.2 R=E4mistrasse 101 8092 Zurich Switzerland Phone +41 44 632 2423 marius.hofert@math.ethz.ch http://www.math.ethz.ch/~hofertj From MAILER-DAEMON Wed Jan 04 17:40:25 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RiZVR-0007V7-HG for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 17:40:25 -0500 Received: from eggs.gnu.org ([140.186.70.92]:50106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiZVO-0007Ui-5K for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 17:40:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiZVL-0006GR-SQ for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 17:40:21 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:60712) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RiZVL-0006Fv-DV for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 17:40:19 -0500 Received: (qmail invoked by alias); 04 Jan 2012 22:40:16 -0000 Received: from p4FE81CBE.dip.t-dialin.net (EHLO nzebook.haselwarter.org) [79.232.28.190] by mail.gmx.net (mp007) with SMTP; 04 Jan 2012 23:40:16 +0100 X-Authenticated: #26138819 X-Provags-ID: V01U2FsdGVkX18lJtceb7klOtrymQB7lcda4nWydaTjztvkKcOTo2 xPcvCusxLtsQmg From: Philipp Haselwarter To: Peter Dyballa Subject: Re: newbie needs to be bailed out References: <937EB8E2-0B9A-4E61-950F-6302CE35FED2@Web.DE> X-NSA-Fodder: eavesdropping advisors number key Montenegro top secret Abbas X-Antipastobozoticataclysm: Bariumenemanilow Date: Wed, 04 Jan 2012 23:40:14 +0100 In-Reply-To: <937EB8E2-0B9A-4E61-950F-6302CE35FED2@Web.DE> (Peter Dyballa's message of "Wed, 4 Jan 2012 20:45:12 +0100") Message-ID: <8739bvjdm9.fsf@nzebook.haselwarter.org> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.165.64.23 Cc: help-gnu-emacs@gnu.org, Kim Young X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 04 Jan 2012 22:40:24 -0000 Peter Dyballa writes: > Am 04.01.2012 um 20:22 schrieb Kim Young: > >> 1. What is the command to determine the version of emacs that is provided with lion? > > emacs --version > >> >> 2. How do I enable color highlighting for syntext? > > Use a colour terminal! > ---8<---[snipped 10 lines]---8<--- Or emacs in graphical mode; also make sure to turn on `global-font-lock-mode'. > 3 How do I get a list of the command sequences that auto generate things like > "for", "while" and "do" loops for the various languages (C++, ruby, etc) I might > use? With emacs come `abbrev.el' and `skeleton.el', I like `yasnippet' very much. Make sure to take a look at the emacswiki: http://www.emacswiki.org/emacs/CategoryTemplates -- Philipp Haselwarter From MAILER-DAEMON Wed Jan 04 17:54:01 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RiZib-0003Mk-4d for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 17:54:01 -0500 Received: from eggs.gnu.org ([140.186.70.92]:56531) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiZiY-0003MW-G4 for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 17:53:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiZiW-00083i-Rz for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 17:53:58 -0500 Received: from mail-vw0-f41.google.com ([209.85.212.41]:55928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiZiW-00083Q-M5 for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 17:53:56 -0500 Received: by vbbfn1 with SMTP id fn1so16535242vbb.0 for ; Wed, 04 Jan 2012 14:53:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=cfpw01rzT8FACvrqpv5HRjjaHZnXHycQBjuLGqBSdzI=; b=t831SKAFFH8gjpdgmBU/srhb1mBuWxgs5K6HUKR8JETpYalHQ2UjdBPjm3IXuRkPU9 l5KoDP7cs7TMGcObY/8yynhVKEa1DfqkO5ZJXqXXaXphHNiKnn1dBX2I4CWwhGMLFqC6 WcM5TXhW/g/QndokUyKZWl7hEoBkCyFZKvWLg= MIME-Version: 1.0 Received: by 10.52.91.7 with SMTP id ca7mr28214760vdb.120.1325717635909; Wed, 04 Jan 2012 14:53:55 -0800 (PST) Received: by 10.52.37.169 with HTTP; Wed, 4 Jan 2012 14:53:55 -0800 (PST) In-Reply-To: References: Date: Wed, 4 Jan 2012 17:53:55 -0500 Message-ID: Subject: Re: "C-h k" reports " is undefined" From: York Zhao To: Drew Adams Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.212.41 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, 04 Jan 2012 22:53:59 -0000 > AFAIK if you have mail already configured in general (not for Emacs), the= n `M-x > report-emacs-bug' will prepare the mail content, subject, and destination= , and > then call up your mail client. > > E.g., on Windows, I use Outlook as my mail client, and `M-x report-emacs-= bug' > causes Outlook to open a new message. I then hit `C-v' to paste the bug-r= eport > content (automatically saved to the clipboard) into the message body. > > Even if you do not use Emacs for mail, `M-x report-emacs-bug' can help, b= ecause > it puts you in an editing buffer where you type your bug report, and that= buffer > already has a bunch of important info that can help the Emacs developers. > > E.g., it shows exactly what your Emacs build is (hence which Emacs versio= n and > which platform), and it lists a bunch of variable values that might be > pertinent. > > So you can just use `M-x report-emacs-bug' to get that data, and then pas= te it > into an email message, if you like. =A0You definitely need not configure = or use > Emacs for email. Thank you very much for the help, I have already sent the bug report by cop= y and paste, exactly as what you suggested. And I have received an acknowledge fr= om the list. Hopefully somebody will take care of this soon. York From MAILER-DAEMON Wed Jan 04 18:52:22 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Riad4-0006qR-2b for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 18:52:22 -0500 Received: from eggs.gnu.org ([140.186.70.92]:41661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Riad1-0006oX-7h for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 18:52:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Riad0-00089R-6G for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 18:52:19 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:48725) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Riacz-00089N-QN for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 18:52:18 -0500 Received: by iacb35 with SMTP id b35so36784665iac.0 for ; Wed, 04 Jan 2012 15:52:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=pRinqksY+9zBbdiYVKDoKHnowTI9dFVy/9kIApDyOlM=; b=lMyvL+aFxD3TmSbBf6333nOjyWgzsxgEdU0wcPiL0KckPoAdg7lDAhLSlZ5Ac1mALY Q2D5uQEQDOndrCIHV0AwJcnRfNJf56p5h+HiqquV4GV6gq0nk3pauxR6TtL0c0+7FqJb 1qHKsRUErqgC0P4UGCe0VtrNWkgvEf7tqse2w= MIME-Version: 1.0 Received: by 10.50.186.169 with SMTP id fl9mr69674358igc.28.1325721137132; Wed, 04 Jan 2012 15:52:17 -0800 (PST) Received: by 10.43.131.138 with HTTP; Wed, 4 Jan 2012 15:52:17 -0800 (PST) In-Reply-To: References: Date: Thu, 5 Jan 2012 08:52:17 +0900 Message-ID: Subject: Re: build-in function for obtaining the index of an element of a list From: ishi soichi To: Juanma Barranquero Content-Type: multipart/alternative; boundary=14dae9340b817334cb04b5bc814d X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 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, 04 Jan 2012 23:52:20 -0000 --14dae9340b817334cb04b5bc814d Content-Type: text/plain; charset=ISO-8859-1 Thanks. This is what I wanted. soichi 2012/1/4 Juanma Barranquero > > Is there any Emacs built-in function that returns the index of an > element of > > a list? > > If you don't mind using the CL package (included with Emacs), the > function you want is `position' > > (position "banana" '("apple" "banana" "orange") :test 'string=) => 1 > > Juanma > --14dae9340b817334cb04b5bc814d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks. This is what I wanted.

soichi

2012/1/4 Juanma Barranquero <lekktu@gmail.com>
> Is there any Emacs built-in function that returns th= e index of an element of
> a list?

If you don't mind using the CL package (included with Emacs), the=
function you want is `position'

=A0(position "banana" '("apple" "banana" = "orange") :test 'string=3D) =A0 =3D> =A01

=A0 =A0 Juanma

--14dae9340b817334cb04b5bc814d-- From MAILER-DAEMON Wed Jan 04 18:54:56 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RiafY-0007I6-T7 for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 18:54:56 -0500 Received: from eggs.gnu.org ([140.186.70.92]:45860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiafW-0007Hy-UK for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 18:54:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiafV-0000B0-ES for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 18:54:54 -0500 Received: from mail-tul01m020-f169.google.com ([209.85.214.169]:56005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiafV-0000Au-Ao for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 18:54:53 -0500 Received: by obcwo8 with SMTP id wo8so17609997obc.0 for ; Wed, 04 Jan 2012 15:54:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=f9coIvv8n7LvJTM+zYojyOUJR6dXBNRwGk660bq6mLY=; b=ZMgxHJH8Alx6vnhE2CLk9GQ1L1jdyO5PQKSI1cnuUJKGsZfNE6CE/y/wzXXavipZg+ 9AM46eOh0rre+XhNJwTpw2Y1Au38b2R4pBYBuV5f0ooyvkNGYuBxIcJgjYEzHdrxI6oe xJpCxEqCd2vi3H7+4JKSBGHFGZwuGnV/gccWg= Received: by 10.182.117.8 with SMTP id ka8mr14224665obb.73.1325721292250; Wed, 04 Jan 2012 15:54:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.51.197 with HTTP; Wed, 4 Jan 2012 15:54:31 -0800 (PST) In-Reply-To: References: From: Jai Dayal Date: Wed, 4 Jan 2012 18:54:31 -0500 Message-ID: Subject: Re: newbie needs to be bailed out To: Kim Young Content-Type: multipart/alternative; boundary=f46d04478603b21f9804b5bc8ae9 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.169 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, 04 Jan 2012 23:54:55 -0000 --f46d04478603b21f9804b5bc8ae9 Content-Type: text/plain; charset=ISO-8859-1 1) in terminal type, emacs --version 2) in emacs, type "M-x" and then type global-font-lock-mode M stands for "meta" and is generally the ALT key. 3) what the other guy said On Wed, Jan 4, 2012 at 2:22 PM, Kim Young wrote: > Hello, > > I am running Mac os x lion and I want to use emacs to try to write some > shell scripts for work. I am new to emacs so I would like help with some > very basic things. > > 1. What is the command to determine the version of emacs that is > provided with lion? > > 2. How do I enable color highlighting for syntext? > > 3 How do I get a list of the command sequences that auto generate > things like "for", "while" and "do" loops for the various languages (C++, > ruby, etc) I might use? > > Thanks for any help you can give me. > > > John "Kim" Young > 1663 71st Street > Brooklyn, NY 11204 > (917) 620-5562 > kimyoung@mac.com > > > > > --f46d04478603b21f9804b5bc8ae9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 1) in terminal type, emacs --version

2) in emacs, type "M-x&quo= t; and then type global-font-lock-mode=A0 M stands for "meta" and= is generally the ALT key.

3) what the other guy said

On Wed, Jan 4, 2012 at 2:22 PM, Kim Young <kimyoung@me.com> wrote:
Hello,

I am running Mac os x lion and I want to use emacs to try to write some she= ll scripts for work. I am new to emacs so I would like help with some very = basic things.

1. =A0 =A0 =A0What is the command to determine the version of emacs that is= provided with lion?

2. =A0 =A0 =A0How do I enable color highlighting for syntext?

3 =A0 =A0 =A0 How do I get a list of the command sequences that auto genera= te things like "for", "while" and "do" loops = for =A0 the various languages (C++, ruby, etc) I might use?

Thanks for any help you can give me.


John "Kim" Young
1663 71st =A0Street
Brooklyn, NY =A0 11204
(917) 620-5562<= /a>
kimyoung@mac.com





--f46d04478603b21f9804b5bc8ae9-- From MAILER-DAEMON Wed Jan 04 18:57:06 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Riahe-0007st-0o for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 18:57:06 -0500 Received: from eggs.gnu.org ([140.186.70.92]:46189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Riahb-0007sf-JG for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 18:57:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Riaha-0000Pf-H4 for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 18:57:03 -0500 Received: from fmmailgate02.web.de ([217.72.192.227]:40134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Riaha-0000PZ-69 for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 18:57:02 -0500 Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate02.web.de (Postfix) with ESMTP id 21D5A1BF35BCC for ; Thu, 5 Jan 2012 00:57:01 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0McWXI-1S07YK1yt6-00HzYF; Thu, 05 Jan 2012 00:57:00 +0100 Subject: Re: newbie needs to be bailed out Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 From: Peter Dyballa In-Reply-To: <8739bvjdm9.fsf@nzebook.haselwarter.org> Date: Thu, 5 Jan 2012 00:57:00 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <937EB8E2-0B9A-4E61-950F-6302CE35FED2@Web.DE> <8739bvjdm9.fsf@nzebook.haselwarter.org> To: Philipp Haselwarter X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:z68rVbk9dpyvRWmgCzBOFsWhCXCDu8gtpf65oqxo2Qi XsAl/9CknyymskoS3d09gXbRTPtVoAN+dIP9udbF31Ck6BatR3 bporSbRyMoktv9dYrmuDDIAPmIGeS0W2Xq+ooAPsHiKiGDFF/d +3CCvcEbxGI8vRI6yADVEZEodgAO3oESqrx/ePL3W7nbgrN+Mx dcshQ2NC2kPhG9eBaJk7g== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.227 Cc: help-gnu-emacs@gnu.org, Kim Young X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 04 Jan 2012 23:57:04 -0000 Am 04.01.2012 um 23:40 schrieb Philipp Haselwarter: >>> 2. How do I enable color highlighting for syntext? >>=20 >> Use a colour terminal! >>=20 > ---8<---[snipped 10 lines]---8<--- >=20 > Or emacs in graphical mode; also make sure to turn on > `global-font-lock-mode'. Such Emacsen do not come with Mac OS X. (Presumingly the best integrated = one is the "AppKit Emacs" based on GNU Emacs 23.3 =96 it has to be = compiled by one-self. Once you install X11 you could also use the X11 = variant of either GNU Emacs 23.3 or the coming GNU Emacs 24.1.) -- Greetings Pete Government is actually the worst failure of civilized man. There has = never been a really good one, and even those that are most tolerable are = arbitrary, cruel, grasping and unintelligent. =96 H. L. Mencken From MAILER-DAEMON Wed Jan 04 19:14:44 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Riayi-0002sg-1G for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 19:14:44 -0500 Received: from eggs.gnu.org ([140.186.70.92]:59207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Riayf-0002jD-D0 for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 19:14:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Riaye-000359-Ax for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 19:14:41 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:64635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Riaye-000351-6X for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 19:14:40 -0500 Received: by wibhq12 with SMTP id hq12so13922484wib.0 for ; Wed, 04 Jan 2012 16:14:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:in-reply-to:references :mime-version:content-transfer-encoding:content-type; bh=ZqtalPMAJQcXz9kSsHcWNNFPewgYU65fEXLqJOKHMko=; b=UUZL5ADc8nzD6/RiQJ0250rg6rG/+DGaR08YTuepo/0uIj8L9gCqgWH6Hb+TPwKR85 tCHpJAUrPkiAyUKxH7iSBDjKkdUZHUC/dHeIvsds0gWDRlXLynOzdtK3b0Uf6rtwLhn6 FjTj2emZzDxGwOFp4Kb58RSTeCfy2NdT/xDMU= Received: by 10.180.83.69 with SMTP id o5mr128158316wiy.1.1325722479055; Wed, 04 Jan 2012 16:14:39 -0800 (PST) Received: from yoda.localnet (bl14-216-165.dsl.telepac.pt. [85.247.216.165]) by mx.google.com with ESMTPS id g12sm71061180wiw.10.2012.01.04.16.14.37 (version=SSLv3 cipher=OTHER); Wed, 04 Jan 2012 16:14:38 -0800 (PST) From: Marko Vojinovic To: help-gnu-emacs@gnu.org Subject: Re: newbie needs to be bailed out Date: Thu, 05 Jan 2012 00:14:36 +0000 Message-ID: <1978399.maUQQ65Fer@yoda> User-Agent: KMail/4.7.4 (Linux/3.1.6-1.fc16.x86_64; KDE/4.7.4; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.212.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 05 Jan 2012 00:14:42 -0000 On Wednesday 04 January 2012 18:54:31 Jai Dayal wrote: > On Wed, Jan 4, 2012 at 2:22 PM, Kim Young wrote: > > I am running Mac os x lion and I want to use emacs to try to write some > > shell scripts for work. I am new to emacs so I would like help with some > > very basic things. > > > > 1. What is the command to determine the version of emacs that is > > provided with lion? > > 1) in terminal type, emacs --version This maybe doesn't apply to the OP, but I've seen MacOSX users who don't even know what a "terminal" is, let alone how to open one (being a Linux user myself, I also had some trouble finding a way to open a terminal when I first sat in front of a Mac machine on one occasion). So, is there a way to find out the emacs version from within a running emacs instance itself? Best, :-) Marko From MAILER-DAEMON Wed Jan 04 19:17:15 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rib19-0004Yc-Ng for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 19:17:15 -0500 Received: from eggs.gnu.org ([140.186.70.92]:59687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rib15-0004Sm-FM for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 19:17:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rib14-0003L9-A6 for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 19:17:11 -0500 Received: from mail-tul01m020-f169.google.com ([209.85.214.169]:59787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rib14-0003L3-6x for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 19:17:10 -0500 Received: by obcwo8 with SMTP id wo8so17627462obc.0 for ; Wed, 04 Jan 2012 16:17:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=pkNl+mvqoY+lssAN2xZctM6Vw1gSn1ZIBGBtfh57MmY=; b=RWtw9IqrhvQBZYYyfvQeXyDa4n4YVwKD7fg+ZcDOwYNMVf+UMqTJi6MPRjh2L/qdEo tQ0xhVibkjEhXp5iAlAyXmlo3ROkI22VFsW5KpR1sD8t2KBSE6viQqGxyHwwjt85NQjg 0Gn3eCND15iFeOjNknHF5cjeb+sYk9plvAiI0= Received: by 10.182.117.8 with SMTP id ka8mr14267046obb.73.1325722629253; Wed, 04 Jan 2012 16:17:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.51.197 with HTTP; Wed, 4 Jan 2012 16:16:48 -0800 (PST) In-Reply-To: <1978399.maUQQ65Fer@yoda> References: <1978399.maUQQ65Fer@yoda> From: Jai Dayal Date: Wed, 4 Jan 2012 19:16:48 -0500 Message-ID: Subject: Re: newbie needs to be bailed out To: Marko Vojinovic Content-Type: multipart/alternative; boundary=f46d04478603632bb804b5bcda11 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.169 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, 05 Jan 2012 00:17:12 -0000 --f46d04478603632bb804b5bcda11 Content-Type: text/plain; charset=ISO-8859-1 Hmm, good question. All though, the OP did state he was using it to write shell scripts, others might not know. I honestly don't know. On Wed, Jan 4, 2012 at 7:14 PM, Marko Vojinovic wrote: > On Wednesday 04 January 2012 18:54:31 Jai Dayal wrote: > > On Wed, Jan 4, 2012 at 2:22 PM, Kim Young wrote: > > > I am running Mac os x lion and I want to use emacs to try to write some > > > shell scripts for work. I am new to emacs so I would like help with > some > > > very basic things. > > > > > > 1. What is the command to determine the version of emacs that is > > > provided with lion? > > > > 1) in terminal type, emacs --version > > This maybe doesn't apply to the OP, but I've seen MacOSX users who don't > even > know what a "terminal" is, let alone how to open one (being a Linux user > myself, I also had some trouble finding a way to open a terminal when I > first > sat in front of a Mac machine on one occasion). > > So, is there a way to find out the emacs version from within a running > emacs > instance itself? > > Best, :-) > Marko > > > > --f46d04478603632bb804b5bcda11 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hmm, good question.=A0 All though, the OP did state he was using it to writ= e shell scripts, others might not know.

I honestly don't know. =

On Wed, Jan 4, 2012 at 7:14 PM, Marko Vo= jinovic <vvmarko@= gmail.com> wrote:
On Wednesday 04 January 20= 12 18:54:31 Jai Dayal wrote:
> On Wed, Jan 4, 2012 at 2:22 PM, Kim Young <kimyoung@me.com> wrote:
> > I am running Mac os x lion and I want to = use emacs to try to write some
> > shell scripts for work. I am new to emacs so I would like help wi= th some
> > very basic things.
> >
> > 1. =A0 =A0 =A0What is the command to determine the version of ema= cs that is
> > provided with lion?
>
> 1) in terminal type, emacs --version

This maybe doesn't apply to the OP, but I've seen MacOSX user= s who don't even
know what a "terminal" is, let alone how to open one (being a Lin= ux user
myself, I also had some trouble finding a way to open a terminal when I fir= st
sat in front of a Mac machine on one occasion).

So, is there a way to find out the emacs version from within a running emac= s
instance itself?

Best, :-)
Marko




--f46d04478603632bb804b5bcda11-- From MAILER-DAEMON Wed Jan 04 19:20:55 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rib4h-0005r4-Q2 for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 19:20:55 -0500 Received: from eggs.gnu.org ([140.186.70.92]:54280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rib4f-0005qy-64 for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 19:20:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rib4e-00043k-AW for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 19:20:53 -0500 Received: from rcsinet15.oracle.com ([148.87.113.117]:31541) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rib4e-00043g-3K for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 19:20:52 -0500 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q050Knuw021847 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 5 Jan 2012 00:20:50 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q050Kmge014714 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 5 Jan 2012 00:20:49 GMT Received: from abhmt103.oracle.com (abhmt103.oracle.com [141.146.116.55]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q050KmjV005294; Wed, 4 Jan 2012 18:20:48 -0600 Received: from dradamslap1 (/10.159.61.12) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 04 Jan 2012 16:20:47 -0800 From: "Drew Adams" To: "'Marko Vojinovic'" , References: <1978399.maUQQ65Fer@yoda> Subject: RE: newbie needs to be bailed out Date: Wed, 4 Jan 2012 16:20:46 -0800 Message-ID: <4CF9A1C0FB9740FE9E1248CFEC491D63@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <1978399.maUQQ65Fer@yoda> Thread-Index: AczLPwhT+Tp3kz9ESxayHbDqXiqmywAAMz4g X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-CT-RefId: str=0001.0A090209.4F04ECE2.0082,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.117 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 05 Jan 2012 00:20:53 -0000 > is there a way to find out the emacs version from within > a running emacs instance itself? M-x emacs-version From MAILER-DAEMON Wed Jan 04 22:18:34 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Ridqc-0000S5-PU for mharc-help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 22:18:34 -0500 Received: from eggs.gnu.org ([140.186.70.92]:33720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ridqa-0000Rz-Sw for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 22:18:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RidqZ-0002f0-Nd for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 22:18:32 -0500 Received: from lo.gmane.org ([80.91.229.12]:37930) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RidqZ-0002ew-IP for help-gnu-emacs@gnu.org; Wed, 04 Jan 2012 22:18:31 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RidqX-0006BS-U2 for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 04:18:29 +0100 Received: from 114.250.133.120 ([114.250.133.120]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Jan 2012 04:18:29 +0100 Received: from eric by 114.250.133.120 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Jan 2012 04:18:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Eric Abrahamsen Subject: Re: newbie needs to be bailed out Date: Thu, 05 Jan 2012 11:18:18 +0800 Lines: 51 Message-ID: <87fwfudeh1.fsf@ericabrahamsen.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 114.250.133.120 User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:dpL9BMT3QYtwZ4VNz78Z3qRSvwk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 05 Jan 2012 03:18:33 -0000 On Thu, Jan 05 2012, Kim Young wrote: > Hello, > > I am running Mac os x lion and I want to use emacs to try to write > some shell scripts for work. I am new to emacs so I would like help > with some very basic things. > > 1. What is the command to determine the version of emacs that is provided with lion? > > 2. How do I enable color highlighting for syntext? > > 3 How do I get a list of the command sequences that auto generate > things like "for", "while" and "do" loops for the various languages > (C++, ruby, etc) I might use? > > Thanks for any help you can give me. In addition to what everyone else has said… Assuming you are already *in* emacs and using it to write bash scripts, you want to find the "major mode" that corresponds with your file. When I open, for instance, ~/.bashrc, it goes into shell-script mode, and on the mode line I see (Shell-script[bash]). So emacs knows I'm editing a shell script, and knows it's a bash script. This major mode (see (info "(emacs)Modes")) provides both the syntax highlighting you're looking for, and also helpful commands for language constructs. All the major languages (C++, ruby, etc) have their own major modes, that provide the correct highlighting and give you helper functions. Hope that's what you were asking! Read the manual! Eric > > John "Kim" Young > 1663 71st Street > Brooklyn, NY 11204 > (917) 620-5562 > kimyoung@mac.com > > > > > -- GNU Emacs 24.0.92.2 (i686-pc-linux-gnu, GTK+ Version 2.24.8) of 2012-01-04 on pellet From MAILER-DAEMON Thu Jan 05 00:16:45 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rifgz-0004jG-MM for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 00:16:45 -0500 Received: from eggs.gnu.org ([140.186.70.92]:50479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rifgx-0004iq-BM for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 00:16:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rifgw-0002iE-Dw for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 00:16:43 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:60581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rifgw-0002i1-Aj for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 00:16:42 -0500 Received: by iacb35 with SMTP id b35so399363iac.0 for ; Wed, 04 Jan 2012 21:16:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=meZGKls4DyI0XtWL4r0/oiVf3v2kqdmTdnXMA70a1eg=; b=QZdSTDTHfNukD6Xj2Md9nm3XcQb+aQSrQuTkHMpPS9RX1rmiwImOpQPN7XlhBXYRJI oRQvZ5k9+T040zGmcWGO7U4TxbMlGhcguR5QG6ziCyrD/z2uz1oVItr2a6slqqKhKH7N VQm2CGi8fzqi5dQMwDryywbvSGvBm0ONv0WAM= MIME-Version: 1.0 Received: by 10.50.41.131 with SMTP id f3mr1070135igl.28.1325740601578; Wed, 04 Jan 2012 21:16:41 -0800 (PST) Received: by 10.43.131.138 with HTTP; Wed, 4 Jan 2012 21:16:41 -0800 (PST) Date: Thu, 5 Jan 2012 14:16:41 +0900 Message-ID: Subject: loading hash-table from a file? From: ishi soichi To: help-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=14dae9340f619f13d304b5c109b4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 05 Jan 2012 05:16:44 -0000 --14dae9340f619f13d304b5c109b4 Content-Type: text/plain; charset=ISO-8859-1 I have never used hash-table of Emacs Lisp but I believe it's useful as a database. Say, I have a hundred key-value pairs, which are to be stored as hash-table. Can I save this as a (text?) file so that Emacs can load it when booting up? I am a little confused because if I use (cons key value), it outputs "(key . value)" which can be written in a regular file. If I wish to find the value from a key, all I need to do is to simply search through the file. Do you think I can save the database using hash-table like this? soichi --14dae9340f619f13d304b5c109b4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I have never used hash-table of Emacs Lisp but I believe it's useful as= a database.

Say, I have a hundred key-value pairs, whic= h are to be stored as hash-table.=A0
Can I save this as a (text?)= file so that Emacs can load it when booting up?

I am a little confused because if I use (cons key value= ), it outputs "(key . value)" which can be written in a regular f= ile.
If I wish to find the value from a key, all I need to do is = to simply search through the file.

Do you think I can save the database using hash-table l= ike this?

soichi
--14dae9340f619f13d304b5c109b4-- From MAILER-DAEMON Thu Jan 05 00:41:59 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rig5P-0007Sv-Gp for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 00:41:59 -0500 Received: from eggs.gnu.org ([140.186.70.92]:53356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rig5J-0007Sp-Ez for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 00:41:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rig5I-0006GA-Ck for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 00:41:53 -0500 Received: from joseki.proulx.com ([216.17.153.58]:59283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rig5H-0006FX-5i for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 00:41:52 -0500 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 9C49D211D1; Wed, 4 Jan 2012 22:41:42 -0700 (MST) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 4F31D2DCDC; Wed, 4 Jan 2012 22:41:42 -0700 (MST) Date: Wed, 4 Jan 2012 22:41:42 -0700 From: Bob Proulx To: David Chappaz Subject: Re: shell-command causes problems with absolute/relative paths in TAGS Message-ID: <20120105054142.GA10149@hysteria.proulx.com> Mail-Followup-To: Bob Proulx , David Chappaz , help-gnu-emacs@gnu.org References: <20120102223315.3E60F1810C9@neo.msri.org> <408087A3D7BE475B884C0F93CE2298C7@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 216.17.153.58 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, 05 Jan 2012 05:41:58 -0000 Please don't hijack discussion threads. You replied to Drew Adams message with the subject "M-x mystery" and changed the subject. If you wish to create a new topic please create a new message. Changing the subject is used for topic drift within a discussion thread and does not create a new thread of discussion. This is to your advantage since people who are skipping the thread will also skip your message. See your message in context here: http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/threads.html#00035 David Chappaz wrote: > Note that I'm using GNU Emacs 23.3.1, with Exuberant CTags 5.8 I am not using that version of tags and so I can't check the options but to me using "-" (indicating to read standard input) looks to me like a strange way to do things. And piping from more to it is strange times strange creating a lot of it. > more filelist.txt | ctags -e -L - The -L means to read from a file list. So this is running more, a screen pager for human consumption, and then piping that to ctags and telling ctags to read the standard input. That is a lot of work to do to accomplish that task. Also, search the web for "useless use of cat". This is the same thing but just using a different program in the same way. In other words, don't try to substitute cat for more in the above. Instead have you tried simply running ctags on the file? Try this instead: ctags -e -L filelist.txt That should work more reliably the same on all operating systems. Expecially since pipes on MS-Windows are not speedy. > PS, on a slightly different note: > > 1/ on linux, shell-command also does something funny. Try "more > filelist.txt" and check the output buffer. It contains some sort of "header" > with "::::::::::::::" so the same command obviously fails. Use "less" > instead of "more" and then everything works If there are multiple files then more can page through all of them and therefore more shows a visual indicator between files. Also 'head' and 'tail' do similar things. If you are seeing this then more is trying to page through multiple files to the human. It isn't intended to be piped like that. Seeing the ":::::::::::::: FILENAME ::::::::::::::" header is a clue to your problem. It tells me that more has been told to read multiple files. But the command you list does not have multiple files. I am sure that when you run it from the command line and saying that it is working okay there that it isn't getting multiple files. So somehow when calling that pipeline from shell-command there are multiple files being offered to the command. That is probably somehow related to your difference in behavior of relative paths versus absolute paths. In the simple command line case I am sure it is what you see is what you get. But in the shell-command case I think a completely different set of files is being stuffed into the ctags standard input and because those are different files they only appear to be absolute versions I don't have any comments on the other questions about MS since I do not have that available for testing. Bob From MAILER-DAEMON Thu Jan 05 01:14:13 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rigab-0002eY-7N for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 01:14:13 -0500 Received: from eggs.gnu.org ([140.186.70.92]:49087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RigaZ-0002eR-4q for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 01:14:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RigaY-0002fH-48 for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 01:14:11 -0500 Received: from spike.lmi.net ([66.117.140.17]:39737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RigaX-0002fB-V2 for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 01:14:10 -0500 Received: from neo.msri.org (75-101-50-210.dsl.static.sonic.net [75.101.50.210]) by spike.lmi.net (Postfix) with ESMTP id 77DB215401E; Wed, 4 Jan 2012 22:14:07 -0800 (PST) Received: by neo.msri.org (Postfix, from userid 1000) id 0E7921814BB; Wed, 4 Jan 2012 22:14:06 -0800 (PST) Received: from neo.msri.org (localhost [127.0.0.1]) by neo.msri.org (Postfix) with ESMTP id EB8EC1808FA; Wed, 4 Jan 2012 22:14:06 -0800 (PST) To: help-gnu-emacs@gnu.org Subject: display-time-* variables Date: Wed, 04 Jan 2012 22:14:06 -0800 From: Silvio Levy Message-Id: <20120105061407.0E7921814BB@neo.msri.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 66.117.140.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, 05 Jan 2012 06:14:12 -0000 Dear Emacsers, I don't seem to be able to control my time display. GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1) of 2011-03-04 on palmer, modified by Debian emacs -Q -l foo where foo contains (setq display-time-24h-format t) (setq display-time-load-average t) (display-time) I still get the same display as if I had not set the variables. I would like 24h format (currently I get AM/PM format) I would like no load average or email flag. (currently I get them). I'm trying t for both these variables since the default, nil, shows these unwanted things. Thanks, Silvio From MAILER-DAEMON Thu Jan 05 02:01:33 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RihKP-0007Sy-0K for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 02:01:33 -0500 Received: from eggs.gnu.org ([140.186.70.92]:44659) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RihKM-0007Sg-8n for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 02:01:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RihKL-0000cM-8d for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 02:01:30 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:41890) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RihKL-0000cI-6w for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 02:01:29 -0500 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RihKK-0007Wn-RT for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 02:01:28 -0500 Date: Thu, 05 Jan 2012 02:01:28 -0500 Message-Id: From: Eli Zaretskii To: help-gnu-emacs@gnu.org In-reply-to: <20120105061407.0E7921814BB@neo.msri.org> (message from Silvio Levy on Wed, 04 Jan 2012 22:14:06 -0800) Subject: Re: display-time-* variables References: <20120105061407.0E7921814BB@neo.msri.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 05 Jan 2012 07:01:31 -0000 > Date: Wed, 04 Jan 2012 22:14:06 -0800 > From: Silvio Levy > > I don't seem to be able to control my time display. > > GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1) of 2011-03-04 on palmer, modified by Debian > > emacs -Q -l foo > > where foo contains > > (setq display-time-24h-format t) > (setq display-time-load-average t) > (display-time) > > I still get the same display as if I had not set the variables. If I replace 24h with 24hr, I get what you want. If you really used 24hr, then all I can say is that I cannot reproduce this problem. From MAILER-DAEMON Thu Jan 05 02:27:11 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RihjD-0001uB-TF for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 02:27:11 -0500 Received: from eggs.gnu.org ([140.186.70.92]:44590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RihjB-0001s4-3p for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 02:27:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RihjA-0004B3-3n for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 02:27:09 -0500 Received: from spike.lmi.net ([66.117.140.17]:39415) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rihj6-0004Ab-Vk; Thu, 05 Jan 2012 02:27:05 -0500 Received: from neo.msri.org (75-101-50-210.dsl.static.sonic.net [75.101.50.210]) by spike.lmi.net (Postfix) with ESMTP id 0A9CC154044; Wed, 4 Jan 2012 23:27:03 -0800 (PST) Received: by neo.msri.org (Postfix, from userid 1000) id 51F811814BB; Wed, 4 Jan 2012 23:27:02 -0800 (PST) Received: from neo.msri.org (localhost [127.0.0.1]) by neo.msri.org (Postfix) with ESMTP id 39F1D180564; Wed, 4 Jan 2012 23:27:02 -0800 (PST) To: Eli Zaretskii Subject: Re: display-time-* variables In-reply-to: Your message of Thu, 05 Jan 2012 02:01:28 -0500 From: Silvio Levy Date: Wed, 04 Jan 2012 23:27:02 -0800 Sender: levy@msri.org Message-Id: <20120105072702.51F811814BB@neo.msri.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 66.117.140.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: Thu, 05 Jan 2012 07:27:10 -0000 Thanks, Eli. Indeed I had the wrong name for the 24h variable. Do you have any light to shed on display-time-load-average? Whether the file "foo" contains this text (setq display-time-load-average t) (display-time) or the same text with "nil" instead of "t", the result of /usr/bin/emacs -Q -l foo is the same: the load average is shown, and also, querying the value of the variable with C-h v gives this: (with 0 either way) display-time-load-average is a variable defined in `time.el'. Its value is 0 Documentation: Load average currently being shown in mode line. (I suppose I could instead set display-time-load-average-threshold to a high value, which does work. Or I could try display-time-string-forms. But somehow I'd like to understand how display-time-load-average is mean to be used...) Silvio From MAILER-DAEMON Thu Jan 05 02:33:04 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rihou-0003Ip-Dg for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 02:33:04 -0500 Received: from eggs.gnu.org ([140.186.70.92]:44928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rifod-0005Tj-Qj for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 00:24:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rifoc-00042E-H4 for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 00:24:39 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:42242) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rifoc-000426-8J for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 00:24:38 -0500 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RifoU-00034C-DI; Thu, 05 Jan 2012 06:24:30 +0100 From: Lars Magne Ingebrigtsen To: Marius Hofert Subject: Re: Gnus: How to simplify file attachments? References: <1D83305A-6FE0-44A7-A74D-D2681520068F@math.ethz.ch> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUsKysHBQYKCAgEAwQI BgcCAgKNabOKAAACNElEQVQ4jW2TXW7jMAyEaScHCCPtu6zyAFFZv8cCb2D4/lfZGbkNuu0KgRXr 4/BPtLhrjui6RUuae9Zs6ovfBQCrpaTNPec+17o1axmg5awNy2lzF6mh1pQKi6aanCB3gmpKsMUG 6wFao8JqtU2Ow4eXYz2OY/ebyIZ4Oct6uK87Twd4F6HUCcaB+75D7A+R5CucisN6H0YwfvMnFYkK OII3IJEZvwLFAQULhHLfvVyYlUCV1rZCvp/+Hzg/BoEhJPczh8O50+TG2MfpilVQcK4yIeg6gitf iVeCx5wIkG5rIBNTfAwJfa3+Qd8NnuhvJObyRgVi4Db8NrxfhOQxrZ50gIQQjhu4lEl9fcx/BmgO cPWU3uV+G45n9CR1Am3DBaoW3sq47Srj8i6wKUhQlkTQUq6SwzadYMPIMrEr6huAZqQ1NUS7nA1p JSULAKw86XaTi+pNFs0ASwf46BaTRpmnLReZrcqmy52Kbn3uXa7Xrc4F8wZgnVmZxTWsRFmec8Ho zNUItGOKZgAZaybgEh1PDNkJ6gvkwLNUw2yWARDGhiJbjacFBnXD0EYUszxAZ6wrz1EQXRoOCCIs ssSGzuDr6QiB8pg0dNGf1yUAYFvwOoKHnUlw9O2VE7M6d5ZMm/ITUFK/ncPV6x/bJPX12r/+lc/C f4Efizb/ZVAYPuJ/zkLPOjaMb/8NOKGt5W/nVu8DsBVNUZx9NuEMiu5aaNKUON1sYl1iKPDoy1ml ji1S+8D2FxYwpWLlU7+7AAAAAElFTkSuQmCC X-Now-Playing: Various's _Dark Matter: Multiverse 2004 - 2009 (1)_: "Skream - Bahl Fwd" Date: Thu, 05 Jan 2012 06:24:29 +0100 In-Reply-To: <1D83305A-6FE0-44A7-A74D-D2681520068F@math.ethz.ch> (Marius Hofert's message of "Wed, 4 Jan 2012 22:29:13 +0100") Message-ID: User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1RifoU-00034C-DI X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1326345870.47004@nwK3QZjuhSfc3BXk+SaQWg X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-Mailman-Approved-At: Thu, 05 Jan 2012 02:32:59 -0500 Cc: Emacs Help X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 05 Jan 2012 05:24:40 -0000 Marius Hofert writes: > If there was a drag-and-drop feature, that would be very nice. Yes, that would be nice. I haven't really looked into the Emacs drag-and-drop support -- does it work on most platforms? > Not sure if it is possible to make Gnus more work in the background > not interfering with work done in other buffers, but that would also > be good. It's not currently particularly feasible. Emacs has a single-threaded Lisp engine. Emacs 25 may make some strides toward multi-threading... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From MAILER-DAEMON Thu Jan 05 02:33:09 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rihoz-0003ZA-GC for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 02:33:09 -0500 Received: from eggs.gnu.org ([140.186.70.92]:45114) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RifpA-0005sO-6S for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 00:25:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rifp9-0004CK-5O for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 00:25:12 -0500 Received: from mail-gy0-f169.google.com ([209.85.160.169]:65020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rifp9-0004CE-2f for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 00:25:11 -0500 Received: by ghrr18 with SMTP id r18so80653ghr.0 for ; Wed, 04 Jan 2012 21:25:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=TH5PfDgOkzl0x+F75R/JBZJ5uUc9Kz8EUD+GdfT0X4U=; b=CwD3bD1aT68OaVMW+GrAZu9jQMbbh6g9zJ+jpWYSnF96qle7mH8aTb4a3StsyRKKZ0 DNkpAkMWDLAcojfSCSvbXAhtj4kGa3IoNHYfQGneldVShDPstx7QS+g1uRw03tcyvGTi 0KYiVjbztBLsn57ld1PaBVnoEvEB4CUM9kMYg= Received: by 10.101.8.28 with SMTP id l28mr432851ani.45.1325741110688; Wed, 04 Jan 2012 21:25:10 -0800 (PST) Received: from [18.138.6.197] (NORTHWEST-THIRTYFIVE-FOUR-FIFTY-TWO.MIT.EDU. [18.138.6.197]) by mx.google.com with ESMTPS id j11sm83345531anl.8.2012.01.04.21.25.09 (version=SSLv3 cipher=OTHER); Wed, 04 Jan 2012 21:25:09 -0800 (PST) Message-ID: <4F053437.8070403@gmail.com> Date: Thu, 05 Jan 2012 00:25:11 -0500 From: Yuan Luo User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: help-gnu-emacs@gnu.org Subject: paren matching in common lisp mode in emacs 23 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.160.169 X-Mailman-Approved-At: Thu, 05 Jan 2012 02:33: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: Thu, 05 Jan 2012 05:25:13 -0000 Hi, I am using common lisp mode in emacs 23, and it seems to me whenever there is unmatched parens when I was saving a file, emacs reports paren not matched with cursor moved to where the unmatch occurs but then the cursor never moved back to where i was just editing. How do I tell emacs 23 to move the cursor back? In emacs 22, it was fine. Thanks, Yuan From MAILER-DAEMON Thu Jan 05 03:35:22 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RiinC-0005Ys-OE for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 03:35:22 -0500 Received: from eggs.gnu.org ([140.186.70.92]:44553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiinA-0005Yi-Kf for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 03:35:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Riin9-0007Q8-NB for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 03:35:20 -0500 Received: from mail-vw0-f41.google.com ([209.85.212.41]:47914) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Riin9-0007Ph-EB for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 03:35:19 -0500 Received: by vbbfn1 with SMTP id fn1so252347vbb.0 for ; Thu, 05 Jan 2012 00:35:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=syntactic.org; s=syntacticorg; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=V3DbwUkmSTzWPMP7o4lgONp6YpUgY5E3fx9BzVt+YJo=; b=kh2UVKQWweo4LUkpgSgisaiYHkXv5VJzL/xOqjI+7a77P8xi2arTrweCebWMvS4Cqx fE8gCn1JC7yTpdyMZuhWZp1poxiL5tf6Z21VHupXjPWWCzTkaP8/pkQ56D+50ARhqdQJ zcPNODuMM/1bXoZ3wB92oO/VnGrzGzlrP5VyA= MIME-Version: 1.0 Received: by 10.52.28.238 with SMTP id e14mr419509vdh.96.1325752518477; Thu, 05 Jan 2012 00:35:18 -0800 (PST) Received: by 10.52.171.76 with HTTP; Thu, 5 Jan 2012 00:35:18 -0800 (PST) In-Reply-To: References: Date: Thu, 5 Jan 2012 10:35:18 +0200 Message-ID: Subject: Re: loading hash-table from a file? From: Valentin Baciu To: ishi soichi Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.212.41 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, 05 Jan 2012 08:35:21 -0000 On Thu, Jan 5, 2012 at 7:16 AM, ishi soichi wrote: > I have never used hash-table of Emacs Lisp but I believe it's useful as a > database. > > Say, I have a hundred key-value pairs, which are to be stored as > hash-table. > Can I save this as a (text?) file so that Emacs can load it when booting up? > > I am a little confused because if I use (cons key value), it outputs "(key . > value)" which can be written in a regular file. > If I wish to find the value from a key, all I need to do is to simply search > through the file. > > Do you think I can save the database using hash-table like this? > > soichi In my Emacs 24, I can read back a printed (simple) hash table. I am not sure weather using more complex data types as values will also work. ;; Writing the hash table to a "database" file (with-current-buffer (find-file-noselect "/tmp/x") (let ((h (make-hash-table))) (puthash 'a 0 h) (puthash 'b 1 h) (insert (format "%s" h)) (save-buffer))) ;; Reading back the hash-table object (type-of (read (find-file-noselect "/tmp/x"))) ;; hash-table From MAILER-DAEMON Thu Jan 05 04:07:34 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RijIM-0001jF-LL for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 04:07:34 -0500 Received: from eggs.gnu.org ([140.186.70.92]:38838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RijIK-0001j9-QC for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 04:07:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RijIG-0003tC-EC for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 04:07:32 -0500 Received: from lo.gmane.org ([80.91.229.12]:47731) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RijIG-0003t3-4H for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 04:07:28 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RijID-0006CQ-ON for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 10:07:25 +0100 Received: from 114.250.133.120 ([114.250.133.120]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Jan 2012 10:07:25 +0100 Received: from eric by 114.250.133.120 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Jan 2012 10:07:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Eric Abrahamsen Subject: Re: loading hash-table from a file? Date: Thu, 05 Jan 2012 17:07:15 +0800 Lines: 53 Message-ID: <87r4zecybg.fsf@ericabrahamsen.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 114.250.133.120 User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:wbc9S0TAeiYpgCWElr/jI6dAnQU= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 05 Jan 2012 09:07:33 -0000 On Thu, Jan 05 2012, ishi soichi wrote: > I have never used hash-table of Emacs Lisp but I believe it's useful > as a database. > > Say, I have a hundred key-value pairs, which are to be stored as > hash-table.  > Can I save this as a (text?) file so that Emacs can load it when > booting up? > > I am a little confused because if I use (cons key value), it outputs > "(key . value)" which can be written in a regular file. > If I wish to find the value from a key, all I need to do is to simply > search through the file. > > Do you think I can save the database using hash-table like this? > > soichi > > I found this on the internet (presumably authored by someone with the initials T.V.), which does what you're asking (I used it to persist a hash-table that I load on startup). I don't really know if it's superior to the previous reply, but it certainly works. It produces a *.elc file, which can be loaded with `load' (provided it's in your load-path, of course). Whatever symbol name you originally dumped then becomes defined again. Eric --8<---------------cut here---------------start------------->8--- (defun tv-dump-object-to-file (obj file) "Save symbol object `obj' to the byte compiled version of `file'. `obj' can be any lisp object, list, hash-table, etc... `file' is an elisp file with ext *.el. Loading the *.elc file will restitute object." (require 'cl) ; Be sure we use the CL version of `eval-when-compile'. (if (file-exists-p file) (error "File already exists.") (with-temp-file file (erase-buffer) (let* ((str-obj (symbol-name obj)) (fmt-obj (format "(setq %s (eval-when-compile %s))" str-obj str-obj))) (insert fmt-obj))) (byte-compile-file file) (delete-file file) (message "`%s' dumped to %sc" obj file))) --8<---------------cut here---------------end--------------->8--- -- GNU Emacs 24.0.92.2 (i686-pc-linux-gnu, GTK+ Version 2.24.8) of 2012-01-04 on pellet From MAILER-DAEMON Thu Jan 05 04:11:45 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RijMP-0002yP-Gf for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 04:11:45 -0500 Received: from eggs.gnu.org ([140.186.70.92]:36940) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RijMJ-0002yJ-Bd for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 04:11:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RijMF-0004oL-Gj for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 04:11:39 -0500 Received: from mta-out.inet.fi ([195.156.147.13]:56701 helo=jenni1.inet.fi) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RijMF-0004nE-2D for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 04:11:35 -0500 Received: from imladris.arda (62.237.32.162) by jenni1.inet.fi (8.5.140.02) (authenticated as likote-3) id 4EB291C402DD5148; Thu, 5 Jan 2012 11:11:25 +0200 Received: from dtw by imladris.arda with local (Exim 4.72) (envelope-from ) id 1RijM4-0006XB-Is; Thu, 05 Jan 2012 11:11:24 +0200 From: Teemu Likonen To: Valentin Baciu Subject: Re: loading hash-table from a file? References: Date: Thu, 05 Jan 2012 11:11:24 +0200 In-Reply-To: (Valentin Baciu's message of "Thu, 5 Jan 2012 10:35:18 +0200") Message-ID: <87mxa2o6o3.fsf@imladris.arda> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 195.156.147.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: Thu, 05 Jan 2012 09:11:43 -0000 * 2012-01-05T10:35:18+02:00 * Valentin Baciu wrote: > In my Emacs 24, I can read back a printed (simple) hash table. I am > not sure weather using more complex data types as values will also > work. > > ;; Writing the hash table to a "database" file > > (with-current-buffer (find-file-noselect "/tmp/x") > (let ((h (make-hash-table))) > (puthash 'a 0 h) > (puthash 'b 1 h) > (insert (format "%s" h)) > (save-buffer))) Use the %S format character to print objects in machine-readable (i.e., READ) format. From MAILER-DAEMON Thu Jan 05 04:13:24 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RijO0-0003dy-TX for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 04:13:24 -0500 Received: from eggs.gnu.org ([140.186.70.92]:37341) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RijNy-0003cG-CJ for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 04:13:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RijNs-00050v-KQ for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 04:13:22 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:55365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RijNs-0004zh-HQ for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 04:13:16 -0500 Received: by mail-iy0-f169.google.com with SMTP id b35so762303iac.0 for ; Thu, 05 Jan 2012 01:13:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=EXTKJJKMuDReG8nuGigy44rpWuIVnycu/GeiP1+l3/A=; b=esCVb2T77VlQU+u7DGOxec6IFukQhgdq36SlZ4nVRwOAVpFdW3eJqPq0iB0dSYq8kT rb9BGH7fChaJLQr5jZQZ8ksoQB6q3lFLb8pLWdMm2AA9s1BqlD6wK4wfcN6VNVu+a3CX 47zHw+3npgPX4gevWITRFi1HD70n45Nbl7how= MIME-Version: 1.0 Received: by 10.50.89.197 with SMTP id bq5mr1410183igb.24.1325754795518; Thu, 05 Jan 2012 01:13:15 -0800 (PST) Received: by 10.43.131.138 with HTTP; Thu, 5 Jan 2012 01:13:15 -0800 (PST) In-Reply-To: <87mxa2o6o3.fsf@imladris.arda> References: <87mxa2o6o3.fsf@imladris.arda> Date: Thu, 5 Jan 2012 18:13:15 +0900 Message-ID: Subject: Re: loading hash-table from a file? From: ishi soichi To: Teemu Likonen Content-Type: multipart/alternative; boundary=e89a8f3ba75fa56ace04b5c4573e X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 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, 05 Jan 2012 09:13:23 -0000 --e89a8f3ba75fa56ace04b5c4573e Content-Type: text/plain; charset=ISO-8859-1 Thanks everyone. I think I works well! soichi 2012/1/5 Teemu Likonen > * 2012-01-05T10:35:18+02:00 * Valentin Baciu wrote: > > > In my Emacs 24, I can read back a printed (simple) hash table. I am > > not sure weather using more complex data types as values will also > > work. > > > > ;; Writing the hash table to a "database" file > > > > (with-current-buffer (find-file-noselect "/tmp/x") > > (let ((h (make-hash-table))) > > (puthash 'a 0 h) > > (puthash 'b 1 h) > > (insert (format "%s" h)) > > (save-buffer))) > > Use the %S format character to print objects in machine-readable (i.e., > READ) format. > --e89a8f3ba75fa56ace04b5c4573e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks everyone. I think I works well!

soichi

2012/1/5 Teemu Likonen <tlikonen@iki.fi>
* 2012-01-05T10:35:18+02:00 * Valentin Baciu wrote:

> In my Emacs 24, I can read back a printed (simple) hash table. I am > not sure weather using more complex data types as values will also
> work.
>
> ;; Writing the hash table to a "database" file
>
> (with-current-buffer (find-file-noselect "/tmp/x")
> =A0 (let ((h (make-hash-table)))
> =A0 =A0 (puthash 'a 0 h)
> =A0 =A0 (puthash 'b 1 h)
> =A0 =A0 (insert (format "%s" h))
> =A0 =A0 (save-buffer)))

Use the %S format character to print objects in machine-readable (i.e= .,
READ) format.

--e89a8f3ba75fa56ace04b5c4573e-- From MAILER-DAEMON Thu Jan 05 04:24:20 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RijYa-0006CE-Re for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 04:24:20 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RijYY-0006C7-0S for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 04:24:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RijYW-0006wr-Rh for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 04:24:17 -0500 Received: from mta-out.inet.fi ([195.156.147.13]:50606 helo=jenni2.inet.fi) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RijYW-0006wh-Hy for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 04:24:16 -0500 Received: from imladris.arda (62.237.32.162) by jenni2.inet.fi (8.5.140.02) (authenticated as likote-3) id 4EB3AFE102DAEEC9; Thu, 5 Jan 2012 11:24:14 +0200 Received: from dtw by imladris.arda with local (Exim 4.72) (envelope-from ) id 1RijYU-0006fm-Hf; Thu, 05 Jan 2012 11:24:14 +0200 From: Teemu Likonen To: ishi soichi Subject: Re: loading hash-table from a file? References: Date: Thu, 05 Jan 2012 11:24:14 +0200 In-Reply-To: (ishi soichi's message of "Thu, 5 Jan 2012 14:16:41 +0900") Message-ID: <87ipkqo62p.fsf@imladris.arda> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 195.156.147.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: Thu, 05 Jan 2012 09:24:18 -0000 * 2012-01-05T14:16:41+09:00 * ishi soichi wrote: > Say, I have a hundred key-value pairs, which are to be stored as > hash-table. Can I save this as a (text?) file so that Emacs can load > it when booting up? Yes. Use the Lisp object printing functions to print to a buffer: PRINT, PRIN1 or (FORMAT "%S" ...). Then read the printed object with READ which turns it to a Lisp object again. Here's an example of the idea: ;; Print (with-temp-file "/tmp/test" (let ((ht (make-hash-table))) (puthash 'a 1 ht) (puthash 'b 2 ht) (print ht (current-buffer)))) ;; Read (with-current-buffer (find-file-noselect "/tmp/test") (let ((ht (read (current-buffer)))) (list (gethash 'a ht) (gethash 'b ht)))) From MAILER-DAEMON Thu Jan 05 07:02:25 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rim1Z-0001zN-Py for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 07:02:25 -0500 Received: from eggs.gnu.org ([140.186.70.92]:45712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rim1S-0001yL-Mi for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 07:02:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rim1I-0000u4-3u for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 07:02:18 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:46262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rim1H-0000u0-TF for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 07:02:08 -0500 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Rim1H-0002Bk-NW for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 07:02:07 -0500 Date: Thu, 05 Jan 2012 07:02:07 -0500 Message-Id: From: Eli Zaretskii To: help-gnu-emacs@gnu.org In-reply-to: <20120105072702.51F811814BB@neo.msri.org> (message from Silvio Levy on Wed, 04 Jan 2012 23:27:02 -0800) Subject: Re: display-time-* variables References: <20120105072702.51F811814BB@neo.msri.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 05 Jan 2012 12:02:23 -0000 > cc: levy@msri.org, help-gnu-emacs@gnu.org > From: Silvio Levy > Date: Wed, 04 Jan 2012 23:27:02 -0800 > > Do you have any light to shed on display-time-load-average? > > Whether the file "foo" contains this text > > (setq display-time-load-average t) > (display-time) > > or the same text with "nil" instead of "t", the result of > > /usr/bin/emacs -Q -l foo > > is the same: the load average is shown That's expected: display-time-load-average is not a user option. It is the value of the load average shown in the mode line. > (I suppose I could instead set display-time-load-average-threshold to > a high value, which does work. That is the right way of disabling the load average display. From MAILER-DAEMON Thu Jan 05 07:20:45 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RimJJ-0006lU-UF for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 07:20:45 -0500 Received: from eggs.gnu.org ([140.186.70.92]:47136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RimJB-0006l4-Kn for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 07:20:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RimJA-0004dE-CX for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 07:20:37 -0500 Received: from cluster-d.mailcontrol.com ([85.115.60.190]:34071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RimJA-0004co-15 for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 07:20:36 -0500 Received: from cameurexb01.EUROPE.ROOT.PRI ([193.128.72.68]) by rly49d.srv.mailcontrol.com (MailControl) with ESMTP id q05CKX9A006789 for ; Thu, 5 Jan 2012 12:20:33 GMT Received: from DC04PC01 ([10.103.11.129]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.4675); Thu, 5 Jan 2012 12:20:33 +0000 From: "David Chappaz" To: References: <20120102223315.3E60F1810C9@neo.msri.org> <408087A3D7BE475B884C0F93CE2298C7@us.oracle.com> <20120105054142.GA10149@hysteria.proulx.com> Subject: RE: shell-command causes problems with absolute/relative paths in TAGS Date: Thu, 5 Jan 2012 12:20:30 -0000 Message-ID: <9C2570562E2A4B7BBDA61F564FCFC83F@EUROPE.ROOT.PRI> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-reply-to: <20120105054142.GA10149@hysteria.proulx.com> Thread-Index: AczLbLfzVn5beiXIQeePNkaPanJzCAAG4dXg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-OriginalArrivalTime: 05 Jan 2012 12:20:33.0347 (UTC) FILETIME=[6BF93130:01CCCBA4] X-Scanned-By: MailControl 7.6.5 (www.mailcontrol.com) on 10.68.0.159 X-detected-operating-system: by eggs.gnu.org: Windows 98 (1) X-Received-From: 85.115.60.190 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 05 Jan 2012 12:20:43 -0000 > Bob Proulx wrote: > Please don't hijack discussion threads. You replied to Drew Adams > message with the subject "M-x mystery" and changed the subject. If > you wish to create a new topic please create a new message. Changing > the subject is used for topic drift within a discussion thread and > does not create a new thread of discussion. This is to your advantage > since people who are skipping the thread will also skip your message. I can't argue with that. You're 100% correct, and I'm just hoping Drew Adams will forgive me. I replied to an existing message and changed the subject out of laziness I suppose, and didn't realise it would have unwanted consequences. I'll learn from this mistake ! Out of curiosity, is there any way to move this discussion in a new thread, or is it too late ? > I am not using that version of tags and so I can't check the options > but to me using "-" (indicating to read standard input) looks to me > like a strange way to do things. And piping from more to it is > strange times strange creating a lot of it. > > > more filelist.txt | ctags -e -L - As you have guessed, I'm not a shell expert, but I now understand the example I gave was a bit strange indeed. In fact I ended up with this command, because I was trying to "debug" a more complex command, where the result of "find" is piped to ctags: find -type f -name "*.c" | ctags -e -L - Presumably this way of doing is more "conventional" but again I'm not an expert, and if you think this is a bit awkward for any reason, please let me know ! Because I was getting the absolute/relative path problem I mentioned, I simply split the command into two fragments, explicitly creating an intermediate file: find -type f -name "*.c" > filelist.txt cat filelist.txt | ctags -e -L - > Instead have you tried simply running ctags on the file? Try this > instead: > > ctags -e -L filelist.txt Doh, I should have thought of doing that from the start. This is by far the simplest and most natural way of doing things... > That should work more reliably the same on all operating systems. > Expecially since pipes on MS-Windows are not speedy. And yet I still get the same behaviour... Running "ctags -e -L filelist.txt" directly from the shell and doing the same in shell-command still produces two different results... How can that be ?? This is really beyond me ! > > PS, on a slightly different note: > > > > 1/ on linux, shell-command also does something funny. > > Seeing the ":::::::::::::: FILENAME ::::::::::::::" header is a clue > to your problem. It tells me that more has been told to read multiple > files. But the command you list does not have multiple files. I am > sure that when you run it from the command line and saying that it is > working okay there that it isn't getting multiple files. So somehow > when calling that pipeline from shell-command there are multiple files > being offered to the command. Yes that makes perfect sense. I tried something like "more test1.c test2.c" directly from the command line, and I did get the separator with the filename. So when doing "more filetest.txt" from shell-command, "more" is clearly getting multiple files. > That is probably somehow related to > your difference in behavior of relative paths versus absolute paths. Yes I suppose so. In fact I've just discovered that "ctags -e -L filelist.txt" works fine when directly used in a proper windows shell, but does not when used in an emacs's shell buffer (i.e. that produces the same result, with absolute paths, as with shell-command) It sounds to me that the problem is related to an extra termination character added to the command line by emacs before it's passed to the shell... But I'm not skilled enough to figure out the details... Any ideas ? From MAILER-DAEMON Thu Jan 05 07:32:14 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RimUQ-00022A-G0 for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 07:32:14 -0500 Received: from eggs.gnu.org ([140.186.70.92]:36926) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RimUJ-000220-JH for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 07:32:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RimUI-0006Ps-Em for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 07:32:07 -0500 Received: from fmmailgate02.web.de ([217.72.192.227]:47557) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RimUI-0006Pg-8i for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 07:32:06 -0500 Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate02.web.de (Postfix) with ESMTP id D9A4C1BF38C89 for ; Thu, 5 Jan 2012 13:32:04 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb001) with ESMTPA (Nemesis) id 0M57ja-1SfXVy3BaI-00zHai; Thu, 05 Jan 2012 13:32:04 +0100 Subject: Re: newbie needs to be bailed out Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 From: Peter Dyballa In-Reply-To: <1978399.maUQQ65Fer@yoda> Date: Thu, 5 Jan 2012 13:32:04 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <35AE2C89-747F-4159-821B-B6B50EE4F783@Web.DE> References: <1978399.maUQQ65Fer@yoda> To: Marko Vojinovic X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:yijBVp+rNJXwINtNX6d/MjFrkgBxZT5LXl1pby7f5R5 J+BHTHcZo7Jr4ltzKmYI1r++JCRLVlEjFaSHZeiSv9i4RSnfQd nfMoj+wcNAS019zgjh5P4j2YWtsBDHBjCcObn+pzmq1EL0uQ+H hN209mX8FeK5ZylR+Dem+sKKQFvoNebiPV5dqoRJ5DfDdVbw9q UGt08DuLRWbj6xGEk4RBA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.227 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, 05 Jan 2012 12:32:13 -0000 Am 5.1.2012 um 01:14 schrieb Marko Vojinovic: > This maybe doesn't apply to the OP, but I've seen MacOSX users who = don't even=20 > know what a "terminal" is, let alone how to open one (being a Linux = user=20 > myself, I also had some trouble finding a way to open a terminal when = I first=20 > sat in front of a Mac machine on one occasion). Apple adds some documentation to the released DVDs which explain such = basic things. It's mostly English, though... and has to be read by = oneself, it does not speak. >=20 > So, is there a way to find out the emacs version from within a running = emacs=20 > instance itself? How can you determine that when you can't launch a terminal in which GNU = Emacs runs? -- Greetings Pete If we don't succeed, we run the risk of failure. =96 George W. Bush From MAILER-DAEMON Thu Jan 05 09:11:38 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rio2c-000615-8C for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 09:11:38 -0500 Received: from eggs.gnu.org ([140.186.70.92]:56755) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rio2Y-0005z4-RZ for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 09:11:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rio2X-0001VD-Mc for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 09:11:34 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:56572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rio2X-0001Uy-Ei for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 09:11:33 -0500 Received: by werf1 with SMTP id f1so501647wer.0 for ; Thu, 05 Jan 2012 06:11:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=5D4nuKplc9UdXHe/T9a3hV1g+TbyKKijfc3UOzVaVX0=; b=sPBxwRmfFX3tyPLcJtFWTgnqQXoND7rUN1Q2v9mkytjP+IyREfI7EhuwgAk4VmXb3J 9Ujs9Q2oMMq4BHAdgEz0FFGXi9HDfmH2tAhViusRFnGl45MnjpYPKdsmKbnO7iI2OhoW PgzZ2irM4F4sH4LSLCvKDxYwGbPe+WemmY43I= Received: by 10.216.133.82 with SMTP id p60mr1168354wei.59.1325772692190; Thu, 05 Jan 2012 06:11:32 -0800 (PST) Received: from [10.0.0.161] (mail2.xype.com. [87.194.167.167]) by mx.google.com with ESMTPS id em4sm64542250wbb.20.2012.01.05.06.11.30 (version=SSLv3 cipher=OTHER); Thu, 05 Jan 2012 06:11:31 -0800 (PST) Message-ID: <4F05AF91.6080908@gmail.com> Date: Thu, 05 Jan 2012 14:11:29 +0000 From: Andrea Crotti User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111224 Thunderbird/9.0.1 MIME-Version: 1.0 To: GNU Emacs List Subject: autopair mode Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 05 Jan 2012 14:11:35 -0000 Every time I try to open a dot file with the global autopair mode my emacs becomes immediately unusable and I have to kill it. The error is: Error in post-command-hook (autopair-global-mode-check-buffers): (wrong-type-argument characterp nil And if the post-command-hook stops working there's not much to do unfortunately. Any idea about how to fix this? From MAILER-DAEMON Thu Jan 05 09:52:23 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Riog3-0004Jl-Oc for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 09:52:23 -0500 Received: from eggs.gnu.org ([140.186.70.92]:50072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Riog0-0004JV-78 for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 09:52:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Riofr-0000Ob-LL for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 09:52:20 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:51169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Riofr-0000OX-Fk for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 09:52:11 -0500 Received: by werf1 with SMTP id f1so541699wer.0 for ; Thu, 05 Jan 2012 06:52:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=ddfRWQtJFbCtLBDWfnRzz38GEOGWkwPRe+UPnQyZnDY=; b=mwtYBkpvq2hG9l94N1ffSOfjjRnZx+MA1/prIZ07IQeyaCGPPZNXQI2CC8fO+3bStZ sa4dwmL43HrcuE1RXAs/PiC5cqfXOp6LMAhipghof244ENPLFgGzjTqQM1gkFhBMyOA+ fIn3Us4FKk/4Vc9Ri0g87d6BODmhFCh1h/qyg= Received: by 10.216.136.20 with SMTP id v20mr1144467wei.14.1325775130580; Thu, 05 Jan 2012 06:52:10 -0800 (PST) Received: from [10.0.0.161] (mail2.xype.com. [87.194.167.167]) by mx.google.com with ESMTPS id g11sm30611142wbo.6.2012.01.05.06.52.08 (version=SSLv3 cipher=OTHER); Thu, 05 Jan 2012 06:52:09 -0800 (PST) Message-ID: <4F05B917.3060305@gmail.com> Date: Thu, 05 Jan 2012 14:52:07 +0000 From: Andrea Crotti User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111224 Thunderbird/9.0.1 MIME-Version: 1.0 To: GNU Emacs List Subject: Re: autopair mode References: <4F05AF91.6080908@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 05 Jan 2012 14:52:22 -0000 On 01/05/2012 02:28 PM, Valentin Plechinger wrote: > I had the same problem with slime and autopair. > Turning it off is probably the best idea for now as there is no fix at > the moment (that I know of). > Somebody please correct me if I'm wrong. > > Checking the bug reports on the autopair might be a good idea as well. > Also what versions of emacs and autopair? > Apparently one possible workaround is (add-hook 'not-working-mode-hook #'(lambda () (setq autopair-dont-activate t))) There is something about that here http://code.google.com/p/autopair/issues/detail?id=32&q=slime And it looks like and emacs bug (I'm using emacs from bazaar and autopair from today svn). From MAILER-DAEMON Thu Jan 05 12:57:02 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RirYk-00040q-Nu for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 12:57:02 -0500 Received: from eggs.gnu.org ([140.186.70.92]:52607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiqZQ-0001Vv-O9 for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 11:53:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiqZI-0000WH-AM for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 11:53:40 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:41098) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RiqZH-0000Mr-Oz for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 11:53:32 -0500 Received: (qmail invoked by alias); 05 Jan 2012 16:53:16 -0000 Received: from p54BE203D.dip.t-dialin.net (EHLO shi.workgroup) [84.190.32.61] by mail.gmx.net (mp007) with SMTP; 05 Jan 2012 17:53:16 +0100 X-Authenticated: #19296480 X-Provags-ID: V01U2FsdGVkX193lPBmiyh3DEGGtEepkz3FZSvB3JgseIMgBQVjbq pNutd8n1qeBYmS Received: from grfz by shi.workgroup with local (Exim 4.77) (envelope-from ) id 1RiqZ0-0000SG-3C; Thu, 05 Jan 2012 17:53:14 +0100 From: Gregor Zattler To: David Chappaz , help-gnu-emacs@gnu.org Subject: RE: shell-command causes problems with absolute/relative paths in TAGS In-Reply-To: <9C2570562E2A4B7BBDA61F564FCFC83F@EUROPE.ROOT.PRI> References: <20120102223315.3E60F1810C9@neo.msri.org> <408087A3D7BE475B884C0F93CE2298C7@us.oracle.com> <20120105054142.GA10149@hysteria.proulx.com> <9C2570562E2A4B7BBDA61F564FCFC83F@EUROPE.ROOT.PRI> User-Agent: Notmuch/0.10.2 (http://notmuchmail.org) Emacs/23.3.1 (i486-pc-linux-gnu) Mail-Followup-To: David Chappaz , help-gnu-emacs@gnu.org Date: Thu, 05 Jan 2012 17:53:14 +0100 Message-ID: <87pqeynlad.fsf@shi.workgroup> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.165.64.23 X-Mailman-Approved-At: Thu, 05 Jan 2012 12:57: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: Thu, 05 Jan 2012 16:53:46 -0000 Hi David, On Thu, 5 Jan 2012 12:20:30 -0000, "David Chappaz" wrote: > > Bob Proulx wrote: > > Please don't hijack discussion threads. [...] > Out of curiosity, is there any way to move this discussion in a new thread, > or is it too late ? It's too late: Threading of emails is done with respect to their header (References:, In-Reply-To:) information. This happens on ones computer. In order to move part of a thread one would have to change header information of all local copies of relevant emails on all computers of all recipents... For individual purposes the mail user agent "mutt" for instance lets users decide to break threads. After breaking thei are shown as two distinct threads -- but only on this users local copy of emails. Ciao, Gregor From MAILER-DAEMON Thu Jan 05 13:17:55 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rirsx-0007WK-NL for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 13:17:55 -0500 Received: from eggs.gnu.org ([140.186.70.92]:41046) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rirsq-0007WD-Ot for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 13:17:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rirsq-0002R5-3K for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 13:17:48 -0500 Received: from spike.lmi.net ([66.117.140.17]:51146) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rirso-0002Qi-Cj; Thu, 05 Jan 2012 13:17:46 -0500 Received: from neo.msri.org (75-101-50-210.dsl.static.sonic.net [75.101.50.210]) by spike.lmi.net (Postfix) with ESMTP id 95162154112; Thu, 5 Jan 2012 10:17:44 -0800 (PST) Received: by neo.msri.org (Postfix, from userid 1000) id 9F5F81827FF; Thu, 5 Jan 2012 10:17:43 -0800 (PST) Received: from neo.msri.org (localhost [127.0.0.1]) by neo.msri.org (Postfix) with ESMTP id 73F8F1827F5; Thu, 5 Jan 2012 10:17:43 -0800 (PST) To: Eli Zaretskii Subject: Re: display-time-* variables In-reply-to: Your message of Thu, 05 Jan 2012 07:02:07 -0500 From: Silvio Levy Date: Thu, 05 Jan 2012 10:17:43 -0800 Sender: levy@msri.org Message-Id: <20120105181743.9F5F81827FF@neo.msri.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 66.117.140.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: Thu, 05 Jan 2012 18:17:54 -0000 > That's expected: display-time-load-average is not a user option. It > is the value of the load average shown in the mode line. Thank you for clarifying that. I would suggest in that case that "Its value is 0" as a result of C-h v is misleading, as it negates the description "Load average currently being shown in mode line", which would otherwise be clear. Best wishes, Silvio From MAILER-DAEMON Thu Jan 05 14:07:40 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Risf6-0002HI-Nr for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 14:07:40 -0500 Received: from eggs.gnu.org ([140.186.70.92]:36428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Risf3-0002Dp-HZ for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 14:07:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Risez-00023x-MY for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 14:07:37 -0500 Received: from lo.gmane.org ([80.91.229.12]:38432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Risez-00023t-Di for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 14:07:33 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Risew-0004Cb-EV for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 20:07:30 +0100 Received: from 91-67-11-43-dynip.superkabel.de ([91.67.11.43]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Jan 2012 20:07:30 +0100 Received: from tassilo by 91-67-11-43-dynip.superkabel.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Jan 2012 20:07:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Tassilo Horn Subject: Re: "C-h k" reports " is undefined" Date: Thu, 05 Jan 2012 20:07:18 +0100 Lines: 13 Message-ID: <87hb0arms9.fsf@thinkpad.tsdh.de> References: Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 91-67-11-43-dynip.superkabel.de User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:XOxwdL1zGh/y/4wSVSHOHtfYtFw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 05 Jan 2012 19:07:38 -0000 York Zhao writes: Hi York, > For example, when I type "C-h k M-q", it says "M-q is undefined", but > I really did bind it to my own function and my function was working > because If I set breakpoint in the function where "M-q" was being > bound to and press "M-q" I was able to get into the function. Could you please show the code that establishes the binding? Bye, Tassilo From MAILER-DAEMON Thu Jan 05 14:30:29 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rit1B-0004k4-C2 for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 14:30:29 -0500 Received: from eggs.gnu.org ([140.186.70.92]:37591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rit18-0004hh-GF for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 14:30:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rit16-0006su-Pj for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 14:30:26 -0500 Received: from mail-ee0-f41.google.com ([74.125.83.41]:57927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rit16-0006si-Jf for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 14:30:24 -0500 Received: by eekc41 with SMTP id c41so675359eek.0 for ; Thu, 05 Jan 2012 11:30:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=IYuBbAfANWFfJVwxH1eBr2KKmpNVOdYrs/N4gob8h3I=; b=THP1huedBDkiNoE2wHTcrGwVIjZeTXb3Q0U3uIdaEF9ZiKHsjoB4aJGJ2NheZDCqhd 74/2cBTGg5l1tcxwBK1UNiHn0qWBz4/Jloeimsm4jpmVYh/hU84eF5z6PsegAqRvyGWF LkyItb7ERMzRQtDuq+Y05zfye5flM0XEY5WaI= Received: by 10.14.29.77 with SMTP id h53mr1254017eea.51.1325791821333; Thu, 05 Jan 2012 11:30:21 -0800 (PST) Received: from localhost (p57AA617B.dip.t-dialin.net. [87.170.97.123]) by mx.google.com with ESMTPS id u53sm189545226eeu.6.2012.01.05.11.30.19 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 Jan 2012 11:30:20 -0800 (PST) From: Michael Markert To: York Zhao Subject: Re: "C-h k" reports " is undefined" References: Date: Thu, 05 Jan 2012 20:30:15 +0100 In-Reply-To: (York Zhao's message of "Wed, 4 Jan 2012 12:31:33 -0500") Message-ID: <87boqi7xrs.fsf@googlemail.com> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (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 2.6 (newer, 2) X-Received-From: 74.125.83.41 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, 05 Jan 2012 19:30:27 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 4 Jan 2012, York Zhao wrote: > Hi there, > > I have noticed this problem for awhile that for some of the key > bindings "C-h k" shows " is undefined". For example, when > I type "C-h k M-q", it says "M-q is undefined", but I really did bind > it to my own function and my function was working because If I set > breakpoint in the function where "M-q" was being bound to and press > "M-q" I was able to get into the function. The key bindings not being > shown by "C-h k" is not limited to "M-q" but a bunch of others as > well. However, there are also a number of other key bindings that can > be reported by "C-h k". I have no idea why this is happening. Can > somebody tell me with this? Hi York, I assume you're still using Evil. It's (unfortunately) a long standing bug[1] that affects mostly (exclusively?) the M-* bindings in non-emacs states and that has probably been forgotten because it never went to the issue tracker. Please be so kind and file it if you have time. Michael Footnotes: [1] http://thread.gmane.org/gmane.emacs.vim-emulation/1113=20 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBCAAGBQJPBfpIAAoJEHHMVUK0UjKVr2EQAJEZW1GrK9nVkBb6d7fb/zhK Mm+9FEAlWIG3TSFvbPIuLrcXWsjgBfaJAYa9NIcYXV0mRoq8X7udttepE0DjUL/a Erkt3UbHN8sKk0yYhFIs3VkWt1PCt3UxkcnydSFD/mWYZvMH+y7KlWwkLq9mBPTG 5mT9xZeEc4kq6+VH8BCKAMhRk0PcDG66f0+anAzQtwtgLxSEpcXNGHg/+SmZBHQH ksaVd1GJjG1J/5ZnY2GcAR4qxs/TjREYgiQcJnHRQO402iWAjgqXGpvR0/LN/pUS 4xS8ue14tMNOM5Fy39wkBy4wgU8YazRlVUrMVRsbF7lgJZCd8tmrtf7gnVrOB1Gt Cs2LFS5eCGGCYg7oSPB4lIdoOgSmTKYUwr4z8LY+tFC/OA9DMrYgQHYUrib6dxEx 8Nq2nOUkhFUhkPfFoP4VvzM9ic+9f9ygU8Ta4xCITuxeYF2WXe8CeodnWCpIDUQ8 CqDWSxJh4FZiTP7ON10ca2Q7vI5YYZKKaCuXboIKXL/baF2fHd5neVQh+tKH2FXC C2OBXCevGq0HHg5uRYiYUz7vJmtsDFDz558QtVkLhadt8udk2lj8JVoWWZu/XVpo CBF0Ztf+V5b86+dwxqguHn++lrZmEHr3ZUqKdZ+iZ/4erV9sHjotfSYjt0qb5qbx suAUyUtu11ns/idQfIM4 =SG5p -----END PGP SIGNATURE----- --=-=-=-- From MAILER-DAEMON Thu Jan 05 15:26:40 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RittY-0003AB-0U for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 15:26:40 -0500 Received: from eggs.gnu.org ([140.186.70.92]:48763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RittN-00037y-Ly for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 15:26:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RittH-0007RT-Cg for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 15:26:29 -0500 Received: from mail-vx0-f169.google.com ([209.85.220.169]:51214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RittH-0007Ol-3o for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 15:26:23 -0500 Received: by vcge1 with SMTP id e1so829533vcg.0 for ; Thu, 05 Jan 2012 12:26:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=gt+qehKjloEyytRaNBMdKerNXQNl4ABCVqAsHqMOdR0=; b=WvC/SM0rJq/bkfjSopYJmbl9ltIxk/Mi4EP3DA6OG+YSv15CRsWcGrlCiAX39/Hh8g sgZHGwY48GbRPZvj8zigTw5b27OkebTqW1K4sj3O9gdH93RoHg1quzTLMKTerqhaOegm ss8VMcfvDf6JCoywu/lHosOrn42gjE2UaCuVw= MIME-Version: 1.0 Received: by 10.52.23.44 with SMTP id j12mr1614014vdf.117.1325795180990; Thu, 05 Jan 2012 12:26:20 -0800 (PST) Received: by 10.52.37.169 with HTTP; Thu, 5 Jan 2012 12:26:20 -0800 (PST) In-Reply-To: <87boqi7xrs.fsf@googlemail.com> References: <87boqi7xrs.fsf@googlemail.com> Date: Thu, 5 Jan 2012 15:26:20 -0500 Message-ID: Subject: Re: "C-h k" reports " is undefined" From: York Zhao To: Michael Markert Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.220.169 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, 05 Jan 2012 20:26:37 -0000 > Hi York, > > I assume you're still using Evil. > > It's (unfortunately) a long standing bug[1] that affects mostly > (exclusively?) the M-* bindings in non-emacs states and that has > probably been forgotten because it never went to the issue tracker. > > Please be so kind and file it if you have time. > > Michael > > Footnotes: > > [1] http://thread.gmane.org/gmane.emacs.vim-emulation/1113 Hi Mike, Haven't seen you for a long time, how's everything? I'm still using Evil and loving it, what about you? Thank you very much for pointed out this to be an issue in Evil and I have posted to the Evil issue tracker just now. https://bitbucket.org/lyro/evil/issue/63/c-h-k-reports-is-undefined To the list: I apologize for having reported a bug which may have nothing to do with Emacs. Thanks, York From MAILER-DAEMON Thu Jan 05 15:31:40 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RityO-00055x-Db for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 15:31:40 -0500 Received: from eggs.gnu.org ([140.186.70.92]:46044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RityL-00054O-Ut for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 15:31:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RityL-0008HW-38 for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 15:31:37 -0500 Received: from mail-vw0-f41.google.com ([209.85.212.41]:58324) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RityL-0008HR-0H for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 15:31:37 -0500 Received: by vbbfn1 with SMTP id fn1so836412vbb.0 for ; Thu, 05 Jan 2012 12:31:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Dvm1UnbHXKwEbGvI5iIl1Gmc/OsQgb4/sYathBiFYzc=; b=IrdKKpSa+T3CEpNhH12Qs1J9dnqf4Xm01ONW0TjfUGZXdIXovS/eb1Rxe+gaNIS/km 3e5frOZb4zoKkSTrLl0tI88mgfBxE8jhwW8Y2oljhOu7U+E1D/r10dCyx5NbhgSsHpxB sSh/LcQa7RdelcmBjFbu2H1JK9/J5eUIR3uhk= MIME-Version: 1.0 Received: by 10.52.180.98 with SMTP id dn2mr1650866vdc.83.1325795496408; Thu, 05 Jan 2012 12:31:36 -0800 (PST) Received: by 10.52.37.169 with HTTP; Thu, 5 Jan 2012 12:31:36 -0800 (PST) In-Reply-To: <87hb0arms9.fsf@thinkpad.tsdh.de> References: <87hb0arms9.fsf@thinkpad.tsdh.de> Date: Thu, 5 Jan 2012 15:31:36 -0500 Message-ID: Subject: Re: "C-h k" reports " is undefined" From: York Zhao To: Tassilo Horn Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.212.41 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, 05 Jan 2012 20:31:38 -0000 > Could you please show the code that establishes the binding? Hi Tassilo, Thank you for the response and as Mike just pointed out this seems to be a problem with Evil package. But anyways here's my code that binds the key. (global-set-key (kbd "M-q") 'fill-paragraph-or-region) Thanks, York From MAILER-DAEMON Thu Jan 05 15:48:08 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RiuEK-0000md-DA for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 15:48:08 -0500 Received: from eggs.gnu.org ([140.186.70.92]:53893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiuEI-0000l4-Cs for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 15:48:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiuEG-0002fS-2X for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 15:48:06 -0500 Received: from out4.smtp.messagingengine.com ([66.111.4.28]:56675) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiuEF-0002fF-OK for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 15:48:03 -0500 Received: from compute4.internal (compute4.nyi.mail.srv.osa [10.202.2.44]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id A2B4320AF7 for ; Thu, 5 Jan 2012 15:48:02 -0500 (EST) Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute4.internal (MEProxy); Thu, 05 Jan 2012 15:48:02 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:cc:subject:references:date :in-reply-to:message-id:mime-version:content-type; s=smtpout; bh=/2lpYwqCK0ZK8K8k0RKfK0FdJ78=; b=IU+Zz1ccZVSyVsIiq2UOBqVvJj7x 52aoO1l/G4n9GifZh+a/PPuz+fmZocBXSI5pdOXIohrDndUMsIGKaABbZ9FSaU8E zLCRz7UsMn+cgtaEaAsueaLQil+KgtKR8kj7UpSTz2NtvJiyvr+gtllU8AuB4COv IkDDAmCB5rlYY+M= X-Sasl-enc: CKVO82WkQ+yeqW8rNJUFf39tT9FHJ0eetyNFHj+fNABz 1325796482 Received: from thinkpad.tsdh.de (91-67-11-43-dynip.superkabel.de [91.67.11.43]) by mail.messagingengine.com (Postfix) with ESMTPSA id CB8A78E0097; Thu, 5 Jan 2012 15:48:01 -0500 (EST) From: Tassilo Horn To: York Zhao Subject: Re: "C-h k" reports " is undefined" References: <87hb0arms9.fsf@thinkpad.tsdh.de> Date: Thu, 05 Jan 2012 21:47:59 +0100 In-Reply-To: (York Zhao's message of "Thu, 5 Jan 2012 15:31:36 -0500") Message-ID: <874nw9swow.fsf@thinkpad.tsdh.de> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 66.111.4.28 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, 05 Jan 2012 20:48:07 -0000 York Zhao writes: >> Could you please show the code that establishes the binding? > > Thank you for the response and as Mike just pointed out this seems to > be a problem with Evil package. Ah, ok. > But anyways here's my code that binds the key. > > (global-set-key (kbd "M-q") 'fill-paragraph-or-region) Well, that's clearly correct. Bye, Tassilo From MAILER-DAEMON Thu Jan 05 16:51:37 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RivDl-0006MZ-24 for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 16:51:37 -0500 Received: from eggs.gnu.org ([140.186.70.92]:42643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RivDh-0006L6-SR for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 16:51:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RivDg-0003IW-Nh for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 16:51:33 -0500 Received: from lo.gmane.org ([80.91.229.12]:54751) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RivDg-0003IP-6N for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 16:51:32 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RivDc-0003XF-G7 for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 22:51:28 +0100 Received: from i59f55af3.versanet.de ([89.245.90.243]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Jan 2012 22:51:28 +0100 Received: from stephen.berman by i59f55af3.versanet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 05 Jan 2012 22:51:28 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Stephen Berman Subject: Re: display-time-* variables Date: Thu, 05 Jan 2012 22:51:10 +0100 Lines: 51 Sender: steve@escher.fritz.box Message-ID: <87aa61byy9.fsf@escher.fritz.box> References: <20120105072702.51F811814BB@neo.msri.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: i59f55af3.versanet.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 05 Jan 2012 21:51:34 -0000 On Thu, 05 Jan 2012 07:02:07 -0500 Eli Zaretskii wrote: >> cc: levy@msri.org, help-gnu-emacs@gnu.org >> From: Silvio Levy >> Date: Wed, 04 Jan 2012 23:27:02 -0800 >> >> Do you have any light to shed on display-time-load-average? >> >> Whether the file "foo" contains this text >> >> (setq display-time-load-average t) >> (display-time) >> >> or the same text with "nil" instead of "t", the result of >> >> /usr/bin/emacs -Q -l foo >> >> is the same: the load average is shown > > That's expected: display-time-load-average is not a user option. It > is the value of the load average shown in the mode line. > >> (I suppose I could instead set display-time-load-average-threshold to >> a high value, which does work. > > That is the right way of disabling the load average display. There's also this: ,---- | display-time-default-load-average is a variable defined in `time.el'. | Its value is nil | Original value was 0 | | Documentation: | Which load average value will be shown in the mode line. | Almost every system can provide values of load for past 1 minute, past 5 or | past 15 minutes. The default is to display 1 minute load average. | The value can be one of: | | 0 => 1 minute load | 1 => 5 minutes load | 2 => 15 minutes load | | You can customize this variable. `---- Setting it to `none' (i.e. nil) disables the load average display in the mode line. Steve Berman From MAILER-DAEMON Thu Jan 05 17:20:38 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rivfq-0003Is-R2 for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 17:20:38 -0500 Received: from eggs.gnu.org ([140.186.70.92]:35006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rivfm-0003EO-8O for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 17:20:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rivfk-0007oI-QQ for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 17:20:34 -0500 Received: from joseki.proulx.com ([216.17.153.58]:35054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rivfk-0007oC-Eq for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 17:20:32 -0500 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id D80C7211D2; Thu, 5 Jan 2012 15:20:30 -0700 (MST) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 8AF3E2DCDC; Thu, 5 Jan 2012 15:20:30 -0700 (MST) Date: Thu, 5 Jan 2012 15:20:30 -0700 From: Bob Proulx To: David Chappaz Subject: Re: shell-command causes problems with absolute/relative paths in TAGS Message-ID: <20120105222030.GA22189@hysteria.proulx.com> Mail-Followup-To: Bob Proulx , David Chappaz , help-gnu-emacs@gnu.org References: <20120102223315.3E60F1810C9@neo.msri.org> <408087A3D7BE475B884C0F93CE2298C7@us.oracle.com> <20120105054142.GA10149@hysteria.proulx.com> <9C2570562E2A4B7BBDA61F564FCFC83F@EUROPE.ROOT.PRI> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9C2570562E2A4B7BBDA61F564FCFC83F@EUROPE.ROOT.PRI> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 216.17.153.58 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, 05 Jan 2012 22:20:35 -0000 David Chappaz wrote: > Bob Proulx wrote: > > > more filelist.txt | ctags -e -L - > > As you have guessed, I'm not a shell expert, but I now understand the > example I gave was a bit strange indeed. Oh good. We all have to start somewhere. > In fact I ended up with this command, because I was trying to "debug" a more > complex command, where the result of "find" is piped to ctags: > > find -type f -name "*.c" | ctags -e -L - > > Presumably this way of doing is more "conventional" but again I'm not an > expert, and if you think this is a bit awkward for any reason, please let me > know ! Yes. That way is much more normal. Because the find is doing something useful and contributing positively to the overall task. That way is a very typical way of doing things. Good! Unfortunately it suffers problems when people embed newlines inside of filenames. As long as you don't do that, and it is unusual to do so, then I would keep on doing it exactly that way. Not using newlines in a C source code file name is good conventional practice. If I found anyone putting newlines in a C source code filename I would convince them otherwise. :-) So you are fine. But it is useful to understand where the convention breaks down. > Because I was getting the absolute/relative path problem I mentioned, I > simply split the command into two fragments, explicitly creating an > intermediate file: > > find -type f -name "*.c" > filelist.txt > cat filelist.txt | ctags -e -L - I can now see how you got there. Like most things knowing the background story fills in all of the details and makes everything make sense. (But in case anyone jumped into the thread here we are all agreed that the improvement below is better.) > > Instead have you tried simply running ctags on the file? Try this > > instead: > > > > ctags -e -L filelist.txt > > Doh, I should have thought of doing that from the start. This is by far the > simplest and most natural way of doing things... Yay! Much simpler and more direct. Simple is good. > > That should work more reliably the same on all operating systems. > > Expecially since pipes on MS-Windows are not speedy. > > And yet I still get the same behaviour... > Running "ctags -e -L filelist.txt" directly from the shell and doing the > same in shell-command still produces two different results... How can that > be ?? This is really beyond me ! Drat! I was hoping that the direct filename method would clean things up and solve your problem. I don't really have any other hints. Because I can't recreate your problem. It works fine for me. > > Seeing the ":::::::::::::: FILENAME ::::::::::::::" header is a clue > > to your problem. It tells me that more has been told to read multiple > > files. But the command you list does not have multiple files. I am > > sure that when you run it from the command line and saying that it is > > working okay there that it isn't getting multiple files. So somehow > > when calling that pipeline from shell-command there are multiple files > > being offered to the command. > > Yes that makes perfect sense. I tried something like "more test1.c test2.c" > directly from the command line, and I did get the separator with the > filename. So when doing "more filetest.txt" from shell-command, "more" is > clearly getting multiple files. Can you make out the filenames that it is getting from the output? Can you do some testing and try to figure out what filenames are being added to the command? I think if you could deduce what the extra file names are then that would be a huge big clue to determining where they are coming from and then fixing the problem. Perhaps using 'echo' to echo the args out would be useful. But the problem is that you are using an operating system that I don't know the right debug techniques and so do not know what to suggest. I would suggest echo but I fear that the echo I would see and the echo you would see would be completely different and that will just confound things. For me a program such as echo that just echo printed all of its arguments would allow me to see the extra arguments supplied. But I don't know what it will do on your system. It may or may not be useful. M-! echo > > That is probably somehow related to > > your difference in behavior of relative paths versus absolute paths. > > Yes I suppose so. > In fact I've just discovered that "ctags -e -L filelist.txt" works fine when > directly used in a proper windows shell, That makes sense so far. > but does not when used in an > emacs's shell buffer (i.e. that produces the same result, with absolute > paths, as with shell-command) It sounds like a bug in your port of emacs in the area of shell-command. Is there a different port that you could try? Maybe it would behave differently. > It sounds to me that the problem is related to an extra termination > character added to the command line by emacs before it's passed to the > shell... But I'm not skilled enough to figure out the details... Any ideas ? I am one of those people what has been using Unix and GNU systems all of my life and have virtually bypassed ever using an MS machine. When I try to use one I am lost and frustrated. Which is why I have sympathy for people going the other direction and try to help out when I can. But it means that I really have no advice available for you. Since it looks like an operating system interface bug in shell-command I think I would try to work around it by using a helper script. I would create a helper script which did the actions I wanted (find piped to ctags in this case) and then call the script instead of the raw commands. That could help debug things too since then once you are inside the helper script you can add more debugging there. Bob From MAILER-DAEMON Thu Jan 05 18:05:48 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RiwNX-0003Tn-Vr for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 18:05:47 -0500 Received: from eggs.gnu.org ([140.186.70.92]:46840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiwNV-0003SY-Lp for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 18:05:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RiwNT-0007KT-Sx for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 18:05:45 -0500 Received: from lo.gmane.org ([80.91.229.12]:47833) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RiwNT-0007KN-HW for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 18:05:43 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RiwNS-00036L-AX for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 00:05:42 +0100 Received: from 123.123.251.72 ([123.123.251.72]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Jan 2012 00:05:42 +0100 Received: from sdl.web by 123.123.251.72 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Jan 2012 00:05:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Leo Subject: Re: autopair mode Date: Fri, 06 Jan 2012 07:05:26 +0800 Lines: 10 Message-ID: References: <4F05AF91.6080908@gmail.com> <4F05B917.3060305@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 123.123.251.72 Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAGFBMVEUzRVhbQj4eZqO6SjnT eWpxnMetm5b6/PmidmqrAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1F B9cBBwMLBfKABCMAAAFoSURBVCjPtZI9a8MwEIaFoc7aYDdelQMna0Em3tsSr0XUeE2Q6a22a+v+ fk8fSSBkbDUI6dHpfe9OEvRgiD+ApqKPJgJeB6iUUXWESjUe/ig38AJrhqqvaU2nTIXbNvOQ40fe qdry4kyGoVWsfCQalXpHnJGM01wjWdYbMlXNFdsZDO69m9aqNqxEJqTEgbM5OF7wlEfIoll1Ked4 LbM5X2EdILLokEdmI8z7g5cKED0cuTC930TYhy7ZDekkXVGw/L60TguJePPxcJF48lpsSUWEA/Ju jGFNgJOXc4Hz7TmAdBeu5Ve4AEjOi2/2jfd3cAJZ+IbNrvdjgBZY01b+HTuG3cLws6BJZqVOj/pp T0OqVwx3rFq+QmJwx3loK5JSLEhDIt62+mtC2C+SrAUxEbV6C6v2BRbd6pILBKFpepKZJHgGgrKF sptSUUoczpwg2pQ7ZH1tgs0ou/917mzz6Cs2//C978cv5l07L02orIEAAAAASUVORK5CYII= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3.50 (Mac OS X 10.6.8) Cancel-Lock: sha1:NMjnoLEhZ+b4rd6qCnNCywD48ss= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 05 Jan 2012 23:05:46 -0000 On 2012-01-05 22:52 +0800, Andrea Crotti wrote: > There is something about that here > http://code.google.com/p/autopair/issues/detail?id=32&q=slime > > And it looks like and emacs bug (I'm using emacs from bazaar and > autopair from today svn). I doubt its emacs's. probably autopairs. Leo From MAILER-DAEMON Thu Jan 05 19:48:00 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RixyS-0005bE-BS for mharc-help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 19:48:00 -0500 Received: from eggs.gnu.org ([140.186.70.92]:52953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RixyP-0005Yp-QL for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 19:47:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RixyO-0006PD-Ua for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 19:47:57 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:64974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RixyO-0006P9-Oa for help-gnu-emacs@gnu.org; Thu, 05 Jan 2012 19:47:56 -0500 Received: by werf1 with SMTP id f1so1020374wer.0 for ; Thu, 05 Jan 2012 16:47:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=WtkvrlX5MI1PFFsNi3cKs1hBxrXtAWKHElP2ubXj5p4=; b=nwKdxqCkaXEPE0Wp/3IZtJXaziwiZcBlN5uEjVgq0vRIrvL8lxYb3oI7yho3AmLUbe bRuikVTKUJb1gKrGBpZkVjkmDi6j0XtUZVHD7OeVxWmLtiVbDctKy2+g6h5XCvHYHtW+ MPHcGy+3+tc7QdlXYIZPY9QjvEuraFO+9LnpM= MIME-Version: 1.0 Received: by 10.180.80.164 with SMTP id s4mr8202707wix.7.1325810874965; Thu, 05 Jan 2012 16:47:54 -0800 (PST) Received: by 10.180.126.41 with HTTP; Thu, 5 Jan 2012 16:47:54 -0800 (PST) Date: Thu, 5 Jan 2012 19:47:54 -0500 Message-ID: Subject: sudo in emacs From: Rajanikanth Jammalamadaka To: help-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=f46d044403ac3de06b04b5d166d7 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 06 Jan 2012 00:47:58 -0000 --f46d044403ac3de06b04b5d166d7 Content-Type: text/plain; charset=ISO-8859-1 Hi My work environment requires that I sudo to an administrative userid using: sudo -u userid sudo-sh I normally run emacs using my login userid which is different from the administrative userid. Is there a way I can do this using tramp? The problem of doing this from shell/eshell is that I am able to login using the above sudo command but when I open a file using C-x C-f, the files are opening with my userid rather than the administrative userid. Is there a workaround for this? Thanks, Raj --f46d044403ac3de06b04b5d166d7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi

My work environment requires that I sudo to an admini= strative userid using:

sudo -u userid sudo-sh

I normally run emacs using my login userid which is di= fferent from the administrative userid.

Is there a way I can do this using tramp?
The problem of doing this from shell/eshell is that I am able t= o login using the above sudo command but when I open a file using C-x C-f, = the files=A0
are opening with my userid rather than the administrative userid.

Is there a workaround for this?

Thanks,
Raj


--f46d044403ac3de06b04b5d166d7-- From MAILER-DAEMON Fri Jan 06 01:46:37 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rj3ZV-00044a-OT for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 01:46:37 -0500 Received: from eggs.gnu.org ([140.186.70.92]:60581) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj3ZT-00043S-AB for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 01:46:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rj3ZS-0000bp-5E for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 01:46:35 -0500 Received: from mail-qw0-f48.google.com ([209.85.216.48]:34662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj3ZS-0000bl-36 for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 01:46:34 -0500 Received: by qadc16 with SMTP id c16so891031qad.0 for ; Thu, 05 Jan 2012 22:46:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/CTnY92mfWlb27RBqBNZcfarXsf4CDTGp3oBVhmWVUI=; b=lrAWeOpCIR8Gxfan4Lwgb1xvTB/LCQf675V83HxQdFKUumJXoMvkLwyhQD21tpLFk9 xW9KRjnA09firPQo73KphwaYk0hKePWyevYP4EAKnjOCk93wiCyZzqVujI+pZq6Aykzc /efTdXT44ugpWIGrNiB7lflkngWmZZv3XPfaw= MIME-Version: 1.0 Received: by 10.224.110.3 with SMTP id l3mr6298276qap.12.1325832393407; Thu, 05 Jan 2012 22:46:33 -0800 (PST) Received: by 10.224.196.136 with HTTP; Thu, 5 Jan 2012 22:46:33 -0800 (PST) In-Reply-To: References: Date: Thu, 5 Jan 2012 22:46:33 -0800 Message-ID: Subject: Re: sudo in emacs From: Harold Pimentel To: Rajanikanth Jammalamadaka Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.216.48 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, 06 Jan 2012 06:46:36 -0000 Does this help? http://emacs-fu.blogspot.com/2011/12/system-administration-with-emacs.html (also see the link in the text 'editing files owned by root with tramp') Harold On Thu, Jan 5, 2012 at 4:47 PM, Rajanikanth Jammalamadaka wrote: > > Hi > > My work environment requires that I sudo to an administrative userid using: > > sudo -u userid sudo-sh > > I normally run emacs using my login userid which is different from the administrative userid. > > Is there a way I can do this using tramp? > > The problem of doing this from shell/eshell is that I am able to login using the above sudo command but when I open a file using C-x C-f, the files > are opening with my userid rather than the administrative userid. > > Is there a workaround for this? > > Thanks, > Raj > > From MAILER-DAEMON Fri Jan 06 06:12:26 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rj7ik-0000e2-Mk for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 06:12:26 -0500 Received: from eggs.gnu.org ([140.186.70.92]:36545) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj7ii-0000dd-9Y for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 06:12:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rj7ih-0000nq-Fg for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 06:12:24 -0500 Received: from cluster-d.mailcontrol.com ([85.115.60.190]:56722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj7ih-0000nh-1l for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 06:12:23 -0500 Received: from cameurexb01.EUROPE.ROOT.PRI ([193.128.72.68]) by rly20d.srv.mailcontrol.com (MailControl) with ESMTP id q06BCJwg032232 for ; Fri, 6 Jan 2012 11:12:19 GMT Received: from DC04PC01 ([10.103.11.129]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.4675); Fri, 6 Jan 2012 11:12:19 +0000 From: "David Chappaz" To: References: <20120102223315.3E60F1810C9@neo.msri.org> <408087A3D7BE475B884C0F93CE2298C7@us.oracle.com> <20120105054142.GA10149@hysteria.proulx.com> <9C2570562E2A4B7BBDA61F564FCFC83F@EUROPE.ROOT.PRI> <20120105222030.GA22189@hysteria.proulx.com> Subject: RE: shell-command causes problems with absolute/relative paths in TAGS Date: Fri, 6 Jan 2012 11:12:12 -0000 Message-ID: <1CA9A2C2C5544CAAA163A0962C5C95F4@EUROPE.ROOT.PRI> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-reply-to: <20120105222030.GA22189@hysteria.proulx.com> Thread-Index: AczL+DzX0483TbgwTX2q7oGQ1mIvwwAa73SQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-OriginalArrivalTime: 06 Jan 2012 11:12:19.0175 (UTC) FILETIME=[0E11DF70:01CCCC64] X-Scanned-By: MailControl 7.6.5 (www.mailcontrol.com) on 10.68.0.130 X-detected-operating-system: by eggs.gnu.org: Windows 98 (1) X-Received-From: 85.115.60.190 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 06 Jan 2012 11:12:25 -0000 > > So when doing "more filetest.txt" from shell-command, "more" is > > clearly getting multiple files. > > Can you make out the filenames that it is getting from the output? I tried, and tried... but didn't succeed. From a plain shell, "more" does not insert any header, unless there are multiple files Now, when I do "more test1.c" from shell-command, a header is inserted (as if there were multiple files), but no second or third header appears (as if there was only one...), would it be with a blank file name. But I'm only seeing this behaviour on linux, and although it might be related to my problem (on windows), it doesn't really affect me. Perhaps this is something you can reproduce and investigate. Now, on Windows, > > I've just discovered that "ctags -e -L filelist.txt" does not [work] > > when used in an emacs's shell buffer (i.e. that produces the same > > result, with absolute paths, as with shell-command) After more detailed investigations, I've found out the following. If, before doing M-x shell, I evaluate (setq explicit-cmdproxy.exe-args '("/q")) to prevent shell commands from being echoed, then suddenly the TAGS file is generated properly, with relative filenames. In other words, the same command has two different behaviours when issued in an emacs shell buffer, depending on if explicit-cmdproxy.exe-args is set to "" or "/q". That does not make any sense, or does it ? Something looks really odd. Also, shell-command is not affected by the value of explicit-cmdproxy.exe-args, and always behaves the same. > Which is why I have > sympathy for people going the other direction and try to help out when > I can. I appreciate your support, and even if you're not a MS-Windows expert, your ideas are very welcome ! To be honest, most of the time I use emacs on linux, so the lisp package I'm developing works fine. But occasionally I use it on Windows, which is why I'm trying to get it to work on this platform too... > Since it looks like an operating system interface bug in shell-command > I think I would try to work around it by using a helper script. Yeah, in the short term, that's a very good plan indeed to work around the problem! From MAILER-DAEMON Fri Jan 06 06:28:27 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rj7yF-0003pN-7y for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 06:28:27 -0500 Received: from eggs.gnu.org ([140.186.70.92]:46246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj7yC-0003nM-8b for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 06:28:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rj7yB-0003k6-2L for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 06:28:24 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:47552) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj7yA-0003jz-RN for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 06:28:23 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LXD00I00JTGP500@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 13:27:56 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.127.16.185]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LXD00IOZJUKF8B0@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 13:27:56 +0200 (IST) Date: Fri, 06 Jan 2012 13:25:54 +0200 From: Eli Zaretskii Subject: Re: shell-command causes problems with absolute/relative paths in TAGS In-reply-to: X-012-Sender: halo1@inter.net.il To: help-gnu-emacs@gnu.org Message-id: <83sjjtnkcd.fsf@gnu.org> References: "2 Jan 2012 10:26:08 -0800" <20120102223315.3E60F1810C9@neo.msri.org> <408087A3D7BE475B884C0F93CE2298C7@us.oracle.com> X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.175 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 06 Jan 2012 11:28:25 -0000 > From: "David Chappaz" > Date: Wed, 4 Jan 2012 16:05:13 -0000 > > 2/ I have also found that "GnuWin32 find" is painfully slow on network > (unix) drives Try the port of Findutils from here: http://sourceforge.net/projects/ezwinports/files/ I did that port because the one on GnuWin32 is abysmally slow, on any drive, not just network ones. From MAILER-DAEMON Fri Jan 06 06:36:52 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rj86O-0005gi-0o for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 06:36:52 -0500 Received: from eggs.gnu.org ([140.186.70.92]:35729) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj86K-0005fc-V4 for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 06:36:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rj86K-0005gg-3C for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 06:36:48 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:51988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj86J-0005gY-Pz for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 06:36:48 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LXD00000K3CM800@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 13:36:41 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.127.16.185]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LXD00LMHK9561S0@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 13:36:41 +0200 (IST) Date: Fri, 06 Jan 2012 13:34:39 +0200 From: Eli Zaretskii Subject: Re: shell-command causes problems with absolute/relative paths in TAGS In-reply-to: X-012-Sender: halo1@inter.net.il To: help-gnu-emacs@gnu.org Message-id: <83r4zdnjxs.fsf@gnu.org> References: "2 Jan 2012 10:26:08 -0800" <20120102223315.3E60F1810C9@neo.msri.org> <408087A3D7BE475B884C0F93CE2298C7@us.oracle.com> X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 06 Jan 2012 11:36:50 -0000 > From: "David Chappaz" > Date: Wed, 4 Jan 2012 16:05:13 -0000 > > Now, I generate my TAGS file from a plain windows shell, with the following > command: > > more filelist.txt | ctags -e -L - > > This works fine, and, as expected, the paths to the source files in the TAGS > file are relative, so the entire "test" folder and the TAGS file can be > moved to a different location. > > I'm developing a small emacs package to provide some sort of IDE. So now I'm > trying to do the same from within emacs. If I do: > > M-x shell-command > more filelist.txt | ctags -e -L - > > ...then the result is different, and now paths in the TAGS file become > absolute. Even using the explicit option --tag-relative=yes does not change > anything. FWIW, I cannot reproduce this on MS-Windows with Emacs 23.3. I don't have Exuberant CTags, but using the etags program provided with Emacs. I get relative file names with either method. Can you reproduce the problem in "emacs -Q"? If not, there's some customization of yours that causes this, or maybe it is a problem with Exuberant on Windows. From MAILER-DAEMON Fri Jan 06 06:40:32 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rj89w-0006FX-QF for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 06:40:32 -0500 Received: from eggs.gnu.org ([140.186.70.92]:34190) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj89u-0006FR-EW for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 06:40:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rj89t-0006SR-KK for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 06:40:30 -0500 Received: from mtaout21.012.net.il ([80.179.55.169]:52819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj89t-0006SG-5z for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 06:40:29 -0500 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LXD00D00KESEW00@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 13:40:27 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.127.16.185]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LXD00DAAKFDET00@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 13:40:27 +0200 (IST) Date: Fri, 06 Jan 2012 13:38:23 +0200 From: Eli Zaretskii Subject: Re: shell-command causes problems with absolute/relative paths in TAGS In-reply-to: <1CA9A2C2C5544CAAA163A0962C5C95F4@EUROPE.ROOT.PRI> X-012-Sender: halo1@inter.net.il To: help-gnu-emacs@gnu.org Message-id: <83pqexnjrk.fsf@gnu.org> References: <20120102223315.3E60F1810C9@neo.msri.org> <408087A3D7BE475B884C0F93CE2298C7@us.oracle.com> <20120105054142.GA10149@hysteria.proulx.com> <9C2570562E2A4B7BBDA61F564FCFC83F@EUROPE.ROOT.PRI> <20120105222030.GA22189@hysteria.proulx.com> <1CA9A2C2C5544CAAA163A0962C5C95F4@EUROPE.ROOT.PRI> X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 06 Jan 2012 11:40:31 -0000 > From: "David Chappaz" > Date: Fri, 6 Jan 2012 11:12:12 -0000 > > If, before doing M-x shell, I evaluate > > (setq explicit-cmdproxy.exe-args '("/q")) > > to prevent shell commands from being echoed, then suddenly the TAGS file is > generated properly, with relative filenames. I see no such variable in Emacs. Does it come from some third-party package you have loaded? If so, perhaps that package is causing this problem. Also, originally you talked about "M-x shell-command", not "M-x shell". Which one is it? From MAILER-DAEMON Fri Jan 06 08:05:13 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rj9Tt-0006v0-3j for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 08:05:13 -0500 Received: from eggs.gnu.org ([140.186.70.92]:56267) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj9Tq-0006sp-I8 for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 08:05:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rj9To-0005xI-Kn for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 08:05:10 -0500 Received: from cluster-d.mailcontrol.com ([85.115.60.190]:52883) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rj9To-0005wh-Dd for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 08:05:08 -0500 Received: from cameurexb01.EUROPE.ROOT.PRI ([193.128.72.68]) by rly13d.srv.mailcontrol.com (MailControl) with ESMTP id q06D53Q1010910 for ; Fri, 6 Jan 2012 13:05:03 GMT Received: from DC04PC01 ([10.103.11.129]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.4675); Fri, 6 Jan 2012 13:05:03 +0000 From: "David Chappaz" To: References: <20120102223315.3E60F1810C9@neo.msri.org><408087A3D7BE475B884C0F93CE2298C7@us.oracle.com><20120105054142.GA10149@hysteria.proulx.com><9C2570562E2A4B7BBDA61F564FCFC83F@EUROPE.ROOT.PRI><20120105222030.GA22189@hysteria.proulx.com><1CA9A2C2C5544CAAA163A0962C5C95F4@EUROPE.ROOT.PRI> <83pqexnjrk.fsf@gnu.org> Subject: RE: shell-command causes problems with absolute/relative paths in TAGS Date: Fri, 6 Jan 2012 13:04:57 -0000 Message-ID: <9287FF55897A4EED8EA883DC00F98BAC@EUROPE.ROOT.PRI> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-reply-to: <83pqexnjrk.fsf@gnu.org> Thread-Index: AczMaAF0Pp5FTe8ARu+kwbOvlQcF5AACMBYA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-OriginalArrivalTime: 06 Jan 2012 13:05:03.0569 (UTC) FILETIME=[CDF67C10:01CCCC73] X-Scanned-By: MailControl 7.6.5 (www.mailcontrol.com) on 10.68.0.123 X-detected-operating-system: by eggs.gnu.org: Windows 98 (1) X-Received-From: 85.115.60.190 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 06 Jan 2012 13:05:11 -0000 Eli Zaretskii wrote > > If, before doing M-x shell, I evaluate > > (setq explicit-cmdproxy.exe-args '("/q")) > > to prevent shell commands from being echoed, then suddenly the TAGS file > > is generated properly, with relative filenames. > > I see no such variable in Emacs. The variable name depends on which shell you use. By default, only explicit-bash-args and explicit-sh-args are defined in emacs. On windows, cmdproxy.exe is the default shell, hence the variable name. > Also, originally you talked about "M-x shell-command", not "M-x shell". > Which one is it? Sorry about the confusion.I'll try to summarise. With M-x shell-command, the behaviour is always incorrect. With M-x shell, the behaviour is sometimes correct, sometimes not (more on that below), depending on cosmetic changes (like explicit-cmdproxy.exe-args) which should not have any influence (I think). > FWIW, I cannot reproduce this on MS-Windows with Emacs 23.3. I don't > have Exuberant CTags, but using the etags program provided with > Emacs. I get relative file names with either method. I need to parse languages which etags doesn't know, which is why I'm using exuberant ctags. But I did notice that the behaviour is fine with the vanilla etags provided with emacs. Therefore, you will have to use exuberant ctags to reproduce the problem. You can download binaries from http://prdownloads.sourceforge.net/ctags/ctags58.zip. No install is required, just copy the .exe in the test directory. Also, we can't exclude the fact that the problem is in exuberant ctags itself, but for now I just don't understand at all what's happening. > Can you reproduce the problem in "emacs -Q"? If not, there's some > customization of yours that causes this, or maybe it is a problem with > Exuberant on Windows. Yes, same problem with --no-init-file In fact, after a little debugging, I've devised the following experiment for you to reproduce (with --no-init-file) 1/ From a freshly opened emacs if do M-x shell followed by: ctags -e -L filelist.txt or even "C:/Program Files/Emacs/emacs-23.3/bin/cmdproxy.exe" /C "ctags -e -L filelist.txt" then everything is fine. 2/ Now from e.g. a scratch buffer, I evaluate (progn (cd "C:/test/") (call-process-region (point) (point) "C:/Program Files/Emacs/emacs-23.3/bin/cmdproxy.exe" nil (current-buffer) nil "-c" "ctags -e -L filelist.txt")) which is more or less what M-x shell-command would do... then the result is incorrect. 3/ Worse, if you kill the original shell buffer created in 1/, and repeat the same operation as in 1/... then the result is incorrect. So it really looks like something is happening in call-process-region... From MAILER-DAEMON Fri Jan 06 09:05:14 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjAPy-0004AE-So for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 09:05:14 -0500 Received: from eggs.gnu.org ([140.186.70.92]:35013) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjAPs-00048e-5M for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 09:05:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjAPq-0002UZ-EW for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 09:05:08 -0500 Received: from cluster-d.mailcontrol.com ([85.115.60.190]:40846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjAPq-0002TG-6R for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 09:05:06 -0500 Received: from cameurexb01.EUROPE.ROOT.PRI ([193.128.72.68]) by rly17d.srv.mailcontrol.com (MailControl) with ESMTP id q06E54ei020693 for ; Fri, 6 Jan 2012 14:05:04 GMT Received: from DC04PC01 ([10.103.11.129]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.4675); Fri, 6 Jan 2012 14:05:03 +0000 From: "David Chappaz" To: References: "2 Jan 2012 10:26:08 -0800"<20120102223315.3E60F1810C9@neo.msri.org><408087A3D7BE475B884C0F93CE2298C7@us.oracle.com> <83sjjtnkcd.fsf@gnu.org> Subject: RE: shell-command causes problems with absolute/relative paths in TAGS Date: Fri, 6 Jan 2012 14:04:57 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-reply-to: <83sjjtnkcd.fsf@gnu.org> Thread-Index: AczMZlAhUMIte2WeQ1Wa8RfTyuZc0QAFDwbw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-OriginalArrivalTime: 06 Jan 2012 14:05:03.0781 (UTC) FILETIME=[2FDB3D50:01CCCC7C] X-Scanned-By: MailControl 7.6.5 (www.mailcontrol.com) on 10.68.0.127 X-detected-operating-system: by eggs.gnu.org: Windows 98 (1) X-Received-From: 85.115.60.190 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 06 Jan 2012 14:05:12 -0000 > Try the port of Findutils from here: > > http://sourceforge.net/projects/ezwinports/files/ > > I did that port because the one on GnuWin32 is abysmally slow, on any > drive, not just network ones. Wow that really makes a massive difference !! I am not asking for the details, as I'm unlikely to understand, but... how come the GnuWin32 port hasn't been updated or fixed ? Not only is your port much faster, it also doesn't completely fall apart when encountering symbolic links on a unix network drive (which of course can't be resolved) You've made my day ! Cheers ! David. From MAILER-DAEMON Fri Jan 06 10:14:49 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjBVJ-0008FO-S3 for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 10:14:49 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51512) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjBVG-0008EG-Um for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 10:14:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjBVG-0007dq-1n for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 10:14:46 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:35452) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjBVF-0007dk-PA for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 10:14:46 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LXD00J00U7ASV00@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 17:14:27 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.127.16.185]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LXD00J5UUBRSP10@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 17:14:16 +0200 (IST) Date: Fri, 06 Jan 2012 17:12:13 +0200 From: Eli Zaretskii Subject: Re: shell-command causes problems with absolute/relative paths in TAGS In-reply-to: X-012-Sender: halo1@inter.net.il To: help-gnu-emacs@gnu.org Message-id: <83mxa0oofm.fsf@gnu.org> References: "2 Jan 2012 10:26:08 -0800" <20120102223315.3E60F1810C9@neo.msri.org> <408087A3D7BE475B884C0F93CE2298C7@us.oracle.com> <83sjjtnkcd.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.175 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 06 Jan 2012 15:14:48 -0000 > From: "David Chappaz" > Date: Fri, 6 Jan 2012 14:04:57 -0000 > > > http://sourceforge.net/projects/ezwinports/files/ > > > > I did that port because the one on GnuWin32 is abysmally slow, on any > > drive, not just network ones. > > Wow that really makes a massive difference !! > > I am not asking for the details, as I'm unlikely to understand, but... how > come the GnuWin32 port hasn't been updated or fixed ? I don't know; I cannot speak for the GnuWin32 project. The fact is, many ports there are outdated and some are outright broken. I did offer them my once port of GNU ID Utils (another package whose GnuWin32 is hopelessly broken), and even got an agreement and uploaded the zip archives where they told me to. But months passed and nothing happened, so I decided to start my own project on SourceForge, and you can find ID Utils there as well (and much more). > Not only is your port much faster, it also doesn't completely fall apart > when encountering symbolic links on a unix network drive (which of course > can't be resolved) Yes, and xargs doesn't fail, and locate actually works, etc. etc. Whoever did the GnuWin32 port probably didn't test the result well enough. > You've made my day ! I'm glad I could help. From MAILER-DAEMON Fri Jan 06 10:45:23 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjByt-0001DL-Sm for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 10:45:23 -0500 Received: from eggs.gnu.org ([140.186.70.92]:41396) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjByr-0001C5-53 for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 10:45:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjByp-0005HI-VN for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 10:45:21 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:46714) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjByp-0005HD-Ni for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 10:45:19 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LXD00000VDVPJ00@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 17:44:58 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.115.90]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LXD00MDTVQX2ZR0@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 17:44:58 +0200 (IST) Date: Fri, 06 Jan 2012 17:42:55 +0200 From: Eli Zaretskii Subject: Re: shell-command causes problems with absolute/relative paths in TAGS In-reply-to: <9287FF55897A4EED8EA883DC00F98BAC@EUROPE.ROOT.PRI> X-012-Sender: halo1@inter.net.il To: help-gnu-emacs@gnu.org Message-id: <83ipkoon0g.fsf@gnu.org> References: <20120102223315.3E60F1810C9@neo.msri.org> <408087A3D7BE475B884C0F93CE2298C7@us.oracle.com> <20120105054142.GA10149@hysteria.proulx.com> <9C2570562E2A4B7BBDA61F564FCFC83F@EUROPE.ROOT.PRI> <20120105222030.GA22189@hysteria.proulx.com> <1CA9A2C2C5544CAAA163A0962C5C95F4@EUROPE.ROOT.PRI> <83pqexnjrk.fsf@gnu.org> <9287FF55897A4EED8EA883DC00F98BAC@EUROPE.ROOT.PRI> X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.166 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 06 Jan 2012 15:45:22 -0000 > From: "David Chappaz" > Date: Fri, 6 Jan 2012 13:04:57 -0000 > > Eli Zaretskii wrote > > > If, before doing M-x shell, I evaluate > > > (setq explicit-cmdproxy.exe-args '("/q")) > > > to prevent shell commands from being echoed, then suddenly the TAGS file > > > is generated properly, with relative filenames. > > > > I see no such variable in Emacs. > > The variable name depends on which shell you use. By default, only > explicit-bash-args and explicit-sh-args are defined in emacs. > On windows, cmdproxy.exe is the default shell, hence the variable name. Well, I tried that on Windows with cmdproxy as the shell, and I still don't see this variable. > 2/ Now from e.g. a scratch buffer, I evaluate > > (progn > (cd "C:/test/") > (call-process-region (point) (point) "C:/Program > Files/Emacs/emacs-23.3/bin/cmdproxy.exe" nil (current-buffer) nil "-c" > "ctags -e -L filelist.txt")) > > which is more or less what M-x shell-command would do... then the result is > incorrect. Yes, I see the problem. > 3/ Worse, if you kill the original shell buffer created in 1/, and repeat > the same operation as in 1/... then the result is incorrect. > > So it really looks like something is happening in call-process-region... It must be a bug in ctags, no matter what call-process-region does. I suspect that it doesn't correctly handle the backslash in file names, and fails to realize that C:\foo\bar\baz.c and C:/foo/bar share the same directory. That's because the "absolute" file names it produces are of the form "C:\foo\bar\./file", note the mixture of forward- and back-slashes. From MAILER-DAEMON Fri Jan 06 10:58:23 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjC6b-0005Tz-3z for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 10:53:21 -0500 Received: from eggs.gnu.org ([140.186.70.92]:33775) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjC6U-00053m-3X for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 10:53:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjC6T-0006Yt-0n for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 10:53:13 -0500 Received: from mail-pz0-f41.google.com ([209.85.210.41]:62513) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjC6R-0006Ya-HZ; Fri, 06 Jan 2012 10:53:11 -0500 Received: by dakl33 with SMTP id l33so1503351dak.0 for ; Fri, 06 Jan 2012 07:53:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=bKdgJ1HfYZuHmt+GxiUR46kYIW55oxqygALdjfDIukE=; b=iUbKfncNCKrcUscz80vy5VaVhZfHg9DIhwFTAxY/SpqiIJkEgiG5BKjabWjFeK2uaE sllT6pe0mkpNednKTTtcH5t2kEqtk/IBBT0+4/yyCemk2MsbOExFxyIHAtl8Xoxe54zt aDYMfX1oiXkTSOEEAB0EOdDWSpRGmo7G0osuA= Received: by 10.68.72.198 with SMTP id f6mr16469708pbv.6.1325865190221; Fri, 06 Jan 2012 07:53:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.247.28 with HTTP; Fri, 6 Jan 2012 07:52:29 -0800 (PST) In-Reply-To: <83mxa0oofm.fsf@gnu.org> References: <20120102223315.3E60F1810C9@neo.msri.org> <408087A3D7BE475B884C0F93CE2298C7@us.oracle.com> <83sjjtnkcd.fsf@gnu.org> <83mxa0oofm.fsf@gnu.org> From: Juanma Barranquero Date: Fri, 6 Jan 2012 16:52:29 +0100 Message-ID: Subject: Re: shell-command causes problems with absolute/relative paths in TAGS To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.41 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, 06 Jan 2012 15:53:18 -0000 On Fri, Jan 6, 2012 at 16:12, Eli Zaretskii wrote: > I don't know; I cannot speak for the GnuWin32 project. =C2=A0The fact is, > many ports there are outdated and some are outright broken. The News / Announcements heading in the main page lists three updated packages for 2010, none for 2011. I'd say the project doesn't exactly seem vibrant with energy. =C2=A0 =C2=A0 Juanma From MAILER-DAEMON Fri Jan 06 11:04:18 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjCHC-0001Xz-SZ for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 11:04:18 -0500 Received: from eggs.gnu.org ([140.186.70.92]:41967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjCH8-0001UB-Tw for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 11:04:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjCH3-0000bl-T5 for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 11:04:14 -0500 Received: from cluster-d.mailcontrol.com ([85.115.60.190]:55665) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjCH3-0000bh-FY for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 11:04:09 -0500 Received: from cameurexb01.EUROPE.ROOT.PRI ([193.128.72.68]) by rly25d.srv.mailcontrol.com (MailControl) with ESMTP id q06G44T8014974; Fri, 6 Jan 2012 16:04:05 GMT Received: from DC04PC01 ([10.103.11.129]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.4675); Fri, 6 Jan 2012 16:04:04 +0000 From: "David Chappaz" To: "'Eli Zaretskii'" , References: <20120102223315.3E60F1810C9@neo.msri.org><408087A3D7BE475B884C0F93CE2298C7@us.oracle.com><20120105054142.GA10149@hysteria.proulx.com><9C2570562E2A4B7BBDA61F564FCFC83F@EUROPE.ROOT.PRI><20120105222030.GA22189@hysteria.proulx.com><1CA9A2C2C5544CAAA163A0962C5C95F4@EUROPE.ROOT.PRI><83pqexnjrk.fsf@gnu.org><9287FF55897A4EED8EA883DC00F98BAC@EUROPE.ROOT.PRI> <83ipkoon0g.fsf@gnu.org> Subject: RE: shell-command causes problems with absolute/relative paths in TAGS Date: Fri, 6 Jan 2012 16:03:47 -0000 Message-ID: <96C2AF32F1EC4A1997BB692A003ED374@EUROPE.ROOT.PRI> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-reply-to: <83ipkoon0g.fsf@gnu.org> Thread-Index: AczMijhb6nDXmoWRTgyS2gn7I8WXGgAALSew X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-OriginalArrivalTime: 06 Jan 2012 16:04:04.0704 (UTC) FILETIME=[D02D9E00:01CCCC8C] X-Scanned-By: MailControl 7.6.5 (www.mailcontrol.com) on 10.68.0.135 X-detected-operating-system: by eggs.gnu.org: Windows 98 (1) X-Received-From: 85.115.60.190 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 06 Jan 2012 16:04:16 -0000 > > The variable name depends on which shell you use. By default, only > > explicit-bash-args and explicit-sh-args are defined in emacs. > > On windows, cmdproxy.exe is the default shell, hence the variable name. > > Well, I tried that on Windows with cmdproxy as the shell, and I still > don't see this variable. Ah well I haven't been accurate enough. It's for the user to create this variable if they want to. It will only be used if its name perfectly matches that of the shell. See details in section 7.10 of http://www.gnu.org/software/emacs/windows/Sub_002dprocesses.html > > 2/ Now from e.g. a scratch buffer, I evaluate > > > > (progn > > (cd "C:/test/") > > (call-process-region (point) (point) "C:/Program > > Files/Emacs/emacs-23.3/bin/cmdproxy.exe" nil (current-buffer) nil "-c" > > "ctags -e -L filelist.txt")) > > > > which is more or less what M-x shell-command would do... then the result > is > > incorrect. > > Yes, I see the problem. That's a start, I'm not the only one any more :-) > > 3/ Worse, if you kill the original shell buffer created in 1/, and > repeat > > the same operation as in 1/... then the result is incorrect. > > > > So it really looks like something is happening in call-process-region... > > It must be a bug in ctags, no matter what call-process-region does. I > suspect that it doesn't correctly handle the backslash in file names, > and fails to realize that C:\foo\bar\baz.c and C:/foo/bar share the > same directory. That's because the "absolute" file names it produces > are of the form "C:\foo\bar\./file", note the mixture of forward- and > back-slashes. Yes, what you're saying makes perfect sense. The mixture of slashes is indeed an indication, but what I can't explain, is why ctags would produce a different result before and after call-process-region is called (steps 1/ and 3/ respectively) Surely emacs must be passing slightly different arguments to ctags (perhaps slashes in a different orientation), before and after the first call to call-process-region ? From MAILER-DAEMON Fri Jan 06 11:12:13 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjCOr-0003Xi-K2 for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 11:12:13 -0500 Received: from eggs.gnu.org ([140.186.70.92]:57644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjCOp-0003XR-Cg for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 11:12:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjCOo-00023b-E6 for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 11:12:11 -0500 Received: from cluster-d.mailcontrol.com ([85.115.60.190]:48194) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjCOo-00023K-5k for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 11:12:10 -0500 Received: from cameurexb01.EUROPE.ROOT.PRI ([193.128.72.68]) by rly52d.srv.mailcontrol.com (MailControl) with ESMTP id q06GC7du003456 for ; Fri, 6 Jan 2012 16:12:07 GMT Received: from DC04PC01 ([10.103.11.129]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.4675); Fri, 6 Jan 2012 16:12:07 +0000 From: "David Chappaz" To: References: <20120102223315.3E60F1810C9@neo.msri.org><408087A3D7BE475B884C0F93CE2298C7@us.oracle.com><20120105054142.GA10149@hysteria.proulx.com><9C2570562E2A4B7BBDA61F564FCFC83F@EUROPE.ROOT.PRI><20120105222030.GA22189@hysteria.proulx.com><1CA9A2C2C5544CAAA163A0962C5C95F4@EUROPE.ROOT.PRI><83pqexnjrk.fsf@gnu.org><9287FF55897A4EED8EA883DC00F98BAC@EUROPE.ROOT.PRI><83ipkoon0g.fsf@gnu.org> <96C2AF32F1EC4A1997BB692A003ED374@EUROPE.ROOT.PRI> Subject: RE: shell-command causes problems with absolute/relative paths in TAGS Date: Fri, 6 Jan 2012 16:12:01 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-reply-to: <96C2AF32F1EC4A1997BB692A003ED374@EUROPE.ROOT.PRI> Thread-Index: AczMijhb6nDXmoWRTgyS2gn7I8WXGgAALSewAACZf7A= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-OriginalArrivalTime: 06 Jan 2012 16:12:07.0575 (UTC) FILETIME=[EFFDE270:01CCCC8D] X-Scanned-By: MailControl 7.6.5 (www.mailcontrol.com) on 10.68.0.162 X-detected-operating-system: by eggs.gnu.org: Windows 98 (1) X-Received-From: 85.115.60.190 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 06 Jan 2012 16:12:12 -0000 > Surely emacs must be passing slightly different arguments to ctags > (perhaps > slashes in a different orientation), before and after the first call to > call-process-region ? Anyway, when you use something as simple as "ctags -e -L filelist.txt" in a shell buffer, there aren't any slashes that can change direction.... So how can this command line work before the first call to call-process-region, and not after that ? From MAILER-DAEMON Fri Jan 06 11:44:25 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjCu1-0005cm-KH for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 11:44:25 -0500 Received: from eggs.gnu.org ([140.186.70.92]:49983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjCtn-0005bD-4V for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 11:44:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjCtb-0007xk-Gu for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 11:44:10 -0500 Received: from lo.gmane.org ([80.91.229.12]:45408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjCta-0007vp-Rs for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 11:43:59 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RjCtW-0001sB-Tt for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 17:43:54 +0100 Received: from 114.78.88.79.rev.sfr.net ([79.88.78.114]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Jan 2012 17:43:54 +0100 Received: from thierry.volpiatto by 114.78.88.79.rev.sfr.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 06 Jan 2012 17:43:54 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Thierry Volpiatto Subject: Re: loading hash-table from a file? Date: Fri, 06 Jan 2012 17:43:41 +0100 Lines: 58 Message-ID: <8762gou6gy.fsf@gmail.com> References: <87r4zecybg.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 114.78.88.79.rev.sfr.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:epJV5RMT3fxYJIIBdJydWR7c8Pc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 06 Jan 2012 16:44:24 -0000 Eric Abrahamsen writes: > On Thu, Jan 05 2012, ishi soichi wrote: > >> I have never used hash-table of Emacs Lisp but I believe it's useful >> as a database. >> >> Say, I have a hundred key-value pairs, which are to be stored as >> hash-table.  >> Can I save this as a (text?) file so that Emacs can load it when >> booting up? >> >> I am a little confused because if I use (cons key value), it outputs >> "(key . value)" which can be written in a regular file. >> If I wish to find the value from a key, all I need to do is to simply >> search through the file. >> >> Do you think I can save the database using hash-table like this? >> >> soichi >> >> > > I found this on the internet (presumably authored by someone with the > initials T.V.), which does what you're asking (I used it to persist a > hash-table that I load on startup). I don't really know if it's superior > to the previous reply, but it certainly works. It produces a *.elc file, > which can be loaded with `load' (provided it's in your load-path, of > course). Whatever symbol name you originally dumped then becomes defined > again. > > Eric > > (defun tv-dump-object-to-file (obj file) > "Save symbol object `obj' to the byte compiled version of `file'. > `obj' can be any lisp object, list, hash-table, etc... > `file' is an elisp file with ext *.el. > Loading the *.elc file will restitute object." > (require 'cl) ; Be sure we use the CL version of `eval-when-compile'. > (if (file-exists-p file) > (error "File already exists.") > (with-temp-file file > (erase-buffer) > (let* ((str-obj (symbol-name obj)) > (fmt-obj (format "(setq %s (eval-when-compile %s))" str-obj str-obj))) > (insert fmt-obj))) > (byte-compile-file file) (delete-file file) > (message "`%s' dumped to %sc" obj file))) I use this always to save emacs session (buffers and variables), but it have limitations on complex hash-tables, windows objects etc... T.V are my initials ;-) -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From MAILER-DAEMON Fri Jan 06 12:01:30 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjDAY-0007t3-M7 for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 12:01:30 -0500 Received: from eggs.gnu.org ([140.186.70.92]:43587) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjDAR-0007kb-6t for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 12:01:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjDAC-0002lK-OE for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 12:01:23 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:35232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjDAC-0002lF-KL for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 12:01:08 -0500 Received: by iacb35 with SMTP id b35so3419250iac.0 for ; Fri, 06 Jan 2012 09:01:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=llb0yEgUP7XF7L8Th4fqb+zfhkVGRGcPiCi2omf92Qg=; b=HQ4ofvoV1I5VGQjoxtOVP4RXGzOC0lsj7MyS2AhLkRgDlb1h9plcveuw8dGqerdPVs z/vCxguLbcoHUZJo4vCZj6NzGiPg62CbQuoe0ePCRLMknjjdJtks4Hje7IImGQfymPPk D2AIlWiJ/1W6LfyV/sPYwqZw7rn9fFqnQ4gzY= Received: by 10.43.47.135 with SMTP id us7mr6502881icb.31.1325869267238; Fri, 06 Jan 2012 09:01:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.19.129 with HTTP; Fri, 6 Jan 2012 09:00:36 -0800 (PST) From: Titus von der Malsburg Date: Fri, 6 Jan 2012 18:00:36 +0100 Message-ID: Subject: text-scale-mode and switching major modes To: help-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 06 Jan 2012 17:01:29 -0000 Hi list, I use noweb-mode a lot. This mode allows to have several languages in one file (e.g. latex and R) and switch major modes automatically depending on where the cursor is -- very useful! However, every time modes are switched the font size (which I set with text-scale-adjust) changes back to the default. Is there a way to make the font size persistent? Note that I'd like to use different font sizes in different buffers, so setting the default font size a specific value is not a solution. Thanks! Titus From MAILER-DAEMON Fri Jan 06 12:10:20 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjDJ6-0005lb-UG for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 12:10:20 -0500 Received: from eggs.gnu.org ([140.186.70.92]:55873) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjDJ4-0005lR-O6 for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 12:10:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjDJ3-0004po-DN for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 12:10:18 -0500 Received: from acsinet15.oracle.com ([141.146.126.227]:54990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjDJ3-0004pk-5A for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 12:10:17 -0500 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q06HAEFj017918 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 6 Jan 2012 17:10:15 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q06HAEUf026769 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Jan 2012 17:10:14 GMT Received: from abhmt104.oracle.com (abhmt104.oracle.com [141.146.116.56]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q06HAD03029809; Fri, 6 Jan 2012 11:10:14 -0600 Received: from dradamslap1 (/10.159.38.9) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 06 Jan 2012 09:10:13 -0800 From: "Drew Adams" To: "'Titus von der Malsburg'" , References: Subject: RE: text-scale-mode and switching major modes Date: Fri, 6 Jan 2012 09:10:10 -0800 Message-ID: <7657D9B3D1F14A0C92E8FE77E8AC3349@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AczMlNgeeplfMkDUTZa+oCqVgSv2OAAADpYg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090206.4F072AF7.00DA,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 06 Jan 2012 17:10:19 -0000 > I use noweb-mode a lot. This mode allows to have several languages in > one file (e.g. latex and R) and switch major modes automatically > depending on where the cursor is -- very useful! However, every time > modes are switched the font size (which I set with text-scale-adjust) > changes back to the default. Is there a way to make the font size > persistent? > > Note that I'd like to use different font sizes in > different buffers, so setting the default font size a specific value > is not a solution. AFAIK, text scaling is on a per-buffer basis. You could perhaps implement a workaround for your problem using `(after-)change-major-mode-hook'. Another thing you could do, but which goes against your last sentence, is to zoom the frame (yes, change its default font size) instead of scaling the text of various buffers. See http://www.emacswiki.org/emacs/SetFonts#toc6 and http://www.emacswiki.org/emacs/download/zoom-frm.el. From MAILER-DAEMON Fri Jan 06 13:49:01 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjEqb-0007gH-QG for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 13:49:01 -0500 Received: from eggs.gnu.org ([140.186.70.92]:50452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjEqZ-0007ex-5E for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 13:49:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjEqX-000324-O3 for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 13:48:58 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:48880) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjEqX-000320-Fs for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 13:48:57 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LXE00K003TEOG00@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 20:48:56 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.126.115.90]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LXE00K8V49JIH80@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 20:48:55 +0200 (IST) Date: Fri, 06 Jan 2012 20:46:53 +0200 From: Eli Zaretskii Subject: Re: shell-command causes problems with absolute/relative paths in TAGS In-reply-to: <96C2AF32F1EC4A1997BB692A003ED374@EUROPE.ROOT.PRI> X-012-Sender: halo1@inter.net.il To: help-gnu-emacs@gnu.org Message-id: <83d3awoehu.fsf@gnu.org> References: <20120102223315.3E60F1810C9@neo.msri.org> <408087A3D7BE475B884C0F93CE2298C7@us.oracle.com> <20120105054142.GA10149@hysteria.proulx.com> <9C2570562E2A4B7BBDA61F564FCFC83F@EUROPE.ROOT.PRI> <20120105222030.GA22189@hysteria.proulx.com> <1CA9A2C2C5544CAAA163A0962C5C95F4@EUROPE.ROOT.PRI> <83pqexnjrk.fsf@gnu.org> <9287FF55897A4EED8EA883DC00F98BAC@EUROPE.ROOT.PRI> <83ipkoon0g.fsf@gnu.org> <96C2AF32F1EC4A1997BB692A003ED374@EUROPE.ROOT.PRI> X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.175 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 06 Jan 2012 18:49:00 -0000 > From: "David Chappaz" > Date: Fri, 6 Jan 2012 16:03:47 -0000 > > > > > The variable name depends on which shell you use. By default, only > > > explicit-bash-args and explicit-sh-args are defined in emacs. > > > On windows, cmdproxy.exe is the default shell, hence the variable name. > > > > Well, I tried that on Windows with cmdproxy as the shell, and I still > > don't see this variable. > > Ah well I haven't been accurate enough. > It's for the user to create this variable if they want to. It will only be > used if its name perfectly matches that of the shell. > See details in section 7.10 of > http://www.gnu.org/software/emacs/windows/Sub_002dprocesses.html Never mind, that variable is not needed for reproducing the problem. > Surely emacs must be passing slightly different arguments to ctags (perhaps > slashes in a different orientation), before and after the first call to > call-process-region ? Probably some environment variable rather than command-line argument. From MAILER-DAEMON Fri Jan 06 14:20:28 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjFL2-0002bN-Ou for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 14:20:28 -0500 Received: from eggs.gnu.org ([140.186.70.92]:49407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjFL0-0002bC-An for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 14:20:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjFKy-0000IT-W2 for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 14:20:26 -0500 Received: from mtaout02-winn.ispmail.ntl.com ([81.103.221.48]:40499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjFKy-0000IE-GP for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 14:20:24 -0500 Received: from know-smtpout-4.server.virginmedia.net ([62.254.123.2]) by mtaout02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20120106192022.XHFP7093.mtaout02-winn.ispmail.ntl.com@know-smtpout-4.server.virginmedia.net>; Fri, 6 Jan 2012 19:20:22 +0000 Received: from [77.100.10.241] (helo=[192.168.1.2]) by know-smtpout-4.server.virginmedia.net with esmtpa (Exim 4.63) (envelope-from ) id 1RjFKw-0007VS-Al; Fri, 06 Jan 2012 19:20:22 +0000 Message-ID: <4F07496A.4060502@gmail.com> Date: Fri, 06 Jan 2012 19:20:10 +0000 From: Uday Reddy User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 Newsgroups: gnu.emacs.help To: Oleksandr Gavenko Subject: Re: MUA from Emacs with convinces for mail threads? References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Cloudmark-Analysis: v=1.1 cv=JvdXmxIgLJv2/GthKqHpGJEEHukvLcvELVXUanXFreg= c=1 sm=0 a=9jsOeB20M3cA:10 a=mQBDMYJzwTMA:10 a=nDghuxUhq_wA:10 a=IkcTkHD0fZMA:10 a=danhDmx_AAAA:8 a=BmE0nx-DCLOiU6k0PBwA:9 a=4oo86lRwCmHPjCdSS10A:7 a=QEXdDO2ut3YA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 81.103.221.48 Cc: help-gnu-emacs@gnu.org, viewmail-info@nongnu.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, 06 Jan 2012 19:20:27 -0000 On 6/25/2011 1:41 PM, Oleksandr Gavenko wrote: > But thing that stop me from using Thunderbird is imposibility > mark thread that I started or in which I replay-to and > specially notify me for replays to this thread. > > When you subscribed to tech mail/news list it is good to be especially > notified when someone answered in thread for which you involved in > discussion because of hi count of incoming mails! The latest version of VM, out on beta release at the moment, has a feature that helps for this kind of problem. VM allows you to create 'virtual folders' on the fly (called 'search folders' in Thunderbird) using selectors that you can define. The new feature is to create virtual folders of threads. So, to find all threads in which you have written in a message, you do V T outgoing which means create a virtual folder of all threads with an outgoing message. You can download VM from https://launchpad.net/vm Cheers, Uday From MAILER-DAEMON Fri Jan 06 16:52:45 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjHiP-0008Qy-2l for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 16:52:45 -0500 Received: from eggs.gnu.org ([140.186.70.92]:34323) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjHiK-0008N0-Te for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 16:52:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjHiJ-0007cp-9c for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 16:52:40 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:50131) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjHiJ-0007ch-3Q for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 16:52:39 -0500 Received: by iacb35 with SMTP id b35so3807385iac.0 for ; Fri, 06 Jan 2012 13:52:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=iWKiWW937P109rnKAK7HT4z0ZJCeu6LGqCnsHDv7Vkg=; b=Ie81NhMXPnsfwUOCe8Ndj2f/Xd16pT6sXQBlyEFBD8txNg3cB5rp0PI7MY8plMhPEn 3zOr3Z8XtsoV+hLU2qPvRbzPeo5d5+qTenggQXRfYbBpqmhdrgXC4PlwlLpkhR9gl17+ MKtAiDyjzEHbC9wuKL8PmI0fW10f7TLxtccdU= Received: by 10.50.15.161 with SMTP id y1mr10750305igc.4.1325886758351; Fri, 06 Jan 2012 13:52:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.19.129 with HTTP; Fri, 6 Jan 2012 13:52:07 -0800 (PST) In-Reply-To: <7657D9B3D1F14A0C92E8FE77E8AC3349@us.oracle.com> References: <7657D9B3D1F14A0C92E8FE77E8AC3349@us.oracle.com> From: Titus von der Malsburg Date: Fri, 6 Jan 2012 22:52:07 +0100 Message-ID: Subject: Re: text-scale-mode and switching major modes To: Drew Adams Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 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, 06 Jan 2012 21:52:42 -0000 Hi Drew, thanks for your suggestion. Below is my solution. I don't know if this is the idiomatic way of doing these things but it seems to work. ;; Restore text-scale after change of major mode. (autoload 'text-scale-mode "face-remap") (add-hook 'change-major-mode-hook (lambda () (put 'text-scale-mode-amount 'permanent-local t))) (add-hook 'after-change-major-mode-hook 'text-scale-mode) Cheers, Titus On Fri, Jan 6, 2012 at 6:10 PM, Drew Adams wrote: >> I use noweb-mode a lot. =C2=A0This mode allows to have several languages= in >> one file (e.g. latex and R) and switch major modes automatically >> depending on where the cursor is -- very useful! =C2=A0However, every ti= me >> modes are switched the font size (which I set with text-scale-adjust) >> changes back to the default. =C2=A0Is there a way to make the font size >> persistent? >> >> Note that I'd like to use different font sizes in >> different buffers, so setting the default font size a specific value >> is not a solution. > > AFAIK, text scaling is on a per-buffer basis. =C2=A0You could perhaps imp= lement a > workaround for your problem using `(after-)change-major-mode-hook'. > > Another thing you could do, but which goes against your last sentence, is= to > zoom the frame (yes, change its default font size) instead of scaling the= text > of various buffers. =C2=A0See http://www.emacswiki.org/emacs/SetFonts#toc= 6 and > http://www.emacswiki.org/emacs/download/zoom-frm.el. > --=20 Titus von der Malsburg DFG Research Group 868: Mind and Brain Dynamics Dept. of Linguistics, University of Potsdam http://www.ling.uni-potsdam.de/~malsburg/ From MAILER-DAEMON Fri Jan 06 17:08:06 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjHxG-0002pP-Qj for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 17:08:06 -0500 Received: from eggs.gnu.org ([140.186.70.92]:59550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjHxF-0002pI-0s for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 17:08:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjHxD-0001tT-PD for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 17:08:04 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:57363) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjHxD-0001tK-GV for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 17:08:03 -0500 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RjHx7-0005YE-76; Fri, 06 Jan 2012 23:07:57 +0100 From: Lars Magne Ingebrigtsen To: Marius Hofert Subject: Re: Gnus: How to simplify file attachments? References: <1D83305A-6FE0-44A7-A74D-D2681520068F@math.ethz.ch> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAD1BMVEUQEBEoJygLCwsHBweN jI3rR+3uAAACVUlEQVQ4jU1UgZHkIAwzJAXYeQpwzBeQgwaWH/qv6SVnf+bZm7sbBJIsm5VlUvbe tvdaW9rm/x/BstW4+W5tW9tMRPExs9L2Ar5fyFTeVUROALpPoKstMxyxhPzepNy4rXur5l3sx3Av rW3QAm+rWAJFo/ZHfmO/lI3d74JGBMAAP0/CT1uvsnRv+xNgJ/fnxqaldjFHEVdJs8A+LJiQWXXb q54kglV1FkZg6RQgdB89RGq8ZDDfRzEEszScN7jXoLFqnSHXMA2hsYUSUnwpgFHjuYbXTPpNq3yk jhgdh3UOtywDq3rMEX1OiF+9hxf7plsjYGbOu6nHjTCq/FtRGc4lgeMq/y12S2VijcDx+EflMBsz 1zFwC6aVBqpAsr/AMyGIgN4O4vTgD355DRc2Smmqv0A8UMf5hko03Xp9eQZKcnQNHZOmJDq4Lbfl P4zT2JX61XV6PvrAKHFMlqShMWbhQLXD1fRcbFRE2jQECIojstm48DX7zPnDyb5OpWHQoSlUTlXO ZqsVQOMkQsPtmAUkLAxhZ4mCIvqtx6D4zoheGdqVctXGOVyFIwiub7iALwZHIik5PYwwXIdkseyK XalxIpI4Zp+Yp/3Hg/MOIj6KBBASrH5AgkdXla+kUYVRoaAznyA7La1RRQe4BqvAU+TMkmuxOTrj V8SZx+GWnqBxdccoWT5kVB7BSDiOdYwe/BZQclkCfElI4MagL2bE/lxRWHmh3dtBj78P1QufNeax sVF5NJ4f1AKd9y0nkHXjS6MK52Dhwxss72ED/kgUUb7YDU/tL75sg0C8mosCAAAAAElFTkSuQmCC X-Now-Playing: Corrupted's _Llenandose de Gusanos (2)_: "VIII - El Mundo" Date: Fri, 06 Jan 2012 23:07:55 +0100 In-Reply-To: (Marius Hofert's message of "Thu, 5 Jan 2012 08:31:17 +0100") Message-ID: User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1RjHx7-0005YE-76 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1326492477.66623@U5kKzQJRvxsWe0fmddZ8eA 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: Fri, 06 Jan 2012 22:08:06 -0000 Marius Hofert writes: > I don't know (I'm no expert...). I can only tell for the Mac, and > there you have drag-and-drop (for example, you can drag-and-drop > things to a shell opened with M-x shell) Right. If Emacs supports drag-and-drop, then it would certainly be natural for Message do use it to add attachments. If nobody else implements this, I'll have a look at it during the next development cycle. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From MAILER-DAEMON Fri Jan 06 17:47:22 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjIZG-00013K-HW for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 17:47:22 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjIZE-000132-7V for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 17:47:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjIZD-0007w1-9B for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 17:47:20 -0500 Received: from caiajhbdcbbj.dreamhost.com ([208.97.132.119]:37950 helo=homiemail-a4.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjIZD-0007vv-2H for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 17:47:19 -0500 Received: from homiemail-a4.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTP id 187C451C073; Fri, 6 Jan 2012 14:47:17 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :date:message-id:mime-version:content-type; q=dns; s=jidanni.org ; b=KRSikMAZdiFi8m0MKO2wT0Tmgt+PchlAgakvVUH9s3oGKfqvRhRzv7twwl8C 2pKdLK5Y3kjMR7eh8JAaAEP7jNihAuf1dnMQKjjwickGzw9RWxl2LviQBKYmSnDD c1SsTXWgmfozL0p35Bo2HJVTer4RR6wUZtxnuR5hUgOFB2k= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=kffVh4cEZNlfrVS3OcKfojif7fE=; b=VTTJH42iISV2yEFK yphgllMIJetVKXSOXu3w4q7PxIfTs25JV62/r435jpjP4MuUm6ssRji8o4YwXwUK kptjPqUA/DQ7k+24RBH+238bDJk0h7NRwWO67hAukv993oIy5nO9DteDDZ5uXKBs aa6JwQdCMydE7S6qICrS8CNgMzU= Received: from jidanni.org (218-163-16-236.dynamic.hinet.net [218.163.16.236]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTPSA id BB5BC51C070; Fri, 6 Jan 2012 14:47:16 -0800 (PST) From: jidanni@jidanni.org To: help-gnu-emacs@gnu.org Subject: I need to turn off defadvice warnings Date: Sat, 07 Jan 2012 06:47:13 +0800 Message-ID: <87ty48bg9a.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.97.132.119 Cc: yamaoka@jpl.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, 06 Jan 2012 22:47:21 -0000 A friend told me to use (defadvice gnus-summary-select-article-buffer ... But now I get ad-handle-definition: `gnus-summary-select-article-buffer' got redefined warnings. Is there anyway to turn them off? (info "(elisp) Advising Functions") doesn't mention the warnings! Can I turn them off for just this one advice? Or is the only way rewrite the whole function with defun? From MAILER-DAEMON Fri Jan 06 18:13:15 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjIyJ-0005kj-01 for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 18:13:15 -0500 Received: from eggs.gnu.org ([140.186.70.92]:44375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjIyG-0005kc-7y for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 18:13:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjIyF-0003SZ-7O for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 18:13:12 -0500 Received: from caiajhbdcaib.dreamhost.com ([208.97.132.81]:39801 helo=homiemail-a38.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjIyF-0003SU-0h for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 18:13:11 -0500 Received: from homiemail-a38.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a38.g.dreamhost.com (Postfix) with ESMTP id 0FE6510AFAA; Fri, 6 Jan 2012 15:13:10 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:to:cc :subject:date:references:message-id:mime-version:content-type; q=dns; s=jidanni.org; b=jh+6hd2BplGClUtnP1z7a6ycd02gi/KZ1CrUO/a Nl8BwNslvAw69CV9drAHdVNaq1XN3wGoFNDn+Ii9bR2rjUNsADnlMJx4F5M6wIIV BFGeOoYdTEoEsCDz6NMO0Nc0UApLjH6BP4BaDvJc/a9rWA57DQWJNF8VwrH14P/S U9FY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:to :cc:subject:date:references:message-id:mime-version:content-type ; s=jidanni.org; bh=HyK2B6nWg+wjY980AHxE9jKJqts=; b=pTriIIGgEbcp qKDaHoyNhreSyqVDNaqWUbsFBNP7XCFp/5QyXe2Lqt9py2dWfWzH9xUpXxkKTyLx Sbf/wneE8wwoNNwjyI3pB/Y+Naez1U7fBXUES5IzJ+Ts4hKoqfsdEbV7w5sKpaGa S6QTAFepjvvgQ2SZxrUFzEESfYbk3Fo= Received: from jidanni.org (218-163-16-236.dynamic.hinet.net [218.163.16.236]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a38.g.dreamhost.com (Postfix) with ESMTPSA id 4CDAE10AFB0; Fri, 6 Jan 2012 15:13:09 -0800 (PST) From: jidanni@jidanni.org To: 10392@debbugs.gnu.org To: help-gnu-emacs@gnu.org Subject: Re: I need to turn off defadvice warnings Date: Sat, 07 Jan 2012 06:47:13 +0800 References: <87ty48bg9a.fsf@jidanni.org> Message-ID: <87boqga0hq.fsf_-_@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.97.132.81 Cc: yamaoka@jpl.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, 06 Jan 2012 23:13:13 -0000 OK, (info "(elisp) Advising Functions") should mention that advising functions will produce warnings. And to turn off the warnings, one needs to (setq ad-redefinition-action 'accept), and one cannot just turn them off for one advice, with e.g., let(). ;(let ((ad-redefinition-action 'accept)) (setq ad-redefinition-action 'accept) (defadvice gnus-summary-select-article-buffer (after jump-to-html-part activate) "Jump to an html part that emacs-w3m rendered, if any." (unless (get-text-property (point) 'mm-inline-text-html-with-w3m) (let ((pos (text-property-any (point-min) (point-max) 'mm-inline-text-html-with-w3m t))) (gnus-goto-char pos)))) ;) From MAILER-DAEMON Fri Jan 06 18:50:19 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjJYB-0004By-8Z for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 18:50:19 -0500 Received: from eggs.gnu.org ([140.186.70.92]:53787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjJY8-0004A0-7W for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 18:50:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjJY4-0001xQ-JC for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 18:50:15 -0500 Received: from lo.gmane.org ([80.91.229.12]:34618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjJY4-0001wP-1s for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 18:50:12 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RjJY2-00072b-Jk for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 00:50:10 +0100 Received: from 91-67-11-43-dynip.superkabel.de ([91.67.11.43]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Jan 2012 00:50:10 +0100 Received: from tassilo by 91-67-11-43-dynip.superkabel.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Jan 2012 00:50:10 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Tassilo Horn Subject: Re: I need to turn off defadvice warnings Date: Sat, 07 Jan 2012 00:49:58 +0100 Lines: 21 Message-ID: <87ty48pf15.fsf@thinkpad.tsdh.de> References: <87ty48bg9a.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 91-67-11-43-dynip.superkabel.de User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:+8670R8q5vS+DIixQfWBhxMj/jA= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 06 Jan 2012 23:50:17 -0000 jidanni@jidanni.org writes: > A friend told me to use > (defadvice gnus-summary-select-article-buffer ... > > But now I get > ad-handle-definition: `gnus-summary-select-article-buffer' got redefined > warnings. > > Is there anyway to turn them off? Don't simply turn off a warning, but check what causes it. In your case, the warning tells you that gnus-summary-select-article-buffer already has an advice on it. Your new defadvice deactivates the old piece of advice and activates the new one. Bye, Tassilo From MAILER-DAEMON Fri Jan 06 21:17:04 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjLqC-0007d9-Hw for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 21:17:04 -0500 Received: from eggs.gnu.org ([140.186.70.92]:60968) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjLq9-0007bT-K1 for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 21:17:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjLq8-0007kL-B5 for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 21:17:01 -0500 Received: from lo.gmane.org ([80.91.229.12]:53298) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjLq7-0007kH-Vf for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 21:17:00 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RjLq6-0004r1-TS for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 03:16:58 +0100 Received: from 114.250.117.176 ([114.250.117.176]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Jan 2012 03:16:58 +0100 Received: from eric by 114.250.117.176 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Jan 2012 03:16:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Eric Abrahamsen Subject: Re: loading hash-table from a file? Date: Sat, 07 Jan 2012 10:16:52 +0800 Lines: 43 Message-ID: <87k4548dez.fsf@ericabrahamsen.net> References: <87r4zecybg.fsf@ericabrahamsen.net> <8762gou6gy.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 114.250.117.176 User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:WUNl3cl391r2H+zL+UshkiVzmU0= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 07 Jan 2012 02:17:02 -0000 On Sat, Jan 07 2012, Thierry Volpiatto wrote: > Eric Abrahamsen writes: > [...] >> >> I found this on the internet (presumably authored by someone with the >> initials T.V.), which does what you're asking (I used it to persist a >> hash-table that I load on startup). I don't really know if it's superior >> to the previous reply, but it certainly works. It produces a *.elc file, >> which can be loaded with `load' (provided it's in your load-path, of >> course). Whatever symbol name you originally dumped then becomes defined >> again. >> >> Eric >> >> (defun tv-dump-object-to-file (obj file) >> "Save symbol object `obj' to the byte compiled version of `file'. >> `obj' can be any lisp object, list, hash-table, etc... >> `file' is an elisp file with ext *.el. >> Loading the *.elc file will restitute object." >> (require 'cl) ; Be sure we use the CL version of `eval-when-compile'. >> (if (file-exists-p file) >> (error "File already exists.") >> (with-temp-file file >> (erase-buffer) >> (let* ((str-obj (symbol-name obj)) >> (fmt-obj (format "(setq %s (eval-when-compile %s))" str-obj str-obj))) >> (insert fmt-obj))) >> (byte-compile-file file) (delete-file file) >> (message "`%s' dumped to %sc" obj file))) > > I use this always to save emacs session (buffers and variables), but it > have limitations on complex hash-tables, windows objects etc... > T.V are my initials ;-) Hats off to you sir! I use it (or rather, its dumped files) every day. -- GNU Emacs 24.0.92.2 (i686-pc-linux-gnu, GTK+ Version 2.24.8) of 2012-01-04 on pellet From MAILER-DAEMON Fri Jan 06 22:42:58 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjNBK-0003WM-Hv for mharc-help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 22:42:58 -0500 Received: from eggs.gnu.org ([140.186.70.92]:42513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjNBH-0003W0-Rm for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 22:42:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjNBG-0000Gu-W4 for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 22:42:55 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:56226) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjNBG-0000Go-ST for help-gnu-emacs@gnu.org; Fri, 06 Jan 2012 22:42:54 -0500 Received: by iacb35 with SMTP id b35so4227627iac.0 for ; Fri, 06 Jan 2012 19:42:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:face:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=pHpBoSX+AU732/6Nu1SDGrAlWTHdo7YdXJq0lEwoNsg=; b=XIxUogSkGLi6CvILg2GLfW3DTTcTAQiaLqhYgigcVMLhnqfwlBe8yfXoxUfAa+Uh+/ UJmhItIuq4f0Sne00JDBCaghRfZv3bI2iD3nwyjCuJ1jUkvzeuVAo0jl6TwUd759m37V 06wy4NUpXoUglyZQvLVvq3VzsxARMNXapep/s= Received: by 10.42.155.136 with SMTP id u8mr7994398icw.12.1325907773959; Fri, 06 Jan 2012 19:42:53 -0800 (PST) Received: from Victoria.local ([123.114.44.167]) by mx.google.com with ESMTPS id he16sm11830470ibb.9.2012.01.06.19.42.46 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 06 Jan 2012 19:42:51 -0800 (PST) From: Leo To: Lars Magne Ingebrigtsen Subject: Re: Gnus: How to simplify file attachments? References: <1D83305A-6FE0-44A7-A74D-D2681520068F@math.ethz.ch> Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAElBMVEUAAAAAAP+LRRP0pGC+ vr7///+7mT1iAAAAAWJLR0QAiAUdSAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9cBBwMO DhglKe4AAAEsSURBVCjPbZNBboQwDEV/Cd4X9QJRThApmn0XYW+Jyf2v0m+HhqDBgiAe9rcTG7QH w/1Vn2Ar8gBb/ocywSN3qK9T3z4eFDB4eApocBpeBs1RSykoJd8gQcm8pGmHXFso3ajnmsqV0TnY DQkOfXUfN5NwaI7AWTVOyEhcu1aHmdWItHddUVUcUgUBCkitu8V6ditHVOVdqzl2EQ1ZVGTbdK0V 7cqn8vWzoU5Q/bF9Y/Y0cRU1xwkys5dJ+Dt6pBDWifcNQml8Gh2JVmPSoQzo7en0grswkxrUGYJ7 0hSxxAGr7ZMwYcHIzprpi7TENEE1xtiYxixRlCfPBsUUrwHD7uGIwATrbnODJcVrPpVn3hxiGloe m/S+z3CtuzUSMo83N4DPH+F0evwR3P4A2k+75838OKQAAAAASUVORK5CYII= Date: Sat, 07 Jan 2012 11:42:34 +0800 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Fri, 06 Jan 2012 23:07:55 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3.50 (Mac OS X 10.6.8) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 Cc: help-gnu-emacs@gnu.org, Marius Hofert X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 07 Jan 2012 03:42:56 -0000 On 2012-01-07 06:07 +0800, Lars Magne Ingebrigtsen wrote: > Right. If Emacs supports drag-and-drop, then it would certainly be > natural for Message do use it to add attachments. > > If nobody else implements this, I'll have a look at it during the next > development cycle. DnD attachments works already. Leo From MAILER-DAEMON Sat Jan 07 02:11:19 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjQQx-0002sp-MY for mharc-help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 02:11:19 -0500 Received: from eggs.gnu.org ([140.186.70.92]:37800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjQQu-0002rI-FY for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 02:11:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjQQt-0000H6-Jt for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 02:11:16 -0500 Received: from lo.gmane.org ([80.91.229.12]:45901) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjQQt-0000H0-CJ for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 02:11:15 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RjQQp-0004zA-6H for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 08:11:11 +0100 Received: from 69.211.85.79.rev.sfr.net ([79.85.211.69]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Jan 2012 08:11:11 +0100 Received: from thierry.volpiatto by 69.211.85.79.rev.sfr.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Jan 2012 08:11:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Thierry Volpiatto Subject: Re: Gnus: How to simplify file attachments? Date: Sat, 07 Jan 2012 08:10:56 +0100 Lines: 19 Message-ID: <87aa60j8cf.fsf@gmail.com> References: <1D83305A-6FE0-44A7-A74D-D2681520068F@math.ethz.ch> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 69.211.85.79.rev.sfr.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:ZMQ8uWeP/ghLqtWc880HtfDrfWs= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 07 Jan 2012 07:11:17 -0000 Leo writes: > On 2012-01-07 06:07 +0800, Lars Magne Ingebrigtsen wrote: >> Right. If Emacs supports drag-and-drop, then it would certainly be >> natural for Message do use it to add attachments. >> >> If nobody else implements this, I'll have a look at it during the next >> development cycle. > > DnD attachments works already. I can confirm it is working, however it is not the fastest and best way to add attachments, specially when you attach files that come from differents directories. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From MAILER-DAEMON Sat Jan 07 08:45:14 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjWaA-0002jx-CV for mharc-help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 08:45:14 -0500 Received: from eggs.gnu.org ([140.186.70.92]:36331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjWa7-0002iC-RJ for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 08:45:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjWa6-0007oF-HF for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 08:45:11 -0500 Received: from mail-gx0-f169.google.com ([209.85.161.169]:64452) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjWa6-0007mg-Cz for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 08:45:10 -0500 Received: by ggni2 with SMTP id i2so1200504ggn.0 for ; Sat, 07 Jan 2012 05:45:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=/RQoj3zt4trksFVjK0SXs7IXva1m3U4e+hJNGCTKRZs=; b=x1U+BEj68rllNWEbXORFDsIXa7OM5Rr/fkF51qqLbWUe9VIojCKrNYaylOTGfT1jB5 l8GhHJvNBqmyEjUJbrY897hmRIgGNVRCJG8dMNE0KlNzgEqxedWMFxxDH+/yhdXokUOa x4b2kcqzlK5N5lzyOQUrxgQ62jykSG83y67Qw= Received: by 10.101.166.9 with SMTP id t9mr4153291ano.83.1325943909156; Sat, 07 Jan 2012 05:45:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.147.182.7 with HTTP; Sat, 7 Jan 2012 05:44:48 -0800 (PST) From: Guido Van Hoecke Date: Sat, 7 Jan 2012 14:44:48 +0100 Message-ID: Subject: Strange eshell find-file issue for new files To: help-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 07 Jan 2012 13:45:12 -0000 Hi, I have an eshell alias f: alias f find-file $1 I happily use that from eshell to start editng existing files. But when I hit 'f new-file.txt' to start editng a not yet existing file, eshell merely says 'Opening input file' and that's it. This is not due to the alias, as typing 'find-file new-file.txt' exhibits the same behaviour. I'd really like to understand what's happening, and more importantly, find out how this can be fixed. TIA, Guido -- In the long run, every program becomes rococo, and then rubble. -- Alan Perlis http://vanhoecke.org ... and go2 places! From MAILER-DAEMON Sat Jan 07 08:59:14 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjWni-0007J4-VI for mharc-help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 08:59:14 -0500 Received: from eggs.gnu.org ([140.186.70.92]:44269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjWng-0007Iw-5V for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 08:59:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjWne-0001QM-VI for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 08:59:12 -0500 Received: from mail-yx0-f169.google.com ([209.85.213.169]:62785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjWne-0001QH-QB for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 08:59:10 -0500 Received: by yenm2 with SMTP id m2so483105yen.0 for ; Sat, 07 Jan 2012 05:59:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=xVz7ElajMyT2UbE3iKax62xa11kSlM8AoWscHTRNmAI=; b=YO8hbPkOUI8PytdYvcsO5w6t6EqoTSVflFfeG+CtpcG96mll41mq6HeOAjBAPeEW1Q cHPlwTbq4QiDbVe5Kx6JSc3LaLNc1NLCDONimA6h3cVjY7h6GKE4OXlcWeo5H0df+y/x ohbq08MOziNP+Q0MTNGR0vAgjyfN1/P3B/lNU= Received: by 10.236.124.206 with SMTP id x54mr3173348yhh.112.1325944750164; Sat, 07 Jan 2012 05:59:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.147.182.7 with HTTP; Sat, 7 Jan 2012 05:58:49 -0800 (PST) From: Guido Van Hoecke Date: Sat, 7 Jan 2012 14:58:49 +0100 Message-ID: Subject: Indentation setting for C-Sharp files. To: help-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.213.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 07 Jan 2012 13:59:13 -0000 Hi, I am collaborating with some C# projects being developed partly on the iMac with MonoDevelop and on Windows with Visual Studio. The Mono environment is technical lead, so the other tools better follow its indentation and space/tab rules. The 'standard' in this MonoDevelop environment is to use tabs to do the indentation, not spaces, and the 'display width' of the tab is set to 4. The 'display width' is less important, but I'd like to tell emacs to use only tabs to do the indentation. I've surfed the net and found lots of places telling me how to achieve the opposite, i.e. using only spaces. Is there a way to force emacs to only use tabs for indentation? And such a setting exists, could it also define the tab width to 4, but still use tabs (so three tabs at the start of the line would be displayed as 12 whitespace columns)? TIA, Guido -- If you put it off long enough, it might go away. http://vanhoecke.org ... and go2 places! From MAILER-DAEMON Sat Jan 07 10:43:30 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjYQc-0005Mh-Qw for mharc-help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 10:43:30 -0500 Received: from eggs.gnu.org ([140.186.70.92]:43134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjYQa-0005MW-OI for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 10:43:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjYQY-00076Z-1n for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 10:43:28 -0500 Received: from fmmailgate01.web.de ([217.72.192.221]:33239) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjYQX-000764-TL for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 10:43:26 -0500 Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate01.web.de (Postfix) with ESMTP id 1A6101A875E18 for ; Sat, 7 Jan 2012 16:43:24 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb001) with ESMTPA (Nemesis) id 0MQf77-1S91PC3V8P-00U5SR; Sat, 07 Jan 2012 16:43:23 +0100 Subject: Re: Strange eshell find-file issue for new files Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Peter Dyballa In-Reply-To: Date: Sat, 7 Jan 2012 16:43:23 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <264339B1-F9D8-44D6-863A-D320B7B72C39@Web.DE> References: To: Guido Van Hoecke X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:a1JKdlAfi7H0lz2fErbBmeLf4FU2+2caPGhS0SQpV5V regS79oJjBJxY9p9yScLEupr4V5rPdJT801K5i9SbBI0ZbGmA3 4C2ILn3pbmKgcBtaitAEtvZAyfDAdibzJ9Zi1VqR3WAVl4HIEu a+/dUoJtG0k5dXWwO/n3NHtg5kye8FXTM852VuIbdOXrZpMy7b Q3UMxEqG2QyGtNhCYnfBA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.221 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, 07 Jan 2012 15:43:29 -0000 Am 7.1.2012 um 14:44 schrieb Guido Van Hoecke: > I'd really like to understand what's happening, and more importantly, > find out how this can be fixed. Is the behaviour the same when you launch GNU Emacs without = customisation? I.e., with --no-site-file and/or with --no-init-file (-q) = and finally -Q? -- Greetings Pete The human brain operates at only 10% of its capacity. The rest is = overhead for the operating system. From MAILER-DAEMON Sat Jan 07 10:45:27 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjYSV-00069c-EW for mharc-help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 10:45:27 -0500 Received: from eggs.gnu.org ([140.186.70.92]:36123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjYST-00069T-9m for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 10:45:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjYSR-0007fI-Vx for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 10:45:25 -0500 Received: from edge10.ethz.ch ([82.130.75.186]:4991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjYSR-0007eo-Pd for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 10:45:23 -0500 Received: from CAS21.d.ethz.ch (172.31.51.111) by edge10.ethz.ch (82.130.75.186) with Microsoft SMTP Server (TLS) id 14.1.355.2; Sat, 7 Jan 2012 16:45:15 +0100 Received: from 80-218-246-165.dclient.hispeed.ch (80.218.246.165) by CAS21.d.ethz.ch (172.31.51.111) with Microsoft SMTP Server (TLS) id 14.1.355.2; Sat, 7 Jan 2012 16:45:20 +0100 Subject: Re: Gnus: How to simplify file attachments? MIME-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="us-ascii" From: Marius Hofert In-Reply-To: Date: Sat, 7 Jan 2012 16:45:19 +0100 Content-Transfer-Encoding: quoted-printable Message-ID: <4C9CC024-8FB9-4DAD-A795-9CACEE9CCE66@math.ethz.ch> References: <1D83305A-6FE0-44A7-A74D-D2681520068F@math.ethz.ch> To: Leo X-Mailer: Apple Mail (2.1251.1) X-Originating-IP: [80.218.246.165] X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.130.75.186 Cc: Lars Magne Ingebrigtsen , 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, 07 Jan 2012 15:45:26 -0000 On 2012-01-07, at 04:42 , Leo wrote: > On 2012-01-07 06:07 +0800, Lars Magne Ingebrigtsen wrote: >> Right. If Emacs supports drag-and-drop, then it would certainly be >> natural for Message do use it to add attachments. >>=20 >> If nobody else implements this, I'll have a look at it during the = next >> development cycle. >=20 > DnD attachments works already. Can you explain how, please? If I DnD a .pdf to a new message buffer (Gnus v5.13, Emacs 24, Mac OS X = 10.7.2), the *code* of the .pdf file is inserted, not a link to the .pdf = file as attachment. To be more precise, a huge amount of code is = inserted starting with "%PDF-1.5..." (as if you look at the .pdf file as = .txt).=20 Furthermore, DnD of an attachment out of a received email also did not = work under my setup above. I just can't "grab" the .pdf.=20 Cheers, Marius >=20 > Leo =20 From MAILER-DAEMON Sat Jan 07 12:19:14 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjZvG-0005su-RX for mharc-help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 12:19:14 -0500 Received: from eggs.gnu.org ([140.186.70.92]:59308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjZvE-0005pQ-Eh for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 12:19:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjZvC-0003nt-M6 for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 12:19:12 -0500 Received: from mail-gx0-f169.google.com ([209.85.161.169]:39005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjZvC-0003no-IE for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 12:19:10 -0500 Received: by ggni2 with SMTP id i2so1243276ggn.0 for ; Sat, 07 Jan 2012 09:19:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=M6h317TTL5ZNL4XcqI7Pqhgj6V2uyx4dPJUSN1RjDF8=; b=dzSJWOJRF0/WP2MXV/C2Z5NaEe2hX+nOloEEIVvfxFBYbY331FmutKISU/IgHTwZQR SCOp+PEOzeOw+L1VvTSLvh/879rU0OMy6OB24O0BM+4nlI+jd5Rs5QAJ5IQlyO1APdyJ mp+ImgC/lAXGInl/aw+AKE/nGSruDaKuAVHH0= Received: by 10.101.166.9 with SMTP id t9mr4513714ano.83.1325956750138; Sat, 07 Jan 2012 09:19:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.147.182.7 with HTTP; Sat, 7 Jan 2012 09:18:49 -0800 (PST) In-Reply-To: <264339B1-F9D8-44D6-863A-D320B7B72C39@Web.DE> References: <264339B1-F9D8-44D6-863A-D320B7B72C39@Web.DE> From: Guido Van Hoecke Date: Sat, 7 Jan 2012 18:18:49 +0100 Message-ID: Subject: Re: Strange eshell find-file issue for new files To: Peter Dyballa Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.169 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, 07 Jan 2012 17:19:13 -0000 Hi Peter. On Sat, Jan 7, 2012 at 16:43, Peter Dyballa wrote: > Am 7.1.2012 um 14:44 schrieb Guido Van Hoecke: >> I'd really like to understand what's happening, and more importantly, >> find out how this can be fixed. > Is the behaviour the same when you launch GNU Emacs without > customisation? I.e., with --no-site-file and/or with --no-init-file > (-q) and finally -Q? No, it isn't. I know I should have walked along this trail, but I just hoped it would trigger some fellow emacser's memory. Well, I'll selectively disable parts of my configuration files till I hit the culprit. Thanks anyhow, Guido -- Post proelium, praemium. [After the battle, the reward.] http://vanhoecke.org ... and go2 places! From MAILER-DAEMON Sat Jan 07 13:24:05 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rjaw1-0000Vx-54 for mharc-help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 13:24:05 -0500 Received: from eggs.gnu.org ([140.186.70.92]:39665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjavy-0000V7-Ug for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 13:24:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rjavx-0004U3-SG for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 13:24:02 -0500 Received: from lo.gmane.org ([80.91.229.12]:46662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjavx-0004Tv-NE for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 13:24:01 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rjavv-00042S-Br for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 19:23:59 +0100 Received: from 69.211.85.79.rev.sfr.net ([79.85.211.69]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Jan 2012 19:23:59 +0100 Received: from thierry.volpiatto by 69.211.85.79.rev.sfr.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 Jan 2012 19:23:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Thierry Volpiatto Subject: Re: Gnus: How to simplify file attachments? Date: Sat, 07 Jan 2012 19:23:45 +0100 Lines: 31 Message-ID: <87ehvb9xse.fsf@gmail.com> References: <1D83305A-6FE0-44A7-A74D-D2681520068F@math.ethz.ch> <4C9CC024-8FB9-4DAD-A795-9CACEE9CCE66@math.ethz.ch> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 69.211.85.79.rev.sfr.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:zZy9dzsXhNFAh/UYK039wwEaFug= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 07 Jan 2012 18:24:03 -0000 Marius Hofert writes: > On 2012-01-07, at 04:42 , Leo wrote: > >> On 2012-01-07 06:07 +0800, Lars Magne Ingebrigtsen wrote: >>> Right. If Emacs supports drag-and-drop, then it would certainly be >>> natural for Message do use it to add attachments. >>> >>> If nobody else implements this, I'll have a look at it during the next >>> development cycle. >> >> DnD attachments works already. > > Can you explain how, please? It is working fine for me when i DnD from Thunar in a message buffer. (even for pdf's) > If I DnD a .pdf to a new message buffer (Gnus v5.13, Emacs 24, Mac OS > X 10.7.2), the *code* of the .pdf file is inserted, not a link to the > .pdf file as attachment. To be more precise, a huge amount of code is > inserted starting with "%PDF-1.5..." (as if you look at the .pdf file > as .txt). > Furthermore, DnD of an attachment out of a received email also did not work under my setup above. I just can't "grab" the .pdf. Can't reproduce here on xubuntu with thunar. -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From MAILER-DAEMON Sat Jan 07 13:24:20 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjawG-0000sM-AM for mharc-help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 13:24:20 -0500 Received: from eggs.gnu.org ([140.186.70.92]:39566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjapw-0007Vb-5T for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 13:17:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rjapv-0003hw-8g for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 13:17:48 -0500 Received: from impaqm4.telefonica.net ([213.4.138.20]:52087 helo=telefonica.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjapu-0003hs-Re for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 13:17:47 -0500 Received: from IMPmailhost1.adm.correo ([10.20.102.38]) by IMPaqm4.telefonica.net with bizsmtp id Jgg71i00G0piX6q3QiHkFT; Sat, 07 Jan 2012 19:17:44 +0100 Received: from qcore ([79.147.11.225]) by IMPmailhost1.adm.correo with BIZ IMP id JiHi1i0064rKmjT1hiHjYl; Sat, 07 Jan 2012 19:17:44 +0100 X-Brightmail-Tracker: AAAAAA== X-original-sender: 981711563@telefonica.net From: =?utf-8?Q?=C3=93scar_Fuentes?= To: Guido Van Hoecke Subject: Re: Indentation setting for C-Sharp files. References: Date: Sat, 07 Jan 2012 19:17:41 +0100 In-Reply-To: (Guido Van Hoecke's message of "Sat, 7 Jan 2012 14:58:49 +0100") Message-ID: <87sjjrnzqy.fsf@wanadoo.es> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.4.138.20 X-Mailman-Approved-At: Sat, 07 Jan 2012 13:24:18 -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, 07 Jan 2012 18:17:49 -0000 Guido Van Hoecke writes: [snip] > Is there a way to force emacs to only use tabs for indentation? And such > a setting exists, could it also define the tab width to 4, but still use > tabs (so three tabs at the start of the line would be displayed as 12 > whitespace columns)? See the variables tab-width and indent-tabs-mode. From MAILER-DAEMON Sat Jan 07 13:53:44 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjbOi-0006aR-Dx for mharc-help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 13:53:44 -0500 Received: from eggs.gnu.org ([140.186.70.92]:49001) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjbOf-0006aJ-Sc for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 13:53:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjbOd-0000NA-PQ for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 13:53:41 -0500 Received: from mail-yw0-f41.google.com ([209.85.213.41]:64302) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjbOd-0000N6-J4 for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 13:53:39 -0500 Received: by yhoo21 with SMTP id o21so300604yho.0 for ; Sat, 07 Jan 2012 10:53:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=HwdwAqF8Laoh8dRd458tt8pbbxLc1ig3bcBsx8YhT0M=; b=i5izuW0TW/YITVq7JyKr3d3Qw5kPvEIRETXiZvAH+SCtBEA2vOEoVmfTS5/4yj1law +CAMlXnL1b3a6+kOpGNj6mjCXpKzgxXLWQiK8rAqZ4/rohalDYnrtZB+5sToHOo9gTz4 CkIPCq9P1IWBnrgNf6IPvAJY8o7fZXKsDGN/Y= Received: by 10.236.124.206 with SMTP id x54mr4656912yhh.112.1325962417395; Sat, 07 Jan 2012 10:53:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.147.182.7 with HTTP; Sat, 7 Jan 2012 10:53:16 -0800 (PST) In-Reply-To: References: <264339B1-F9D8-44D6-863A-D320B7B72C39@Web.DE> From: Guido Van Hoecke Date: Sat, 7 Jan 2012 19:53:16 +0100 Message-ID: Subject: Re: Strange eshell find-file issue for new files To: Peter Dyballa Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.213.41 Cc: =?UTF-8?B?Sm9zw6kgQS4gUm9tZXJvIEwu?= , 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, 07 Jan 2012 18:53:42 -0000 Hi Peter On Sat, Jan 7, 2012 at 18:18, Guido Van Hoecke wrote: > Hi Peter. > > On Sat, Jan 7, 2012 at 16:43, Peter Dyballa wrote: > >> Am 7.1.2012 um 14:44 schrieb Guido Van Hoecke: > >>> I'd really like to understand what's happening, and more importantly, >>> find out how this can be fixed. > >> Is the behaviour the same when you launch GNU Emacs without >> customisation? I.e., with --no-site-file and/or with --no-init-file >> (-q) and finally -Q? > > No, it isn't. I know I should have walked along this trail, but I just > hoped it would trigger some fellow emacser's memory. > > Well, I'll selectively disable parts of my configuration files till I hit > the culprit. Well I found the culprit: it is the defadvice for the openwith-file handler found at http://www.emacswiki.org/emacs/Sunrise_Commander_Tips#toc4 Without this defadvice entering 'f new-file' in eshell just creates a buffer for this not yet existing new-file, as does C-x C-f. With the defadvice, it merely prints 'Input file opened' and no buffer is created. This may well be related to the versions of emacs and openwith.el. Emacs version: GNU Emacs 23.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2011-12-13 on bob.porkrind.org openwith.el version: openwith-version "0.8f" Well, not recording files opened with external programs is not really a big deal for me. I'm quite happy that I found the cause of the find-file failure for new files. That's far more important to me. Kind Regards, Guido -- ... one of the main causes of the fall of the Roman Empire was that, lacking zero, they had no way to indicate successful termination of their C programs. -- Robert Firth http://vanhoecke.org ... and go2 places! From MAILER-DAEMON Sat Jan 07 14:05:12 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjbZo-0008JH-2n for mharc-help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 14:05:12 -0500 Received: from eggs.gnu.org ([140.186.70.92]:59985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjbZl-0008JB-HN for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 14:05:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjbZk-0002CQ-4e for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 14:05:09 -0500 Received: from mail-gx0-f169.google.com ([209.85.161.169]:60866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjbZj-0002Bx-WB for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 14:05:08 -0500 Received: by ggni2 with SMTP id i2so1262782ggn.0 for ; Sat, 07 Jan 2012 11:05:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=Yw7NUj1JMARluM6amsWBinVGJik+EasWyDVxZt9rMN4=; b=ZVio1Qp+cBKMbBUQXGy5cge0tVng37DPmpoMYUQo7TGsuTQjkbMSFNp4yhvrDvi+9L kGLk6qwcNHOqm1k5cplzXm7tHtC2oeKtU5arKbuOh+Nin0Fl/mJsLjeXYBbrRPPT8KDL kfRrifTH26vPR+1Nb1w5KE96Tr1wRh7tOE4jY= Received: by 10.101.117.20 with SMTP id u20mr4659767anm.71.1325963107251; Sat, 07 Jan 2012 11:05:07 -0800 (PST) MIME-Version: 1.0 Received: by 10.147.182.7 with HTTP; Sat, 7 Jan 2012 11:04:46 -0800 (PST) In-Reply-To: <87sjjrnzqy.fsf@wanadoo.es> References: <87sjjrnzqy.fsf@wanadoo.es> From: Guido Van Hoecke Date: Sat, 7 Jan 2012 20:04:46 +0100 Message-ID: Subject: Re: Indentation setting for C-Sharp files. To: =?UTF-8?Q?=C3=93scar_Fuentes?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.169 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, 07 Jan 2012 19:05:10 -0000 Hi Oscar On Sat, Jan 7, 2012 at 19:17, =C3=93scar Fuentes wrote: > Guido Van Hoecke writes: > > [snip] > >> Is there a way to force emacs to only use tabs for indentation? And such >> a setting exists, could it also define the tab width to 4, but still use >> tabs (so three tabs at the start of the line would be displayed as 12 >> whitespace columns)? > > See the variables tab-width and indent-tabs-mode. My tab-width is 8 and indent-tabs-mode is t, also in my C# buffers, but that does not cause the expected behaviour. Kind Regards, Guido -- All of the true things I am about to tell you are shameless lies. -- The Book of Bokonon / Kurt Vonnegut Jr. http://vanhoecke.org ... and go2 places! From MAILER-DAEMON Sat Jan 07 15:03:40 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjcUO-0003CZ-JT for mharc-help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 15:03:40 -0500 Received: from eggs.gnu.org ([140.186.70.92]:36663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjcUL-0003BB-OQ for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 15:03:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjcUK-0000lr-Kv for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 15:03:37 -0500 Received: from impaqm3.telefonica.net ([213.4.138.19]:62519 helo=telefonica.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjcUK-0000jO-Al for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 15:03:36 -0500 Received: from IMPmailhost5.adm.correo ([10.20.102.126]) by IMPaqm3.telefonica.net with bizsmtp id JiNx1i00F2jdgqJ3Pk3ZTU; Sat, 07 Jan 2012 21:03:33 +0100 Received: from qcore ([79.147.11.225]) by IMPmailhost5.adm.correo with BIZ IMP id Jk3Y1i0074rKmjT1lk3Zmc; Sat, 07 Jan 2012 21:03:33 +0100 X-Brightmail-Tracker: AAAAAA== X-original-sender: 981711563@telefonica.net From: =?utf-8?Q?=C3=93scar_Fuentes?= To: Guido Van Hoecke Subject: Re: Indentation setting for C-Sharp files. References: <87sjjrnzqy.fsf@wanadoo.es> Date: Sat, 07 Jan 2012 21:03:31 +0100 In-Reply-To: (Guido Van Hoecke's message of "Sat, 7 Jan 2012 20:04:46 +0100") Message-ID: <87obufnuuk.fsf@wanadoo.es> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.4.138.19 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, 07 Jan 2012 20:03:38 -0000 Guido Van Hoecke writes: >>> Is there a way to force emacs to only use tabs for indentation? And such >>> a setting exists, could it also define the tab width to 4, but still use >>> tabs (so three tabs at the start of the line would be displayed as 12 >>> whitespace columns)? >> >> See the variables tab-width and indent-tabs-mode. > > My tab-width is 8 and indent-tabs-mode is t, also in my C# buffers, but > that does not cause the expected behaviour. It does for me. After visiting a .cs file (this activates csharp-mode on my setup): M-x set-variable [enter] tab-width [enter] 4 [enter] M-x set-variable [enter] indent-tabs-mode [enter] t [enter] now the lines I insert use 4 column wide tabs for indenting. Please note that you must set those variables *after* visiting the file you want to edit, because they become buffer-local (associated with the current buffer) as soon as you change their value. Usually that's done with a mode hook, but for experimenting the manual method described above should work. From MAILER-DAEMON Sat Jan 07 15:53:35 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjdGh-0003xU-Nj for mharc-help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 15:53:35 -0500 Received: from eggs.gnu.org ([140.186.70.92]:36821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjbxJ-0003l1-QR for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 14:29:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjbxI-0005Xi-VP for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 14:29:29 -0500 Received: from mail-yw0-f61.google.com ([209.85.213.61]:38835) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjbxI-0005Xd-Qv for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 14:29:28 -0500 Received: by yhgg71 with SMTP id g71so2121148yhg.6 for ; Sat, 07 Jan 2012 11:29:28 -0800 (PST) Received: by 10.236.173.104 with SMTP id u68mr1427376yhl.9.1325964568334; Sat, 07 Jan 2012 11:29:28 -0800 (PST) Path: glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: gnu.emacs.help Date: Sat, 7 Jan 2012 11:29:28 -0800 (PST) In-Reply-To: <2624582.614.1325964499857.JavaMail.geo-discussion-forums@prlk31> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=76.103.60.108; posting-account=FfdJPQoAAABbOou2cE5RxT9qq7GJq4Ij NNTP-Posting-Host: 76.103.60.108 References: <2624582.614.1325964499857.JavaMail.geo-discussion-forums@prlk31> User-Agent: G2/1.0 X-Google-Web-Client: true MIME-Version: 1.0 Message-ID: <16098506.1054.1325964568161.JavaMail.geo-discussion-forums@prmu37> Subject: Re: using cscope inside emacs with mac os x From: kaundinya.suhas@gmail.com To: gnu.emacs.help@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.213.61 X-Mailman-Approved-At: Sat, 07 Jan 2012 15:53:29 -0500 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: gnu.emacs.help@googlegroups.com 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, 07 Jan 2012 19:29:30 -0000 Bernardo, I am facing the same problem. C-h v cscope-program RET says that this does not exist How can I fix this? Cscope is in my Path. Please advice. Best. SK From MAILER-DAEMON Sat Jan 07 16:21:11 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjdhP-0002hP-Pm for mharc-help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 16:21:11 -0500 Received: from eggs.gnu.org ([140.186.70.92]:34156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjdhN-0002gc-8l for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 16:21:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjdhM-0002Nt-0q for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 16:21:09 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:43166) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjdhL-0002No-Oj for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 16:21:07 -0500 Received: by bkaq10 with SMTP id q10so948767bka.0 for ; Sat, 07 Jan 2012 13:21:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=dMI1jWCPF/86lpqaJmvlYdqr11/mmZVsni4T1MaJVxE=; b=Rgzh3kJW4ovmkMk89R29ybLA1zewTRNDRIHtZiekLbiHbg5kNGi88f6NXrP4lD+4Lz 5Ix/u+kx5qz58WskmmrLQ2Ang9XZQkbPP7uv7R9BXMgxdBTt28jmoPFd6jZieUbUaQzR dWQMMMBVTpMLf4NwjCljZWRDGOt6OpyjK3Du0= MIME-Version: 1.0 Received: by 10.205.118.12 with SMTP id fo12mr4787000bkc.33.1325971266050; Sat, 07 Jan 2012 13:21:06 -0800 (PST) Received: by 10.205.83.135 with HTTP; Sat, 7 Jan 2012 13:21:05 -0800 (PST) Date: Sat, 7 Jan 2012 16:21:05 -0500 Message-ID: Subject: bracket matching behavior From: Yuan Luo To: help-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=000e0ce0f4084b9a0004b5f6bec9 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 07 Jan 2012 21:21:10 -0000 --000e0ce0f4084b9a0004b5f6bec9 Content-Type: text/plain; charset=ISO-8859-1 Hi, I have been annoyed by emacs23's bracket matching behavior: when saving with unmatched bracket's, cursor jumps to the first unmatching left bracket without returning to where i was editing, Is this a behavior that I can toggle with? Thanks, Yuan --000e0ce0f4084b9a0004b5f6bec9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

I have been annoyed by emacs23's bracket matching behavior: = when=20 saving with unmatched bracket's, cursor jumps to the first unmatching l= eft bracket=A0 without returning to where i was editing, Is this a behavior= that I can toggle with?

Thanks,
Yuan
--000e0ce0f4084b9a0004b5f6bec9-- From MAILER-DAEMON Sat Jan 07 16:28:52 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rjdoq-0005aO-Px for mharc-help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 16:28:52 -0500 Received: from eggs.gnu.org ([140.186.70.92]:52720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjdoo-0005aD-Fa for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 16:28:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rjdon-0003ay-H7 for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 16:28:50 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:40418) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjdon-0003as-7i for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 16:28:49 -0500 Received: by bkaq10 with SMTP id q10so951046bka.0 for ; Sat, 07 Jan 2012 13:28:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=oUQ6WE2IJe/SDSwh8rljka3F/9vvaDmyV7F17LqgaA4=; b=Bov+BZhdRr/dYdiSbbpPaVoIgSQ7QgljUhCUSWN5hRMdzvTeikalbY5erXlVSXrtVj WXolvKyh+TBx070UrARZku3b2HKKbMGvkK0tF0NK5XgZyFtLrVwPkb/MX1ZstL8KzaZZ LV9RATF60La3Desops7asjyEyrYM2MN06/bZ0= MIME-Version: 1.0 Received: by 10.204.136.195 with SMTP id s3mr4788166bkt.51.1325971728098; Sat, 07 Jan 2012 13:28:48 -0800 (PST) Received: by 10.205.83.135 with HTTP; Sat, 7 Jan 2012 13:28:48 -0800 (PST) Date: Sat, 7 Jan 2012 16:28:48 -0500 Message-ID: Subject: customizing dircolors doesn't take effect in emacs shell From: Yuan Luo To: help-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=0015175cd2a8d5e3ba04b5f6d908 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 07 Jan 2012 21:28:51 -0000 --0015175cd2a8d5e3ba04b5f6d908 Content-Type: text/plain; charset=ISO-8859-1 Hi, So I have the following setting for dircolors in my ~/.bashrc. With my customized ~/.dircolors file, a regular terminal shows the desired colors upon ls in the shell. However, within the shell of emacs, it still shows the default colors upon ls. This happens in emacs23, what am I missing? if [ -x /usr/bin/dircolors ]; then test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" alias ls='ls --color=auto' fi Thanks, Yuan --0015175cd2a8d5e3ba04b5f6d908 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,
So I have the following setting for dircolors in my ~/.bashrc. With = my customized ~/.dircolors file, a regular terminal shows the desired color= s upon ls in the shell. However, within the shell of emacs, it still shows = the default colors upon ls. This happens in emacs23, what am I missing?

if [ -x /usr/bin/dircolors ]; then
=A0=A0=A0 test -r ~/.dircolors &a= mp;& eval "$(dircolors -b ~/.dircolors)" || eval "$(dirc= olors -b)"
=A0=A0=A0 alias ls=3D'ls --color=3Dauto'
fi
Thanks,
Yuan
--0015175cd2a8d5e3ba04b5f6d908-- From MAILER-DAEMON Sat Jan 07 17:38:10 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rjetu-0001xB-Sl for mharc-help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 17:38:10 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjemE-00012K-1J for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 17:30:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjemD-0001nT-03 for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 17:30:14 -0500 Received: from sousa.cc ([46.51.181.120]:37965) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjemC-0001nN-Pg for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 17:30:12 -0500 Received: from mail-we0-f169.google.com (mail-we0-f169.google.com [74.125.82.169]) by sousa.cc (Postfix) with ESMTPSA id E121020880 for ; Sat, 7 Jan 2012 22:30:10 +0000 (UTC) Received: by werf1 with SMTP id f1so2450054wer.0 for ; Sat, 07 Jan 2012 14:30:10 -0800 (PST) Received: by 10.216.138.5 with SMTP id z5mr1242307wei.37.1325975410246; Sat, 07 Jan 2012 14:30:10 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.113.79 with HTTP; Sat, 7 Jan 2012 14:29:54 -0800 (PST) From: Daniel Sousa Date: Sat, 7 Jan 2012 22:29:54 +0000 Message-ID: Subject: I can't use Alt+Shift To: help-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=0016e6d644014f02e604b5f7b533 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 46.51.181.120 X-Mailman-Approved-At: Sat, 07 Jan 2012 17:38:09 -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, 07 Jan 2012 22:30:14 -0000 --0016e6d644014f02e604b5f7b533 Content-Type: text/plain; charset=ISO-8859-1 Hi everybody! I'm trying to start using emacs and I'm following its tutorial. I have "<" and ">" on the same key (">" is above "<"). I can do M-<, but I can't use M->, when I press the key combination Alt+Shift+< nothing happens :( I only have this problem when I use emacs with any GUI (I want to run it on another tty), when I use emacs with the x server it works... Can anyone help me? Best regards, Daniel Sousa PS: If it help, I'm running on Arch Linux. --0016e6d644014f02e604b5f7b533 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi everybody!

I'm trying to start using emacs and I&= #39;m following its tutorial.
I have "<" and "&= gt;" on the same key (">" is above "<"). I c= an do M-<, but I can't use M->, when I press the key combination = Alt+Shift+< nothing happens :(

I only have this problem when I use emacs with any GUI = (I want to run it on another tty), when I use emacs with the x server it wo= rks...

Can anyone help me?

Best regards,
Daniel Sousa

PS: If i= t help, I'm running on Arch Linux.
--0016e6d644014f02e604b5f7b533-- From MAILER-DAEMON Sat Jan 07 19:12:28 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjgNA-0007on-00 for mharc-help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 19:12:28 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjgN8-0007oh-2z for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 19:12:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjgN7-00052i-4V for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 19:12:26 -0500 Received: from fmmailgate03.web.de ([217.72.192.234]:60060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjgN6-00052e-Uw for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 19:12:25 -0500 Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate03.web.de (Postfix) with ESMTP id 1AE3B1AF5020A for ; Sun, 8 Jan 2012 01:12:24 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0M24vT-1SYt123rfX-00tnlT; Sun, 08 Jan 2012 01:12:23 +0100 Subject: Re: customizing dircolors doesn't take effect in emacs shell Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 From: Peter Dyballa In-Reply-To: Date: Sun, 8 Jan 2012 01:12:23 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Yuan Luo X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:fSxP9cz4FQhA9c9BkXb8k0pJ0JrsEOcjdTo1EvR9QUl V0TiFUm4swaabSoDoemPeIjTKrCtezces0YUxZP4u89ebPn3BT q2XOILfdT3vJPo+I9Uwl5gmREMvj6QD/uyn+uXZUxfs8PJVJx9 1PxD6Q1q6CZRYTC9F3LdjFELUmtN8f71Ek6+4NE42NpaGPt18K of5QeYdyoUJnilx5cTztw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.234 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, 08 Jan 2012 00:12:26 -0000 Am 7.1.2012 um 22:28 schrieb Yuan Luo: > This happens in emacs23, what am I missing? Put the useful shell aliases also in ~/.emacs_bash =96 this file is read = in by the bash running in a *shell* buffer. (~/.emacs_bash can also be = linked with ~/.bashrc. Maybe it's possible to customise the bash that it = reads in ~/.bashrc.) -- Greetings Pete The future will be much better tomorrow. =96 George W. Bush From MAILER-DAEMON Sat Jan 07 19:31:53 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rjgfx-0002FD-Do for mharc-help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 19:31:53 -0500 Received: from eggs.gnu.org ([140.186.70.92]:47095) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjgfv-0002F7-3j for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 19:31:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rjgfu-0006xT-1t for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 19:31:51 -0500 Received: from fmmailgate04.web.de ([217.72.192.242]:50456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjgft-0006xO-PM for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 19:31:50 -0500 Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate04.web.de (Postfix) with ESMTP id 76FEA709745D for ; Sun, 8 Jan 2012 01:31:48 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb001) with ESMTPA (Nemesis) id 0LvB2o-1SjacL3zX8-010OHf; Sun, 08 Jan 2012 01:31:48 +0100 Subject: Re: I can't use Alt+Shift Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 From: Peter Dyballa In-Reply-To: Date: Sun, 8 Jan 2012 01:31:47 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <104171DB-3A57-41E3-8F71-F7F443D930C6@Web.DE> References: To: Daniel Sousa X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:APwxh81J3ROvQmwas2twdI6Jzom6LQeI1v3x2I8NMdv XNX17FWkVizvBeeHmDvtewPhJ9N6mtq45ndlLp3iz2kxyvZ4vy uwlW3HPZeRaejXm3NChHr5s9Fk1ukjw8N65iEpB4wGX6hhtXuq uvAz2RhnYwWomt7LX5jLXxJMHUHmGzggRPHnmHONwA3h3CLwHY Sw4oyuPBaz7UGFMkvM7pg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.242 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, 08 Jan 2012 00:31:52 -0000 Am 7.1.2012 um 23:29 schrieb Daniel Sousa: > Can anyone help me? >=20 > [...] >=20 > PS: If it help, I'm running on Arch Linux. Introduced with C-h k you can then type some key combination. GNU Emacs = will then describe in echo-area ("mini-buffer") that this key = combination is not bound to a function or open a *Help* buffer and = display the documentation of the function which is bound to the typed = key combination. In X11 you have the utility xev which will explain which X events you = have produced by pressing some keys. Maybe Alt+Shift+< does not produce = anything... When you run GNU Emacs in some terminal you do not send any X event to = GNU Emacs, only ASCII codes (see "man ascii"). -< and = --<, pressed sequentially as first and then either < = or >, *will* produce the proper input for GNU Emacs, while pressing = Alt+< or Alt+Shift+< *might* produce 8-bit control characters, but what = the terminal emulation sends to the programme is not determined because = a mapping, established via an X resource for example, might not exist. I'm not using Arch Linux. -- Greetings Pete I love deadlines. I love the whooshing noise they make as they go by. =96 Douglas Adams From MAILER-DAEMON Sat Jan 07 19:36:06 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rjgk1-00031N-W8 for mharc-help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 19:36:05 -0500 Received: from eggs.gnu.org ([140.186.70.92]:43821) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjgjz-0002yd-5D for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 19:36:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rjgjy-0007UI-7A for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 19:36:03 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:33340) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjgjx-0007U9-Uk for help-gnu-emacs@gnu.org; Sat, 07 Jan 2012 19:36:02 -0500 Received: by bkaq10 with SMTP id q10so1006050bka.0 for ; Sat, 07 Jan 2012 16:36:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=B0VTshuVsTiqH2tuwzGqGFZcpUcC7/60XBMdG5rhTGs=; b=aOuXfnlo8iRTvbmN4GMYUPxoMvpbI+qPtYq9we0peE2CzqlvCf+/QoQ8X+EeaOslS3 pBWCkGHj4MUaJZyEoeIjOg7TDtwEXF18UejZpddnZz17IQnIeeYV1uiY5RVCwOJnodLG XMu5+Sy0iOZdkg3xkY7w8AAAGQbzBuNBovxxY= MIME-Version: 1.0 Received: by 10.205.127.2 with SMTP id gy2mr4782775bkc.87.1325982960917; Sat, 07 Jan 2012 16:36:00 -0800 (PST) Received: by 10.205.83.135 with HTTP; Sat, 7 Jan 2012 16:36:00 -0800 (PST) In-Reply-To: References: Date: Sat, 7 Jan 2012 19:36:00 -0500 Message-ID: Subject: Re: customizing dircolors doesn't take effect in emacs shell From: Yuan Luo To: Peter Dyballa Content-Type: multipart/alternative; boundary=000e0ce0ce485d1b9c04b5f9772b X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.41 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, 08 Jan 2012 00:36:04 -0000 --000e0ce0ce485d1b9c04b5f9772b Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi Pete, Thanks for your quick reply, I linked ~/.emacs_bash to ~/.bashrc but the default color is still not changed. I read more about ~/.emacs_bash, it seems to me emacs sends the content from this file to the interactive shell upon starting. However, if I directly type "dircolors -b ~/.dircolors" in emacs interactive shell, I got the following result: LS_COLORS=3D''; export LS_COLORS where as the same command typed in a regular system shell would yield the desired LS_COLORS. What could be the problem here? Thanks, Yuan On Sat, Jan 7, 2012 at 7:12 PM, Peter Dyballa wrote: > > Am 7.1.2012 um 22:28 schrieb Yuan Luo: > > > This happens in emacs23, what am I missing? > > Put the useful shell aliases also in ~/.emacs_bash =96 this file is read = in > by the bash running in a *shell* buffer. (~/.emacs_bash can also be linke= d > with ~/.bashrc. Maybe it's possible to customise the bash that it reads i= n > ~/.bashrc.) > > -- > Greetings > > Pete > > The future will be much better tomorrow. > =96 George W. Bush > > --000e0ce0ce485d1b9c04b5f9772b Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi Pete,
Thanks for your quick reply, I linked ~/.emacs_bash to ~/.bashr= c but the default color is still not changed. I read more about ~/.emacs_ba= sh, it seems to me emacs sends the content from this file to the interactiv= e shell upon starting. However, if I directly type "dircolors -b ~/.di= rcolors" in emacs interactive shell, I got the following result:

LS_COLORS=3D'';
export LS_COLORS

where as the same co= mmand typed in a regular system shell would yield the desired LS_COLORS.
What could be the problem here?
Thanks,
Yuan

On Sat, Jan 7, 2012 at 7:12 PM, Peter Dyballa <Peter_Dyballa@web.de> wrote:=

Am 7.1.2012 um 22:28 schrieb Yuan Luo:

> This happens in emacs23, what am I missing?

Put the useful shell aliases also in ~/.emacs_bash =96 this file is r= ead in by the bash running in a *shell* buffer. (~/.emacs_bash can also be = linked with ~/.bashrc. Maybe it's possible to customise the bash that i= t reads in ~/.bashrc.)

--
Greetings

=A0Pete

The future will be much better tomorrow.
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=96 George = W. Bush


--000e0ce0ce485d1b9c04b5f9772b-- From MAILER-DAEMON Sun Jan 08 02:41:29 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjnNh-0005vH-HW for mharc-help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 02:41:29 -0500 Received: from eggs.gnu.org ([140.186.70.92]:50593) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjnNe-0005v3-Hw for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 02:41:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjnNa-0005iU-Bk for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 02:41:26 -0500 Received: from mail-yw0-f41.google.com ([209.85.213.41]:58837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjnNa-0005hz-8W for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 02:41:22 -0500 Received: by yhoo21 with SMTP id o21so406894yho.0 for ; Sat, 07 Jan 2012 23:41:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=WS7gQr8ByXrAzRKB6lQ1XjkrUwPzhMTTrG0yAZga5Ck=; b=gmGZ2AM9wbMAZglOf+K1vtSVvsIS6AbEvrgrR8YTM6fm4+AuF8ahJm/jWOR1TsRVTi g98OFZ+C8hgaw9bnxAcS6YA9LQedgXnzSbSnOZJy+vlhJc78AzoJa2X51xv3nuBwn1ku H0SrYk2ScXU4we4qYHxb6qaSyv0QlAhhfSUGI= Received: by 10.236.189.72 with SMTP id b48mr464826yhn.78.1326008481215; Sat, 07 Jan 2012 23:41:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.147.182.7 with HTTP; Sat, 7 Jan 2012 23:41:00 -0800 (PST) In-Reply-To: <87obufnuuk.fsf@wanadoo.es> References: <87sjjrnzqy.fsf@wanadoo.es> <87obufnuuk.fsf@wanadoo.es> From: Guido Van Hoecke Date: Sun, 8 Jan 2012 08:41:00 +0100 Message-ID: Subject: Re: Indentation setting for C-Sharp files. To: =?UTF-8?Q?=C3=93scar_Fuentes?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.213.41 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, 08 Jan 2012 07:41:27 -0000 Hi =C3=93scar, On Sat, Jan 7, 2012 at 21:03, =C3=93scar Fuentes wrote: > Guido Van Hoecke writes: > >>>> Is there a way to force emacs to only use tabs for indentation? And su= ch >>>> a setting exists, could it also define the tab width to 4, but still u= se >>>> tabs (so three tabs at the start of the line would be displayed as 12 >>>> whitespace columns)? >>> >>> See the variables tab-width and indent-tabs-mode. >> >> My tab-width is 8 and indent-tabs-mode is t, also in my C# buffers, but >> that does not cause the expected behaviour. > > It does for me. After visiting a .cs file (this activates csharp-mode on > my setup): > > M-x set-variable [enter] tab-width [enter] 4 [enter] > M-x set-variable [enter] indent-tabs-mode [enter] t [enter] > > now the lines I insert use 4 column wide tabs for indenting. > This works in an 'emacs -q' session. So now I've seen that it can work, I'll have to selectively disable parts of my setup until I find the culprit. Thanx for reminding me of the basics :) Kind regards, Guido -- I've always felt sorry for people that don't drink -- remember, when they wake up, that's as good as they're gonna feel all day! http://vanhoecke.org ... and go2 places! From MAILER-DAEMON Sun Jan 08 05:50:24 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjqKW-0002XY-RD for mharc-help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 05:50:24 -0500 Received: from eggs.gnu.org ([140.186.70.92]:49143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjqKT-0002Uo-B0 for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 05:50:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjqKS-00033h-32 for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 05:50:21 -0500 Received: from fmmailgate03.web.de ([217.72.192.234]:57377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjqKR-00033a-UX for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 05:50:20 -0500 Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate03.web.de (Postfix) with ESMTP id 2A5631AF50E74 for ; Sun, 8 Jan 2012 11:50:18 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0LvS9z-1SjkbU3zCV-010Mdd; Sun, 08 Jan 2012 11:50:18 +0100 Subject: Re: customizing dircolors doesn't take effect in emacs shell Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 From: Peter Dyballa In-Reply-To: Date: Sun, 8 Jan 2012 11:50:15 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <3CD4DC10-DEDB-4DB7-ADEB-38166A9E88C0@web.de> References: To: Yuan Luo X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:ew7jKXJ9EomGVvtBFy7Yom7oJCHYL+mx0SnpXbvjQLk CWMsmXlvIdleOIJ7i5Cd6PSzch/idgduI+B4XCM0r0OhRBwDGT l6DF2v5ttmw/ligiOM+YXei7g/33kr4vjDfDC40X2Wlmw290N8 pE0gqpuY3wu1TsqmTalY6qWGJGyEva9pSgCK9+k0JDI1ht4ydX rFz2hIwyPtbkq5s7I/p1g== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.234 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, 08 Jan 2012 10:50:22 -0000 Am 8.1.2012 um 01:36 schrieb Yuan Luo: > What could be the problem here? Are in GNU Emacs' *shell* buffer any shell aliases defined? Is = particularly your ls alias set? Which "ls" is found first for execution: = your recursive alias definition (alias ls=3D'ls --color=3Dauto' =96 = which "ls" is which?) or the ls programme? -- Greetings Pete Bake pizza not war! From MAILER-DAEMON Sun Jan 08 07:21:36 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rjrkm-0002IU-DM for mharc-help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 07:21:36 -0500 Received: from eggs.gnu.org ([140.186.70.92]:35075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjrkj-0002Hw-OS for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 07:21:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rjrki-0006SZ-9Y for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 07:21:33 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:40813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjrki-0006ST-1J for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 07:21:32 -0500 Received: by iacb35 with SMTP id b35so6155015iac.0 for ; Sun, 08 Jan 2012 04:21:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:face:date :message-id:mime-version:content-type; bh=NNHjA2uub453VgtU2AWFF7C9f8Ip6IVYmdsQgVcfUns=; b=nIPVmBqFR4QDGJqp13sKk/SbIDvnH4M2br4YXudmrOzVAYYHqidyynAniaqBuDKEtu kUlfcX35zZZGyav86kLwZWEEus+hIBac5jugqm1DjP8Dvqm5GroMTeqFLXXKMp1FRAXC DYd5OvzDR8IcT+WovQ57GZ3JmwE99o2T6YA1E= Received: by 10.50.189.137 with SMTP id gi9mr15067008igc.1.1326025291206; Sun, 08 Jan 2012 04:21:31 -0800 (PST) Received: from Victoria.local ([123.123.251.229]) by mx.google.com with ESMTPS id rc7sm9835648igb.0.2012.01.08.04.21.25 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 08 Jan 2012 04:21:30 -0800 (PST) From: Leo To: Marius Hofert Subject: Re: Gnus: How to simplify file attachments? In-Reply-To: <4C9CC024-8FB9-4DAD-A795-9CACEE9CCE66@math.ethz.ch> (Marius Hofert's message of "Sat, 7 Jan 2012 16:45:19 +0100") References: <1D83305A-6FE0-44A7-A74D-D2681520068F@math.ethz.ch> <4C9CC024-8FB9-4DAD-A795-9CACEE9CCE66@math.ethz.ch> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3.50 (Mac OS X 10.6.8) Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAMFBMVEUaFRZLMy1dTENxVzKQ WiCrXQ97cmO/dSqSh3akjGTApXy5sJ7Sxo/Sz8Xo6eP9//xJbkruAAAAAWJLR0QAiAUdSAAAAAlw SFlzAAACxQAAAsUBidZ/7wAAAAd0SU1FB9cBBwMJOwHXewoAAAIBSURBVCjPVdNBiNNAFADQ6J4F x3hThHZBBC+WCFI8SS0iezRDcMHLHkLAg6gJH/fgYQ9xYlj2sLK4KHgqCgXFhda2Idmr4kkQPZQ0 nkQMbTypbMmMM2m7ZgYSmMef/5OZPwo7HFnx3uKPcmj0Dht1LWZJ+Hvr7dIFZXRUwl9VRTuuKDJ+ U44gjscknK4hhJaCkYRsWjmBtLqXlJAG2wipNe18OZJu1BBq1E8xafl4s6Jq2mUZGftU1y7CCxnp FVUDWJXx4C66BKBnErbuoaYNtoRTu6EZBsCbMn7W+5qOAR6WvxNOby9jHWC9hAf3n304CdiAByXs 3Nh9roLDkyb/sWV712vYwaLSAn8CPMHIAAzOPDKP2COAFm4Y4ODVWc6xG7KXsN7UeUJjjimx2uwd gCgNhr0i8C/xyCD5CiCKAMY3Bf5oDzx//w/fimscdcAZU2jv9sedx6+nYPPFIoWI/GK6QZ+EFGOR ErAjCnV3vPZ7XqlTIMbOLY7fLcvvmT7rXNWaGDexIY44N12TG2PDp7vqyl57dnCeuWwyNpnEURxk fTbDYeBnKRn4oejPYI4sH6WviBumEZ/GxX4X/x6EcURFZ7E071bjQGAxpcOAEOJuTiroDEea5Szv rVWLYfl7ZiQwSUToxrkux7OLixAWGz22+HIyWTRYcVfomOwvzusfjtVIGgLHf3MAAAAASUVORK5C YII= Date: Sun, 08 Jan 2012 20:19:26 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 Cc: Lars Magne Ingebrigtsen , 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, 08 Jan 2012 12:21:34 -0000 On 2012-01-07 23:45 +0800, Marius Hofert wrote: > Can you explain how, please? > If I DnD a .pdf to a new message buffer (Gnus v5.13, Emacs 24, Mac OS > X 10.7.2), the *code* of the .pdf file is inserted, not a link to the > .pdf file as attachment. To be more precise, a huge amount of code is > inserted starting with "%PDF-1.5..." (as if you look at the .pdf file > as .txt). > Furthermore, DnD of an attachment out of a received email also did not work under my setup above. I just can't "grab" the .pdf. > > Cheers, > > Marius I just used the mouse to drop a file on to this buffer. Worked perfectly. I am using emacs-23(Macport) + gnus(from emacs-24). ,----[ leading # removed ] | | `---- Check dnd-protocol-alist, see if you have mml-dnd-attach-file in it. ,----[ C-h v dnd-protocol-alist RET ] [snipped 18 lines] | This variable was introduced, or its default value was changed, in | version 22.1 of Emacs. | | Value: (("^file:///" . mml-dnd-attach-file) | ("^file://" . dnd-open-file) | ("^file:" . mml-dnd-attach-file) | ("^file:///" . dnd-open-local-file) | ("^file://" . dnd-open-file) | ("^file:" . dnd-open-local-file) | ("^\\(https?\\|ftp\\|file\\|nfs\\)://" . dnd-open-file)) | | Original value was | (("^file:///" . dnd-open-local-file) | ("^file://" . dnd-open-file) | ("^file:" . dnd-open-local-file) | ("^\\(https?\\|ftp\\|file\\|nfs\\)://" . dnd-open-file)) | | Local in buffer *unsent wide reply to Marius Hofert*; global value is | (("^file:///" . dnd-open-local-file) | ("^file://" . dnd-open-file) | ("^file:" . dnd-open-local-file) | ("^\\(https?\\|ftp\\|file\\|nfs\\)://" . dnd-open-file)) `---- From MAILER-DAEMON Sun Jan 08 08:02:05 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjsNx-0003tj-8v for mharc-help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 08:02:05 -0500 Received: from eggs.gnu.org ([140.186.70.92]:43362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjsNu-0003tI-8s for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 08:02:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjsNs-0004Gc-7i for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 08:02:02 -0500 Received: from mail-yw0-f41.google.com ([209.85.213.41]:57968) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjsNr-0004GX-VJ for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 08:02:00 -0500 Received: by yhoo21 with SMTP id o21so442769yho.0 for ; Sun, 08 Jan 2012 05:01:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:cc:content-type; bh=GsfG3I25CA7BoT6fVHnSJ8j4xTB08M5mTqvKPydbkkI=; b=kTBpouQFr6tIzZiuElX6ob9x3kJmUsxHvlafnaMLaCeqOCPO1cV1NKYgPiPkJkhS8u jZiMA4VtqbjA+CaIPd5YoY/rPj+k8uhALcvNUTaqNDXCqrZaTsQm6FXm8Tquk8wXTsMS GwrTDLz9bBDsTA9IxUoVwPVAWERpe0FWA4Tfs= Received: by 10.236.124.206 with SMTP id x54mr6597229yhh.112.1326027719123; Sun, 08 Jan 2012 05:01:59 -0800 (PST) MIME-Version: 1.0 Received: by 10.147.182.7 with HTTP; Sun, 8 Jan 2012 05:01:38 -0800 (PST) From: Guido Van Hoecke Date: Sun, 8 Jan 2012 14:01:38 +0100 Message-ID: Subject: Trying to use only tabs for indenting c# files - csharp-mode error? To: help-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.213.41 Cc: =?UTF-8?Q?=C3=93scar_Fuentes?= X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 08 Jan 2012 13:02:03 -0000 Hi, Objective: use only tabs for indenting c# files I start with an 'emacs -Q' session. C-x C-f MyClass.cs (This file has been created with MonoDevelop, and uses only tabs for indentation, and - in MonoDevelop - the tab width is set to 4.) As expected, MyClass.cs is shown in fundamental mode. We want to see the whitespace, so M-x whitespace-mode This shows clearly that only tabs are used for indentation. So lets load csharp-mode and select that mode: M-x load-file csharp-mode.el M-X csharp-mode That removes the whitespace visualisation, so reactivate it: M-x whitespace-mode Tell emacs that it should use tabs for indenting: M-x set-variable [enter] indent-tabs-mode [enter] t [enter] Ultimately, I want the tab-width set to 4, but for now I just want to leave or set it to 8: M-x set-variable [enter] tab-width [enter] 8 [enter] I will use following legend when showing file content: # represents a leading tab + represents a leading empty space (following a preceding tab) = represents a leading space character Here's the source file: namespace Application { #+++++++public class MyClass #+++++++{ #+++++++#+++++++public MyClass () #+++++++#+++++++{ #+++++++#+++++++} #+++++++} } Deleting the first tab changes it to: namespace Application { =======public class MyClass #+++++++{ #+++++++#+++++++public MyClass () #+++++++#+++++++{ #+++++++#+++++++} #+++++++} } Hitting tab key while point is the 'public class' line changes it to: namespace Application { ==public class MyClass #+++++++{ #+++++++#+++++++public MyClass () #+++++++#+++++++{ #+++++++#+++++++} #+++++++} } I can't help but feeling that this is in error! The tab-width is 8, indent-tabs-mode is t and still, it uses spaces to indent, and only two of them. For the record, the emacs and csharp-mode versions: GNU Emacs 23.3.1 (x86_64-apple-darwin, NS apple-appkit-1038.36) of 2011-12-13 on bob.porkrind.org ;;; csharp-mode.el --- C# mode derived mode ;; Author : Dylan R. E. Moonfire (original) ;; Maintainer : Dino Chiesa ;; Created : Feburary 2005 ;; Modified : May 2011 ;; Version : 0.8.6 ;; Keywords : c# languages oop mode ;; X-URL : http://code.google.com/p/csharpmode/ ;; Last-saved : <2011-May-21 20:28:30> So one more test: insert a 'public string MyString' line before the 'public Myclass()' line by positioning point after the second { and just typing: namespace Application { ==public class MyClass #+++++++{ #+++++++==public string MyString; #+++++++#+++++++public MyClass () #+++++++#+++++++{ #+++++++#+++++++} #+++++++} } The leading tab is respected and replicated, but the new line is then indented by two spaces rather than by an extra tab!? And finally" M-< C-SPC M-> produces following result: namespace Application { ==public class MyClass =={ ====public string MyString; ====public MyClass () ===={ ====} ==} } So obviously neither tab-width nor indent-tabs-mode are obeyed nor respected! Please advise, TIA, Guido -- If I had only known, I would have been a locksmith. -- Albert Einstein http://vanhoecke.org ... and go2 places! From MAILER-DAEMON Sun Jan 08 09:04:43 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjtMZ-0006Qt-2A for mharc-help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 09:04:43 -0500 Received: from eggs.gnu.org ([140.186.70.92]:59005) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjtMX-0006Qm-Es for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 09:04:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjtMW-0006i0-G5 for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 09:04:41 -0500 Received: from lo.gmane.org ([80.91.229.12]:36219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjtMW-0006hv-AQ for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 09:04:40 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RjtMV-0004Bh-B5 for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 15:04:39 +0100 Received: from 123.201.50.148 ([123.201.50.148]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jan 2012 15:04:39 +0100 Received: from nsivaram.net by 123.201.50.148 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jan 2012 15:04:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Sivaram Neelakantan Subject: Re: Gnus: How to simplify file attachments? Date: Sun, 08 Jan 2012 19:34:27 +0530 Lines: 32 Message-ID: <821ura5lzo.fsf@gmail.com> References: <1D83305A-6FE0-44A7-A74D-D2681520068F@math.ethz.ch> <4C9CC024-8FB9-4DAD-A795-9CACEE9CCE66@math.ethz.ch> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 123.201.50.148 User-Mail-Address: nsivaram.net@gmail.com User-Agent: Gnus/5.110017 (No Gnus v0.17) Emacs/23.3 (windows-nt) Cancel-Lock: sha1:qMX8buF3jaKmxli6lC/vYL8vI1M= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 08 Jan 2012 14:04:42 -0000 On Sun, Jan 08 2012,Leo wrote: > On 2012-01-07 23:45 +0800, Marius Hofert wrote: >> Can you explain how, please? >> If I DnD a .pdf to a new message buffer (Gnus v5.13, Emacs 24, Mac OS >> X 10.7.2), the *code* of the .pdf file is inserted, not a link to the >> .pdf file as attachment. To be more precise, a huge amount of code is >> inserted starting with "%PDF-1.5..." (as if you look at the .pdf file >> as .txt). >> Furthermore, DnD of an attachment out of a received email also did >> not work under my setup above. I just can't "grab" the .pdf. >> >> Cheers, >> >> Marius > > I just used the mouse to drop a file on to this buffer. Worked > perfectly. I am using emacs-23(Macport) + gnus(from emacs-24). > Can confirm that DnD attachments work for me too. GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-03-10 on 3249CTO No Gnus v0.17 [snipped 34 lines] sivaram -- From MAILER-DAEMON Sun Jan 08 09:58:53 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjuCz-0005PC-22 for mharc-help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 09:58:53 -0500 Received: from eggs.gnu.org ([140.186.70.92]:57156) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjuCv-0005Is-Jc for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 09:58:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjuCu-00050z-Ll for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 09:58:49 -0500 Received: from impaqm1.telefonica.net ([213.4.138.17]:41597 helo=telefonica.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjuCu-00050Y-74 for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 09:58:48 -0500 Received: from IMPmailhost2.adm.correo ([10.20.102.39]) by IMPaqm1.telefonica.net with bizsmtp id K2Xy1i00E0r0BT6012ykDB; Sun, 08 Jan 2012 15:58:44 +0100 Received: from qcore ([88.11.106.32]) by IMPmailhost2.adm.correo with BIZ IMP id K2yj1i00B0hxhHC1i2ykxK; Sun, 08 Jan 2012 15:58:44 +0100 X-Brightmail-Tracker: AAAAAA== X-original-sender: 981711563@telefonica.net From: =?utf-8?Q?=C3=93scar_Fuentes?= To: Guido Van Hoecke Subject: Re: Trying to use only tabs for indenting c# files - csharp-mode error? References: Date: Sun, 08 Jan 2012 15:58:43 +0100 In-Reply-To: (Guido Van Hoecke's message of "Sun, 8 Jan 2012 14:01:38 +0100") Message-ID: <87k452nsv0.fsf@wanadoo.es> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.4.138.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: Sun, 08 Jan 2012 14:58:50 -0000 Hello Guido. I have no time right now to delve into this problem, but this may be interesting: C-h f csharp-mode (setq indent-tabs-mode nil) ;; tabs are evil <...snipped documentation> I don't know if this has something to do with a limitation or known bug on csharp-mode or it simply is a personal preference of the author (like some other he hard-coded into csharp-mode.el), but it would good to contact him. OTOH, a quick look at the begining of your message points to a difference on how we tested the issue: in my case I activated indent-tabs-mode after activating csharp-mode, while on yours it was the reverse. Sorry if you tried both ways. From MAILER-DAEMON Sun Jan 08 10:46:43 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjuxH-0000QQ-Jp for mharc-help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 10:46:43 -0500 Received: from eggs.gnu.org ([140.186.70.92]:50595) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjuxF-0000Nq-AE for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 10:46:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjuxD-0004Vk-MX for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 10:46:41 -0500 Received: from edge20.ethz.ch ([82.130.99.26]:38070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjuxD-0004VW-8w for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 10:46:39 -0500 Received: from CAS20.d.ethz.ch (172.31.51.110) by edge20.ethz.ch (82.130.99.26) with Microsoft SMTP Server (TLS) id 14.1.355.2; Sun, 8 Jan 2012 16:46:35 +0100 Received: from 80-218-246-165.dclient.hispeed.ch (80.218.246.165) by CAS20.d.ethz.ch (172.31.51.110) with Microsoft SMTP Server (TLS) id 14.1.355.2; Sun, 8 Jan 2012 16:46:35 +0100 Subject: Re: Gnus: How to simplify file attachments? MIME-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="us-ascii" From: Marius Hofert In-Reply-To: Date: Sun, 8 Jan 2012 16:46:35 +0100 Content-Transfer-Encoding: quoted-printable Message-ID: References: <1D83305A-6FE0-44A7-A74D-D2681520068F@math.ethz.ch> <4C9CC024-8FB9-4DAD-A795-9CACEE9CCE66@math.ethz.ch> To: Leo X-Mailer: Apple Mail (2.1251.1) X-Originating-IP: [80.218.246.165] X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.130.99.26 Cc: Emacs help X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 08 Jan 2012 15:46:42 -0000 On 2012-01-08, at 13:19 , Leo wrote: > On 2012-01-07 23:45 +0800, Marius Hofert wrote: >> Can you explain how, please? >> If I DnD a .pdf to a new message buffer (Gnus v5.13, Emacs 24, Mac OS >> X 10.7.2), the *code* of the .pdf file is inserted, not a link to the >> .pdf file as attachment. To be more precise, a huge amount of code is >> inserted starting with "%PDF-1.5..." (as if you look at the .pdf file >> as .txt). >> Furthermore, DnD of an attachment out of a received email also did = not work under my setup above. I just can't "grab" the .pdf.=20 >>=20 >> Cheers, >>=20 >> Marius >=20 > I just used the mouse to drop a file on to this buffer. Worked > perfectly. I am using emacs-23(Macport) + gnus(from emacs-24). >=20 > ,----[ leading # removed ] > | > | > `---- >=20 > Check dnd-protocol-alist, see if you have mml-dnd-attach-file in it. >=20 > ,----[ C-h v dnd-protocol-alist RET ] > [snipped 18 lines] > | This variable was introduced, or its default value was changed, in > | version 22.1 of Emacs. > |=20 > | Value: (("^file:///" . mml-dnd-attach-file) > | ("^file://" . dnd-open-file) > | ("^file:" . mml-dnd-attach-file) > | ("^file:///" . dnd-open-local-file) > | ("^file://" . dnd-open-file) > | ("^file:" . dnd-open-local-file) > | ("^\\(https?\\|ftp\\|file\\|nfs\\)://" . dnd-open-file)) > |=20 I don't have the first three lines in my dnd-protocol-alist. You can I get them?=20 > | Original value was=20 > | (("^file:///" . dnd-open-local-file) > | ("^file://" . dnd-open-file) > | ("^file:" . dnd-open-local-file) > | ("^\\(https?\\|ftp\\|file\\|nfs\\)://" . dnd-open-file)) > |=20 this is what I have. Cheers, Marius > | Local in buffer *unsent wide reply to Marius Hofert*; global value = is=20 > | (("^file:///" . dnd-open-local-file) > | ("^file://" . dnd-open-file) > | ("^file:" . dnd-open-local-file) > | ("^\\(https?\\|ftp\\|file\\|nfs\\)://" . dnd-open-file)) > `---- From MAILER-DAEMON Sun Jan 08 10:50:12 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rjv0e-0001ks-Hz for mharc-help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 10:50:12 -0500 Received: from eggs.gnu.org ([140.186.70.92]:53218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjv0b-0001km-QO for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 10:50:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rjv0Z-0005Cf-IO for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 10:50:09 -0500 Received: from mail-yw0-f41.google.com ([209.85.213.41]:42546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjv0Z-0005CT-Fs for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 10:50:07 -0500 Received: by yhoo21 with SMTP id o21so468164yho.0 for ; Sun, 08 Jan 2012 07:50:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=ZoKRV4/QTMoRDJQP2FM9wKrQoztauyhRERWhTgmQ71w=; b=HRhh5EVU6Jnh9Lzpxhhv5LHk3nXukCxV2JyrhGjKLE156rx/L8GBP4XFfbhY8RjSqK i8qNnEqRPQw9+aqR/cHawjlmtbDmoGDRZrIfKg5UoDynTR435Hvbalbuf0ooWHruYiMq PkLX5kBiuPoyeLYKzfs1QXUqYAPOt6mwuOUrk= Received: by 10.236.73.129 with SMTP id v1mr16821590yhd.129.1326037806126; Sun, 08 Jan 2012 07:50:06 -0800 (PST) MIME-Version: 1.0 Received: by 10.147.182.7 with HTTP; Sun, 8 Jan 2012 07:49:45 -0800 (PST) In-Reply-To: <87k452nsv0.fsf@wanadoo.es> References: <87k452nsv0.fsf@wanadoo.es> From: Guido Van Hoecke Date: Sun, 8 Jan 2012 16:49:45 +0100 Message-ID: Subject: Re: Trying to use only tabs for indenting c# files - csharp-mode error? To: =?UTF-8?Q?=C3=93scar_Fuentes?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.213.41 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, 08 Jan 2012 15:50:11 -0000 Hi =C3=93scar, On Sun, Jan 8, 2012 at 15:58, =C3=93scar Fuentes wrote: > > =C2=A0 =C2=A0(setq indent-tabs-mode nil) ;; tabs are evil > <...snipped documentation> > > I don't know if this has something to do with a limitation or known bug > on csharp-mode or it simply is a personal preference of the author (like > some other he hard-coded into csharp-mode.el), but it would good to > contact him. I normally do not use tabs in my coding. But I am collaborating here in C# projects where the technical lead dictates tab for indenting (and sets their width to 4). > OTOH, a quick look at the begining of your message points to a > difference on how we tested the issue: in my case I activated > indent-tabs-mode after activating csharp-mode, while on yours it was the > reverse. Sorry if you tried both ways. Well I tried it now and I'm sorry that it does not make any difference. Guido -- Piping down the valleys wild, Piping songs of pleasant glee, On a cloud I saw a child, And he laughing said to me: "Pipe a song about a Lamb!" So I piped with merry cheer. "Piper, pipe that song again;" So I piped: he wept to hear. -- William Blake, "Songs of Innocence" http://vanhoecke.org ... and go2 places! From MAILER-DAEMON Sun Jan 08 11:20:11 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjvTf-0001r1-TG for mharc-help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 11:20:11 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjvTd-0001qs-9V for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 11:20:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjvTc-0002EG-3P for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 11:20:09 -0500 Received: from lo.gmane.org ([80.91.229.12]:52947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjvTb-0002Dr-NF for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 11:20:07 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RjvTa-0005gt-No for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 17:20:06 +0100 Received: from 69.211.85.79.rev.sfr.net ([79.85.211.69]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jan 2012 17:20:06 +0100 Received: from thierry.volpiatto by 69.211.85.79.rev.sfr.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 08 Jan 2012 17:20:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Thierry Volpiatto Subject: Re: Gnus: How to simplify file attachments? Date: Sun, 08 Jan 2012 17:19:49 +0100 Lines: 32 Message-ID: <87ty469nfe.fsf@gmail.com> References: <1D83305A-6FE0-44A7-A74D-D2681520068F@math.ethz.ch> <4C9CC024-8FB9-4DAD-A795-9CACEE9CCE66@math.ethz.ch> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 69.211.85.79.rev.sfr.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:xwQlViEyc7zZV/7QKffNJ6yHq0o= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 08 Jan 2012 16:20:10 -0000 Marius Hofert writes: > I don't have the first three lines in my dnd-protocol-alist. > You can I get them? Are you sure you check the local value in your message buffer: (current-buffer) ==> # dnd-protocol-alist ; Local value from this buffer ==> (("^file:///" . mml-dnd-attach-file) ("^file://" . dnd-open-file) ("^file:" . mml-dnd-attach-file) ("^file:///" . dnd-open-local-file) ("^file://" . dnd-open-file) ("^file:" . dnd-open-local-file) ("^\\(https?\\|ftp\\|file\\|nfs\\)://" . dnd-open-file)) dnd-protocol-alist ; Global value ==> (("^file:///" . dnd-open-local-file) ("^file://" . dnd-open-file) ("^file:" . dnd-open-local-file) ("^\\(https?\\|ftp\\|file\\|nfs\\)://" . dnd-open-file)) -- Thierry Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997 From MAILER-DAEMON Sun Jan 08 12:29:58 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjwZC-0003HP-5I for mharc-help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 12:29:58 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjwZ9-0003H8-7o for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 12:29:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjwZ8-00031o-8w for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 12:29:55 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:33181) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjwZ8-00031k-4V for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 12:29:54 -0500 Received: by wgbdt13 with SMTP id dt13so722471wgb.30 for ; Sun, 08 Jan 2012 09:29:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=AhAtafrun2paqDMFkOcLiqFufSqYHM/5ys7sx4Et9wc=; b=ecK4Z4fwczkviXGzp9d6Lv6uCtJ9Ilzmc8SKq9q57fQfUPnY1CKrlTMETvai+B5eEu +RSufOXY7LgXzjEE1tJDlD7bL/GeRc4ZXXw+FgXQ8BlwWpmq7/dqMaLeiLbg0p1gCEdR K0RzxAc/ZgLVVQb/+Wv3c1fQoJE85LR/jm4Ws= MIME-Version: 1.0 Received: by 10.216.138.219 with SMTP id a69mr2441214wej.6.1326043792712; Sun, 08 Jan 2012 09:29:52 -0800 (PST) Received: by 10.223.72.8 with HTTP; Sun, 8 Jan 2012 09:29:52 -0800 (PST) In-Reply-To: References: Date: Sun, 8 Jan 2012 09:29:52 -0800 Message-ID: Subject: Trying to use only tabs for indenting c# files - csharp-mode error? From: PJ Weisberg To: Guido Van Hoecke Content-Type: multipart/alternative; boundary=0016e6dbde5838a5a404b607a188 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.49 Cc: =?ISO-8859-1?Q?=D3scar_Fuentes?= , "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, 08 Jan 2012 17:29:56 -0000 --0016e6dbde5838a5a404b607a188 Content-Type: text/plain; charset=ISO-8859-1 On Sunday, January 8, 2012, Guido Van Hoecke wrote: > I can't help but feeling that this is in error! > > The tab-width is 8, > indent-tabs-mode is t > and still, it uses spaces to indent, and only two of them. I know nothing about csharp-mode, but you have a misperception here. If Emacs feels that the proper place for that line to start is column 2, and the tab width is 8, then spaces *must* be used, because no combination of tabs can get you to column 2. I know some modes have knobs you can adjust to get different indentation styles, but I don't know what's available in csharp-mode. Given what Oscar pointed out, I wouldn't be surprised if the indentation function contains some implicit assumption that will result in spaces always being used, anyway. -- -PJ --0016e6dbde5838a5a404b607a188 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sunday, January 8, 2012, Guido Van Hoecke <guivho@gmail.com> wrote:
> I can't help but feel= ing that this is in error!
>
> The tab-width is 8,
> inde= nt-tabs-mode is t
> and still, it uses spaces to indent, and only two of them.

I kn= ow nothing about csharp-mode, but you have a misperception here. =A0If Emac= s feels that the proper place for that line to start is column 2, and the t= ab width is 8, then spaces *must* be used, because no combination of tabs c= an get you to column 2. =A0I know some modes have knobs you can adjust to g= et different indentation styles, but I don't know what's available = in csharp-mode.

Given what Oscar pointed out, I wouldn't be surprised if the indent= ation function contains some implicit assumption that will result in spaces= always being used, anyway.

--

-PJ
--0016e6dbde5838a5a404b607a188-- From MAILER-DAEMON Sun Jan 08 14:06:50 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rjy4w-0002rJ-SO for mharc-help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 14:06:50 -0500 Received: from eggs.gnu.org ([140.186.70.92]:57642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjy4u-0002rB-LZ for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 14:06:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rjy4t-0006ow-7y for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 14:06:48 -0500 Received: from impaqm3.telefonica.net ([213.4.138.19]:60420 helo=telefonica.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rjy4s-0006om-SD for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 14:06:47 -0500 Received: from IMPmailhost2.adm.correo ([10.20.102.39]) by IMPaqm3.telefonica.net with bizsmtp id K5K41i00B0r0BT63P76kp1; Sun, 08 Jan 2012 20:06:44 +0100 Received: from qcore ([88.11.106.32]) by IMPmailhost2.adm.correo with BIZ IMP id K76j1i0040hxhHC1i76kQP; Sun, 08 Jan 2012 20:06:44 +0100 X-Brightmail-Tracker: AAAAAA== X-original-sender: 981711563@telefonica.net From: =?utf-8?Q?=C3=93scar_Fuentes?= To: Guido Van Hoecke Subject: Re: Trying to use only tabs for indenting c# files - csharp-mode error? References: Date: Sun, 08 Jan 2012 20:06:42 +0100 In-Reply-To: (Guido Van Hoecke's message of "Sun, 8 Jan 2012 14:01:38 +0100") Message-ID: <87ehvanhdp.fsf@wanadoo.es> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.4.138.19 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, 08 Jan 2012 19:06:49 -0000 Guido Van Hoecke writes: [snip] > namespace Application > { > ==public class MyClass > =={ > ====public string MyString; > ====public MyClass () > ===={ > ====} > ==} > } > > So obviously neither tab-width nor indent-tabs-mode are obeyed nor > respected! All your examples here makes me think that csharp-mode is indenting by two spaces per level. As PJ says, tabs will not be used unless the line is preceded by `tab-width' spaces (8 in your case). If you set tab-width to 4, I expect to see tabs used for the most deeply indented lines on the example quoted above. Put this in your .emacs and see if it makes a difference: (defun my-csharp-mode-fn () (c-set-style "C#") (setq tab-width 4) (setq indent-tabs-mode t)) (add-hook 'csharp-mode-hook 'my-csharp-mode-fn) From MAILER-DAEMON Sun Jan 08 14:20:08 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RjyHo-0006DF-8x for mharc-help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 14:20:08 -0500 Received: from eggs.gnu.org ([140.186.70.92]:37056) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjyHm-0006B5-43 for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 14:20:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RjyHk-0008Tt-N6 for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 14:20:06 -0500 Received: from mail-gy0-f169.google.com ([209.85.160.169]:41564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RjyHk-0008Sz-J5 for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 14:20:04 -0500 Received: by ghrr18 with SMTP id r18so1458674ghr.0 for ; Sun, 08 Jan 2012 11:20:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=Mcon92Y1B6FHZIy+boHQWxhl2QdS9lGrjQT8vy/2g8M=; b=jMK/o7s3U53UzDmH3OI/LHAkrDGGCzaZ0cu468U/H3QbwNWyRkicbJcTZgd74yPis6 v3nHMZc/EoDZrNO7jCSdta5d5GF+8b0KS61BQBkEvuGnlZz7rEASnx+6MkkxGVxxP7v7 6Xakt2WO+dmZ6to70qjvQ5IS37an+9jwTeqJg= Received: by 10.236.73.129 with SMTP id v1mr17281694yhd.129.1326050403261; Sun, 08 Jan 2012 11:20:03 -0800 (PST) MIME-Version: 1.0 Received: by 10.147.182.7 with HTTP; Sun, 8 Jan 2012 11:19:42 -0800 (PST) In-Reply-To: <87ehvanhdp.fsf@wanadoo.es> References: <87ehvanhdp.fsf@wanadoo.es> From: Guido Van Hoecke Date: Sun, 8 Jan 2012 20:19:42 +0100 Message-ID: Subject: Re: Trying to use only tabs for indenting c# files - csharp-mode error? To: =?UTF-8?Q?=C3=93scar_Fuentes?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.160.169 Cc: help-gnu-emacs@gnu.org, Dino Chiesa X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 08 Jan 2012 19:20:07 -0000 On Sun, Jan 8, 2012 at 20:06, =C3=93scar Fuentes wrote: > Guido Van Hoecke writes: > > [snip] > >> namespace Application >> { >> =3D=3Dpublic class MyClass >> =3D=3D{ >> =3D=3D=3D=3Dpublic string MyString; >> =3D=3D=3D=3Dpublic MyClass () >> =3D=3D=3D=3D{ >> =3D=3D=3D=3D} >> =3D=3D} >> } >> >> So obviously neither tab-width nor indent-tabs-mode are obeyed nor >> respected! > > All your examples here makes me think that csharp-mode is indenting by > two spaces per level. As PJ says, tabs will not be used unless the line > is preceded by `tab-width' spaces (8 in your case). If you set tab-width > to 4, I expect to see tabs used for the most deeply indented lines on > the example quoted above. > > Put this in your .emacs and see if it makes a difference: > > (defun my-csharp-mode-fn () > =C2=A0(c-set-style "C#") > =C2=A0(setq tab-width 4) > =C2=A0(setq indent-tabs-mode t)) > > (add-hook 'csharp-mode-hook 'my-csharp-mode-fn) It makes no difference. Guido -- I prefer the most unjust peace to the most righteous war. -- Cicero Even peace may be purchased at too high a price. -- Poor Richard http://vanhoecke.org ... and go2 places! From MAILER-DAEMON Sun Jan 08 19:50:00 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rk3R2-00019D-Ti for mharc-help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 19:50:00 -0500 Received: from eggs.gnu.org ([140.186.70.92]:53247) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rk0Md-0005B4-3H for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 16:33:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rk0Mc-0001db-9B for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 16:33:15 -0500 Received: from mail-yx0-f189.google.com ([209.85.213.189]:43987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rk0Mc-0001dI-6Z for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 16:33:14 -0500 Received: by yenm3 with SMTP id m3so2517236yen.6 for ; Sun, 08 Jan 2012 13:33:12 -0800 (PST) Received: by 10.236.176.133 with SMTP id b5mr30706yhm.9.1326058392148; Sun, 08 Jan 2012 13:33:12 -0800 (PST) Path: glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: gnu.emacs.help Date: Sun, 8 Jan 2012 13:33:11 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=68.228.84.160; posting-account=S61AnQkAAADt4_PSYpI-Tm-z1E4cd7xa NNTP-Posting-Host: 68.228.84.160 References: User-Agent: G2/1.0 X-Google-Web-Client: true MIME-Version: 1.0 Message-ID: <206219.2781.1326058392058.JavaMail.geo-discussion-forums@yqnd19> Subject: Re: I can't use Alt+Shift From: unfrostedpoptart To: gnu.emacs.help@googlegroups.com Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.213.189 X-Mailman-Approved-At: Sun, 08 Jan 2012 19:49:59 -0500 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: gnu.emacs.help@googlegroups.com 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, 08 Jan 2012 21:33:15 -0000 Yeah - I recently ran into a lot of similar issues. You need to run xev and get really good at xmodmap! From MAILER-DAEMON Sun Jan 08 20:05:57 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rk3gS-0002nE-Vg for mharc-help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 20:05:56 -0500 Received: from eggs.gnu.org ([140.186.70.92]:57475) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rk3gQ-0002mD-OR for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 20:05:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rk3gP-0003sE-HZ for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 20:05:54 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:48397) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rk3gP-0003rw-97 for help-gnu-emacs@gnu.org; Sun, 08 Jan 2012 20:05:53 -0500 Received: by bkaq10 with SMTP id q10so1508746bka.0 for ; Sun, 08 Jan 2012 17:05:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=JiMMQkZKm0f5Qk+CSRfWoLiIzUM1aBUnJywU3JUmDXE=; b=OeOAjTK8ygjPH9R5qsEG1uX695TDLB8KdurJRuwuBGWa0LXXJ/xJEB5Coom9I6ntP9 VtMs1kWDHD+/DXnCCBB8a/Fk9xce9VsXkvSDzJDEAhEISVd0tRU/VqwYMWugF3j9ZO7W PpUhmZajwYKfULTD6b7tfLhAL0BHo9BlGD/4U= MIME-Version: 1.0 Received: by 10.205.127.2 with SMTP id gy2mr6275303bkc.87.1326071151783; Sun, 08 Jan 2012 17:05:51 -0800 (PST) Received: by 10.205.83.135 with HTTP; Sun, 8 Jan 2012 17:05:51 -0800 (PST) In-Reply-To: <3CD4DC10-DEDB-4DB7-ADEB-38166A9E88C0@web.de> References: <3CD4DC10-DEDB-4DB7-ADEB-38166A9E88C0@web.de> Date: Sun, 8 Jan 2012 20:05:51 -0500 Message-ID: Subject: Re: customizing dircolors doesn't take effect in emacs shell From: Yuan Luo To: Peter Dyballa Content-Type: multipart/alternative; boundary=000e0ce0ce48f2ef6a04b60dffab X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.41 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, 09 Jan 2012 01:05:55 -0000 --000e0ce0ce48f2ef6a04b60dffab Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Below is the output from 'alias' in an emacs shell alias alert=3D'notify-send --urgency=3Dlow -i "$([ $? =3D 0 ] && echo termi= nal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' alias egrep=3D'egrep --color=3Dauto' alias fgrep=3D'fgrep --color=3Dauto' alias grep=3D'grep --color=3Dauto' alias l=3D'ls -CF' alias la=3D'ls -A' alias ll=3D'ls -alF' alias ls=3D'ls --color=3Dauto' Anything noticeable? Best, Yuan On Sun, Jan 8, 2012 at 5:50 AM, Peter Dyballa wrote: > > Am 8.1.2012 um 01:36 schrieb Yuan Luo: > > > What could be the problem here? > > Are in GNU Emacs' *shell* buffer any shell aliases defined? Is > particularly your ls alias set? Which "ls" is found first for execution: > your recursive alias definition (alias ls=3D'ls --color=3Dauto' =96 which= "ls" is > which?) or the ls programme? > > -- > Greetings > > Pete > > Bake pizza not war! > > --000e0ce0ce48f2ef6a04b60dffab Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Below is the output from 'alias' in an emacs shell

alias ale= rt=3D'notify-send --urgency=3Dlow -i "$([ $? =3D 0 ] && ec= ho terminal || echo error)" "$(history|tail -n1|sed -e '\'= ;'s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'=
alias egrep=3D'egrep --color=3Dauto'
alias fgrep=3D'fgrep --= color=3Dauto'
alias grep=3D'grep --color=3Dauto'
alias l= =3D'ls -CF'
alias la=3D'ls -A'
alias ll=3D'ls -al= F'
alias ls=3D'ls --color=3Dauto'

Anything noticeable?

Best,
Yuan

On Sun, Jan 8, 2012 at 5:50 AM, Peter Dyballa <Peter_Dyballa@web.de> w= rote:

Am 8.1.2012 um 01:36 schrieb Yuan Luo:

> What could be the problem here?

Are in GNU Emacs' *shell* buffer any shell aliases defined? Is pa= rticularly your ls alias set? Which "ls" is found first for execu= tion: your recursive alias definition (alias ls=3D'ls --color=3Dauto= 9; =96 which "ls" is which?) or the ls programme?

--
Greetings

=A0Pete

Bake pizza not war!


--000e0ce0ce48f2ef6a04b60dffab-- From MAILER-DAEMON Mon Jan 09 03:09:51 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkAIh-0004d1-6S for mharc-help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 03:09:51 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkAIY-0004FL-I7 for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 03:09:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkAIT-0001SQ-UO for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 03:09:42 -0500 Received: from edge10.ethz.ch ([82.130.75.186]:9237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkAIT-0001S9-Kn for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 03:09:37 -0500 Received: from CAS12.d.ethz.ch (172.31.38.212) by edge10.ethz.ch (82.130.75.186) with Microsoft SMTP Server (TLS) id 14.1.355.2; Mon, 9 Jan 2012 09:09:34 +0100 Received: from 80-218-246-165.dclient.hispeed.ch (80.218.246.165) by CAS12.d.ethz.ch (172.31.38.212) with Microsoft SMTP Server (TLS) id 14.1.355.2; Mon, 9 Jan 2012 09:09:35 +0100 Subject: Re: Gnus: How to simplify file attachments? MIME-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="us-ascii" From: Marius Hofert In-Reply-To: Date: Mon, 9 Jan 2012 09:09:34 +0100 Content-Transfer-Encoding: quoted-printable Message-ID: <8E3C5909-7039-4465-8379-8FFB9AB10CB3@math.ethz.ch> References: <1D83305A-6FE0-44A7-A74D-D2681520068F@math.ethz.ch> <4C9CC024-8FB9-4DAD-A795-9CACEE9CCE66@math.ethz.ch> To: Leo X-Mailer: Apple Mail (2.1251.1) X-Originating-IP: [80.218.246.165] X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.130.75.186 Cc: Lars Magne Ingebrigtsen , 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, 09 Jan 2012 08:09:47 -0000 I realized that I can "customize" dnd-protocol-alist. I added the three = lines as in Leo's setup (mml-dnd-attach-file, dnd-open-file, = mml-dnd-attach-file) [I even used the same order]. Still, drag-and-drop = of files to a new message buffer includes the file contents, not the = file as attachment. Do I need to install anything to get this feature? Cheers, Marius On 2012-01-08, at 13:19 , Leo wrote: > On 2012-01-07 23:45 +0800, Marius Hofert wrote: >> Can you explain how, please? >> If I DnD a .pdf to a new message buffer (Gnus v5.13, Emacs 24, Mac OS >> X 10.7.2), the *code* of the .pdf file is inserted, not a link to the >> .pdf file as attachment. To be more precise, a huge amount of code is >> inserted starting with "%PDF-1.5..." (as if you look at the .pdf file >> as .txt). >> Furthermore, DnD of an attachment out of a received email also did = not work under my setup above. I just can't "grab" the .pdf.=20 >>=20 >> Cheers, >>=20 >> Marius >=20 > I just used the mouse to drop a file on to this buffer. Worked > perfectly. I am using emacs-23(Macport) + gnus(from emacs-24). >=20 > ,----[ leading # removed ] > | > | > `---- >=20 > Check dnd-protocol-alist, see if you have mml-dnd-attach-file in it. >=20 > ,----[ C-h v dnd-protocol-alist RET ] > [snipped 18 lines] > | This variable was introduced, or its default value was changed, in > | version 22.1 of Emacs. > |=20 > | Value: (("^file:///" . mml-dnd-attach-file) > | ("^file://" . dnd-open-file) > | ("^file:" . mml-dnd-attach-file) > | ("^file:///" . dnd-open-local-file) > | ("^file://" . dnd-open-file) > | ("^file:" . dnd-open-local-file) > | ("^\\(https?\\|ftp\\|file\\|nfs\\)://" . dnd-open-file)) > |=20 > | Original value was=20 > | (("^file:///" . dnd-open-local-file) > | ("^file://" . dnd-open-file) > | ("^file:" . dnd-open-local-file) > | ("^\\(https?\\|ftp\\|file\\|nfs\\)://" . dnd-open-file)) > |=20 > | Local in buffer *unsent wide reply to Marius Hofert*; global value = is=20 > | (("^file:///" . dnd-open-local-file) > | ("^file://" . dnd-open-file) > | ("^file:" . dnd-open-local-file) > | ("^\\(https?\\|ftp\\|file\\|nfs\\)://" . dnd-open-file)) > `---- From MAILER-DAEMON Mon Jan 09 04:53:10 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkBug-00082d-9y for mharc-help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 04:53:10 -0500 Received: from eggs.gnu.org ([140.186.70.92]:44747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkBud-0007wD-Id for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 04:53:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkBuZ-0000lx-KR for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 04:53:07 -0500 Received: from fmmailgate02.web.de ([217.72.192.227]:38913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkBuZ-0000lk-A7 for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 04:53:03 -0500 Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate02.web.de (Postfix) with ESMTP id 4617D1BF4D475 for ; Mon, 9 Jan 2012 10:53:02 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0MEEMy-1Rv87h41YO-00FgMl; Mon, 09 Jan 2012 10:53:02 +0100 Subject: Re: customizing dircolors doesn't take effect in emacs shell Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 From: Peter Dyballa In-Reply-To: Date: Mon, 9 Jan 2012 10:53:01 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <9358B31E-D0DF-478E-A0BF-3B7721A43F81@web.de> References: <3CD4DC10-DEDB-4DB7-ADEB-38166A9E88C0@web.de> To: Yuan Luo X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:xOgQaKqmcGhBD7dAwC8an/fZ0pAemNk4MI5Rlr25K5k jcxJy9UiM8qsmZZP2MNAJZET4GtJepohstmp+9cKc9eRI09Vt/ jskRaKX96StJjxwAQ9bV257lbzVooXmfrB29DwfGhsGVewvZC1 f5+8jar5QQEz+AK6be4NH5DIc/ia9Ln00spMZXERrmIIVN/b4J fBJkP0rXXFa6FJ7RoLrhg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.227 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, 09 Jan 2012 09:53:08 -0000 Am 9.1.2012 um 02:05 schrieb Yuan Luo: > alias l=3D'ls -CF' > alias la=3D'ls -A' > alias ll=3D'ls -alF' > alias ls=3D'ls --color=3Dauto' >=20 > Anything noticeable? IMO it's not recommended to use the same symbol, "ls", left and right of = the equals sign. I recommend to use the full pathname of the ls = programme when this programme is meant. Are all aliases from ~/.bashrc listed inside GNU Emacs? Can you trace the execution of the ls alias? Have you tried to use the more ANSI compliant "term" function/emulation? It can be that you need to set up the *shell* buffer to actually show = colours (*term* has it activated by default, by its more complete = compliance to ANSI): (add-hook 'shell-mode-hook (lambda () (ansi-color-for-comint-mode-on))) Check your GNU Emacs documentation on this topic! -- Greetings Pete The most exciting phrase to hear in science, the one that heralds new = discoveries, is not "Eureka!" (I found it!) but "That's funny..." =96 Isaac Asimov From MAILER-DAEMON Mon Jan 09 05:14:08 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkCEy-0004mp-2u for mharc-help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 05:14:08 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51346) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkCEr-0004kl-SU for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 05:14:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkCEm-0004TI-1Y for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 05:14:01 -0500 Received: from lo.gmane.org ([80.91.229.12]:36253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkCEl-0004T0-Sa for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 05:13:56 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RkCEi-0004jt-Ip for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 11:13:52 +0100 Received: from 221.216.162.137 ([221.216.162.137]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Jan 2012 11:13:52 +0100 Received: from eric by 221.216.162.137 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Jan 2012 11:13:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Eric Abrahamsen Subject: emacs and xdg-open Date: Mon, 09 Jan 2012 18:13:44 +0800 Lines: 36 Message-ID: <8739bp5gkn.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 221.216.162.137 User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:29YSrH3DaAvrnguoSZBoINmjDsc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 09 Jan 2012 10:14:06 -0000 I'm running archlinux, stumpwm and emacs, and have had pretty resounding success using dired as my only file manager: in dired I've bound 'e' to a command that passes files to xdg-open, and by dint of copying /usr/share/applications/mimeinfo.cache into ~/.local/share/applications/default.list, the right external applications open files out of dired. The one iffy thing is getting other applications to pass directory references to emacs (ie clicking the dropbox applet icon in the system tray and having the dropbox directory open in dired). Pointing the inode/directory MIME type at emacs works, but starts a new emacs instance. I created a "emacsclient.desktop" file: [Desktop Entry] Name=EmacsClient MimeType=inode/directory;x-directory/normal Exec=emacsclient -n %F Type=Application Terminal=false And this nearly works, except that the '-n' flag to the emacsclient exec doesn't appear to be respected: emacs still tells me "Press C-x # when you're done editing this file" (this being a dired buffer), and if I kill the buffer it asks: "Buffer `Dropbox' still has clients; kill it?" I guess this is a long shot, but does anyone have a guess as to why the '-n' flag is ignored, and how to fix it? If not, please consider this a (nearly-functional) tutorial on using emacs as your only file manager on linux systems without a proper desktop environment. :) Yrs, Eric -- GNU Emacs 24.0.92.2 (i686-pc-linux-gnu, GTK+ Version 2.24.8) of 2012-01-04 on pellet From MAILER-DAEMON Mon Jan 09 06:19:40 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkDGN-0006lh-Vp for mharc-help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 06:19:39 -0500 Received: from eggs.gnu.org ([140.186.70.92]:52485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkDG3-0006Wi-AX for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 06:19:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkDFk-0005kX-5t for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 06:19:19 -0500 Received: from lo.gmane.org ([80.91.229.12]:33423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkDFj-0005k9-Vc for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 06:19:00 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RkDFj-00051K-Be for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 12:18:59 +0100 Received: from 221.216.162.137 ([221.216.162.137]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Jan 2012 12:18:59 +0100 Received: from eric by 221.216.162.137 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Jan 2012 12:18:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Eric Abrahamsen Subject: defining odd keystrokes Date: Mon, 09 Jan 2012 19:18:47 +0800 Lines: 24 Message-ID: <87y5th3yzs.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 221.216.162.137 User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:IQs4dR6mQL55Mbb8QP5/3kbSqng= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 09 Jan 2012 11:19:36 -0000 I think I've finally figured out how to pass certain keystrokes to ibus (the system-wide input method), but I need a little help in specifying those keystrokes. Once ibus is toggled and I'm inputting Chinese, I can switch between two different Chinese input methods using "Alt+Shift_L" (that's how it's specified in ibus preferences), sort of a xmodmap-type of specification. Just pressing Shift also toggles into and out of plain English input while ibus is active. So I ought to be using `ibus-define-common-key' to tell ibus-mode to pass those keystrokes directly to the ibus engine: (ibus-define-common-key "specify keystroke here" t) The problem is that both those keystrokes consist solely of modifiers, and I don't know how to (or if I can) produce a key event that consists only of modifiers. Is this possibly, or do I have to change my system-wide ibus keybindings? Thanks, Eric -- GNU Emacs 24.0.92.2 (i686-pc-linux-gnu, GTK+ Version 2.24.8) of 2012-01-04 on pellet From MAILER-DAEMON Mon Jan 09 11:43:41 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkIJx-00017H-R2 for mharc-help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 11:43:41 -0500 Received: from eggs.gnu.org ([140.186.70.92]:56388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkIJn-0000vg-7y for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 11:43:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkIJl-00016p-Vn for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 11:43:31 -0500 Received: from mail-ey0-f169.google.com ([209.85.215.169]:34572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkIJl-00016V-Ex for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 11:43:29 -0500 Received: by eabm6 with SMTP id m6so2572154eab.0 for ; Mon, 09 Jan 2012 08:43:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=n8iOw8RtUamZP7syve+J+1Fq3zLyZXw5aDsNvEgvKic=; b=SvIcQL4bmP6gFkjIIlHeHS/eaonF/gEb2DPYg3/vNxxRdq9hSXoA8GJyhsqbp2WkFY RFHNJqEyU3knY68XTiKCT4H4yLlr13rgx4G+3QBRMwdDh3JdSDlkX/GnNJZ9GjmoSNnf 9RtnP9zRuDfMewduGzEVV4/P4tkpG42tsPJjk= MIME-Version: 1.0 Received: by 10.204.136.195 with SMTP id s3mr7508259bkt.51.1326127408393; Mon, 09 Jan 2012 08:43:28 -0800 (PST) Received: by 10.205.83.135 with HTTP; Mon, 9 Jan 2012 08:43:28 -0800 (PST) In-Reply-To: <9358B31E-D0DF-478E-A0BF-3B7721A43F81@web.de> References: <3CD4DC10-DEDB-4DB7-ADEB-38166A9E88C0@web.de> <9358B31E-D0DF-478E-A0BF-3B7721A43F81@web.de> Date: Mon, 9 Jan 2012 11:43:28 -0500 Message-ID: Subject: Re: customizing dircolors doesn't take effect in emacs shell From: Yuan Luo To: Peter Dyballa Content-Type: multipart/alternative; boundary=0015175cd2a81aaede04b61b19da X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.169 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, 09 Jan 2012 16:43:40 -0000 --0015175cd2a81aaede04b61b19da Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable All aliases in ~/.bashrc are listed in emacs shells. I already had have ansi-color-for-comint-mode-on set. execution of ls traces to /bin/ls Maybe i was not clear in the beginning, the emacs shell can show colors, but not to my customization, for example, I customized it to show executables in purple, it still show them in red. While a regular terminal shows the desirable purple color for executables (as in below, left is regular terminal, right is emacs shell). On Mon, Jan 9, 2012 at 4:53 AM, Peter Dyballa wrote: > > Am 9.1.2012 um 02:05 schrieb Yuan Luo: > > > alias l=3D'ls -CF' > > alias la=3D'ls -A' > > alias ll=3D'ls -alF' > > alias ls=3D'ls --color=3Dauto' > > > > Anything noticeable? > > IMO it's not recommended to use the same symbol, "ls", left and right of > the equals sign. I recommend to use the full pathname of the ls programme > when this programme is meant. > > Are all aliases from ~/.bashrc listed inside GNU Emacs? > > Can you trace the execution of the ls alias? > > Have you tried to use the more ANSI compliant "term" function/emulation? > > It can be that you need to set up the *shell* buffer to actually show > colours (*term* has it activated by default, by its more complete > compliance to ANSI): > > (add-hook 'shell-mode-hook (lambda () > (ansi-color-for-comint-mode-on))) > > Check your GNU Emacs documentation on this topic! > > -- > Greetings > > Pete > > The most exciting phrase to hear in science, the one that heralds new > discoveries, is not "Eureka!" (I found it!) but "That's funny..." > =96 Isaac Asimov > > --0015175cd2a81aaede04b61b19da Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable All aliases in ~/.bashrc are listed in emacs shells.
I already had have = ansi-color-for-comint-mode-on set.
execution of ls traces to /bin/ls
=
Maybe i was not clear in the beginning, the emacs shell can show colors= , but not to my customization, for example, I customized it to show executa= bles in purple, it still show them in red. While a regular terminal shows t= he desirable purple color for executables (as in below, left is regular ter= minal, right is emacs shell). 3D""

On Mon, Jan 9, 2012 at 4:53 AM, Peter Dyball= a <Peter_Dybal= la@web.de> wrote:

Am 9.1.2012 um 02:05 schrieb Yuan Luo:

> alias l=3D'ls -CF'
> alias la=3D'ls -A'
> alias ll=3D'ls -alF'
> alias ls=3D'ls --color=3Dauto'
>
> Anything noticeable?

IMO it's not recommended to use the same symbol, "ls", = left and right of the equals sign. I recommend to use the full pathname of = the ls programme when this programme is meant.

Are all aliases from ~/.bashrc listed inside GNU Emacs?

Can you trace the execution of the ls alias?

Have you tried to use the more ANSI compliant "term" function/emu= lation?

It can be that you need to set up the *shell* buffer to actually show colou= rs (*term* has it activated by default, by its more complete compliance to = ANSI):

=A0 =A0(add-hook 'shell-mode-hook (lambda ()
=A0 =A0 =A0 =A0(ansi-color-for-comint-mode-on)))

Check your GNU Emacs documentation on this topic!

--
Greetings

=A0Pete

The most exciting phrase to hear in science, the one that heralds new disco= veries, is not "Eureka!" (I found it!) but "That's funny= ..."
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=96 Isaac A= simov


--0015175cd2a81aaede04b61b19da-- From MAILER-DAEMON Mon Jan 09 11:48:38 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkIOk-0003v7-NS for mharc-help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 11:48:38 -0500 Received: from eggs.gnu.org ([140.186.70.92]:47823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkIOb-0003qo-TM for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 11:48:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkIOW-0001zd-6L for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 11:48:29 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:62865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkIOV-0001zZ-Ic for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 11:48:24 -0500 Received: by bkaq10 with SMTP id q10so2011698bka.0 for ; Mon, 09 Jan 2012 08:48:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=E1R0kC/9ZLN5Bk+8YmSacRS6/A/XdiNvbI9O2m3pUXs=; b=KgZwFg1ov5KPjxRw/fr7sYmniIezesmnSjRf+biCxL1o+uE2R6z54BHLiNx1RdDqWv STLFZ17gndHh5JJQOm/G0pA5IyvUc4yF1nNrbbLHyGgzwd+LOGn81Pj/pO61NauGiJne ynijflS/7XXATMLnKC0e77SGFAvxKXFgWJNqk= MIME-Version: 1.0 Received: by 10.204.153.26 with SMTP id i26mr7297411bkw.69.1326127702101; Mon, 09 Jan 2012 08:48:22 -0800 (PST) Received: by 10.205.83.135 with HTTP; Mon, 9 Jan 2012 08:48:21 -0800 (PST) In-Reply-To: References: <3CD4DC10-DEDB-4DB7-ADEB-38166A9E88C0@web.de> <9358B31E-D0DF-478E-A0BF-3B7721A43F81@web.de> Date: Mon, 9 Jan 2012 11:48:21 -0500 Message-ID: Subject: Re: customizing dircolors doesn't take effect in emacs shell From: Yuan Luo To: Peter Dyballa Content-Type: multipart/mixed; boundary=000e0cd1fc1a9c505b04b61b2a41 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.41 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, 09 Jan 2012 16:48:35 -0000 --000e0cd1fc1a9c505b04b61b2a41 Content-Type: multipart/alternative; boundary=000e0cd1fc1a9c505404b61b2a3f --000e0cd1fc1a9c505404b61b2a3f Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Sorry forgot attaching picture. Here it is. Best, Yuan On Mon, Jan 9, 2012 at 11:43 AM, Yuan Luo wrote= : > All aliases in ~/.bashrc are listed in emacs shells. > I already had have ansi-color-for-comint-mode-on set. > execution of ls traces to /bin/ls > > Maybe i was not clear in the beginning, the emacs shell can show colors, > but not to my customization, for example, I customized it to show > executables in purple, it still show them in red. While a regular termina= l > shows the desirable purple color for executables (as in below, left is > regular terminal, right is emacs shell). > > > On Mon, Jan 9, 2012 at 4:53 AM, Peter Dyballa wrote= : > >> >> Am 9.1.2012 um 02:05 schrieb Yuan Luo: >> >> > alias l=3D'ls -CF' >> > alias la=3D'ls -A' >> > alias ll=3D'ls -alF' >> > alias ls=3D'ls --color=3Dauto' >> > >> > Anything noticeable? >> >> IMO it's not recommended to use the same symbol, "ls", left and right of >> the equals sign. I recommend to use the full pathname of the ls programm= e >> when this programme is meant. >> >> Are all aliases from ~/.bashrc listed inside GNU Emacs? >> >> Can you trace the execution of the ls alias? >> >> Have you tried to use the more ANSI compliant "term" function/emulation? >> >> It can be that you need to set up the *shell* buffer to actually show >> colours (*term* has it activated by default, by its more complete >> compliance to ANSI): >> >> (add-hook 'shell-mode-hook (lambda () >> (ansi-color-for-comint-mode-on))) >> >> Check your GNU Emacs documentation on this topic! >> >> -- >> Greetings >> >> Pete >> >> The most exciting phrase to hear in science, the one that heralds new >> discoveries, is not "Eureka!" (I found it!) but "That's funny..." >> =96 Isaac Asimov >> >> > --000e0cd1fc1a9c505404b61b2a3f Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable

Sorry forgot attaching picture. Here it is.
=A0
Best,
Yuan
On Mon, Jan 9, 2= 012 at 11:43 AM, Yuan Luo <yuan.hypnos.luo@gmail.com> wrote:
All aliases in ~/.bashrc are listed in emacs shells.
I = already had have ansi-color-for-comint-mode-on set.
execution of ls traces to /bin/ls

Maybe i was not clear in the begin= ning, the emacs shell can show colors, but not to my customization, for exa= mple, I customized it to show executables in purple, it still show them in = red. While a regular terminal shows the desirable purple color for executab= les (as in below, left is regular terminal, right is emacs shell). =3D""


On Mon, Jan 9, 2012 at 4:53 AM, Peter Dyball= a <Peter_Dyballa@web.de> wrote:

Am 9.1.2012 um 02:05 schrieb Yuan Luo:

> alias l=3D'ls -CF'
> alias la=3D'ls -A'
> alias ll=3D'ls -alF'
> alias ls=3D'ls --color=3Dauto'
>
> Anything noticeable?

IMO it's not recommended to use the same symbol, "ls", = left and right of the equals sign. I recommend to use the full pathname of = the ls programme when this programme is meant.

Are all aliases from ~/.bashrc listed inside GNU Emacs?

Can you trace the execution of the ls alias?

Have you tried to use the more ANSI compliant "term" function/emu= lation?

It can be that you need to set up the *shell* buffer to actually show colou= rs (*term* has it activated by default, by its more complete compliance to = ANSI):

=A0 =A0(add-hook 'shell-mode-hook (lambda ()
=A0 =A0 =A0 =A0(ansi-color-for-comint-mode-on)))

Check your GNU Emacs documentation on this topic!

--
Greetings

=A0Pete

The most exciting phrase to hear in science, the one that heralds new disco= veries, is not "Eureka!" (I found it!) but "That's funny= ..."
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=96 Isaac A= simov



--000e0cd1fc1a9c505404b61b2a3f-- --000e0cd1fc1a9c505b04b61b2a41 Content-Type: image/png; name="regular_vs_emacs_shell.png" Content-Disposition: attachment; filename="regular_vs_emacs_shell.png" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gx7q5vgg0 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 SUVORK5CYII= --000e0cd1fc1a9c505b04b61b2a41-- From MAILER-DAEMON Mon Jan 09 15:56:20 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkMGS-0002HD-2J for mharc-help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 15:56:20 -0500 Received: from eggs.gnu.org ([140.186.70.92]:33272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkMGQ-0002H6-49 for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 15:56:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkMGO-0000zq-Lv for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 15:56:17 -0500 Received: from fmmailgate04.web.de ([217.72.192.242]:54087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkMGO-0000zm-DY for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 15:56:16 -0500 Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate04.web.de (Postfix) with ESMTP id BB04770A11CB for ; Mon, 9 Jan 2012 21:56:14 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0LhvUI-1SWMWa24Vm-00nNwF; Mon, 09 Jan 2012 21:56:14 +0100 Subject: Re: customizing dircolors doesn't take effect in emacs shell Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Peter Dyballa In-Reply-To: Date: Mon, 9 Jan 2012 21:56:14 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <14CA6C8F-B82D-4FD4-B6E9-4344B31B5E2F@web.de> References: <3CD4DC10-DEDB-4DB7-ADEB-38166A9E88C0@web.de> <9358B31E-D0DF-478E-A0BF-3B7721A43F81@web.de> To: Yuan Luo X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:/V12pBNO10r7pRQNKpgGB7nHi3doyudqk/Ax2cPlUZa 3Utf7BPHAhl1zh1TARUFHUVXl7d/mbq/bhSnk+gOGvtm4qmvMO ul6CpPeZ06MCQ+DujlwqvvVl45msEO8ourcOw6lknPSz9+NlZD XKqHXqXs6z3Hvsdpd9Oik5u9CPtE2vxnvJjYuNP+TfoR7QSkRw xXwFX5i9bzOXSsIRy2vzg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.242 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, 09 Jan 2012 20:56:19 -0000 Am 9.1.2012 um 17:43 schrieb Yuan Luo: > All aliases in ~/.bashrc are listed in emacs shells. > I already had have ansi-color-for-comint-mode-on set. > execution of ls traces to /bin/ls Does it work when you use /bin/ls --color=3Dauto /bin /bin/ls --color /bin manually and directly? My manual page explains: With --color=3Dauto, ls emits color codes only when standard = output is connected to a terminal. The LS_COLORS environment variable = can change the settings. Use the dircolors command to set it. There is a chance that LS_COLORS hinders ls, it's also possible that in = *shell* buffer standard output is not connected to a terminal. The = latter seems to be true for me on Mac OS X (10.6.8, Snow Leopard). So by = omitting the "=3Dauto" should make your aliases work. -- Greetings Pete Bake pizza not war! From MAILER-DAEMON Mon Jan 09 17:26:13 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkNfR-0002tD-N6 for mharc-help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 17:26:13 -0500 Received: from eggs.gnu.org ([140.186.70.92]:45800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkNfO-0002t4-KM for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 17:26:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkNfN-0001c4-DI for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 17:26:10 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:40603) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RkNfN-0001bu-1A for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 17:26:09 -0500 Received: (qmail invoked by alias); 09 Jan 2012 22:26:06 -0000 Received: from 12.64.113.78.rev.sfr.net (EHLO nzebook.haselwarter.org) [78.113.64.12] by mail.gmx.net (mp055) with SMTP; 09 Jan 2012 23:26:06 +0100 X-Authenticated: #26138819 X-Provags-ID: V01U2FsdGVkX18U8kp39UUUbmRabnfwRRvjuJmady4pcClZVjNJdU MO4IlASLlDldZq From: Philipp Haselwarter To: Eric Abrahamsen Subject: Re: emacs and xdg-open References: <8739bp5gkn.fsf@ericabrahamsen.net> X-NSA-Fodder: MDA insurgency Osama Iran CIA eternity server Verisign Ceridian X-Zippy-Says: Yow! Legally-imposed CULTURE-reduction is CABBAGE-BRAINED! Date: Mon, 09 Jan 2012 23:26:04 +0100 In-Reply-To: <8739bp5gkn.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Mon, 09 Jan 2012 18:13:44 +0800") Message-ID: <87vcokms1v.fsf@nzebook.haselwarter.org> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.23 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, 09 Jan 2012 22:26:11 -0000 Eric Abrahamsen writes: > I'm running archlinux, stumpwm and emacs, and have had pretty resounding > success using dired as my only file manager: in dired I've bound 'e' to > a command that passes files to xdg-open, and by dint of copying > /usr/share/applications/mimeinfo.cache into > ~/.local/share/applications/default.list, the right external > applications open files out of dired. Thanks for sharing, fits my setup quite well! What command you use to call `xdg-open'? Some programs (eg. mplayer) exit uncleanly when their stderr and stdout are closed, which causes xdg-open to reopen the file with the default application for unknown mime types, as it appears. And allocating a buffer to every started program.... > The one iffy thing is getting other applications to pass directory > references to emacs (ie clicking the dropbox applet icon in the system > tray and having the dropbox directory open in dired). Pointing > the inode/directory MIME type at emacs works, but starts a new emacs > instance. I created a "emacsclient.desktop" file: > > [Desktop Entry] > Name=EmacsClient > MimeType=inode/directory;x-directory/normal > Exec=emacsclient -n %F > Type=Application > Terminal=false > > And this nearly works, except that the '-n' flag to the emacsclient exec > doesn't appear to be respected: emacs still tells me "Press C-x # when > you're done editing this file" (this being a dired buffer), and if I > kill the buffer it asks: "Buffer `Dropbox' still has clients; kill it?" > > I guess this is a long shot, but does anyone have a guess as to why the > '-n' flag is ignored, and how to fix it? If not, please consider this a > (nearly-functional) tutorial on using emacs as your only file manager on > linux systems without a proper desktop environment. :) > > Yrs, > Eric I wrote a quick test script, and it looks like it's not Emacs' fault, arguments are just not passed on. Actually, it the Exec line seems not to be honored; instead simply the basename of the .desktop gets executed (ie. just emacsclient). So in order to make everything work, you need to create a script with a new name (and also beware of applications that don't call emacsclient with an argument, it'll fail): emacsclient_wrapper #!/bin/sh [ "$@" ] && emacsclient -n $@ || emacsclient -n ~/ Leave out the -n in the desktop file and rename it accordingly: emacsclient_wrapper.desktop -- Philipp Haselwarter From MAILER-DAEMON Mon Jan 09 22:07:36 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkS3k-0003PC-3f for mharc-help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 22:07:36 -0500 Received: from eggs.gnu.org ([140.186.70.92]:34825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkS3h-0003MY-4u for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 22:07:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkS3f-0004zG-LQ for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 22:07:33 -0500 Received: from lo.gmane.org ([80.91.229.12]:41857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkS3f-0004zA-9Y for help-gnu-emacs@gnu.org; Mon, 09 Jan 2012 22:07:31 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RkS3d-0008P3-8S for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 04:07:29 +0100 Received: from 114.250.126.86 ([114.250.126.86]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Jan 2012 04:07:29 +0100 Received: from eric by 114.250.126.86 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Jan 2012 04:07:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Eric Abrahamsen Subject: Re: emacs and xdg-open Date: Tue, 10 Jan 2012 11:07:16 +0800 Lines: 110 Message-ID: <87obuc45nf.fsf@ericabrahamsen.net> References: <8739bp5gkn.fsf@ericabrahamsen.net> <87vcokms1v.fsf@nzebook.haselwarter.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 114.250.126.86 User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:52glvlhM68bwQeEU3sf/T820ac8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 10 Jan 2012 03:07:34 -0000 On Tue, Jan 10 2012, Philipp Haselwarter wrote: > Eric Abrahamsen writes: > >> I'm running archlinux, stumpwm and emacs, and have had pretty resounding >> success using dired as my only file manager: in dired I've bound 'e' to >> a command that passes files to xdg-open, and by dint of copying >> /usr/share/applications/mimeinfo.cache into >> ~/.local/share/applications/default.list, the right external >> applications open files out of dired. > > Thanks for sharing, fits my setup quite well! There may also be mimeinfo.cache files in /usr/local/share/applications/, for packages you've installed yourself. I could probably figure out why xdg-mime doesn't just read those files directly, but life is short. > What command you use to call `xdg-open'? I modified something I found on the internet that originally used gnome-open: --8<---------------cut here---------------start------------->8--- (defun dired-xdg-open-file () "Opens the current file in a Dired buffer." (interactive) (xdg-open-file (dired-get-file-for-visit))) (defun xdg-open-file (filename) "xdg-opens the specified file." (interactive "fFile to open: ") (let ((process-connection-type nil)) (start-process "" nil "/usr/bin/xdg-open" filename))) ;;'e' usually does 'dired-find-file, same as RET, rebinding it here (add-hook 'dired-mode-hook (lambda () (define-key dired-mode-map (kbd "e") 'dired-xdg-open-file))) (setq image-dired-external-viewer "/usr/bin/xdg-open") --8<---------------cut here---------------end--------------->8--- > Some programs (eg. mplayer) exit uncleanly when their stderr and stdout > are closed, which causes xdg-open to reopen the file with the default > application for unknown mime types, as it appears. > And allocating a buffer to every started program.... > >> The one iffy thing is getting other applications to pass directory >> references to emacs (ie clicking the dropbox applet icon in the system >> tray and having the dropbox directory open in dired). Pointing >> the inode/directory MIME type at emacs works, but starts a new emacs >> instance. I created a "emacsclient.desktop" file: >> >> [Desktop Entry] >> Name=EmacsClient >> MimeType=inode/directory;x-directory/normal >> Exec=emacsclient -n %F >> Type=Application >> Terminal=false >> >> And this nearly works, except that the '-n' flag to the emacsclient exec >> doesn't appear to be respected: emacs still tells me "Press C-x # when >> you're done editing this file" (this being a dired buffer), and if I >> kill the buffer it asks: "Buffer `Dropbox' still has clients; kill it?" >> >> I guess this is a long shot, but does anyone have a guess as to why the >> '-n' flag is ignored, and how to fix it? If not, please consider this a >> (nearly-functional) tutorial on using emacs as your only file manager on >> linux systems without a proper desktop environment. :) >> >> Yrs, >> Eric > > I wrote a quick test script, and it looks like it's not Emacs' fault, > arguments are just not passed on. > > Actually, it the Exec line seems not to be honored; instead simply the > basename of the .desktop gets executed (ie. just emacsclient). > > So in order to make everything work, you need to create a script with a > new name (and also beware of applications that don't call emacsclient > with an argument, it'll fail): > > emacsclient_wrapper > #!/bin/sh > [ "$@" ] && emacsclient -n $@ || emacsclient -n ~/ > > Leave out the -n in the desktop file and rename it accordingly: > > emacsclient_wrapper.desktop This worked, by god, thank you! Just for the record, it seems the "Exec" line in the desktop file *is* honored, it just drops command-line arguments (perhaps the whole line could be wrapped in quotes or something?). Just naming the desktop file the same as my emacsclient-wrapper script wasn't enough, I had to point the Exec line at the script itself (I know because when I misspelled that line the whole thing stopped working). And a good thing too—how bizarre would it be to have an Exec line that did nothing? Dropping command line parameters seems weird enough, though… Anyway, thanks for getting me the rest of the way there! Eric -- GNU Emacs 24.0.92.2 (i686-pc-linux-gnu, GTK+ Version 2.24.8) of 2012-01-04 on pellet From MAILER-DAEMON Tue Jan 10 10:03:48 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkdEq-0000nN-Lo for mharc-help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 10:03:48 -0500 Received: from eggs.gnu.org ([140.186.70.92]:38266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkdEj-0000lN-Ez for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 10:03:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkdEd-0006Se-Nz for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 10:03:41 -0500 Received: from mail-pz0-f41.google.com ([209.85.210.41]:33955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkdEd-0006SN-HG for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 10:03:35 -0500 Received: by dakl33 with SMTP id l33so3886528dak.0 for ; Tue, 10 Jan 2012 07:03:34 -0800 (PST) MIME-Version: 1.0 Received: by 10.68.72.8 with SMTP id z8mr50760804pbu.111.1326207813975; Tue, 10 Jan 2012 07:03:33 -0800 (PST) Received: by 10.142.169.12 with HTTP; Tue, 10 Jan 2012 07:03:33 -0800 (PST) In-Reply-To: References: Date: Tue, 10 Jan 2012 15:03:33 +0000 Message-ID: Subject: Re: sudo in emacs From: Chris Poole To: Rajanikanth Jammalamadaka Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.41 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, 10 Jan 2012 15:03:47 -0000 On Thu, Jan 5, 2012 at 4:47 PM, Rajanikanth Jammalamadaka wrote: > Is there a way I can do this using tramp? On a file by file basis, I use this: =A0 =A0 (defun find-alternative-file-with-sudo () =A0 =A0 =A0 "Open the current buffer with privileges given by `sudo'." =A0 =A0 =A0 (interactive) =A0 =A0 =A0 (when buffer-file-name =A0 =A0 =A0 =A0 (find-alternate-file =A0 =A0 =A0 =A0 =A0(concat "/sudo:root@localhost:" =A0 =A0 =A0 =A0 buffer-file-name)))) Cheers Chris From MAILER-DAEMON Tue Jan 10 10:10:17 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkdL7-0001kw-Ih for mharc-help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 10:10:17 -0500 Received: from eggs.gnu.org ([140.186.70.92]:36939) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkdL1-0001io-MP for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 10:10:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkdKr-00088v-Qw for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 10:10:11 -0500 Received: from lo.gmane.org ([80.91.229.12]:36028) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkdKr-00088H-Ls for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 10:10:01 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RkdKm-0006B6-RV for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 16:09:56 +0100 Received: from tsdh.uni-koblenz.de ([141.26.67.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Jan 2012 16:09:56 +0100 Received: from tassilo by tsdh.uni-koblenz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Jan 2012 16:09:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Tassilo Horn Subject: Re: sudo in emacs Date: Tue, 10 Jan 2012 16:09:44 +0100 Lines: 45 Message-ID: <87fwfnbnlz.fsf@tsdh.uni-koblenz.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: tsdh.uni-koblenz.de User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:GJg4MAIzOxZNM9pNPBSDK9DTb3U= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 10 Jan 2012 15:10:15 -0000 Chris Poole writes: > On Thu, Jan 5, 2012 at 4:47 PM, Rajanikanth Jammalamadaka > wrote: > >> Is there a way I can do this using tramp? > > On a file by file basis, I use this: > >     (defun find-alternative-file-with-sudo () >       "Open the current buffer with privileges given by `sudo'." >       (interactive) >       (when buffer-file-name >         (find-alternate-file >          (concat "/sudo:root@localhost:" >         buffer-file-name)))) First of all as an answer to the OP, you can just do C-x C-f /sudo:userid@localhost:/foo/bar/baz.txt RET Because I'm lazy, I have a similar hack in my .emacs: --8<---------------cut here---------------start------------->8--- (defun th-find-file-sudo (file) "Opens FILE with root privileges." (interactive "F") (set-buffer (find-file (concat "/sudo::" file)))) (defadvice find-file (around th-find-file activate) "Open FILENAME using tramp's sudo method if it's read-only." (if (and (not (file-writable-p (ad-get-arg 0))) (not (file-remote-p (ad-get-arg 0))) (y-or-n-p (concat "File " (ad-get-arg 0) " is read-only. Open it as root? "))) (th-find-file-sudo (ad-get-arg 0)) ad-do-it)) --8<---------------cut here---------------end--------------->8--- So if I try to open a file for which I don't have permissions for, I'm queried if I want to open it as root using the sudo tramp method. Bye, Tassilo From MAILER-DAEMON Tue Jan 10 11:33:46 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rkedu-0006yz-PW for mharc-help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 11:33:46 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rkedm-0006gq-H5 for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 11:33:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rkedd-0008En-0s for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 11:33:33 -0500 Received: from lo.gmane.org ([80.91.229.12]:45799) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rkedc-0008EX-RB for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 11:33:28 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rkedb-00080f-An for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 17:33:27 +0100 Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Jan 2012 17:33:27 +0100 Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Jan 2012 17:33:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Richard Riley Subject: Re: sudo in emacs Date: Tue, 10 Jan 2012 17:33:14 +0100 Organization: aich tea tea pea dicky riley dot net Lines: 20 Message-ID: References: <87fwfnbnlz.fsf@tsdh.uni-koblenz.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 85.183.18.158 Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:Qs19aJHRbFZfVMVjhbyU1HcKFJ8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: help-gnu-emacs@gnu.org 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, 10 Jan 2012 16:33:44 -0000 Tassilo Horn writes: > --8<---------------cut here---------------start------------->8--- > (defun th-find-file-sudo (file) > "Opens FILE with root privileges." > (interactive "F") > (set-buffer (find-file (concat "/sudo::" file)))) > > (defadvice find-file (around th-find-file activate) > "Open FILENAME using tramp's sudo method if it's read-only." > (if (and (not (file-writable-p (ad-get-arg 0))) > (not (file-remote-p (ad-get-arg 0))) > (y-or-n-p (concat "File " > (ad-get-arg 0) > " is read-only. Open it as root? "))) > (th-find-file-sudo (ad-get-arg 0)) > ad-do-it)) > --8<---------------cut here---------------end--------------->8--- Oh, very nice. nicked... ;) From MAILER-DAEMON Tue Jan 10 12:06:56 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkfA0-0000a6-Kk for mharc-help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 12:06:56 -0500 Received: from eggs.gnu.org ([140.186.70.92]:42326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkXrK-0007Pd-A7 for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 04:19:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkXrG-0003Lw-9b for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 04:19:10 -0500 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:53686) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkXrG-0003Le-41 for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 04:19:06 -0500 Received: by lagv3 with SMTP id v3so2231170lag.0 for ; Tue, 10 Jan 2012 01:19:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=e9kqMp2Kem97vlzV5OeOUiV5leJD3z8QJSwM+EKneIA=; b=bZpyzT05g4R3khnr356YYEpoon4JRTf0ZhS0OSvhbLlBtwYpqYIupuU2UgP1Zy3phB 7SLGJ2wC4Ewbn429cztjy49LuY+IuCIYPU/OhRggIVCdEnpTniG6bU7eysXzQ4wCAxFU qCZh6+/vMvHdFSW36dXHYbDCoCEKZ9tGMISMc= Received: by 10.152.136.39 with SMTP id px7mr8318196lab.2.1326187144105; Tue, 10 Jan 2012 01:19:04 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.98.133 with HTTP; Tue, 10 Jan 2012 01:18:43 -0800 (PST) From: Aaron Meurer Date: Tue, 10 Jan 2012 02:18:43 -0700 Message-ID: Subject: Mouse support does not work To: help-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 X-Mailman-Approved-At: Tue, 10 Jan 2012 12:06:54 -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, 10 Jan 2012 09:19:15 -0000 Hi. I can't get mouse support to work in emacs. I've tried various things, but neither scrolling nor any kind of clicking or selection does anything. I'm using iTerm2 in Mac OS X. I believe it should be supported, as mouse support works perfectly in vim. I've tried M-x mouse-wheel-mode, M-x mouse-sel-mode, and I've tried putting all kinds of things in .emacs as suggested by various sites, but nothing has worked. Does anyone have any suggestions? I am brand new to emacs, so I'm afraid I can't give more useful information, though I'd be perfectly willing to try various things in order to debug and fix the problem. I tried emacs 22, 23, and I've even compiled the version from the master branch of the git mirror, and none of them worked. Here's my .emacs, if it helps: https://github.com/asmeurer/dotfiles/blob/master/.emacs Aaron Meurer From MAILER-DAEMON Tue Jan 10 12:24:34 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkfR4-0003Ni-AS for mharc-help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 12:24:34 -0500 Received: from eggs.gnu.org ([140.186.70.92]:53426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkfR1-0003Nc-LM for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 12:24:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkfQz-0000f0-KB for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 12:24:31 -0500 Received: from lo.gmane.org ([80.91.229.12]:57300) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkfQz-0000er-DF for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 12:24:29 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RkfQq-0006Xz-7c for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 18:24:20 +0100 Received: from tsdh.uni-koblenz.de ([141.26.67.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Jan 2012 18:24:20 +0100 Received: from tassilo by tsdh.uni-koblenz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Jan 2012 18:24:20 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Tassilo Horn Subject: Re: Mouse support does not work Date: Tue, 10 Jan 2012 18:24:04 +0100 Lines: 18 Message-ID: <878vlfh3nv.fsf@tsdh.uni-koblenz.de> References: Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: tsdh.uni-koblenz.de User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:HeeQloynon4QvyQLKMG9jCU62Ak= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 10 Jan 2012 17:24:32 -0000 Aaron Meurer writes: > I can't get mouse support to work in emacs. I've tried various > things, but neither scrolling nor any kind of clicking or selection > does anything. I'm using iTerm2 in Mac OS X. I'm not exactly sure if mouse commands are supposed to work in terminal frames. For me, mouse commands in an emacs inside an xterm have no effect at all. Inside a GNOME terminal, the scroll wheel creates and events (those are actually events usually created by the arrow keys), so I can at least scroll a bit. But clicking inside the terminal doesn't produce an event that's passed to emacs, but it seems to be captured by the terminal. That said, I have the same behavior with vim... Bye, Tassilo From MAILER-DAEMON Tue Jan 10 13:29:53 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkgSH-0002P5-Jw for mharc-help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 13:29:53 -0500 Received: from eggs.gnu.org ([140.186.70.92]:59501) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkgSD-0002Oa-5I for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 13:29:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkgS6-0005vL-W0 for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 13:29:49 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:48723) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkgS6-0005uy-NI for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 13:29:42 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LXL00M00I0IIR00@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 20:29:15 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.148.90]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LXL00L80I0QQ6A0@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 20:29:14 +0200 (IST) Date: Tue, 10 Jan 2012 20:29:17 +0200 From: Eli Zaretskii Subject: Re: Mouse support does not work In-reply-to: <878vlfh3nv.fsf@tsdh.uni-koblenz.de> X-012-Sender: halo1@inter.net.il To: help-gnu-emacs@gnu.org Message-id: <83fwfne7ia.fsf@gnu.org> References: <878vlfh3nv.fsf@tsdh.uni-koblenz.de> X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.166 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 10 Jan 2012 18:29:52 -0000 > From: Tassilo Horn > Date: Tue, 10 Jan 2012 18:24:04 +0100 > > I'm not exactly sure if mouse commands are supposed to work in terminal > frames. It is, if asked nicely ;-) > For me, mouse commands in an emacs inside an xterm have no effect at > all. Not even if you load xt-mouse? But this doesn't necessarily say anything about iTerm2, whatever that is. If no one wrote code for supporting mouse on that terminal, like we have for xterm and for GPM, then no, it won't work. From MAILER-DAEMON Tue Jan 10 13:39:56 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rkgc0-0004Px-GM for mharc-help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 13:39:56 -0500 Received: from eggs.gnu.org ([140.186.70.92]:43861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkgXG-0003Wz-JX for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 13:35:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkgXA-0007Ow-GX for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 13:35:02 -0500 Received: from mailbackend.panix.com ([166.84.1.89]:56713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkgXA-0007Ob-Dy for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 13:34:56 -0500 Received: from sullivan.lic.songza.com (unknown [66.114.87.114]) by mailbackend.panix.com (Postfix) with ESMTP id AFEE52EA40; Tue, 10 Jan 2012 13:34:55 -0500 (EST) From: Roy Smith Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Tue, 10 Jan 2012 13:34:53 -0500 Subject: Forcing M-X compile to split window vertically? To: help-gnu-emacs@gnu.org Message-Id: Mime-Version: 1.0 (Apple Message framework v1251.1) X-Mailer: Apple Mail (2.1251.1) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 166.84.1.89 X-Mailman-Approved-At: Tue, 10 Jan 2012 13:39:54 -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, 10 Jan 2012 18:35:03 -0000 I'm using GNU Emacs 23.1.1. When I run M-X compile, the window is split = into two. Depending on the aspect ratio of my original window, it = automagically splits it horizontally or vertically. How can I force it = to only split vertically? --- Roy Smith roy@panix.com From MAILER-DAEMON Tue Jan 10 14:29:59 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkhOR-0001S4-IJ for mharc-help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 14:29:59 -0500 Received: from eggs.gnu.org ([140.186.70.92]:33387) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkhOP-0001Rl-HR for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 14:29:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkhOL-0000oL-Cv for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 14:29:57 -0500 Received: from mailout-de.gmx.net ([213.165.64.22]:34955) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RkhOL-0000o9-2Z for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 14:29:53 -0500 Received: (qmail invoked by alias); 10 Jan 2012 19:29:51 -0000 Received: from 52.65.113.78.rev.sfr.net (EHLO nzebook.haselwarter.org) [78.113.65.52] by mail.gmx.net (mp034) with SMTP; 10 Jan 2012 20:29:51 +0100 X-Authenticated: #26138819 X-Provags-ID: V01U2FsdGVkX19WlHkRmqxWaCD28lE8uLfGinEAaCbqEvNPiR0I1T 3kh/3sYGfAOUUp From: Philipp Haselwarter To: Eric Abrahamsen Subject: Re: emacs and xdg-open References: <8739bp5gkn.fsf@ericabrahamsen.net> <87vcokms1v.fsf@nzebook.haselwarter.org> <87obuc45nf.fsf@ericabrahamsen.net> X-NSA-Fodder: Plame MD2 Armani mania Juiliett Class Submarine credit card X-Flame: Let me tell you something, you wally, most Iranian people have operations. Date: Tue, 10 Jan 2012 20:29:47 +0100 In-Reply-To: <87obuc45nf.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Tue, 10 Jan 2012 11:07:16 +0800") Message-ID: <87ipkjmk44.fsf@nzebook.haselwarter.org> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.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, 10 Jan 2012 19:29:58 -0000 Eric Abrahamsen writes: > On Tue, Jan 10 2012, Philipp Haselwarter wrote: > >> Eric Abrahamsen writes: >> ---8<---[snipped 13 lines]---8<--- > >> What command you use to call `xdg-open'? > > I modified something I found on the internet that originally used > gnome-open: > > (defun dired-xdg-open-file () > "Opens the current file in a Dired buffer." > (interactive) > (xdg-open-file (dired-get-file-for-visit))) > > (defun xdg-open-file (filename) > "xdg-opens the specified file." > (interactive "fFile to open: ") > (let ((process-connection-type nil)) > (start-process "" nil "/usr/bin/xdg-open" filename))) > > ;;'e' usually does 'dired-find-file, same as RET, rebinding it here > (add-hook 'dired-mode-hook > (lambda () > (define-key dired-mode-map (kbd "e") 'dired-xdg-open-file))) > > (setq image-dired-external-viewer "/usr/bin/xdg-open") > > >> Some programs (eg. mplayer) exit uncleanly when their stderr and stdout >> are closed, which causes xdg-open to reopen the file with the default >> application for unknown mime types, as it appears. >> And allocating a buffer to every started program.... >> remains unsolved --8<---------------cut here---------------start------------->8--- (eval-after-load 'dired '(progn (define-key dired-mode-map "E" 'my-dired-xdg-open) (define-key dired-mode-map [tool-bar my-dired-xdg-open] `(menu-item "ext" my-dired-xdg-open :help "Open file(s) with xdg-open" :image ,(find-image '((:type xpm :file "right-arrow.xpm"))))))) (defun my-dired-xdg-open (arg) "Open files from `dired-get-marked-files' with `my-xdg-open-file'" (interactive "P") (mapcar 'my-xdg-open-file (dired-get-marked-files nil arg))) (defun dired-xdg-open-file () "Opens the current file in a Dired buffer." (interactive) (xdg-open-file (dired-get-file-for-visit))) --8<---------------cut here---------------end--------------->8--- The only annoyance left is that opening multiple files calls the program several times as xdg-open accepts only one file. I'd glad to hear ideas how to solve this! ---8<---[snipped 53 lines]---8<--- > > Anyway, thanks for getting me the rest of the way there! > > Eric Glad it works; usually I have {tool,menu,scroll}-bar-mode turned off but I kind of like them for a file manager. Here's what I ended up with: --8<---------------cut here---------------start------------->8--- #!/bin/sh [ "$1" ] || set "`pwd`" OPT='((tool-bar-lines . 1) (menu-bar-lines . 1) (vertical-scroll-bars . right))' emacsclient -n -c -F "$OPT" "$@" --8<---------------cut here---------------end--------------->8--- -- Philipp Haselwarter From MAILER-DAEMON Tue Jan 10 16:01:11 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rkioh-0005zS-SF for mharc-help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 16:01:11 -0500 Received: from eggs.gnu.org ([140.186.70.92]:40552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rkioe-0005xf-PL for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 16:01:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rkiod-0000Me-Pc for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 16:01:08 -0500 Received: from lo.gmane.org ([80.91.229.12]:52074) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rkiod-0000MM-FV for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 16:01:07 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rkioc-0006Kf-KW for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 22:01:06 +0100 Received: from 91-67-11-43-dynip.superkabel.de ([91.67.11.43]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Jan 2012 22:01:06 +0100 Received: from tassilo by 91-67-11-43-dynip.superkabel.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 Jan 2012 22:01:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Tassilo Horn Subject: Re: Mouse support does not work Date: Tue, 10 Jan 2012 22:00:47 +0100 Lines: 45 Message-ID: <87y5tfgtmo.fsf@thinkpad.tsdh.de> References: <878vlfh3nv.fsf@tsdh.uni-koblenz.de> <83fwfne7ia.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 91-67-11-43-dynip.superkabel.de User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:aUMm3+WS0Bhk8+4Bj4OYZ87PFNw= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 10 Jan 2012 21:01:09 -0000 Eli Zaretskii writes: >> For me, mouse commands in an emacs inside an xterm have no effect at >> all. > > Not even if you load xt-mouse? Oh, nice. But it seems loading is not enough but you have to enable xterm-mouse-mode, too. M-: (require 'xt-mouse) RET M-x xterm-mouse-mode RET Then, mouse scrolling, clicking, and even selection work fine in both xterm as well as GNOME terminal. And of course, it's also documented in the fine manual. :-) ,----[ (info "(emacs)Text-Only Mouse") ] | Some text-only terminals support mouse clicks in the terminal window. | | In a terminal emulator which is compatible with `xterm', you can use | `M-x xterm-mouse-mode' to give Emacs control over simple uses of the | mouse--basically, only non-modified single clicks are supported. The | normal `xterm' mouse functionality for such clicks is still available | by holding down the `SHIFT' key when you press the mouse button. Xterm | Mouse mode is a global minor mode (*note Minor Modes::). Repeating the | command turns the mode off again. | | In the console on GNU/Linux, you can use `M-x gpm-mouse-mode' to | enable mouse support. You must have the gpm server installed and | running on your system in order for this to work. `---- > But this doesn't necessarily say anything about iTerm2, whatever that > is. If no one wrote code for supporting mouse on that terminal, like > we have for xterm and for GPM, then no, it won't work. BTW, while GNOME terminal works just fine, using emacs in an xterm is a huge mess for me. C-h generates a DEL, and M- is just x for any key , and probably there's more... Bye, Tassilo From MAILER-DAEMON Tue Jan 10 16:29:11 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkjFn-0005za-2m for mharc-help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 16:29:11 -0500 Received: from eggs.gnu.org ([140.186.70.92]:37565) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkjFk-0005zU-Iz for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 16:29:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkjFj-0005M4-Lo for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 16:29:08 -0500 Received: from fmmailgate04.web.de ([217.72.192.242]:48289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkjFj-0005Le-Dd for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 16:29:07 -0500 Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate04.web.de (Postfix) with ESMTP id E8BBA70A0FD2 for ; Tue, 10 Jan 2012 22:29:00 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0M89jd-1Sg9Bl2PhJ-00vRD8; Tue, 10 Jan 2012 22:29:00 +0100 Subject: Re: Mouse support does not work Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 From: Peter Dyballa In-Reply-To: Date: Tue, 10 Jan 2012 22:29:00 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> References: To: Aaron Meurer X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:mYBcv+8AtjcK5vBOFatgAjM9AkrXLYOhcXfHvBJ3/X3 bnGs5gUaq/6Kp30ZNTDstzM+dUx/n2TupIf31mLHaFzoTmY5gO GGwAKuRfgkkvZAxEAbPpKLgsHfAE7E+Ye60ecWkKW4xaoDNBZE Qaql6eXuFv/z290FX1yPRoXq5T0L6g88voxrzZOjWqjDUeguGd DZfBJ0Hu3g+RX02p7qa4A== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.242 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, 10 Jan 2012 21:29:09 -0000 Am 10.1.2012 um 10:18 schrieb Aaron Meurer: > I can't get mouse support to work in emacs. I've tried various > things, but neither scrolling nor any kind of clicking or selection > does anything. I'm using iTerm2 in Mac OS X. I believe it should be > supported, as mouse support works perfectly in vim. I've tried M-x > mouse-wheel-mode, M-x mouse-sel-mode, and I've tried putting all kinds > of things in .emacs as suggested by various sites, but nothing has > worked. For me not even scrolling in vim/vi works... (could you describe how you = achieve this?) The function mouse-wheel-mode is a toggle. If it's off, then you can = type C-h k and then operate the mouse wheel or scroll via the trackpad. = In the echo-area ("mini-buffer") you can see that GNU Emacs reports = having received multiple or events. The function = mouse-sel-mode is also a toggle =96 which I think is not very useful (I = have it set off). In GNU Emacs you have to load the xt-mouse "package": (require 'xt-mouse) and then switch that mode on: (xterm-mouse-mode) It will allow you to select windows (buffers) with the mouse cursor by = clicking into one and clicking into the menu bar will show you in a = buffer the contents of the selected menu and enable you to make a = choice. Clicking onto a file name in dired-mode will open that file for = editing in a new window (buffer). GNU Emacs will also receive mouse = scroll events. In my rather dumb setup the and = events are mot bound to any function so that I cannot scroll... (and = also in a default setup they're not bound to anything) This works in xterm =96 but not in Apple's Terminal. Hopefully if works = in iTerm2! -- Greetings Pete War springs from unseen and generally insignificant causes. =96 Anonymous From MAILER-DAEMON Tue Jan 10 16:31:15 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkjHn-0006TC-BA for mharc-help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 16:31:15 -0500 Received: from eggs.gnu.org ([140.186.70.92]:53976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkjHk-0006RJ-Hm for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 16:31:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkjHj-0005pS-AO for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 16:31:12 -0500 Received: from fmmailgate01.web.de ([217.72.192.221]:47895) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkjHh-0005pB-BM; Tue, 10 Jan 2012 16:31:09 -0500 Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate01.web.de (Postfix) with ESMTP id 655631A888D74; Tue, 10 Jan 2012 22:31:08 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0MDPYb-1RusIT1Cjl-00GWmQ; Tue, 10 Jan 2012 22:31:08 +0100 Subject: Re: Mouse support does not work Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 From: Peter Dyballa In-Reply-To: <83fwfne7ia.fsf@gnu.org> Date: Tue, 10 Jan 2012 22:31:08 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <7C16F527-F48A-499B-BD28-52F4C13E1807@Web.DE> References: <878vlfh3nv.fsf@tsdh.uni-koblenz.de> <83fwfne7ia.fsf@gnu.org> To: Eli Zaretskii X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:fTGIB0huMc9CyOOMWvThYh7dD0+wXYSDBIGID8zbMmX AOvyx33YFSb4g89Zdnsaw4sAyVPO6/7vWwVnrgWP2uLgZqcRIo loo2RHuCe17cib0c2VgenTmqKUHwWJ6NjI9sRUDF4gCaZ8Xuei FGQ8VBqtyhlBAk5K2AYf2zuz5zsYtCz8DxkEELROPFdNQ03zQB 4s7o4NqvF8jESUpBtRP4g== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.221 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, 10 Jan 2012 21:31:13 -0000 Am 10.1.2012 um 19:29 schrieb Eli Zaretskii: > iTerm2, whatever that is Kind of an xterm variant which is a native Mac OS X application that = does not need any other windowing environment: http://www.iterm2.com. -- Greetings Pete Eat the rich =96 the poor are tough and stringy. From MAILER-DAEMON Tue Jan 10 16:32:57 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkjJQ-000794-VN for mharc-help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 16:32:56 -0500 Received: from eggs.gnu.org ([140.186.70.92]:54518) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkjJO-00077J-Fu for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 16:32:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkjJN-00063A-Lh for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 16:32:54 -0500 Received: from fmmailgate03.web.de ([217.72.192.234]:54662) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkjJN-000633-Ew for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 16:32:53 -0500 Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate03.web.de (Postfix) with ESMTP id A69E11AF60B69 for ; Tue, 10 Jan 2012 22:32:52 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb001) with ESMTPA (Nemesis) id 0Lj2TO-1SH1as1nqw-00dC8k; Tue, 10 Jan 2012 22:32:52 +0100 Subject: Re: Mouse support does not work Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=iso-8859-1 From: Peter Dyballa In-Reply-To: <87y5tfgtmo.fsf@thinkpad.tsdh.de> Date: Tue, 10 Jan 2012 22:32:51 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <878vlfh3nv.fsf@tsdh.uni-koblenz.de> <83fwfne7ia.fsf@gnu.org> <87y5tfgtmo.fsf@thinkpad.tsdh.de> To: Tassilo Horn X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:mawmZ51t0yN6tdWyzeIs6pVeRq6OPRmmpiIGNc/S3mX L7CFgkkjQ2rbNvECXv6wuhDuExERuUfitU9k6+awBCwIx4QhHt TrlGRMVBJPhAKEj9Y8Qc2sl3clxu9Q+xpDrvbJXE9/PtmJznR5 lvDBtpxmHFtXvk2Zlc6V8rzWIH5TCfmH6WvhyL0Lfz9tW/46G5 sP7BRrPySty2+PhRwrNWw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.234 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, 10 Jan 2012 21:32:55 -0000 Am 10.1.2012 um 22:00 schrieb Tassilo Horn: > BTW, while GNOME terminal works just fine, using emacs in an xterm is = a > huge mess for me. C-h generates a DEL, and M- is just x for any = key > , and probably there's more... Substitute C-h with ! -- Mit friedvollen Gr=FC=DFen Pete If all else fails read the instructions. - Donald Knuth From MAILER-DAEMON Tue Jan 10 17:07:14 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rkjqc-0007PW-QW for mharc-help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 17:07:14 -0500 Received: from eggs.gnu.org ([140.186.70.92]:60718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkjqZ-0007JU-Cp for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 17:07:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkjqX-0002tq-NP for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 17:07:11 -0500 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:55027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkjqX-0002ta-9E for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 17:07:09 -0500 Received: by lagv3 with SMTP id v3so43824lag.0 for ; Tue, 10 Jan 2012 14:07:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=x9sqs13Vljbeq51a4UIZaaQD3XrE1StJwjysaTwP0n0=; b=x1JjgPc97a9Bzr6SZcDNt8DHzD40MabQIgKhsupffl0ngX1xfy3ZtZ6r3gEWhkMi/r L3zOMlF1aZJfl78SnD3Qqyf0wyEjYybAL0QtUXuhB6SzW/vVOyV0lECBXxm5YoLT6rId OpCtE1ldUznp/eKXWmyeGRusX1y/E8yj7TbhY= Received: by 10.112.86.135 with SMTP id p7mr4649030lbz.86.1326233228132; Tue, 10 Jan 2012 14:07:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.98.133 with HTTP; Tue, 10 Jan 2012 14:06:47 -0800 (PST) In-Reply-To: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> From: Aaron Meurer Date: Tue, 10 Jan 2012 15:06:47 -0700 Message-ID: Subject: Re: Mouse support does not work To: Peter Dyballa Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 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, 10 Jan 2012 22:07:12 -0000 On Tue, Jan 10, 2012 at 2:29 PM, Peter Dyballa wrote= : > > Am 10.1.2012 um 10:18 schrieb Aaron Meurer: > >> I can't get mouse support to work in emacs. =A0I've tried various >> things, but neither scrolling nor any kind of clicking or selection >> does anything. =A0I'm using iTerm2 in Mac OS X. I believe it should be >> supported, as mouse support works perfectly in vim. =A0I've tried M-x >> mouse-wheel-mode, M-x mouse-sel-mode, and I've tried putting all kinds >> of things in .emacs as suggested by various sites, but nothing has >> worked. > > For me not even scrolling in vim/vi works... (could you describe how you = achieve this?) You have to enable it with `set mouse=3Da`. But the default .vimrc from $VIMRUNTIME/vimrc_example.vim enables it. > > The function mouse-wheel-mode is a toggle. If it's off, then you can type= C-h k and then operate the mouse wheel or scroll via the trackpad. In the = echo-area ("mini-buffer") you can see that GNU Emacs reports having receive= d multiple or events. The function mouse-sel-mode is al= so a toggle =96 which I think is not very useful (I have it set off). > > In GNU Emacs you have to load the xt-mouse "package": > > =A0 =A0 =A0 =A0(require 'xt-mouse) > > and then switch that mode on: > > =A0 =A0 =A0 =A0(xterm-mouse-mode) > Awesome! That did it. I can scroll, click to move the cursor, and select. Right clicking selects from the cursor position (I guess it's supposed to do that?). Middle clicking (iTerm2 lets you set three finger click to middle click) doesn't do anything, though that's probably because it isn't set to do anything in my tests. How can I test this? Now that this is working, I have some more questions, if you don't mind: - I have this setting, from customize: '(mouse-wheel-scroll-amount (quote (1))) which is supposed to make scrolling go one line at a time. But it goes at least two lines at a time. If I change the 1 to 2, it scrolls by four lines at a time, and so on. It won't let me enter 0.5. - I have momentum scrolling enabled, which means that I can "flick" the scroll, and it will go aways. But emacs beeps when it is at the end and cannot scroll any more, which is really annoying in conjunction with this, as it beeps several times when I "flick" past the bottom or top. Is there a way to disable this beeping? - Is there a way to make scrolling not kill an I-search? > It will allow you to select windows (buffers) with the mouse cursor by cl= icking into one and clicking into the menu bar will show you in a buffer th= e contents of the selected menu and enable you to make a choice. Clicking o= nto a file name in dired-mode will open that file for editing in a new wind= ow (buffer). GNU Emacs will also receive mouse scroll events. In my rather = dumb setup the and events are mot bound to any function= so that I cannot scroll... (and also in a default setup they're not bound = to anything) > > > This works in xterm =96 but not in Apple's Terminal. Hopefully if works i= n iTerm2! You can enable it in Apple's Terminal with mouseterm (https://github.com/brodie/mouseterm). I just tested it in emacs, and it works there too, though the selection isn't as good as in iTerm2 (it doesn't show the selection until after you let go of the mouse). It's kind of a hack (it uses SIMBL), so use at your own risk (and anyway, this means that you have to reinstall after each OS update). Now if I can just get scrolling to work in less... Aaron Meurer > > -- > Greetings > > =A0Pete > > War springs from unseen and generally insignificant causes. > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=96 Anonym= ous > From MAILER-DAEMON Tue Jan 10 17:31:19 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkkDv-0002Uj-St for mharc-help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 17:31:19 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkkDs-0002Sp-L5 for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 17:31:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkkDr-0006lg-Bi for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 17:31:16 -0500 Received: from fmmailgate03.web.de ([217.72.192.234]:48781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkkDq-0006la-Rp for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 17:31:15 -0500 Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate03.web.de (Postfix) with ESMTP id 66D611AF60CDD for ; Tue, 10 Jan 2012 23:31:13 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb001) with ESMTPA (Nemesis) id 0MaJc8-1S0Ci10eyW-00JsEN; Tue, 10 Jan 2012 23:31:13 +0100 Subject: Re: Mouse support does not work Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 From: Peter Dyballa In-Reply-To: Date: Tue, 10 Jan 2012 23:31:12 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> To: Aaron Meurer X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:odPQNHD+Haq0sNPJ+hzJzcuFVkUQQjZNvp49QxdiIJC oMnaKqqhXlUrzHMu+KWE1575r9B63sGxpGBNJuLyrDhOTkGZdU K/GRE65GAG26W82vsDinllRY+8a+fVWVZHasUcJh8ARgugYN14 MuxX2TW4wvwyyaStLbdwf7V5PfFLi7Zp+FsYzi4A1HhjTtMuSq q78INhtTv+0KVy+L/rfrA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.234 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, 10 Jan 2012 22:31:18 -0000 Am 10.1.2012 um 23:06 schrieb Aaron Meurer: > Middle clicking (iTerm2 lets you set three > finger click to middle click) doesn't do anything, though that's > probably because it isn't set to do anything in my tests. How can I > test this? Check it with: C-h k . This will open a *Help* buffer with some explanations and possibly = hyper-links. I think middle click or mouse-2 is context sensitive and = gives different options in different (buffer) modes. Just try it with = C-h k in *shell*, *scratch*, other buffers! >=20 > Now that this is working, I have some more questions, if you don't = mind: >=20 > - I have this setting, from customize: >=20 > '(mouse-wheel-scroll-amount (quote (1))) >=20 > which is supposed to make scrolling go one line at a time. But it > goes at least two lines at a time. If I change the 1 to 2, it scrolls > by four lines at a time, and so on. It won't let me enter 0.5. It might slow down by pressing the Shift button on the keyboard. This = works in the X client variant fine, while the NS variant fails to = understand this. (The NS variant is a native Mac OS X application using = Quartz.) The "AppKit Emacs", a still called experimental hack, is very = sane in this respect: very good scroll speed, including "momentum" and = no complaints when overshoot, pressing Shift accelerates speed. It is = also a native Quartz client, using almost no "external" libraries, i.e., = it's something like 100 % Mac OS X, best when you have to use non-Latin = scripts. >=20 > - I have momentum scrolling enabled, which means that I can "flick" > the scroll, and it will go aways. But emacs beeps when it is at the > end and cannot scroll any more, which is really annoying in > conjunction with this, as it beeps several times when I "flick" past > the bottom or top. Is there a way to disable this beeping? Use the above mentioned "AppKit Emacs" =96 you just need to compile and = install it yourself. In the coming weeks we might experience the release = of GNU Emacs 24.1 and later of "AppKit Emacs" 24.1 =96 right now it is = based on GNU Emacs 23.3b, the current release of GNU Emacs. >=20 > - Is there a way to make scrolling not kill an I-search? I don't know! Why do you want to scroll in that "mode"? Because you want = to centre the found text at the bottom? Then try C-l! Or press C-l = twice. (Or three times...) -- Greetings Pete I love deadlines. I love the whooshing noise they make as they go by. =96 Douglas Adams From MAILER-DAEMON Tue Jan 10 17:51:07 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkkX5-0008HG-BC for mharc-help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 17:51:07 -0500 Received: from eggs.gnu.org ([140.186.70.92]:40117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkkX3-0008H4-0S for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 17:51:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkkX1-0001KO-Ow for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 17:51:04 -0500 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:36003) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkkX1-0001KC-Dc for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 17:51:03 -0500 Received: by lagv3 with SMTP id v3so64431lag.0 for ; Tue, 10 Jan 2012 14:51:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=BcZpre/yHbGIl3gnGIkyz0xjnqVbhGGJWzNDie9CqNU=; b=O1FzyiJbLiY1z2E2ocRYRYcvSYgN/Q1l0dPTQKoEsF0qixlTXEWgQP/ieQ4bYUV8Ne utLDdGZNw91Yly53hOS1I6g38ovYHRq07WfYjNpIcntuewJg2vFmi31WhYff606sLyqv CmyWm3dleAQts9BONLkl3BakivyIFIlh2nrs4= Received: by 10.112.98.37 with SMTP id ef5mr4987998lbb.73.1326235862147; Tue, 10 Jan 2012 14:51:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.98.133 with HTTP; Tue, 10 Jan 2012 14:50:41 -0800 (PST) In-Reply-To: <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> From: Aaron Meurer Date: Tue, 10 Jan 2012 15:50:41 -0700 Message-ID: Subject: Re: Mouse support does not work To: Peter Dyballa Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 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, 10 Jan 2012 22:51:06 -0000 On Tue, Jan 10, 2012 at 3:31 PM, Peter Dyballa wrote= : > > Am 10.1.2012 um 23:06 schrieb Aaron Meurer: > >> Middle clicking (iTerm2 lets you set three >> finger click to middle click) doesn't do anything, though that's >> probably because it isn't set to do anything in my tests. =A0How can I >> test this? > > Check it with: C-h k . > > This will open a *Help* buffer with some explanations and possibly hyper-= links. I think middle click or mouse-2 is context sensitive and gives diffe= rent options in different (buffer) modes. Just try it with C-h k in *shell*= , *scratch*, other buffers! > >> >> Now that this is working, I have some more questions, if you don't mind: >> >> - I have this setting, from customize: >> >> '(mouse-wheel-scroll-amount (quote (1))) >> >> which is supposed to make scrolling go one line at a time. =A0But it >> goes at least two lines at a time. If I change the 1 to 2, it scrolls >> by four lines at a time, and so on. =A0It won't let me enter 0.5. > > It might slow down by pressing the Shift button on the keyboard. This wor= ks in the X client variant fine, while the NS variant fails to understand t= his. (The NS variant is a native Mac OS X application using Quartz.) The "A= ppKit Emacs", a still called experimental hack, is very sane in this respec= t: very good scroll speed, including "momentum" and no complaints when over= shoot, pressing Shift accelerates speed. It is also a native Quartz client,= using almost no "external" libraries, i.e., it's something like 100 % Mac = OS X, best when you have to use non-Latin scripts. Shift scroll just disables scroll reporting in iTerm2. Maybe I can make it report Shift-mouse4/5. I'll have to look into it. Even so, based on customize, you can also set how many lines it scrolls with Shift, and this is also 1 (or it was, but I removed it because it's pointless). So I don't actually have much hope for it. But I'll see if I can get it to work. I actually don't want to use a GUI version of emacs, for a few reasons: First, no, it is not 100% Mac OS X. Aquamacs comes closer, but even that feels off. For example, neither use Lion scroll bars. And in M-x customize, instead of Cocoa controls, you have grey box controls. I want my Mac OS X applications to feel like Mac OS X and my terminal applications to feel like the terminal. emacs feels like the terminal (this is kind of fundamental). Second, starting a gui takes too long. I want my editor in no more than a few seconds. This was one of the motivations to switching to a command line editor in the first place. This is especially important for emacs, as it doesn't seem to work with type-ahead (unlike vim). Third, now that I have mouse reporting working, I don't really need it. I might use it when editing LaTeX so I can use the preview mode from AUCTeX, but other than that, I'd like to stick to the terminal. Other than the fact that you're stuck with a mono-spaced font, it's not that bad (can the GUI version of emacs use a non-monospaced font, btw?). > >> >> - I have momentum scrolling enabled, which means that I can "flick" >> the scroll, and it will go aways. =A0But emacs beeps when it is at the >> end and cannot scroll any more, which is really annoying in >> conjunction with this, as it beeps several times when I "flick" past >> the bottom or top. =A0Is there a way to disable this beeping? > > Use the above mentioned "AppKit Emacs" =96 you just need to compile and i= nstall it yourself. In the coming weeks we might experience the release of = GNU Emacs 24.1 and later of "AppKit Emacs" 24.1 =96 right now it is based o= n GNU Emacs 23.3b, the current release of GNU Emacs. > >> >> - Is there a way to make scrolling not kill an I-search? > > I don't know! Why do you want to scroll in that "mode"? Because you want = to centre the found text at the bottom? Then try C-l! Or press C-l twice. (= Or three times...) I want to scroll around and see what's highlighted, not press C-s a bunch of times. Scrolling gives me visual feedback on where I am in the file that jump scrolling does not. This is one of the reasons I want it to scroll one line at a time. And anyway, I've done enough customizations in emacs already that I've learned to not take "no, why would you want to do that anyway" as an answer. Aaron Meurer > > -- > Greetings > > =A0Pete > > I love deadlines. I love the whooshing noise they make as they go by. > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=96 Dougla= s Adams > From MAILER-DAEMON Tue Jan 10 18:26:33 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rkl5N-0007rl-BX for mharc-help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 18:26:33 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rkl5K-0007r6-I6 for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 18:26:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rkl5J-0007yZ-GJ for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 18:26:30 -0500 Received: from fmmailgate04.web.de ([217.72.192.242]:37788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rkl5J-0007yN-62 for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 18:26:29 -0500 Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate04.web.de (Postfix) with ESMTP id E2E3970A5E84 for ; Wed, 11 Jan 2012 00:26:27 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb001) with ESMTPA (Nemesis) id 0MYefK-1SG5jt16tG-00VTun; Wed, 11 Jan 2012 00:26:27 +0100 Subject: Re: Mouse support does not work Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 From: Peter Dyballa In-Reply-To: Date: Wed, 11 Jan 2012 00:26:26 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> To: Aaron Meurer X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:/fVPaJG/CiJbuAQ29fEvpG56CPU1SDJr0GpvG1Rr+Ko VB796KwI1hcKcWN1ppj2qoPGa72JUYqkyc5dMVDkzdQ+Dh/adJ ogcaMvCsoasYACzwv1jXCM00OjMGDv4CZQRVfueugxgXB0oR1x x+boF3Tood3uDJhgSHBnHBa1oITKO73uC9caQZTZ1ZGOqP7SNO Rx4frsRUypzrxfydAQnKQ== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.242 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, 10 Jan 2012 23:26:31 -0000 Am 10.1.2012 um 23:50 schrieb Aaron Meurer: > (can the GUI version of emacs use a non-monospaced font, btw?). Of course. >>> - Is there a way to make scrolling not kill an I-search? >>=20 >> I don't know! Why do you want to scroll in that "mode"? Because you = want to centre the found text at the bottom? Then try C-l! Or press C-l = twice. (Or three times...) >=20 > I want to scroll around and see what's highlighted, not press C-s a > bunch of times. Make the window higher! You could have 100 lines displayed. > Scrolling gives me visual feedback on where I am in > the file that jump scrolling does not. GNU Emacs allows to display line numbers in the mode-line. Put in the = customisations section of your init file: '(column-number-mode t) In GNU Emacs 23.3b the variable isearch-mode-map contains some mouse = events. Maybe you can add mouse-4 and mouse-5... > This is one of the reasons I want it to scroll one line at a time. The others? Maybe the developers feel like me that scrolling around is a bit = imprecise and you likely lose the place where isearch found the text... -- Greetings Pete The human animal differs from the lesser primates in his passion for = lists of "Ten Best." =96 H. Allen Smith From MAILER-DAEMON Tue Jan 10 18:44:54 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RklN8-0001ox-Kl for mharc-help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 18:44:54 -0500 Received: from eggs.gnu.org ([140.186.70.92]:55787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RklN3-0001ia-5W for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 18:44:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RklN2-0002W9-7n for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 18:44:49 -0500 Received: from fmmailgate05.web.de ([217.72.192.243]:59435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RklN2-0002W2-0P for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 18:44:48 -0500 Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate05.web.de (Postfix) with ESMTP id D0F6268DF9E1 for ; Wed, 11 Jan 2012 00:44:46 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0LyUy6-1So3IW2icY-0169pe; Wed, 11 Jan 2012 00:44:46 +0100 Subject: Re: Mouse support does not work Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 From: Peter Dyballa In-Reply-To: Date: Wed, 11 Jan 2012 00:44:46 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <617FE5CE-5580-4233-B08A-62E58C7C11FB@web.de> References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> To: Aaron Meurer X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:L6YsJa6GsxnfUcDbPQVGmTFqYFXUPcnZ2r4Ofx0wAk7 AFhL4mezLqVMJHY8t/OJORZ8fLpzyK53p/uEx9ZIkwVYFRu3nj 3VgOD+IDBeMC5Zl11uwIZ9aeTj/q8p7wDMRHDjWtXwFSrduuG2 EokVF2qp9AqFEKuc13Tb7HDKmiMjLkxM0bAW1ow7/85BMeBQUU wyBRoub5/kVGvo85XOObA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.243 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, 10 Jan 2012 23:44:51 -0000 Am 10.1.2012 um 23:50 schrieb Aaron Meurer: > Second, starting a gui takes too long. I've read of GNU Emacs users claiming that their Emacs session had a = higher uptime than their system... Anyway, GNU Emacs also supports working as a server or daemon. By using = the little emacsclient utility you can make it open a frame. Or load a = new file. (Or execute some Emacs Lisp code.) I haven't used this much =96 = my terminal emulation runs inside GNU Emacs! (Which I also use instead = of Xcode.) -- Greetings Pete One person with a belief is a social power equal to ninety-nine who have = only interests. =96 John Stuart Mill From MAILER-DAEMON Tue Jan 10 21:57:38 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkoNe-0002Cp-TV for mharc-help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 21:57:38 -0500 Received: from eggs.gnu.org ([140.186.70.92]:47760) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkoNb-0002C0-TX for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 21:57:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkoNb-0000Jx-35 for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 21:57:35 -0500 Received: from joseki.proulx.com ([216.17.153.58]:58463) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkoNa-0000JS-Tu for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 21:57:35 -0500 Received: from discord.proulx.com (discord.proulx.com [172.27.61.2]) (Authenticated sender: discord) by joseki.proulx.com (Postfix) with ESMTPA id 594EE211D2; Tue, 10 Jan 2012 19:57:32 -0700 (MST) Received: by discord.proulx.com (Postfix, from userid 1000) id 96ACCD3839B; Tue, 10 Jan 2012 19:57:30 -0700 (MST) Date: Tue, 10 Jan 2012 19:57:30 -0700 From: Bob Proulx To: Roy Smith Subject: Re: Forcing M-X compile to split window vertically? Message-ID: <20120111025730.GA23326@discord.proulx.com> Mail-Followup-To: Bob Proulx , Roy Smith , help-gnu-emacs@gnu.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 216.17.153.58 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, 11 Jan 2012 02:57:36 -0000 Roy Smith wrote: > I'm using GNU Emacs 23.1.1. When I run M-X compile, the window is > split into two. Depending on the aspect ratio of my original > window, it automagically splits it horizontally or vertically. How > can I force it to only split vertically? I found that annoying too. The documentation says: By default, these commands split the window vertically when there is only one. You can customize the variables `split-height-threshold' and `split-width-threshold' to split the window horizontally instead. So setting split-width-threshold to nil solves the problem. (setq split-width-threshold nil) Bob From MAILER-DAEMON Tue Jan 10 22:00:20 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkoQG-0002i0-8G for mharc-help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 22:00:20 -0500 Received: from eggs.gnu.org ([140.186.70.92]:54048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkoQC-0002dm-1n for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 22:00:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkoQB-0000uG-2D for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 22:00:16 -0500 Received: from mailbackend.panix.com ([166.84.1.89]:37791) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkoQA-0000uA-Uq for help-gnu-emacs@gnu.org; Tue, 10 Jan 2012 22:00:15 -0500 Received: from [10.0.1.2] (ool-457b1082.dyn.optonline.net [69.123.16.130]) by mailbackend.panix.com (Postfix) with ESMTP id 189BD2E068; Tue, 10 Jan 2012 22:00:14 -0500 (EST) Subject: Re: Forcing M-X compile to split window vertically? Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/alternative; boundary=Apple-Mail-59-51262739 From: Roy Smith In-Reply-To: <20120111025730.GA23326@discord.proulx.com> Date: Tue, 10 Jan 2012 22:00:13 -0500 Message-Id: <9A072CAB-AF7E-4FF0-B9A3-AA4DAC515A68@panix.com> References: <20120111025730.GA23326@discord.proulx.com> To: Bob Proulx X-Mailer: Apple Mail (2.1084) X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 166.84.1.89 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, 11 Jan 2012 03:00:16 -0000 --Apple-Mail-59-51262739 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii You da man! On Jan 10, 2012, at 9:57 PM, Bob Proulx wrote: > (setq split-width-threshold nil) -- Roy Smith roy@panix.com --Apple-Mail-59-51262739 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii You = da man!

On Jan 10, 2012, at 9:57 PM, Bob Proulx = wrote:

 (setq = split-width-threshold nil)


--
Roy Smith

=


= --Apple-Mail-59-51262739-- From MAILER-DAEMON Wed Jan 11 00:00:23 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkqIR-0005Pm-Tf for mharc-help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 00:00:23 -0500 Received: from eggs.gnu.org ([140.186.70.92]:39664) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkqIP-0005Pf-Pq for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 00:00:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkqIO-000228-Ex for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 00:00:21 -0500 Received: from lo.gmane.org ([80.91.229.12]:58913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkqIO-000220-3d for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 00:00:20 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RkqIN-0001cy-AK for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 06:00:19 +0100 Received: from 114.250.131.43 ([114.250.131.43]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Jan 2012 06:00:19 +0100 Received: from eric by 114.250.131.43 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Jan 2012 06:00:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Eric Abrahamsen Subject: Re: emacs and xdg-open Date: Wed, 11 Jan 2012 13:00:10 +0800 Lines: 74 Message-ID: <874nw2hm05.fsf@ericabrahamsen.net> References: <8739bp5gkn.fsf@ericabrahamsen.net> <87vcokms1v.fsf@nzebook.haselwarter.org> <87obuc45nf.fsf@ericabrahamsen.net> <87ipkjmk44.fsf@nzebook.haselwarter.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 114.250.131.43 User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:QFTR7G8wEWYODDEPtekAH69IVPA= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 11 Jan 2012 05:00:22 -0000 On Wed, Jan 11 2012, Philipp Haselwarter wrote: > Eric Abrahamsen writes: > >> On Tue, Jan 10 2012, Philipp Haselwarter wrote: >> >>> Eric Abrahamsen writes: >>> > ---8<---[snipped 13 lines]---8<--- >> [...] >>> Some programs (eg. mplayer) exit uncleanly when their stderr and stdout >>> are closed, which causes xdg-open to reopen the file with the default >>> application for unknown mime types, as it appears. >>> And allocating a buffer to every started program.... >>> > remains unsolved I've never really seen this problem, so I'm not sure how to address it… [...] > > The only annoyance left is that opening multiple files calls the program > several times as xdg-open accepts only one file. I'd glad to hear ideas > how to solve this! I think the only solution here is to look inside xdg-open and see what it uses to determine the proper default applications. Then, inside emacsclient-wrapper, don't use xdg-open itself, but do what it does to figure out the proper application, and then pass multiple files directly to that application. I'll admit it never even occurred to me to open multiple files this way (though it should have!), so I hadn't thought about it. Assuming you have no desktop environment, the relevant function inside xdg-open is open_generic_xdg_mime, which starts at line 408 in my installation. The following lines make it work: # get the mime type, and the .desktop file of the program that # should open it --8<---------------cut here---------------start------------->8--- filetype=`xdg-mime query filetype "$1" | sed "s/;.*//"` default=`xdg-mime query default "$filetype"` --8<---------------cut here---------------end--------------->8--- # then it finds the .desktop file, puts it in $file, and gets the actual # executable from it, this is why the command line flags are dropped! --8<---------------cut here---------------start------------->8--- command="`grep -E "^Exec(\[[^]=]*])?=" "$file" | cut -d= -f 2- | first_word`" command_exec=`which $command 2>/dev/null` --8<---------------cut here---------------end--------------->8--- # execute command --8<---------------cut here---------------start------------->8--- $command_exec "$1" --8<---------------cut here---------------end--------------->8--- So you could use any or all of the above bits to make a shell script which does basically what xdg-open does, except which can also handle multiple files (and can also preserve command line flags for the executable). Hope that's useful, Eric -- GNU Emacs 24.0.92.2 (i686-pc-linux-gnu, GTK+ Version 2.24.8) of 2012-01-04 on pellet From MAILER-DAEMON Wed Jan 11 01:16:04 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkrTg-0002Fy-NZ for mharc-help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 01:16:04 -0500 Received: from eggs.gnu.org ([140.186.70.92]:35653) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkrTe-0002Fn-8u for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 01:16:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkrTc-0004T8-V8 for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 01:16:02 -0500 Received: from mail.groll.co.za ([166.84.7.40]:33885) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkrTc-0004T2-QK for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 01:16:00 -0500 Received: from mail.groll.co.za.groll.co.za (localhost [127.0.0.1]) by mail.groll.co.za (Postfix) with ESMTP id 538A760CC4 for ; Wed, 11 Jan 2012 08:15:54 +0200 (SAST) Date: Wed, 11 Jan 2012 08:15:54 +0200 Message-ID: <87k44ylq79.wl%lists@groll.co.za> From: Jonathan Groll To: help-gnu-emacs Subject: Re: Mouse support does not work In-Reply-To: References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> User-Agent: Wanderlust/2.15.6 (Almost Unreal) Emacs/24.0 Mule/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 166.84.7.40 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 11 Jan 2012 06:16:03 -0000 On Tue, 10 Jan 2012 15:50:41 -0700, Aaron Meurer wrote: > I want to scroll around and see what's highlighted, not press C-s a > bunch of times. Scrolling gives me visual feedback on where I am in > the file that jump scrolling does not. This is one of the reasons I > want it to scroll one line at a time. Try M-x occur ? Cheers, Jonathan -- jjg: Jonathan J. Groll : groll co za has_one { :blog => "http://bloggroll.com" } I envy paranoids; they actually feel people are paying attention to them - Susan Sontag From MAILER-DAEMON Wed Jan 11 01:31:46 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rkris-0006qv-Ln for mharc-help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 01:31:46 -0500 Received: from eggs.gnu.org ([140.186.70.92]:41043) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rkrip-0006ql-Sl for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 01:31:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rkrio-0006te-Rd for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 01:31:43 -0500 Received: from mail.groll.co.za ([166.84.7.40]:48397) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rkrio-0006tY-Oh for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 01:31:42 -0500 Received: from mail.groll.co.za.groll.co.za (localhost [127.0.0.1]) by mail.groll.co.za (Postfix) with ESMTP id C94FD60CC4 for ; Wed, 11 Jan 2012 08:31:36 +0200 (SAST) Date: Wed, 11 Jan 2012 08:31:36 +0200 Message-ID: <87ipkilph3.wl%lists@groll.co.za> From: Jonathan Groll To: help-gnu-emacs Sent-via: help-gnu-emacs Subject: Re: Mouse support does not work In-Reply-To: <617FE5CE-5580-4233-B08A-62E58C7C11FB@web.de> References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <617FE5CE-5580-4233-B08A-62E58C7C11FB@web.de> User-Agent: Wanderlust/2.15.6 (Almost Unreal) Emacs/24.0 Mule/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 166.84.7.40 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 11 Jan 2012 06:31:44 -0000 On Wed, 11 Jan 2012 00:44:46 +0100, Peter Dyballa = wrote: >=20 > Anyway, GNU Emacs also supports working as a server or daemon. By using= the little emacsclient utility you can make it open a frame. Or load a n= ew file. (Or execute some Emacs Lisp code.) I haven't used this much =E2=80= =93 my terminal emulation runs inside GNU Emacs! (Which I also use instea= d of Xcode.) Good points about why Emacs can be seen and used as just another terminal app. However, there is a reason as to why (xterm-mouse-mode) is not on by default, and that is largely due to the majority using emacsclient and/or GUI Emacs. After extended Emacs use a funny kind of thing happened to me, I wanted to easily edit my mails/IRC/IM/web/twitter/terminal from within Emacs. And it makes sense to be able to yank and kill terminal commands into other buffers. So, many of us do indeed run our terminals from within Emacs. Cheers, Jonathan -- jjg: Jonathan J. Groll : groll co za has_one { :blog =3D> "http://bloggroll.com" } I envy paranoids; they actually feel people are paying attention to them - Susan Sontag From MAILER-DAEMON Wed Jan 11 03:05:15 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RktBL-0001yn-Qt for mharc-help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 03:05:15 -0500 Received: from eggs.gnu.org ([140.186.70.92]:46507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RktBF-0001y8-Qx for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 03:05:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RktBA-00078j-0C for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 03:05:09 -0500 Received: from lo.gmane.org ([80.91.229.12]:55821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RktB9-00078c-RL for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 03:05:03 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RktB5-0000Wr-LO for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 09:04:59 +0100 Received: from tsdh.uni-koblenz.de ([141.26.67.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Jan 2012 09:04:59 +0100 Received: from tassilo by tsdh.uni-koblenz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 Jan 2012 09:04:59 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Tassilo Horn Subject: Re: Mouse support does not work Date: Wed, 11 Jan 2012 09:04:43 +0100 Lines: 15 Message-ID: <8762giis10.fsf@tsdh.uni-koblenz.de> References: <878vlfh3nv.fsf@tsdh.uni-koblenz.de> <83fwfne7ia.fsf@gnu.org> <87y5tfgtmo.fsf@thinkpad.tsdh.de> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: tsdh.uni-koblenz.de User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:tBsVcb6+h1d9TFpDZUV3pd8xV04= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 11 Jan 2012 08:05:13 -0000 Peter Dyballa writes: Hi Peter, >> BTW, while GNOME terminal works just fine, using emacs in an xterm is >> a huge mess for me. C-h generates a DEL, and M- is just x for any >> key , and probably there's more... > > Substitute C-h with ! Yes, sure, and M- with ESC . My question is not how I can work around that, but if that's an xterm limitation one has to accept. Bye, Tassilo From MAILER-DAEMON Wed Jan 11 04:35:11 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkuaN-0008LV-5z for mharc-help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 04:35:11 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51034) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkuaG-0008He-OL for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 04:35:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkuaE-0001HP-T0 for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 04:35:04 -0500 Received: from colin.muc.de ([193.149.48.1]:50709 helo=mail.muc.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkuaE-0001EU-Fz for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 04:35:02 -0500 Received: (qmail 53319 invoked by uid 3782); 11 Jan 2012 09:34:57 -0000 Date: 11 Jan 2012 09:34:57 -0000 Message-ID: <20120111093457.53318.qmail@mail.muc.de> From: Alan Mackenzie To: help-gnu-emacs@gnu.org Subject: (fwd) Re: Trying to use only tabs for indenting c# files - csharp-mode error? Organization: muc.de e.V. User-Agent: tin/1.9.6-20101126 ("Burnside") (UNIX) (FreeBSD/8.2-STABLE (amd64)) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 193.149.48.1 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 11 Jan 2012 09:35:09 -0000 -- forwarded message -- Path: news.muc.de!not-for-mail From: Alan Mackenzie Newsgroups: gnu.emacs.help Subject: Re: Trying to use only tabs for indenting c# files - csharp-mode error? Date: Mon, 9 Jan 2012 09:46:45 +0000 (UTC) Organization: muc.de e.V. Lines: 115 Message-ID: References: NNTP-Posting-Host: news.muc.de X-Trace: colin.muc.de 1326102405 28296 193.149.48.2 (9 Jan 2012 09:46:45 GMT) X-Complaints-To: news-admin@muc.de NNTP-Posting-Date: Mon, 9 Jan 2012 09:46:45 +0000 (UTC) User-Agent: tin/1.9.6-20101126 ("Burnside") (UNIX) (FreeBSD/8.2-STABLE (amd64)) Xref: news.muc.de gnu.emacs.help:183926 Guido Van Hoecke wrote: > Hi, > Objective: use only tabs for indenting c# files [ .... ] > Ultimately, I want the tab-width set to 4, but for now I just want to > leave or set it to 8: > M-x set-variable [enter] tab-width [enter] 8 [enter] > I will use following legend when showing file content: > # represents a leading tab > + represents a leading empty space (following a preceding tab) > = represents a leading space character > Here's the source file: > namespace Application > { > #+++++++public class MyClass > #+++++++{ > #+++++++#+++++++public MyClass () > #+++++++#+++++++{ > #+++++++#+++++++} > #+++++++} > } > Deleting the first tab changes it to: > namespace Application > { > =======public class MyClass > #+++++++{ > #+++++++#+++++++public MyClass () > #+++++++#+++++++{ > #+++++++#+++++++} > #+++++++} > } > Hitting tab key while point is the 'public class' line changes it to: > namespace Application > { > ==public class MyClass > #+++++++{ > #+++++++#+++++++public MyClass () > #+++++++#+++++++{ > #+++++++#+++++++} > #+++++++} > } > I can't help but feeling that this is in error! > The tab-width is 8, > indent-tabs-mode is t > and still, it uses spaces to indent, and only two of them. You have told it to use a tab instead of 8 spaces. You haven't told it how far to indent, though. [ .... ] > And finally" > M-< > C-SPC > M-> > > produces following result: > namespace Application > { > ==public class MyClass > =={ > ====public string MyString; > ====public MyClass () > ===={ > ====} > ==} > } > So obviously neither tab-width nor indent-tabs-mode are obeyed nor > respected! > Please advise, C# mode is derived from CC Mode, so read the CC Mode manual. :-) However, for your specific problem, the variable c-basic-offset needs to be set to 8. Currently, it looks like it is 2. > ;;; csharp-mode.el --- C# mode derived mode > > ;; Author : Dylan R. E. Moonfire (original) > ;; Maintainer : Dino Chiesa > ;; Created : Feburary 2005 > ;; Modified : May 2011 > ;; Version : 0.8.6 > ;; Keywords : c# languages oop mode > ;; X-URL : http://code.google.com/p/csharpmode/ > ;; Last-saved : <2011-May-21 20:28:30> Perhaps you could contact Dino Chiesa and ask him to include "CC Mode" (with that capitalisation, please) somewhere in that information. > TIA, > Guido -- Alan Mackenzie (Nuremberg, Germany). -- end of forwarded message -- From MAILER-DAEMON Wed Jan 11 04:50:22 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rkup4-00049h-U2 for mharc-help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 04:50:22 -0500 Received: from eggs.gnu.org ([140.186.70.92]:42123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rkuor-00046q-3l for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 04:50:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rkuop-0005iu-Ao for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 04:50:09 -0500 Received: from edge10.ethz.ch ([82.130.75.186]:18169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rkuop-0005eO-4r for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 04:50:07 -0500 Received: from CAS21.d.ethz.ch (172.31.51.111) by edge10.ethz.ch (82.130.75.186) with Microsoft SMTP Server (TLS) id 14.1.355.2; Wed, 11 Jan 2012 10:50:01 +0100 Received: from MBX21.d.ethz.ch ([fe80::840d:1d60:3daa:cdcd]) by CAS21.d.ethz.ch ([fe80::55ba:c4a5:d8a7:ab62%10]) with mapi id 14.01.0355.002; Wed, 11 Jan 2012 10:50:01 +0100 From: "Hofert Jan Marius" To: "Hofert Jan Marius" Subject: Re: Gnus: How to simplify file attachments? Thread-Topic: Gnus: How to simplify file attachments? Thread-Index: AQHM0EZiw0TUwoqwO066OusRkaKQLA== Date: Wed, 11 Jan 2012 09:50:00 +0000 Message-ID: <54D6098E-32CA-4DC6-994E-138C5B1A52D4@math.ethz.ch> Accept-Language: en-US, de-CH Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [129.132.146.66] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.130.75.186 Cc: Emacs help , Leo X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 11 Jan 2012 09:50:21 -0000 Okay, here are the latest findings concerning the drag-and-drop of files to= an *unsent mail* buffer for attaching them: As Thierry pointed out to me off-list, I should not have to specify dnd-pro= tocol-alist. I removed the parts I added, restarted emacs, and realized tha= t locally (in an *unsent mail* buffer), the variable dnd-protocol-alist is = set correctly. Nevertheless, DnD does not work. I then checked on Ubuntu 11= .10 with the same .gnus.el. There it works. So it seems to be a problem on = Mac OS X.=20 Any ideas?=20 Cheers, Marius PS: I work with Emacs 24 (Emacs-pretest-24.0.91-universal-10.6.7.dmg from http://emacsformacosx.com/) on Mac OS X 10.7.2 with Gnus v5.13.= From MAILER-DAEMON Wed Jan 11 07:39:16 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkxSW-0004R5-Ay for mharc-help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 07:39:16 -0500 Received: from eggs.gnu.org ([140.186.70.92]:36048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkxSL-0004QO-7r for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 07:39:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkxSG-0003d0-U0 for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 07:39:05 -0500 Received: from mail-yw0-f41.google.com ([209.85.213.41]:47493) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkxSG-0003cg-RR for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 07:39:00 -0500 Received: by yhoo21 with SMTP id o21so282935yho.0 for ; Wed, 11 Jan 2012 04:39:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=Tg2ZX6rECaOdv5p3LwrnybaRYNOBRzSpt9RQHuU6v5k=; b=OsO78Va4M6CytwiDu3j90Zf9X1VRAMhUDD8ohpKCZSoLbZom9H6IAvlljpUz6bxF9X XfTo6tVrpurTQbb5ATxVCAkK6vGYMl/vWgfyaonsHa1akLuuIfjRdo0hApK/cfmZl+qz zvXQ/T5Ab/s1nE8leRCZIN9azV6Ed421B00vo= Received: by 10.236.124.206 with SMTP id x54mr22271906yhh.112.1326285540095; Wed, 11 Jan 2012 04:39:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.147.182.7 with HTTP; Wed, 11 Jan 2012 04:38:39 -0800 (PST) In-Reply-To: <20120111093457.53318.qmail@mail.muc.de> References: <20120111093457.53318.qmail@mail.muc.de> From: Guido Van Hoecke Date: Wed, 11 Jan 2012 13:38:39 +0100 Message-ID: Subject: Re: (fwd) Re: Trying to use only tabs for indenting c# files - csharp-mode error? To: help-gnu-emacs@gnu.org Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.213.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 11 Jan 2012 12:39:14 -0000 Hi Alan, On Wed, Jan 11, 2012 at 10:34, Alan Mackenzie wrote: >> The tab-width is 8, >> indent-tabs-mode is t >> and still, it uses spaces to indent, and only two of them. >> So obviously neither tab-width nor indent-tabs-mode are obeyed nor >> respected! > >> Please advise, > > C# mode is derived from CC Mode, so read the CC Mode manual. =C2=A0:-) > However, for your specific problem, the variable c-basic-offset needs > to be set to 8. =C2=A0Currently, it looks like it is 2. That was the missing piece of information! With c-basic-offset set to 8, the requested behaviour is obtained. Thanks Alan, Guido -- That must be wonderful: I don't understand it at all. -- Moliere http://vanhoecke.org ... and go2 places! From MAILER-DAEMON Wed Jan 11 07:51:24 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkxeG-0006Mz-20 for mharc-help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 07:51:24 -0500 Received: from eggs.gnu.org ([140.186.70.92]:41843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkxeC-0006LC-IX for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 07:51:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkxeB-0005nM-4e for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 07:51:20 -0500 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:45245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkxeA-0005my-To for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 07:51:19 -0500 Received: by lagj5 with SMTP id j5so329025lag.0 for ; Wed, 11 Jan 2012 04:51:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=72Z9O+zweBG0LI6jranX+B9HafY0joVknIw+3S+6cbc=; b=cyy0SAvx77gJW9LTG7q+f3/pAOi7Qaej3Mdpw8NwdiLXc7JCJuzEWoHclyzBaYy7rU ud5yBu4tmlmkMrQ+0gYbDh+VdqSwja6OmNcsdsq8LI/CATstzm91PW4jxQaz5xd4CJOn LS3zGzF1ug7RD3pGcGHRC4qYwsGxzTH7/msA8= Received: by 10.112.86.135 with SMTP id p7mr5112496lbz.86.1326286277143; Wed, 11 Jan 2012 04:51:17 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.98.133 with HTTP; Wed, 11 Jan 2012 04:50:56 -0800 (PST) In-Reply-To: <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> From: Aaron Meurer Date: Wed, 11 Jan 2012 05:50:56 -0700 Message-ID: Subject: Re: Mouse support does not work To: Peter Dyballa Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 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, 11 Jan 2012 12:51:22 -0000 On Tue, Jan 10, 2012 at 4:26 PM, Peter Dyballa wrote= : > > Am 10.1.2012 um 23:50 schrieb Aaron Meurer: > >> (can the GUI version of emacs use a non-monospaced font, btw?). > > Of course. > >>>> - Is there a way to make scrolling not kill an I-search? >>> >>> I don't know! Why do you want to scroll in that "mode"? Because you wan= t to centre the found text at the bottom? Then try C-l! Or press C-l twice.= (Or three times...) >> >> I want to scroll around and see what's highlighted, not press C-s a >> bunch of times. > > Make the window higher! You could have 100 lines displayed. I already have my terminal full screen. > >> =A0Scrolling gives me visual feedback on where I am in >> the file that jump scrolling does not. > > GNU Emacs allows to display line numbers in the mode-line. Put in the cus= tomisations section of your init file: > > =A0 =A0 =A0 =A0'(column-number-mode t) I already have this. That reminds me to look for a way to always show the line numbers to the left of the text, though. I just found the answer: http://www.emacswiki.org/emacs/LineNumbers > > In GNU Emacs 23.3b the variable isearch-mode-map contains some mouse even= ts. Maybe you can add mouse-4 and mouse-5... I'll play around with this. Actually, I'm starting to feel like I should replace I-search with something else entirely, like maybe re-builder (though this can be slow in my limited experience with it). It does several things I don't like: - You have to press C-s twice to wrap around. It's not so bad, but it's confused me more than once into thinking that there were no occurrences because they were all before the cursor. - You can't edit the search buffer with editing commands. This is the most annoying. If I press M-del to delete a search word, it instead deletes the word under the cursor. If I want to delete the word, I have to repeatedly press delete. It's even worse than that, because pressing delete by default does a reverse i-search! So I have to delete until I get back to the first occurrence, and then until I delete the word. Or just C-g and restart. - As I noted, it kills the search when you scroll. I just checked, and re-builder doesn't do this. > > >> =A0This is one of the reasons I want it to scroll one line at a time. > > The others? Because it would be smoother. Scrolling in the terminal is already choppy due to the fact that you must scroll in one line increments. Again, it's all about good visual feedback. > > Maybe the developers feel like me that scrolling around is a bit imprecis= e and you likely lose the place where isearch found the text... This works fine everywhere else. For example, try it in your web browser (I can't imagine you use emacs for that too :). Search for something and scroll around. You don't "lose" the position of the current search. If you press C-s or Command-s again, it jumps right back to the next search. I just checked, and in vim, you can scroll without loosing the search. It doesn't work exactly as I said above, as pressing n gives the first occurrence on the screen instead of the next one. Aaron Meurer > > -- > Greetings > > =A0Pete > > The human animal differs from the lesser primates in his passion for list= s of "Ten Best." > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=96 H. All= en Smith > From MAILER-DAEMON Wed Jan 11 09:24:24 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rkz6G-0002bU-MJ for mharc-help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 09:24:24 -0500 Received: from eggs.gnu.org ([140.186.70.92]:59265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rkz69-0002b7-Ni for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 09:24:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rkz63-00078s-2o for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 09:24:17 -0500 Received: from acsinet15.oracle.com ([141.146.126.227]:27973) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rkz62-00078k-Tf for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 09:24:11 -0500 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0BEO82V021907 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 11 Jan 2012 14:24:09 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0BEO7LP008074 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 11 Jan 2012 14:24:08 GMT Received: from abhmt114.oracle.com (abhmt114.oracle.com [141.146.116.66]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0BEO7qw024579; Wed, 11 Jan 2012 08:24:07 -0600 Received: from dradamslap1 (/10.159.43.76) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 11 Jan 2012 06:24:07 -0800 From: "Drew Adams" To: "'Aaron Meurer'" , "'Peter Dyballa'" References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE><3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de><49E98AF3-7986-4495-BB39-E07D236450A0@web.de> Subject: RE: Mouse support does not work Date: Wed, 11 Jan 2012 06:24:00 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AczQX7vp+sHI7NmDSGexPbZYoXqtkwADEoIQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090203.4F0D9B89.007C,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 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, 11 Jan 2012 14:24:23 -0000 > - Is there a way to make scrolling not kill an I-search? M-x customize-option isearch-allow-scroll ,---- | isearch-allow-scroll is a variable defined in `isearch.el'. | Its value is nil | | Documentation: | Whether scrolling is allowed during incremental search. | If non-nil, scrolling commands can be used in Isearch mode. | However, the current match will never scroll offscreen. | If nil, scrolling commands will first cancel Isearch mode. `---- From MAILER-DAEMON Wed Jan 11 09:26:49 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rkz8b-0003Hj-4h for mharc-help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 09:26:49 -0500 Received: from eggs.gnu.org ([140.186.70.92]:43276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rkz8Q-00039R-CJ for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 09:26:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rkz8K-0007TE-Bg for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 09:26:38 -0500 Received: from impaqm3.telefonica.net ([213.4.138.19]:7234 helo=telefonica.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rkz8K-0007T0-0S for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 09:26:32 -0500 Received: from IMPmailhost2.adm.correo ([10.20.102.39]) by IMPaqm3.telefonica.net with bizsmtp id L9221i00q0r0BT63PES5Cw; Wed, 11 Jan 2012 15:26:05 +0100 Received: from qcore ([88.11.106.32]) by IMPmailhost2.adm.correo with BIZ IMP id LES31i0150hxhHC1iES4Ep; Wed, 11 Jan 2012 15:26:05 +0100 X-Brightmail-Tracker: AAAAAA== X-original-sender: 981711563@telefonica.net From: =?utf-8?Q?=C3=93scar_Fuentes?= To: Guido Van Hoecke Subject: Re: (fwd) Re: Trying to use only tabs for indenting c# files - csharp-mode error? References: <20120111093457.53318.qmail@mail.muc.de> Date: Wed, 11 Jan 2012 15:26:03 +0100 In-Reply-To: (Guido Van Hoecke's message of "Wed, 11 Jan 2012 13:38:39 +0100") Message-ID: <87pqeqmi2s.fsf@wanadoo.es> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.4.138.19 Cc: Alan Mackenzie , 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, 11 Jan 2012 14:26:47 -0000 Guido Van Hoecke writes: >>> The tab-width is 8, >>> indent-tabs-mode is t >>> and still, it uses spaces to indent, and only two of them. >>> So obviously neither tab-width nor indent-tabs-mode are obeyed nor >>> respected! >> >>> Please advise, >> >> C# mode is derived from CC Mode, so read the CC Mode manual. :-) Alan: there are mentions to cc-mode all around csharp-mode.el. Your name is prominently mentioned on the Acknowledgements section too. It would be even nicer if CC Mode were capitalized correctly, though. :-) >> However, for your specific problem, the variable c-basic-offset needs >> to be set to 8. Currently, it looks like it is 2. > > That was the missing piece of information! > > With c-basic-offset set to 8, the requested behaviour is obtained. The function hook I recommended you to try on a previous message activated the "C#" style, which is defined into csharp-mode: (defun my-csharp-mode-fn () (c-set-style "C#") (setq tab-width 4) (setq indent-tabs-mode t)) (add-hook 'csharp-mode-hook 'my-csharp-mode-fn) It sets c-basic-offset to 4. So with that setup you should see tabs instead of spaces too. I wonder why you didn't. From MAILER-DAEMON Wed Jan 11 09:37:51 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RkzJH-0006l2-BV for mharc-help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 09:37:51 -0500 Received: from eggs.gnu.org ([140.186.70.92]:34482) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkzJE-0006jD-Pn for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 09:37:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkzJD-0000rR-OA for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 09:37:48 -0500 Received: from acsinet15.oracle.com ([141.146.126.227]:38818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkzJD-0000rH-JH for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 09:37:47 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0BEbisQ007312 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 11 Jan 2012 14:37:45 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0BEbhbK024448 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 11 Jan 2012 14:37:43 GMT Received: from abhmt101.oracle.com (abhmt101.oracle.com [141.146.116.53]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0BEbgPO017351; Wed, 11 Jan 2012 08:37:42 -0600 Received: from dradamslap1 (/10.159.43.76) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 11 Jan 2012 06:37:42 -0800 From: "Drew Adams" To: "'Aaron Meurer'" , "'Peter Dyballa'" References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE><3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de><49E98AF3-7986-4495-BB39-E07D236450A0@web.de> Subject: RE: Mouse support does not work Date: Wed, 11 Jan 2012 06:37:36 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AczQX7vp+sHI7NmDSGexPbZYoXqtkwADoSNQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090205.4F0D9EB9.007E,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 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, 11 Jan 2012 14:37:49 -0000 > Actually, I'm starting to feel like I should replace I-search > with something else entirely... It does several things I don't like: > > - You can't edit the search buffer with editing commands. This is the > most annoying. If I press M-del to delete a search word, it instead > deletes the word under the cursor. If I want to delete the word, I > have to repeatedly press delete. It's even worse than that, because > pressing delete by default does a reverse i-search! So I have to > delete until I get back to the first occurrence, and then until I > delete the word. Or just C-g and restart. `M-e' in Isearch. Lets you edit the search string anyway you like. You have all of Emacs at your disposal to edit it. > - As I noted, it kills the search when you scroll. See previous reply: set `isearch-allow-scroll' to non-nil. From MAILER-DAEMON Wed Jan 11 10:23:22 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rl01K-0006aD-4q for mharc-help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 10:23:22 -0500 Received: from eggs.gnu.org ([140.186.70.92]:56893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl01D-0006Zt-1p for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 10:23:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rl01B-0001P5-Pz for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 10:23:14 -0500 Received: from mail-yw0-f41.google.com ([209.85.213.41]:57736) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl01B-0001P0-Lo for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 10:23:13 -0500 Received: by yhoo21 with SMTP id o21so389519yho.0 for ; Wed, 11 Jan 2012 07:23:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=BSXS+fl9oxVQ9d1x/dbfx1WkbkaS26Gf2m91qccju8c=; b=qcVxbf3eY5dynQPP4039qsc2esfAfzVD5NLFtqEb3i/AunM9DRodiKpVcPSbZ3KQmD zNWWmnAe+scjwd9fcOxzO/OfnpHW8R/rlCyBYDe/XVhJYZJA1L3/hHqFsHCRbpicoV3s aDIWkrAr3goNQXmXlFVNu3FuwwVl3ea780coc= Received: by 10.236.124.206 with SMTP id x54mr23354738yhh.112.1326295393181; Wed, 11 Jan 2012 07:23:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.147.182.7 with HTTP; Wed, 11 Jan 2012 07:22:52 -0800 (PST) In-Reply-To: <87pqeqmi2s.fsf@wanadoo.es> References: <20120111093457.53318.qmail@mail.muc.de> <87pqeqmi2s.fsf@wanadoo.es> From: Guido Van Hoecke Date: Wed, 11 Jan 2012 16:22:52 +0100 Message-ID: Subject: Re: (fwd) Re: Trying to use only tabs for indenting c# files - csharp-mode error? To: =?UTF-8?Q?=C3=93scar_Fuentes?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.213.41 Cc: Alan Mackenzie , 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, 11 Jan 2012 15:23:20 -0000 Hi =C3=93scar, On Wed, Jan 11, 2012 at 15:26, =C3=93scar Fuentes wrote: > Guido Van Hoecke writes: > >>>> The tab-width is 8, >>>> indent-tabs-mode is t >>>> and still, it uses spaces to indent, and only two of them. >>>> So obviously neither tab-width nor indent-tabs-mode are obeyed nor >>>> respected! >>> >>>> Please advise, >>> >>> C# mode is derived from CC Mode, so read the CC Mode manual. :-) > > Alan: there are mentions to cc-mode all around csharp-mode.el. Your name > is prominently mentioned on the Acknowledgements section too. It would > be even nicer if CC Mode were capitalized correctly, though. :-) > >>> However, for your specific problem, the variable c-basic-offset needs >>> to be set to 8. Currently, it looks like it is 2. >> >> That was the missing piece of information! >> >> With c-basic-offset set to 8, the requested behaviour is obtained. > > The function hook I recommended you to try on a previous message > activated the "C#" style, which is defined into csharp-mode: > > (defun my-csharp-mode-fn () > =C2=A0(c-set-style "C#") > =C2=A0(setq tab-width 4) > =C2=A0(setq indent-tabs-mode t)) > > (add-hook 'csharp-mode-hook 'my-csharp-mode-fn) > > It sets c-basic-offset to 4. So with that setup you should see tabs > instead of spaces too. I wonder why you didn't. Well, on the one hand, c-basic-offset should be 8 for this case, but on the other hand, emacs complains with "Undefined style: C#" when entering c# mod= e. Kind regards, Guido -- "And what will you do when you grow up to be as big as me?" asked the father of his little son. "Diet." http://vanhoecke.org ... and go2 places! From MAILER-DAEMON Wed Jan 11 10:29:11 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rl06x-00054p-01 for mharc-help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 10:29:11 -0500 Received: from eggs.gnu.org ([140.186.70.92]:60096) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl06p-0004kC-Bq for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 10:29:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rl06j-0002jY-GI for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 10:29:03 -0500 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:35253) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl06j-0002jQ-8D for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 10:28:57 -0500 Received: by lagj5 with SMTP id j5so445737lag.0 for ; Wed, 11 Jan 2012 07:28:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=rOhm2IwHlVKO3t+gm1uLU2H6pQOPPvUcrVvbljPy5NI=; b=UdS++AYQ15Mj0S8eKytFKk/6eXJ2HmQhzxLfenZ/KDrpwqQ2sd9PR8dojp9tkRcXtG znFLUXQyoi1/xIivKjUY53XSaVTtp4bamh+HsszWymuWVGbjnyG/bFiaRpjF3cRGvH7e j0xjuFliRu+JsCuhSd3aEO13S84wULCd824Tg= Received: by 10.112.98.37 with SMTP id ef5mr5619235lbb.73.1326295736151; Wed, 11 Jan 2012 07:28:56 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.98.133 with HTTP; Wed, 11 Jan 2012 07:28:35 -0800 (PST) In-Reply-To: References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> From: Aaron Meurer Date: Wed, 11 Jan 2012 08:28:35 -0700 Message-ID: Subject: Re: Mouse support does not work To: Drew Adams Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 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, 11 Jan 2012 15:29:09 -0000 On Wed, Jan 11, 2012 at 7:37 AM, Drew Adams wrote: >> Actually, I'm starting to feel like I should replace I-search >> with something else entirely... It does several things I don't like: >> >> - You can't edit the search buffer with editing commands. =A0This is the >> most annoying. =A0If I press M-del to delete a search word, it instead >> deletes the word under the cursor. =A0If I want to delete the word, I >> have to repeatedly press delete. =A0It's even worse than that, because >> pressing delete by default does a reverse i-search! So I have to >> delete until I get back to the first occurrence, and then until I >> delete the word. =A0Or just C-g and restart. > > `M-e' in Isearch. =A0Lets you edit the search string anyway you like. =A0= You have > all of Emacs at your disposal to edit it. Thanks. Is there a way to make that default? In other words, any edit command will always edit the search string unless I press RET to end the search. > >> - As I noted, it kills the search when you scroll. > > See previous reply: set `isearch-allow-scroll' to non-nil. > Great. I've got to remember to make searching M-x customize my first resort when I want to change something. Aaron Meurer From MAILER-DAEMON Wed Jan 11 12:44:26 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rl2Dq-0001Nt-Fq for mharc-help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 12:44:26 -0500 Received: from eggs.gnu.org ([140.186.70.92]:42682) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl2Di-0001Hg-D5 for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 12:44:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rl2Dc-0001vt-QK for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 12:44:18 -0500 Received: from impaqm2.telefonica.net ([213.4.138.18]:61436 helo=telefonica.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl2Db-0001v7-H5 for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 12:44:12 -0500 Received: from IMPmailhost4.adm.correo ([10.20.102.125]) by IMPaqm2.telefonica.net with bizsmtp id LHKc1i00G2iL0W23MHiaj3; Wed, 11 Jan 2012 18:42:34 +0100 Received: from qcore ([88.11.106.32]) by IMPmailhost4.adm.correo with BIZ IMP id LHiY1i00Y0hxhHC1kHiZ3d; Wed, 11 Jan 2012 18:42:34 +0100 X-Brightmail-Tracker: AAAAAA== X-original-sender: 981711563@telefonica.net From: =?utf-8?Q?=C3=93scar_Fuentes?= To: Guido Van Hoecke Subject: Re: (fwd) Re: Trying to use only tabs for indenting c# files - csharp-mode error? References: <20120111093457.53318.qmail@mail.muc.de> <87pqeqmi2s.fsf@wanadoo.es> Date: Wed, 11 Jan 2012 18:42:31 +0100 In-Reply-To: (Guido Van Hoecke's message of "Wed, 11 Jan 2012 16:22:52 +0100") Message-ID: <87lipem8zc.fsf@wanadoo.es> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (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 (newer, 3) X-Received-From: 213.4.138.18 Cc: Alan Mackenzie , 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, 11 Jan 2012 17:44:24 -0000 Guido Van Hoecke writes: >>>> However, for your specific problem, the variable c-basic-offset needs >>>> to be set to 8. Currently, it looks like it is 2. >>> >>> That was the missing piece of information! >>> >>> With c-basic-offset set to 8, the requested behaviour is obtained. >> >> The function hook I recommended you to try on a previous message >> activated the "C#" style, which is defined into csharp-mode: >> >> (defun my-csharp-mode-fn () >> =C2=A0(c-set-style "C#") >> =C2=A0(setq tab-width 4) >> =C2=A0(setq indent-tabs-mode t)) >> >> (add-hook 'csharp-mode-hook 'my-csharp-mode-fn) >> >> It sets c-basic-offset to 4. So with that setup you should see tabs >> instead of spaces too. I wonder why you didn't. > > Well, on the one hand, c-basic-offset should be 8 for this case, No. The hook sets tab-width to 4 and the C# style indents by 4 columns, which was precisely what you wanted, IIRC. > but on the other hand, emacs complains with "Undefined style: C#" when > entering c# mode. My version of csharp-mode.el is 0.8.6, from May 2011. It defines the C# style at line 5219: (c-add-style "C#" ... From MAILER-DAEMON Wed Jan 11 13:40:38 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rl36E-0004ln-EH for mharc-help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 13:40:38 -0500 Received: from eggs.gnu.org ([140.186.70.92]:53200) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl30N-0006Q5-5z for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 13:34:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rl30G-0002Ox-Kp for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 13:34:35 -0500 Received: from bay0-omc4-s14.bay0.hotmail.com ([65.54.190.216]:29310) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl30G-0002Ok-FT for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 13:34:28 -0500 Received: from BAY158-W44 ([65.54.190.199]) by bay0-omc4-s14.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 11 Jan 2012 10:34:26 -0800 Message-ID: X-Originating-IP: [66.195.165.72] From: Saurabh T To: Emacs Subject: Ediff: toggle whitespace when ediff-diff-options has -w Date: Wed, 11 Jan 2012 18:34:25 +0000 Importance: Normal Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 11 Jan 2012 18:34:26.0387 (UTC) FILETIME=[A595F230:01CCD08F] X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP4, XP SP1+ X-Received-From: 65.54.190.216 X-Mailman-Approved-At: Wed, 11 Jan 2012 13:40: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: Wed, 11 Jan 2012 18:34:39 -0000 I have ediff-diff-options set to -w. But this removes the toggle behaviour = of "##" in the ediff window. Is there any automatic way to have the initial= diff set to ignore whitespaces=2C but preserve the toggle behaviour? saurabh = From MAILER-DAEMON Wed Jan 11 13:56:39 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rl3Lj-0002Cb-Jp for mharc-help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 13:56:39 -0500 Received: from eggs.gnu.org ([140.186.70.92]:33221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl3Le-0002Af-3J for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 13:56:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rl3Ld-0005fN-3P for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 13:56:34 -0500 Received: from acsinet15.oracle.com ([141.146.126.227]:57133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl3Lc-0005fB-UP for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 13:56:33 -0500 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0BIuU1N030097 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 11 Jan 2012 18:56:31 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0BIuUj8023746 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 11 Jan 2012 18:56:30 GMT Received: from abhmt113.oracle.com (abhmt113.oracle.com [141.146.116.65]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0BIuTHu031212; Wed, 11 Jan 2012 12:56:30 -0600 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 11 Jan 2012 10:56:29 -0800 From: "Drew Adams" To: "'Saurabh T'" , "'Emacs'" References: Subject: RE: Ediff: toggle whitespace when ediff-diff-options has -w Date: Wed, 11 Jan 2012 10:56:28 -0800 Message-ID: <4DDA3E6F4850484B85456ADBDE513D2F@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AczQkIV3dbD5RnMORiuzV3pjowEbyQAAdLdQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090208.4F0DDB5F.00DD,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 11 Jan 2012 18:56:38 -0000 > I have ediff-diff-options set to -w. But this removes the > toggle behaviour of "##" in the ediff window. Is there any > automatic way to have the initial diff set to ignore > whitespaces, but preserve the toggle behaviour? Try (untested): (setq-default ediff-ignore-similar-regions t) From MAILER-DAEMON Wed Jan 11 14:01:56 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rl3Qq-0003B6-3y for mharc-help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 14:01:56 -0500 Received: from eggs.gnu.org ([140.186.70.92]:56704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl3Qn-00030q-G4 for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 14:01:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rl3Qj-0006Pf-6o for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 14:01:53 -0500 Received: from bay0-omc3-s24.bay0.hotmail.com ([65.54.190.162]:47118) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl3Qj-0006PI-1t for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 14:01:49 -0500 Received: from BAY158-W56 ([65.54.190.189]) by bay0-omc3-s24.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 11 Jan 2012 11:01:47 -0800 Message-ID: X-Originating-IP: [66.195.165.72] From: Saurabh T To: , Emacs Subject: RE: Ediff: toggle whitespace when ediff-diff-options has -w Date: Wed, 11 Jan 2012 19:01:46 +0000 Importance: Normal In-Reply-To: <4DDA3E6F4850484B85456ADBDE513D2F@us.oracle.com> References: , <4DDA3E6F4850484B85456ADBDE513D2F@us.oracle.com> Content-Type: text/plain; charset="windows-1251" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 11 Jan 2012 19:01:47.0842 (UTC) FILETIME=[77F81A20:01CCD093] X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP4, XP SP1+ X-Received-From: 65.54.190.162 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 11 Jan 2012 19:01:54 -0000 > From: drew.adams@oracle.com > To: saurabh@hotmail.com=3B help-gnu-emacs@gnu.org > Subject: RE: Ediff: toggle whitespace when ediff-diff-options has -w > Date: Wed=2C 11 Jan 2012 10:56:28 -0800 > > > I have ediff-diff-options set to -w. But this removes the > > toggle behaviour of "##" in the ediff window. Is there any > > automatic way to have the initial diff set to ignore > > whitespaces=2C but preserve the toggle behaviour? > > Try (untested): > > (setq-default ediff-ignore-similar-regions t) > That worked=2C thank you! = From MAILER-DAEMON Wed Jan 11 14:11:07 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rl3Zj-0007Xd-Ha for mharc-help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 14:11:07 -0500 Received: from eggs.gnu.org ([140.186.70.92]:38751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl3Zh-0007XN-0X for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 14:11:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rl3Za-00081q-Es for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 14:11:04 -0500 Received: from rcsinet15.oracle.com ([148.87.113.117]:26031) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl3Za-00081a-9L for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 14:10:58 -0500 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0BJAtVL026028 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 11 Jan 2012 19:10:56 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0BJAsLS013678 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 11 Jan 2012 19:10:54 GMT Received: from abhmt114.oracle.com (abhmt114.oracle.com [141.146.116.66]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0BJAsuV009783; Wed, 11 Jan 2012 13:10:54 -0600 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 11 Jan 2012 11:10:53 -0800 From: "Drew Adams" To: "'Aaron Meurer'" References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> Subject: RE: Mouse support does not work Date: Wed, 11 Jan 2012 11:10:52 -0800 Message-ID: <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AczQdbyM4reT9q+VQXK8Wd1/Dlv2mwAAwCcQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-CT-RefId: str=0001.0A090206.4F0DDEC0.00FC,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.117 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, 11 Jan 2012 19:11:06 -0000 > > `M-e' in Isearch. =A0Lets you edit the search string anyway=20 > > you like. =A0You have all of Emacs at your disposal to edit it. >=20 > Thanks. Is there a way to make that default? In other words, any edit > command will always edit the search string unless I press RET to end > the search. Not that I know of offhand - never looked for that. You can check the = doc. But if you really want that then it sounds like you do not want = _incremental_ search in the first place. In that case, just use the non-incremental = search commands: `search-forward' etc. Transport yourself back to the 1970s = and enjoy. ;-) On the other hand, if you just want to have certain editing = commands/keys automatically initiate Isearch editing (what `M-e' does), then you can = customize option `isearchp-initiate-edit-commands'. (You need Isearch+ for that possibility - see below.) > >> - As I noted, it kills the search when you scroll. > > > > See previous reply: set `isearch-allow-scroll' to non-nil. >=20 > Great. I've got to remember to make searching M-x customize my first > resort when I want to change something. I recommend the Emacs doc, also. > - You have to press C-s twice to wrap around. It's not so bad, but > it's confused me more than once into thinking that there were no > occurrences because they were all before the cursor. If you use Isearch+ then the prompt keywords "Wrapped" and "Overwrapped" = are highlighted in a different face, so you can notice easier that wrapping = is happening. (Prompt keywords are also highlighted for regexp, word, and multi-buffer searching. If you do not want such highlighting then just customize the = faces for any of these to look the same as face `minibuffer-prompt'.) And in Emacs 24+, the mode-line lighter gets the same face whenever = Isearch is wrapping. Isearch+ is here: http://www.emacswiki.org/cgi-bin/wiki/IsearchPlus http://www.emacswiki.org/emacs/download/isearch%2b.el From MAILER-DAEMON Wed Jan 11 15:05:10 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rl4Q2-0004TX-BW for mharc-help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 15:05:10 -0500 Received: from eggs.gnu.org ([140.186.70.92]:57729) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl4Pz-0004RS-97 for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 15:05:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rl4Ps-00029P-U5 for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 15:05:07 -0500 Received: from mail-yw0-f41.google.com ([209.85.213.41]:42092) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl4Ps-00029J-OU for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 15:05:00 -0500 Received: by yhoo21 with SMTP id o21so597640yho.0 for ; Wed, 11 Jan 2012 12:05:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=aYM+dnXwI2o6sdmZ9yuR98gCxfsFIH533zFjlLDz4CU=; b=BLKyH45vjGLl9Iga55QCGc8sGikAiLQ+V0Atj9xhJR4yipX3/CBy0aeqgvI6IhQIeh oTkH2fH+KYkpPMGKoxrhY9P7+8PE74/RQ7JIl5h9YrBkEoQtjXnf8bo9feD6J5cGQpPH k/LspWXjrV3p8wfNPawzGo7J8GqM/6jdinIn4= Received: by 10.236.124.206 with SMTP id x54mr385907yhh.112.1326312300181; Wed, 11 Jan 2012 12:05:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.147.182.7 with HTTP; Wed, 11 Jan 2012 12:04:39 -0800 (PST) In-Reply-To: <87lipem8zc.fsf@wanadoo.es> References: <20120111093457.53318.qmail@mail.muc.de> <87pqeqmi2s.fsf@wanadoo.es> <87lipem8zc.fsf@wanadoo.es> From: Guido Van Hoecke Date: Wed, 11 Jan 2012 21:04:39 +0100 Message-ID: Subject: Re: (fwd) Re: Trying to use only tabs for indenting c# files - csharp-mode error? To: =?UTF-8?Q?=C3=93scar_Fuentes?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.213.41 Cc: Alan Mackenzie , 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, 11 Jan 2012 20:05:09 -0000 Hi On Wed, Jan 11, 2012 at 18:42, =C3=93scar Fuentes wrote: > Guido Van Hoecke writes: > >>>>> However, for your specific problem, the variable c-basic-offset needs >>>>> to be set to 8. Currently, it looks like it is 2. >>>> >>>> That was the missing piece of information! >>>> >>>> With c-basic-offset set to 8, the requested behaviour is obtained. >>> >>> The function hook I recommended you to try on a previous message >>> activated the "C#" style, which is defined into csharp-mode: >>> >>> (defun my-csharp-mode-fn () >>> =C2=A0(c-set-style "C#") >>> =C2=A0(setq tab-width 4) >>> =C2=A0(setq indent-tabs-mode t)) >>> >>> (add-hook 'csharp-mode-hook 'my-csharp-mode-fn) >>> >>> It sets c-basic-offset to 4. So with that setup you should see tabs >>> instead of spaces too. I wonder why you didn't. >> >> Well, on the one hand, c-basic-offset should be 8 for this case, > > No. The hook sets tab-width to 4 and the C# style indents by 4 columns, > which was precisely what you wanted, IIRC. Not really, the technical lead wants only indentation by means of tabs, and they set the display width to 4. My understanding is that tab-width 4 would lead to using spaces for the trailing 'odd' tab (e.g. create 3 indentations with one tab and 4 spaces). > >> but on the other hand, emacs complains with "Undefined style: C#" when >> entering c# mode. > > My version of csharp-mode.el is 0.8.6, from May 2011. It defines the C# s= tyle > at line 5219: > > (c-add-style "C#" =C2=A0... Same version here, still that's the error message. Kind Regards, Guido -- Put a pot of chili on the stove to simmer. Let it simmer. Meanwhile, broil a good steak. Eat the steak. Let the chili simmer. Ignore it. -- Recipe for chili from Allan Shrivers, former governor of Texas. http://vanhoecke.org ... and go2 places! From MAILER-DAEMON Wed Jan 11 16:15:01 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rl5Vd-0000M1-6v for mharc-help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 16:15:01 -0500 Received: from eggs.gnu.org ([140.186.70.92]:59515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl5VY-0000GM-Bl for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 16:14:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rl5VW-0008Cf-Lq for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 16:14:56 -0500 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:58678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl5VW-0008CY-8Q for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 16:14:54 -0500 Received: by lagj5 with SMTP id j5so680958lag.0 for ; Wed, 11 Jan 2012 13:14:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=ZAjK2RzCOQrVJM1OyKf+96yzFStO65PZn3vfiQ8eh10=; b=NP9sd++PugehdyhUuHl+HANz8U+RFG+kl3imZSHETS7ElZkwVTtsQYfES30bFud0PQ fWuMG48HL8soyfSX59GHhGyn3TyQe/9e1kb/7wBhgmAFD6SWUmZRorIZvhmlfQgxQhR7 iZqw1boIXx3z0DpCrI8TfqyRznXBkRKgn7OcQ= Received: by 10.152.111.201 with SMTP id ik9mr528457lab.8.1326316493201; Wed, 11 Jan 2012 13:14:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.98.133 with HTTP; Wed, 11 Jan 2012 13:14:32 -0800 (PST) In-Reply-To: <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> From: Aaron Meurer Date: Wed, 11 Jan 2012 14:14:32 -0700 Message-ID: Subject: Re: Mouse support does not work To: Drew Adams Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 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, 11 Jan 2012 21:14:57 -0000 On Wed, Jan 11, 2012 at 12:10 PM, Drew Adams wrote: >> > `M-e' in Isearch. =A0Lets you edit the search string anyway >> > you like. =A0You have all of Emacs at your disposal to edit it. >> >> Thanks. =A0Is there a way to make that default? In other words, any edit >> command will always edit the search string unless I press RET to end >> the search. > > Not that I know of offhand - never looked for that. =A0You can check the = doc. > > But if you really want that then it sounds like you do not want _incremen= tal_ > search in the first place. =A0In that case, just use the non-incremental = search > commands: `search-forward' etc. =A0Transport yourself back to the 1970s a= nd enjoy. > ;-) > > On the other hand, if you just want to have certain editing commands/keys > automatically initiate Isearch editing (what `M-e' does), then you can cu= stomize > option `isearchp-initiate-edit-commands'. =A0(You need Isearch+ for that > possibility - see below.) Thanks. For others interested, it is from that extension (hence the p in the variable name). To use it, you should edit the source and uncomment the commands you want to allow to edit the search (I uncommented them all). > >> >> - As I noted, it kills the search when you scroll. >> > >> > See previous reply: set `isearch-allow-scroll' to non-nil. >> >> Great. I've got to remember to make searching M-x customize my first >> resort when I want to change something. > > I recommend the Emacs doc, also. Meh. I usually just use Google. If that takes me to the docs, then fine. I've found emacswiki to be the most helpful so far, actually. > >> - You have to press C-s twice to wrap around. =A0It's not so bad, but >> it's confused me more than once into thinking that there were no >> occurrences because they were all before the cursor. > > If you use Isearch+ then the prompt keywords "Wrapped" and "Overwrapped" = are > highlighted in a different face, so you can notice easier that wrapping i= s > happening. The problem is not that I'm unaware that it's wrapping around (though I do appreciate it letting me know). The problem is that it doesn't do it by default, so it appears that there are no matches, unless you remember to press C-s a second time to check for matches before. I'm used to editors that wrap around automatically, so if there are no matches after the cursor, it will automatically give the first one in the file without having to press C-s additionally. I just checked with isearch+. It selects the searches in the text. But it does not automatically go to the "first" one (the one closest to the top of the buffer), hence requiring an additional press of C-s. It also highlights the text with the failing search face and says "Failing I-Search". I think this is the same as without the extension. I think all of my other search related problems are solved, though. > > (Prompt keywords are also highlighted for regexp, word, and multi-buffer > searching. =A0If you do not want such highlighting then just customize th= e faces > for any of these to look the same as face `minibuffer-prompt'.) > > And in Emacs 24+, the mode-line lighter gets the same face whenever Isear= ch is > wrapping. > > Isearch+ is here: > http://www.emacswiki.org/cgi-bin/wiki/IsearchPlus > http://www.emacswiki.org/emacs/download/isearch%2b.el > From MAILER-DAEMON Wed Jan 11 17:12:43 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rl6PT-0000DN-Sz for mharc-help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 17:12:43 -0500 Received: from eggs.gnu.org ([140.186.70.92]:41189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl6PQ-0000DD-PN for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 17:12:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rl6PO-0001TJ-Ta for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 17:12:40 -0500 Received: from fmmailgate01.web.de ([217.72.192.221]:46466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl6PO-0001T5-Lu for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 17:12:38 -0500 Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate01.web.de (Postfix) with ESMTP id 8E9C31A896D9F for ; Wed, 11 Jan 2012 23:12:32 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb001) with ESMTPA (Nemesis) id 0M09uu-1SYnka0dkC-00uJMX; Wed, 11 Jan 2012 23:12:32 +0100 Subject: Re: Mouse support does not work Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=iso-8859-1 From: Peter Dyballa In-Reply-To: <8762giis10.fsf@tsdh.uni-koblenz.de> Date: Wed, 11 Jan 2012 23:12:31 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <09F3635C-9CE0-4D9D-B9E5-012C652EF8A0@Web.DE> References: <878vlfh3nv.fsf@tsdh.uni-koblenz.de> <83fwfne7ia.fsf@gnu.org> <87y5tfgtmo.fsf@thinkpad.tsdh.de> <8762giis10.fsf@tsdh.uni-koblenz.de> To: Tassilo Horn X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:ZBfa7X7IpvU6Qn7u5Oc8PqSAL1b1HKRJs77qRj3I8Z4 EpwLnUY3BPFYZANr8Vv8eQ5owRzvTUGx0rz0iKW9+0zS7YGSUu nqmuTLfl5iIZnMA+hITC54MKFC40sv8iQr2yp4ceTmyVQCBtfr OrqkffMA9cRbNC0aAZBQ3k7l/yPbICnO3+Zt7galUC/xC5TWgu KjG6ErdXngesqIO/NHOtQ== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.221 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, 11 Jan 2012 22:12:41 -0000 Am 11.1.2012 um 09:04 schrieb Tassilo Horn: > My question is not how I can work > around that, but if that's an xterm limitation one has to accept. I think I figured it out! And it's not an xterm limitation but a GNU = Emacs default. With stty you need to make C-h and BS different in xterm etc., for = example with stty erase '^?' and in GNU Emacs perform (normal-erase-is-backspace-mode 0) This will inhibit the default behaviour of remapping the two keys. The = info node "59.1 If Fails to Delete" seems to describe this. Even = C-h and seem to be distinct. -- Mit friedvollen Gr=FC=DFen Pete Im Leben lernt der Mensch als erstes das Gehen und Sprechen. Sp=E4ter lernt er still zu sitzen und den Mund zu halten. From MAILER-DAEMON Wed Jan 11 21:50:39 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RlAkQ-0008Sb-WB for mharc-help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 21:50:38 -0500 Received: from eggs.gnu.org ([140.186.70.92]:37401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlAkO-0008Rh-9Z for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 21:50:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlAkN-0000Wj-BO for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 21:50:36 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:40454) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlAkN-0000Wb-8D for help-gnu-emacs@gnu.org; Wed, 11 Jan 2012 21:50:35 -0500 Received: by iafj26 with SMTP id j26so2389911iaf.0 for ; Wed, 11 Jan 2012 18:50:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=m+8Z2W0DHQHYWc0/sc4kC4Lla94vUmf7UFI5v0AILOQ=; b=pnua0j6xoHw0UE5m4DgRUU0HXgIr7Lrr48ibHeUZJxWBMj/ZHnxvnxofXGP7y9jZRn cqTRxD4hT+RHEzKs0ufAM5PT7lc/6AFKH8LE4VRd5x9wtHt/XTSgmRQYoSYH8RHGf20w i2bOk7l7VZ4mqnuUKA8z4ATDDBkRsTgpvSRDs= MIME-Version: 1.0 Received: by 10.50.104.163 with SMTP id gf3mr5461167igb.26.1326336634083; Wed, 11 Jan 2012 18:50:34 -0800 (PST) Received: by 10.42.229.71 with HTTP; Wed, 11 Jan 2012 18:50:34 -0800 (PST) Date: Thu, 12 Jan 2012 11:50:34 +0900 Message-ID: Subject: error "Odd number of elements in hashtable data From: ishi soichi To: help-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=e89a8f2343dfed599604b64bcf08 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 12 Jan 2012 02:50:37 -0000 --e89a8f2343dfed599604b64bcf08 Content-Type: text/plain; charset=ISO-8859-1 I'm trying to develop a database using hash-table. As you can see, creating a file that contains the data of hash-table. (setq data-directory "~/(path)/hashtest") (with-current-buffer (find-file-noselect data-directory) (let ((h (make-hash-table :test 'equal))) (puthash "think" "hard" h) (puthash "go" "this" h) (puthash "come" "that" h) (puthash "went" "gone" h) (puthash "category" "bad" h) (puthash "why" "how" h) (puthash "what" "on" h) (insert (format "%S" h)) (save-buffer))) in the "hashtest" file, #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8 data ("think" "hard" "go" "this" "come" "that" "went" "gone" "category" "bad" "why" "how" "what" "on" ...)) But for checking, (with-current-buffer (find-file-noselect data-directory) (let ((ht (read (current-buffer)))) (gethash "go" ht))) gives an error, Debugger entered--Lisp error: (error "Odd number of elements in hashtable data")... "Odd number" does not make sense to me at all. Could anyone help me out? Thanks in advance! soichi --e89a8f2343dfed599604b64bcf08 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I'm trying to develop a database using hash-table.
As yo= u can see, creating a file that contains the data of hash-table.
=
(setq data-directory "~/(path)/hashtest")
(with-current-buffer (find-file-noselect data-directory)
=A0= (let ((h (make-hash-table :test 'equal)))
=A0 =A0 (puthash &= quot;think" "hard" h)
=A0 =A0 (puthash "go&qu= ot; "this" h)
=A0 =A0 (puthash "come" "that" h)
=A0 = =A0 (puthash "went" "gone" h)
=A0 =A0 (puthas= h "category" "bad" h)
=A0 =A0 (puthash "= why" "how" h)
=A0 =A0 (puthash "what" "on" h)
=A0 =A0 = (insert (format "%S" h))
=A0 =A0 (save-buffer)))
<= div>
in the "hashtest" file,=A0

#s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8= data ("think" "hard" "go" "this" &= quot;come" "that" "went" "gone" "ca= tegory" "bad" "why" "how" "what&quo= t; "on" ...))

But for checking,

(with-c= urrent-buffer
=A0 =A0 (find-file-noselect data-directory)
=A0 (let ((ht (read (current-buffer))))
=A0 =A0 (gethash "= ;go" ht)))

gives an error,=A0

Debug= ger entered--Lisp error: (error "Odd number of elements in hashtable d= ata")...

"Odd number" does not make= sense to me at all.
Could anyone help me out?

Thanks in advance!<= /div>

soichi
--e89a8f2343dfed599604b64bcf08-- From MAILER-DAEMON Thu Jan 12 02:22:22 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RlEzO-0000iu-Gu for mharc-help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 02:22:22 -0500 Received: from eggs.gnu.org ([140.186.70.92]:49348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlEzJ-0000eS-TK for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 02:22:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlEzI-0008GQ-RW for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 02:22:17 -0500 Received: from deliver.uni-koblenz.de ([141.26.64.15]:42127) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlEzI-0008GE-Lu for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 02:22:16 -0500 Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 0D500D2488; Thu, 12 Jan 2012 08:22:15 +0100 (CET) X-Virus-Scanned: amavisd-new at uni-koblenz.de Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M3Qo-zNh8tKZ; Thu, 12 Jan 2012 08:22:14 +0100 (CET) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Received: from tsdh.uni-koblenz.de (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 80D06D2487; Thu, 12 Jan 2012 08:22:14 +0100 (CET) From: Tassilo Horn To: Peter Dyballa Subject: Re: Mouse support does not work References: <878vlfh3nv.fsf@tsdh.uni-koblenz.de> <83fwfne7ia.fsf@gnu.org> <87y5tfgtmo.fsf@thinkpad.tsdh.de> <8762giis10.fsf@tsdh.uni-koblenz.de> <09F3635C-9CE0-4D9D-B9E5-012C652EF8A0@Web.DE> Date: Thu, 12 Jan 2012 08:22:13 +0100 In-Reply-To: <09F3635C-9CE0-4D9D-B9E5-012C652EF8A0@Web.DE> (Peter Dyballa's message of "Wed, 11 Jan 2012 23:12:31 +0100") Message-ID: <87y5td4c7u.fsf@tsdh.uni-koblenz.de> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 141.26.64.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, 12 Jan 2012 07:22:18 -0000 Peter Dyballa writes: Hi Peter, >> My question is not how I can work around that, but if that's an xterm >> limitation one has to accept. > > I think I figured it out! And it's not an xterm limitation but a GNU > Emacs default. > > With stty you need to make C-h and BS different in xterm etc., for > example with > > stty erase '^?' > > and in GNU Emacs perform > > (normal-erase-is-backspace-mode 0) After doing those two, now DEL behaves as C-h, and C-h as DEL. With only the latter, both act like C-h. Ditto with only the former. Hm, I think that was different when I just did "stty erase '^?'" the first time. Is that setting persisted across xterm sessions? > This will inhibit the default behaviour of remapping the two keys. The > info node "59.1 If Fails to Delete" seems to describe this. Even > C-h and seem to be distinct. Thanks for the pointer. Bye, Tassilo From MAILER-DAEMON Thu Jan 12 03:55:43 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RlGRj-0005Hc-Ao for mharc-help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 03:55:43 -0500 Received: from eggs.gnu.org ([140.186.70.92]:45504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlGRe-0005HB-E0 for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 03:55:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlGRY-00052D-HQ for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 03:55:38 -0500 Received: from mail-vx0-f169.google.com ([209.85.220.169]:60601) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlGRY-000529-C8 for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 03:55:32 -0500 Received: by vcge1 with SMTP id e1so1392139vcg.0 for ; Thu, 12 Jan 2012 00:55:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=syntactic.org; s=syntacticorg; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=57IWkLa6Ab6NLrWNiLa/HZLrkiCIv8BCK1pGyhWLEsI=; b=FDyB7y3pssM3YPkvH/kMQ/c1MY/FfWOpgjp0hpmDc3BeJxHEslJWPAwnt3eMnFjvv5 96w0lr/s1svgyWfqFe3L8cZphgEa8CRmtafAm5rwLjUb6Wgp5TMDSnOVA6495YHBQ/bL /RMDriRQ5wuOwotb1p6zcxYSU5yxelqPSov8U= MIME-Version: 1.0 Received: by 10.220.156.72 with SMTP id v8mr1498359vcw.45.1326358530778; Thu, 12 Jan 2012 00:55:30 -0800 (PST) Received: by 10.52.158.4 with HTTP; Thu, 12 Jan 2012 00:55:30 -0800 (PST) In-Reply-To: References: Date: Thu, 12 Jan 2012 10:55:30 +0200 Message-ID: Subject: Re: error "Odd number of elements in hashtable data From: Valentin Baciu To: ishi soichi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.220.169 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, 12 Jan 2012 08:55:42 -0000 On Thu, Jan 12, 2012 at 4:50 AM, ishi soichi wrote: > I'm trying to develop a database using hash-table. > As you can see, creating a file that contains the data of hash-table. > > (setq data-directory "~/(path)/hashtest") > (with-current-buffer (find-file-noselect data-directory) > =A0 (let ((h (make-hash-table :test 'equal))) > =A0 =A0 (puthash "think" "hard" h) > =A0 =A0 (puthash "go" "this" h) > =A0 =A0 (puthash "come" "that" h) > =A0 =A0 (puthash "went" "gone" h) > =A0 =A0 (puthash "category" "bad" h) > =A0 =A0 (puthash "why" "how" h) > =A0 =A0 (puthash "what" "on" h) > =A0 =A0 (insert (format "%S" h)) > =A0 =A0 (save-buffer))) > > in the "hashtest" file, > > #s(hash-table size 65 test equal rehash-size 1.5 rehash-threshold 0.8 dat= a > ("think" "hard" "go" "this" "come" "that" "went" "gone" "category" "bad" > "why" "how" "what" "on" ...)) > > But for checking, > > (with-current-buffer > =A0 =A0 (find-file-noselect data-directory) > =A0 (let ((ht (read (current-buffer)))) > =A0 =A0 (gethash "go" ht))) > > gives an error, > > Debugger entered--Lisp error: (error "Odd number of elements in hashtable > data")... > > "Odd number" does not make sense to me at all. > Could anyone help me out? > > Thanks in advance! > > soichi I get a different error: End of file during parsing. In my case it is because the point remains at the end of the buffer after the hash table has been serialized in the associated file. In order to make it work I had to change the code which reads the hash table to the following: (with-current-buffer (find-file-noselect data-directory) (let ((ht (read (current-buffer)))) (goto-char (point-min)) ;; move the point to the beginning of the buffer (gethash "go" ht))) From MAILER-DAEMON Thu Jan 12 04:44:53 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RlHDJ-0000F9-FC for mharc-help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 04:44:53 -0500 Received: from eggs.gnu.org ([140.186.70.92]:57084) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlHDB-00009P-4d for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 04:44:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlHD5-0004am-IS for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 04:44:45 -0500 Received: from fmmailgate03.web.de ([217.72.192.234]:48381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlHD5-0004a4-C7 for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 04:44:39 -0500 Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate03.web.de (Postfix) with ESMTP id 2F75E1AF73A27 for ; Thu, 12 Jan 2012 10:44:33 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0MIeCm-1Rj4Ho2igy-002VnG; Thu, 12 Jan 2012 10:44:32 +0100 Subject: Re: Mouse support does not work Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=iso-8859-1 From: Peter Dyballa In-Reply-To: <87y5td4c7u.fsf@tsdh.uni-koblenz.de> Date: Thu, 12 Jan 2012 10:44:31 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <878vlfh3nv.fsf@tsdh.uni-koblenz.de> <83fwfne7ia.fsf@gnu.org> <87y5tfgtmo.fsf@thinkpad.tsdh.de> <8762giis10.fsf@tsdh.uni-koblenz.de> <09F3635C-9CE0-4D9D-B9E5-012C652EF8A0@Web.DE> <87y5td4c7u.fsf@tsdh.uni-koblenz.de> To: Tassilo Horn X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:5KW658ke0bgckVOVglgJ3WnML8B9325E91X2Qf863GU N3yMdlzcPV4ushs5vHWKoRrUfnMtqHs68Ke7Z5wsPJBeuslXt5 y50w3Z7nfg6/2hLHZjDny/Uutf1Kv7FaAIiZ+HK/b+1UWRXIPC WHUQ1C36aAozQ8emILSA2NMTseheF964u/O+FGoVpIQFl81SL/ 34fqv+LYQvRuc8Ci1fxSA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.234 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, 12 Jan 2012 09:44:50 -0000 Am 12.1.2012 um 08:22 schrieb Tassilo Horn: > Hm, I think that was different when I just did "stty erase '^?'" the > first time. Is that setting persisted across xterm sessions? No, it has to be invoked in each xterm session, so put that command into = the shell's RC file. It needs to be executed even then when the shell is = not the login shell. Interestingly uxterm seems to be immune! In its menu it has "Backarrow = Key (BS/DEL)" activated. And this one is the culprit, this setting makes = DEL and BS equal. (Maybe one day I'll find which X resource is = responsible.) In xterm this resource has no effect. -- Mit friedvollen Gr=FC=DFen Pete Stop-and-go: Bezeichnung f=FCr die vergeblichen Bem=FChungen der = Outomobilistinnen, durch "Stop" schneller zu sein als die Fu=DFg=E4ngerinn= en durch "Go." From MAILER-DAEMON Thu Jan 12 04:57:10 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RlHPC-0003TN-U4 for mharc-help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 04:57:10 -0500 Received: from eggs.gnu.org ([140.186.70.92]:53349) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlHP6-0003T8-Ca for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 04:57:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlHOz-0006RH-Kw for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 04:57:04 -0500 Received: from deliver.uni-koblenz.de ([141.26.64.15]:34214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlHOz-0006R4-GT for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 04:56:57 -0500 Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 01C85D24CC; Thu, 12 Jan 2012 10:56:56 +0100 (CET) X-Virus-Scanned: amavisd-new at uni-koblenz.de Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X27wZrW1Mv36; Thu, 12 Jan 2012 10:56:55 +0100 (CET) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Received: from tsdh.uni-koblenz.de (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 40F5DD24CB; Thu, 12 Jan 2012 10:56:55 +0100 (CET) From: Tassilo Horn To: Peter Dyballa Subject: Re: Mouse support does not work References: <878vlfh3nv.fsf@tsdh.uni-koblenz.de> <83fwfne7ia.fsf@gnu.org> <87y5tfgtmo.fsf@thinkpad.tsdh.de> <8762giis10.fsf@tsdh.uni-koblenz.de> <09F3635C-9CE0-4D9D-B9E5-012C652EF8A0@Web.DE> <87y5td4c7u.fsf@tsdh.uni-koblenz.de> Date: Thu, 12 Jan 2012 10:56:53 +0100 In-Reply-To: (Peter Dyballa's message of "Thu, 12 Jan 2012 10:44:31 +0100") Message-ID: <87hb014522.fsf@tsdh.uni-koblenz.de> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 141.26.64.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, 12 Jan 2012 09:57:10 -0000 Peter Dyballa writes: >> Hm, I think that was different when I just did "stty erase '^?'" the >> first time. Is that setting persisted across xterm sessions? > > No, it has to be invoked in each xterm session, so put that command > into the shell's RC file. It needs to be executed even then when the > shell is not the login shell. Really strange. I restarted my xterm many times, but I'm pretty sure I had a different behavior in the first one before I eventually invoked "stty erase '^?'"... > Interestingly uxterm seems to be immune! Not for me. Both stty and toggeling normal-erase-is-backspace (or both) make that either both DEL and C-h delete or activate the help menu... Anyway, there are many good alternatives to xterm (urxvt, GNOME Terminal, XFCE Terminal, KDE Konsole, ...). Bye, Tassilo From MAILER-DAEMON Thu Jan 12 05:06:18 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RlHY2-0006rO-GI for mharc-help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 05:06:18 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlHXv-0006l4-As for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 05:06:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlHXp-0008Cm-8X for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 05:06:11 -0500 Received: from fmmailgate01.web.de ([217.72.192.221]:47712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlHXp-0008CZ-1r for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 05:06:05 -0500 Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate01.web.de (Postfix) with ESMTP id A0CB51A89C229 for ; Thu, 12 Jan 2012 11:06:03 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb001) with ESMTPA (Nemesis) id 0M3jsn-1ScHlq10qn-00rHYi; Thu, 12 Jan 2012 11:06:03 +0100 Subject: Re: Mouse support does not work Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 From: Peter Dyballa In-Reply-To: <87hb014522.fsf@tsdh.uni-koblenz.de> Date: Thu, 12 Jan 2012 11:06:02 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <6B4CABCB-257F-43E1-B22B-32EEF7CF42CF@Web.DE> References: <878vlfh3nv.fsf@tsdh.uni-koblenz.de> <83fwfne7ia.fsf@gnu.org> <87y5tfgtmo.fsf@thinkpad.tsdh.de> <8762giis10.fsf@tsdh.uni-koblenz.de> <09F3635C-9CE0-4D9D-B9E5-012C652EF8A0@Web.DE> <87y5td4c7u.fsf@tsdh.uni-koblenz.de> <87hb014522.fsf@tsdh.uni-koblenz.de> To: Tassilo Horn X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:lDqon863COAgz/9eluAz4+gktMcq3v4ssDcCbYwhGph zIwSjd+TyajhbHGeox5AfVhSrBzgo2ui8/4sgO0Kofgy32w0OA qiRjqQN9pkENPzp5pVClPQwBzpLyKCtXxTE0Gx/NAjgzettUTT l59x/l10wxOOWKg+hFOs6ikkMi56wQ6jhF0d9zsUmBrTNZNkq/ /J/rucjZvgINVOJoQxKLg== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.221 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, 12 Jan 2012 10:06:17 -0000 Am 12.1.2012 um 10:56 schrieb Tassilo Horn: > Anyway, there are many good alternatives to xterm (urxvt, GNOME > Terminal, XFCE Terminal, KDE Konsole, ...). And Apple's Terminal application ... (I tried iTerm2 in the meantime. It = has issues with copy&paste =96 not good for writing a thesis!) -- Mit friedvollen Gr=FC=DFen Pete Wer nichts zu verbergen hat, hat schon alles verloren. (Juli Zeh) From MAILER-DAEMON Thu Jan 12 09:39:39 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RlLoZ-0003rA-Sx for mharc-help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 09:39:39 -0500 Received: from eggs.gnu.org ([140.186.70.92]:60928) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlLoS-0003oX-Gm for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 09:39:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlLoM-00041e-Ay for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 09:39:32 -0500 Received: from mail-qy0-f169.google.com ([209.85.216.169]:59083) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlLoM-00041Z-8f for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 09:39:26 -0500 Received: by qcsd17 with SMTP id d17so1251997qcs.0 for ; Thu, 12 Jan 2012 06:39:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=n1Q228/9P2egDJTjED5HnjBV64yCDJkeTU7PSQFB9dY=; b=iV/FkvzbE8kHecUEv7s0M4g0wzm7jZA8oZUbNdHd/bJ8ngLni42Ix80eG5BHT/EkWQ tmVy627xcMdDzUqmMfAEKD5Jr6ukyVKC4L9zWC2X0W0bwa1tWx9H8lSSrwyc9J6VBcz2 pvdwEtWA6qKegJ8SlBZ7p4cwPR4SOe1J57T/c= MIME-Version: 1.0 Received: by 10.224.214.201 with SMTP id hb9mr5715468qab.86.1326379165153; Thu, 12 Jan 2012 06:39:25 -0800 (PST) Received: by 10.224.120.138 with HTTP; Thu, 12 Jan 2012 06:39:25 -0800 (PST) Date: Thu, 12 Jan 2012 22:39:25 +0800 Message-ID: Subject: jump-char -- Like iy-go-to-char but better From: Le Wang To: GNU Emacs List Content-Type: multipart/alternative; boundary=20cf300fb203f9fa6104b655b614 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.216.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 12 Jan 2012 14:39:38 -0000 --20cf300fb203f9fa6104b655b614 Content-Type: text/plain; charset=ISO-8859-1 Hi all, Many people find navigation by occurrence of a printable char (a la iy-go-to-char) useful. However, there are some short-comings of that implementation. I've re-done it on top of isearch. Try it and let me know what you think! github.com/lewang/jump-char -- Le --20cf300fb203f9fa6104b655b614 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,

Many people find navigation by occurrence of a printable cha= r (a la iy-go-to-char) useful.=A0 However, there are some=A0 short-comings = of that implementation.=A0 I've re-done it on top of isearch.=A0 Try it= and let me know what you think!=A0 github.com/lewang/ju= mp-char

--
Le
--20cf300fb203f9fa6104b655b614-- From MAILER-DAEMON Thu Jan 12 19:02:14 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RlUb0-0000N9-Hu for mharc-help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 19:02:14 -0500 Received: from eggs.gnu.org ([140.186.70.92]:41306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlUax-0000LR-0K for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 19:02:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlUav-0004cc-Gl for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 19:02:10 -0500 Received: from hapkido.dreamhost.com ([66.33.216.122]:32931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlUav-0004cB-6R for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 19:02:09 -0500 Received: from homiemail-a37.g.dreamhost.com (caiajhbdcaib.dreamhost.com [208.97.132.81]) by hapkido.dreamhost.com (Postfix) with ESMTP id 07DF11B7364 for ; Thu, 12 Jan 2012 16:02:09 -0800 (PST) Received: from homiemail-a37.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a37.g.dreamhost.com (Postfix) with ESMTP id 6E05920806B; Thu, 12 Jan 2012 16:02:06 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=D8a4idftVQuCo/0oOl3OSPgG0XJEiuzwIDobZ0P5LipiSkc79 5ROtm5IRQtVMHg18MZAoU5mLOKp6b2sADWURLRUdRDo1x7Li1BGIpAWyeCIsMCG0 KKhY686m+a1WusTTB8HYzFiYHI59/MIRb/JyuyclgTfiQEP7f4bEpfug5A= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=FvFnhtXKrvV7iaHGQ6jyjAzg44E=; b=ehNf72W5lfJRk cMxPC5puqiWDfUF6ggxrchKbNjiB/9IyIfOHsE7k9KlfGMmt8UkYGrlAPQULd1zU uP48GG4Mu4fYWXhZ/ss0NjnZ3AHJ+P1SYDoIKGFJzuYTwy3qGIo8U451cYyPJimZ HqjYgfAXB/h2EM0SabhnJDufMOqjqM= Received: from jidanni.org (218-163-21-209.dynamic.hinet.net [218.163.21.209]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a37.g.dreamhost.com (Postfix) with ESMTPSA id C4459208063; Thu, 12 Jan 2012 16:02:05 -0800 (PST) From: jidanni@jidanni.org To: tassilo@member.fsf.org Subject: Re: I need to turn off defadvice warnings References: Date: Fri, 13 Jan 2012 08:00:26 +0800 Message-ID: <87pqeosc85.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 66.33.216.122 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, 13 Jan 2012 00:02:12 -0000 >>>>> "TH" == Tassilo Horn writes: TH> jidanni@jidanni.org writes: >> A friend told me to use >> (defadvice gnus-summary-select-article-buffer ... >> >> But now I get >> ad-handle-definition: `gnus-summary-select-article-buffer' got redefined >> warnings. >> >> Is there anyway to turn them off? TH> Don't simply turn off a warning, but check what causes it. In your TH> case, the warning tells you that TH> gnus-summary-select-article-buffer TH> already has an advice on it. Your new defadvice deactivates the old TH> piece of advice and activates the new one. Well, that would be nice, if that was the case. Unfortunately it is not, as far as I can tell. You are welcome to try, it is all in http://jidanni.org/comp/configuration/ Yes I had to use (setq ad-redefinition-action 'accept) to get it to shut up. No, if I don't advise it, describe-function doesn't show where it was advised previously. No I don't know why this advise makes noise but my others don't. Also if what you say is true, then I say the message ought to be > ad-handle-definition: `gnus-summary-select-article-buffer'*S ADVICE* got redefined From MAILER-DAEMON Thu Jan 12 19:05:19 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RlUdz-0000zF-7G for mharc-help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 19:05:19 -0500 Received: from eggs.gnu.org ([140.186.70.92]:50920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlUdv-0000yO-6k for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 19:05:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlUdu-000566-3q for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 19:05:15 -0500 Received: from caiajhbdcbhh.dreamhost.com ([208.97.132.177]:57072 helo=homiemail-a61.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlUdt-00055s-UJ for help-gnu-emacs@gnu.org; Thu, 12 Jan 2012 19:05:14 -0500 Received: from homiemail-a61.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a61.g.dreamhost.com (Postfix) with ESMTP id 03B03578073 for ; Thu, 12 Jan 2012 16:05:13 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:subject :date:message-id:mime-version:content-type; q=dns; s=jidanni.org ; b=Op0VYvDenLLAWYHsnXZ4oCW2Fv4m4wsohCohK3qSbVYka4dGNf/rtNpZNkPy +odciEwpqpqw/5DdLB9D2OKGbGwUOL1brBi0oW7rQhfMHC9WARi9ZKjHZtoC0pKU Qv2qbmNPZwdEhHb2sv3+2x37t4UasKOeD3ngCUEBMIuOIPo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=21R+gCl5yjjoFQ79Cg6gKydRz/4=; b=OGdI0NAknMD7vWSn uVisjj8/2O2KRKyyZyMB4FsVwc2j4qhPCey3F6758/KHDOt7VYvheLJ7rgOgJS3y KooEf2C7/1ifQPfTkYv1ymrCnGMIsjGg+0Wq1e36uMe5F91k48DhkPttfrooidg6 adIJUGywSTdHOqD6yDOycB7x3zA= Received: from jidanni.org (218-163-21-209.dynamic.hinet.net [218.163.21.209]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a61.g.dreamhost.com (Postfix) with ESMTPSA id A6CED57806E for ; Thu, 12 Jan 2012 16:05:12 -0800 (PST) From: jidanni@jidanni.org To: help-gnu-emacs@gnu.org Subject: show all the advise Date: Fri, 13 Jan 2012 08:05:09 +0800 Message-ID: <87lipcsc0a.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.97.132.177 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 13 Jan 2012 00:05:16 -0000 (info "(elisp) Advising Functions") should mention how to see all the advice currently present. Just like $ set in bash shows all the shell variables. From MAILER-DAEMON Fri Jan 13 08:11:56 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RlgvE-0003sC-B4 for mharc-help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 08:11:56 -0500 Received: from eggs.gnu.org ([140.186.70.92]:52044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rlgv7-0003rg-AX for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 08:11:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rlgv1-0007Bf-IH for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 08:11:49 -0500 Received: from lo.gmane.org ([80.91.229.12]:48706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rlgv1-0007BW-7N for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 08:11:43 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rlguy-0002Ba-NV for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 14:11:40 +0100 Received: from tsdh.uni-koblenz.de ([141.26.67.142]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Jan 2012 14:11:40 +0100 Received: from tassilo by tsdh.uni-koblenz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Jan 2012 14:11:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Tassilo Horn Subject: Re: I need to turn off defadvice warnings Date: Fri, 13 Jan 2012 14:11:23 +0100 Lines: 53 Message-ID: <87vcofu4qs.fsf@tsdh.uni-koblenz.de> References: <87pqeosc85.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: tsdh.uni-koblenz.de User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:NF8cPws/TVn7EsjGmo+fL0KYFmQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 13 Jan 2012 13:11:54 -0000 jidanni@jidanni.org writes: >>> But now I get >>> ad-handle-definition: `gnus-summary-select-article-buffer' got redefined >>> warnings. >>> >>> Is there anyway to turn them off? > > TH> Don't simply turn off a warning, but check what causes it. In your > TH> case, the warning tells you that > > TH> gnus-summary-select-article-buffer > > TH> already has an advice on it. Your new defadvice deactivates the old > TH> piece of advice and activates the new one. > > Well, > > that would be nice, > > if that was the case. > > Unfortunately it is not, > as far as I can tell. Yeah, I was wrong. You can put as many advices at a function as you want. But at least, I know what causes the warning. Here's a recipe: --8<---------------cut here---------------start------------->8--- (defun foo-foo ()) (defadvice foo-foo (before foo activate)) (defun foo-foo ()) --8<---------------cut here---------------end--------------->8--- So you first define an advice on the function `foo-foo', and then the function gets redefined. In your case, `gnus-summary-select-article-buffer' gets redefined at some point in time. Not sure why, though... What you can try is this: M-: (setq ad-redefinition-action 'error) M-x toggle-debug-on-error RET M-x gnus RET I suspect something first loads the gnus version bundled with emacs, and then you load the git version. But I cannot find the source of the problem in your configs (which are pretty confusing.) :-) Bye, Tassilo From MAILER-DAEMON Fri Jan 13 12:58:53 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RllOv-0003MZ-N9 for mharc-help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 12:58:53 -0500 Received: from eggs.gnu.org ([140.186.70.92]:38229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RllOt-0003KW-Hd for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 12:58:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RllOs-0002v1-EB for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 12:58:51 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:55309) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RllOs-0002ux-8g for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 12:58:50 -0500 Received: by wgbdt13 with SMTP id dt13so3039567wgb.30 for ; Fri, 13 Jan 2012 09:58:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=6Mw5Q2aB1CGmNobz6ACFBU5AqCjoqdAEdkKQPq2su2w=; b=l6aiU5ltOq0FQgcsMGsU+i3guDei/EWvKdrjI4MINkicwEn1Q+ewUCDFZPr7TEeEJ2 sbCsX0BdYtMQVInQKl/XI6SmtzMFNn72OT1IEMAdVOUMDDvnlCRCDmZXvKi/leuJ/TZn xnQP2vJ1TNJcTxx/5WOaAvhPBq2jybGieNYCA= Received: by 10.180.91.201 with SMTP id cg9mr3890336wib.15.1326477529057; Fri, 13 Jan 2012 09:58:49 -0800 (PST) Received: from [192.168.0.7] (cpc1-aztw16-0-0-cust938.aztw.cable.virginmedia.com. [92.235.235.171]) by mx.google.com with ESMTPS id di5sm17158653wib.3.2012.01.13.09.58.46 (version=SSLv3 cipher=OTHER); Fri, 13 Jan 2012 09:58:47 -0800 (PST) Message-ID: <4F1070D4.3020705@gmail.com> Date: Fri, 13 Jan 2012 17:58:44 +0000 From: Andrea Crotti User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111224 Thunderbird/9.0.1 MIME-Version: 1.0 To: jidanni@jidanni.org Subject: Re: show all the advise References: <87lipcsc0a.fsf@jidanni.org> In-Reply-To: <87lipcsc0a.fsf@jidanni.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 74.125.82.49 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, 13 Jan 2012 17:58:52 -0000 On 01/13/2012 12:05 AM, jidanni@jidanni.org wrote: > (info "(elisp) Advising Functions") should mention how to see all the > advice currently present. Just like > $ set > in bash shows all the shell variables. > I think it would be very nice actually, the question if it's actually possible.. From MAILER-DAEMON Fri Jan 13 13:23:26 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rllmg-0000Ek-ES for mharc-help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 13:23:26 -0500 Received: from eggs.gnu.org ([140.186.70.92]:43271) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rllma-0000E1-Vm for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 13:23:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rllma-0006tR-2S for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 13:23:20 -0500 Received: from fmmailgate01.web.de ([217.72.192.221]:41129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RllmZ-0006tM-Ny for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 13:23:20 -0500 Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate01.web.de (Postfix) with ESMTP id AACC71A8C1B1C for ; Fri, 13 Jan 2012 19:23:18 +0100 (CET) Received: from snow ([82.113.99.102]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0LyE7R-1SiM3E35Sn-015LSQ; Fri, 13 Jan 2012 19:23:18 +0100 From: Michael Heerdegen To: jidanni@jidanni.org Subject: Re: show all the advise References: <87lipcsc0a.fsf@jidanni.org> Date: Fri, 13 Jan 2012 19:24:41 +0100 In-Reply-To: <87lipcsc0a.fsf@jidanni.org> (jidanni@jidanni.org's message of "Fri, 13 Jan 2012 08:05:09 +0800") Message-ID: <87mx9r8npy.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V02:K0:osqnd4NONS2z0Dysz8eUzfa5DCZEGMM53mFfLFdjJhB GJUuz8tIoFszHOYIpw1aPuYPWRTqRJBxeRMlF+iGHdPWxy3fJp hY8TwA9Zdak5qtLyBI4Ervu5uS34XvaMYgrxGC1dBrWo1xONNC B31TVhvBg+JGdt5i66o66HBnGaOIFSEeBP0Stln5P7kz/LrbTy GonQJVS9Du9ZeK5T8aQE6AX5JzP/yoQtQbmaIfEPoA= Sender: Michael_Heerdegen@web.de X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.221 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: help-gnu-emacs@gnu.org, michael_heerdegen@web.de 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, 13 Jan 2012 18:23:24 -0000 jidanni@jidanni.org writes: > (info "(elisp) Advising Functions") should mention how to see all the > advice currently present. Just like > $ set > in bash shows all the shell variables. The variable `ad-advised-functions' could be a good starting point. And you can use (ad-get-advice-info 'some-fun) to retrieve advice information of `some-fun'. Those could be combined if you want. - Michael From MAILER-DAEMON Fri Jan 13 15:30:50 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rlnly-0001P2-Kj for mharc-help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 15:30:50 -0500 Received: from eggs.gnu.org ([140.186.70.92]:43330) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rlnlw-0001Ow-5e for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 15:30:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rlnlu-0002dD-T9 for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 15:30:48 -0500 Received: from spike.lmi.net ([66.117.140.17]:37156) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rlnlu-0002d8-Kv for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 15:30:46 -0500 Received: from neo.msri.org (75-101-50-210.dsl.static.sonic.net [75.101.50.210]) by spike.lmi.net (Postfix) with ESMTP id DAE6C1541D6; Fri, 13 Jan 2012 12:30:43 -0800 (PST) Received: by neo.msri.org (Postfix, from userid 1000) id 6BB521810C9; Fri, 13 Jan 2012 12:30:43 -0800 (PST) Received: from neo.msri.org (localhost [127.0.0.1]) by neo.msri.org (Postfix) with ESMTP id 5603418087D; Fri, 13 Jan 2012 12:30:43 -0800 (PST) To: help-gnu-emacs@gnu.org Subject: mouseless copying to clipboard From: Silvio Levy Date: Fri, 13 Jan 2012 12:30:43 -0800 Sender: levy@msri.org Message-Id: <20120113203043.6BB521810C9@neo.msri.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 66.117.140.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: Fri, 13 Jan 2012 20:30:49 -0000 Dear Emacsers I'd like to be able to copy text to my X-clipboard without using the mouse. The problem is that I like to use emacs -nw for reasons I won't go into, and it doesn't seem to work. That is, if i run (setq x-select-enable-clipboard t) and then set mark, move point, M-w, the selection is not saved to my X-clipboard. I've confirmed it works when I call emacs without the -nw option. Is there a solution? I'm running the version below on Ubuntu 10.04. GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1) of 2011-03-04 on palmer, modified by Debian Silvio From MAILER-DAEMON Fri Jan 13 16:05:18 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RloJK-0007Ih-3a for mharc-help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 16:05:18 -0500 Received: from eggs.gnu.org ([140.186.70.92]:47326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RloJH-0007Ib-NU for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 16:05:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RloJG-0007Gs-Gd for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 16:05:15 -0500 Received: from fmmailgate02.web.de ([217.72.192.227]:52721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RloJG-0007Gn-8A for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 16:05:14 -0500 Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate02.web.de (Postfix) with ESMTP id 831F61BFA0000 for ; Fri, 13 Jan 2012 22:05:12 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0MGiPJ-1RqVHj3Yun-00DF8c; Fri, 13 Jan 2012 22:05:10 +0100 Subject: Re: mouseless copying to clipboard Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Peter Dyballa In-Reply-To: <20120113203043.6BB521810C9@neo.msri.org> Date: Fri, 13 Jan 2012 22:05:09 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <28CFB444-9153-408E-A07E-7B15BE549B3F@Web.DE> References: <20120113203043.6BB521810C9@neo.msri.org> To: Silvio Levy X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:af+X98qCNr1Tc1VciQao4Evi9E5iwCk7YwQg2gCys8f vzLDU7qMWeVg58G19F6Rqpv3Gg/JQXoM6YihRxONzOFitNY+6w KV6IH4q5ZQsO7bXVN5LAoazcT9flxpaBofij0kjuCMeXD0MW69 sNFtBq80C2Jus5GG9PKhmNhGvavNj03D9IaacT1tRDGycDPSUP kvmTiLKYcRlyEHoyaNbDw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.227 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, 13 Jan 2012 21:05:16 -0000 Am 13.1.2012 um 21:30 schrieb Silvio Levy: > The problem is that I like to use emacs -nw for reasons I > won't go into, and it doesn't seem to work. That is, if i run >=20 > (setq x-select-enable-clipboard t) >=20 > and then set mark, move point, M-w, the selection is not saved to my > X-clipboard. I've confirmed it works when I call emacs without the -nw > option. This variable's name tells you that is specific to exactly one windowing = system, the X11 Windows System. One should not assume that it is = available with other windowing systems (NextStep/Apple, MS) or no = windowing system at all. -- Greetings Pete Wasting time is an important part of living. From MAILER-DAEMON Fri Jan 13 16:12:23 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RloQB-0000x4-QT for mharc-help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 16:12:23 -0500 Received: from eggs.gnu.org ([140.186.70.92]:40232) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RloQ5-0000tr-49 for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 16:12:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RloQ3-00084A-Nj for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 16:12:17 -0500 Received: from spike.lmi.net ([66.117.140.17]:54773) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RloQ3-000842-JK for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 16:12:15 -0500 Received: from neo.msri.org (75-101-50-210.dsl.static.sonic.net [75.101.50.210]) by spike.lmi.net (Postfix) with ESMTP id 8FD21154006; Fri, 13 Jan 2012 13:12:13 -0800 (PST) Received: by neo.msri.org (Postfix, from userid 1000) id 073141810C9; Fri, 13 Jan 2012 13:12:12 -0800 (PST) Received: from neo.msri.org (localhost [127.0.0.1]) by neo.msri.org (Postfix) with ESMTP id E6A9F18087D; Fri, 13 Jan 2012 13:12:12 -0800 (PST) To: Peter Dyballa Subject: Re: mouseless copying to clipboard In-reply-to: Your message of Fri, 13 Jan 2012 22:05:09 +0100 From: Silvio Levy Date: Fri, 13 Jan 2012 13:12:12 -0800 Sender: levy@msri.org Message-Id: <20120113211213.073141810C9@neo.msri.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 66.117.140.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: Fri, 13 Jan 2012 21:12:22 -0000 > This variable's name tells you that is specific to exactly one windowing > system, the X11 Windows System. One should not assume that it is > available with other windowing systems (NextStep/Apple, MS) or no > windowing system at all. Hi Peter, To clarify, I am using X11 with xfce4 as the window manager. And as I wrote the whole thing works if I call emacs without -nw, but I prefer to run emacs -nw in a gnome-terminal, especially if I'm running it on remotely via ssh. (I don't have the option of mounting the remote file system locally.) Silvio From MAILER-DAEMON Fri Jan 13 16:35:37 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rlomf-0002xE-BA for mharc-help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 16:35:37 -0500 Received: from eggs.gnu.org ([140.186.70.92]:55731) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rlomc-0002vG-KH for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 16:35:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rlomb-0003aZ-Gj for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 16:35:34 -0500 Received: from usslmhub002.ugs.com ([134.244.32.85]:29331 helo=ugs.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rlomb-0003aK-9n for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 16:35:33 -0500 Received: from USSLMMBX002.net.plm.eds.com (161.134.138.62) by USSLMHUB002.net.plm.eds.com (134.244.32.85) with Microsoft SMTP Server (TLS) id 14.1.323.3; Fri, 13 Jan 2012 15:35:29 -0600 Received: from USSLMMBX003.net.plm.eds.com ([169.254.2.137]) by USSLMMBX002.net.plm.eds.com ([169.254.1.94]) with mapi id 14.01.0323.003; Fri, 13 Jan 2012 15:35:29 -0600 From: "Ludwig, Mark" To: Silvio Levy , Peter Dyballa Subject: RE: mouseless copying to clipboard Thread-Topic: mouseless copying to clipboard Thread-Index: AQHM0jgElaVte2WoTE6Mq7NniAdh4pYK0W8w Date: Fri, 13 Jan 2012 21:35:28 +0000 Message-ID: References: Your message of Fri, 13 Jan 2012 22:05:09 +0100 <20120113211213.073141810C9@neo.msri.org> In-Reply-To: <20120113211213.073141810C9@neo.msri.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [146.122.71.14] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP2+, XP SP1+ (seldom 98) X-Received-From: 134.244.32.85 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, 13 Jan 2012 21:35:35 -0000 > From: Silvio Levy > Sent: Friday, January 13, 2012 3:12 PM > To: Peter Dyballa > Cc: help-gnu-emacs@gnu.org > Subject: Re: mouseless copying to clipboard >=20 >=20 > > This variable's name tells you that is specific to exactly one > windowing > > system, the X11 Windows System. One should not assume that it is > > available with other windowing systems (NextStep/Apple, MS) or no > > windowing system at all. >=20 > Hi Peter, >=20 > To clarify, I am using X11 with xfce4 as the window manager. > And as I wrote the whole thing works if I call emacs without -nw, > but I prefer to run emacs -nw in a gnome-terminal, especially if > I'm running it on remotely via ssh. (I don't have the option of > mounting the remote file system locally.) >=20 > Silvio Silvio, What you are not apparently understanding is that "-nw" means "no window" s= o even though you are in fact running under X11, you are telling Emacs that= it is not. In this mode, none of the "x-" variables have any meaning or p= urpose. Cheers, Mark From MAILER-DAEMON Fri Jan 13 17:17:36 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RlpRI-00082g-Px for mharc-help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 17:17:36 -0500 Received: from eggs.gnu.org ([140.186.70.92]:41428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlpRE-00081Z-M5 for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 17:17:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlpRD-0000iV-5y for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 17:17:32 -0500 Received: from lo.gmane.org ([80.91.229.12]:33390) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlpRC-0000iK-VH for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 17:17:31 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RlpRB-0006Xq-VC for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 23:17:29 +0100 Received: from 184-155-95-203.cpe.cableone.net ([184.155.95.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Jan 2012 23:17:29 +0100 Received: from jay.p.belanger by 184-155-95-203.cpe.cableone.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Jan 2012 23:17:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Jay Belanger Subject: Re: mouseless copying to clipboard Date: Fri, 13 Jan 2012 16:17:12 -0600 Lines: 15 Message-ID: <8739bji6xj.fsf@gmail.com> References: <20120113203043.6BB521810C9@neo.msri.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 184-155-95-203.cpe.cableone.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:LsVwHuvOaND00JgVJrx5eRe3HVk= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 Cc: jay.p.belanger@gmail.com X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: jay.p.belanger@gmail.com 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, 13 Jan 2012 22:17:35 -0000 Hi Silvio! > I'd like to be able to copy text to my X-clipboard without using the > mouse. The problem is that I like to use emacs -nw for reasons I > won't go into, and it doesn't seem to work. ... > Is there a solution? If you install xclip (which can be installed with apt-get, on Ubuntu 11.10 at least) and load the lisp file located at http://www.emacswiki.org/emacs-en/download/xclip.el then it should work. Jay From MAILER-DAEMON Fri Jan 13 17:57:43 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rlq47-0000GD-6i for mharc-help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 17:57:43 -0500 Received: from eggs.gnu.org ([140.186.70.92]:47184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rlq44-0000G6-GV for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 17:57:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rlq43-0006Un-1T for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 17:57:40 -0500 Received: from spike.lmi.net ([66.117.140.17]:52689) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rlq42-0006Ua-Sd for help-gnu-emacs@gnu.org; Fri, 13 Jan 2012 17:57:38 -0500 Received: from neo.msri.org (75-101-50-210.dsl.static.sonic.net [75.101.50.210]) by spike.lmi.net (Postfix) with ESMTP id 1C414154073; Fri, 13 Jan 2012 14:57:36 -0800 (PST) Received: by neo.msri.org (Postfix, from userid 1000) id 36734180FD3; Fri, 13 Jan 2012 14:57:36 -0800 (PST) Received: from neo.msri.org (localhost [127.0.0.1]) by neo.msri.org (Postfix) with ESMTP id 200CE180CCA; Fri, 13 Jan 2012 14:57:36 -0800 (PST) To: jay.p.belanger@gmail.com Subject: Re: mouseless copying to clipboard In-reply-to: Your message of Fri, 13 Jan 2012 16:17:12 -0600 From: Silvio Levy Date: Fri, 13 Jan 2012 14:57:36 -0800 Sender: levy@msri.org Message-Id: <20120113225736.36734180FD3@neo.msri.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 66.117.140.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: Fri, 13 Jan 2012 22:57:41 -0000 Hi Jay - you're great! It worked as soon as I ran M-x turn-on-xclip. (I found out about that by looking in xclip.el - some hook calls is but it's apparently not being run by default.) Silvio > Hi Silvio! > > > I'd like to be able to copy text to my X-clipboard without using the > > mouse. The problem is that I like to use emacs -nw for reasons I > > won't go into, and it doesn't seem to work. > ... > > Is there a solution? > > If you install xclip (which can be installed with apt-get, on Ubuntu > 11.10 at least) and load the lisp file located at > http://www.emacswiki.org/emacs-en/download/xclip.el > then it should work. > > Jay > > From MAILER-DAEMON Sat Jan 14 02:27:19 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rly1H-0008V3-RH for mharc-help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 02:27:19 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58167) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rly1F-0008Us-D3 for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 02:27:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rly1E-0000QM-F9 for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 02:27:17 -0500 Received: from mailbigip.dreamhost.com ([208.97.132.5]:33290 helo=homiemail-a7.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rly1C-0000Px-16; Sat, 14 Jan 2012 02:27:14 -0500 Received: from homiemail-a7.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a7.g.dreamhost.com (Postfix) with ESMTP id DFEB525C063; Fri, 13 Jan 2012 23:27:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=XQQPAy0J426FUkjS9SNFl+a0pglZJJKu+DiHCkmOqeA499dZA 3jxjZFaOWA3XGNe9uprqQmDZ3Xsd9j9CTm8RxA2sMAOaD7tvTkehjRG7gvOIPBGg 6UTkQ5xbR6FWpeESO49eYIdsIoHbtYn7TIenDlU5qi9BpH02tJU0D53wkg= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=7V85cx7rYZADRc4Hz9cpZhsU2z4=; b=YLMIsw8iwIE0p ib4J7vfy7qiuC4FKh7SCF8BUjzEB4yO+JPEa5VIC21IGfFnaOWNExCuFn0Vk3KOK fzH0Jb9AXNnL84EVdHDfs0yMMFTlLt6KbFqgg5UJjWUUgeAp1qqyTsILr7hw8w1K FfqVHT+7+AzQZQ+bYIJ/DkTInz9T0U= Received: from jidanni.org (218-163-20-50.dynamic.hinet.net [218.163.20.50]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a7.g.dreamhost.com (Postfix) with ESMTPSA id 84CE525C062; Fri, 13 Jan 2012 23:27:11 -0800 (PST) From: jidanni@jidanni.org To: help-gnu-emacs@gnu.org Subject: Re: show all the advise References: <87mx9r8npy.fsf@web.de> Date: Sat, 14 Jan 2012 15:27:08 +0800 Message-ID: <87lipa4ucz.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.97.132.5 Cc: michael_heerdegen@web.de, bug-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, 14 Jan 2012 07:27:18 -0000 >>>>> "MH" == Michael Heerdegen writes: MH> jidanni@jidanni.org writes: >> (info "(elisp) Advising Functions") should mention how to see all the >> advice currently present. Just like >> $ set >> in bash shows all the shell variables. MH> The variable `ad-advised-functions' could be a good starting point. And you MH> can use (ad-get-advice-info 'some-fun) to retrieve advice information of MH> `some-fun'. Those could be combined if you want. OK, I'll CC bug-gnu-emacs. Maybe they can add a show-all-advice function... From MAILER-DAEMON Sat Jan 14 11:53:32 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rm6rE-00005v-On for mharc-help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 11:53:32 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm6rA-0008PG-Nt for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 11:53:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rm6r9-0005K2-RY for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 11:53:28 -0500 Received: from acsinet15.oracle.com ([141.146.126.227]:19365) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm6r9-0005Jn-Iw for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 11:53:27 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0EGrOf7018531 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 14 Jan 2012 16:53:25 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0EGrMP1000135 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Jan 2012 16:53:23 GMT Received: from abhmt109.oracle.com (abhmt109.oracle.com [141.146.116.61]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0EGrM8T027507; Sat, 14 Jan 2012 10:53:22 -0600 Received: from dradamslap1 (/10.159.37.184) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 14 Jan 2012 08:53:22 -0800 From: "Drew Adams" To: "'Aaron Meurer'" References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> Subject: RE: Mouse support does not work Date: Sat, 14 Jan 2012 08:53:16 -0800 Message-ID: <923012BA66E14FFEAC1EB01509B04850@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: AczS2/sjl668CY1wSVudh6Q9eE+1nAAAJtmQ X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090208.4F11B305.008D,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 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, 14 Jan 2012 16:53:29 -0000 > Going back to my scrolling problem, is there a way to echo all > keystrokes? I mean, something similar to C-h k, except it echos > multiple keystrokes. I suspect that either my trackpad or iTerm2 may > be reporting a single scroll as two scrolls, hence the multiplying by > two problem. Not sure what you are asking or what problem you are encountering, but maybe option `echo-keystrokes' will help? From MAILER-DAEMON Sat Jan 14 12:38:12 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rm7YS-0007NP-Tl for mharc-help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 12:38:12 -0500 Received: from eggs.gnu.org ([140.186.70.92]:60055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm7YP-0007IU-Aa for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 12:38:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rm7YO-0003Np-2R for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 12:38:09 -0500 Received: from acsinet15.oracle.com ([141.146.126.227]:63701) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm7YN-0003NN-Sv for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 12:38:08 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0EHc0aa015359 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 14 Jan 2012 17:38:01 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0EHbxSh022550 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Jan 2012 17:37:59 GMT Received: from abhmt108.oracle.com (abhmt108.oracle.com [141.146.116.60]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0EHbwKv024879; Sat, 14 Jan 2012 11:37:59 -0600 Received: from dradamslap1 (/10.159.37.184) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 14 Jan 2012 09:37:58 -0800 From: "Drew Adams" To: "'Aaron Meurer'" References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> <923012BA66E14FFEAC1EB01509B04850@us.oracle.com> Subject: RE: Mouse support does not work Date: Sat, 14 Jan 2012 09:37:52 -0800 Message-ID: <29552883E608471BA2ACB9004FAD7FDC@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: AczS4bHWrA4u5wVWTA2FBFLds6v9vwAALx4g X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090209.4F11BD79.0080,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 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, 14 Jan 2012 17:38:10 -0000 > The problem I'm encountering is that when I scroll by the smallest > amount with the mouse, it scrolls by two lines. I have the > mouse-wheel-scroll-amount set to 1. I'm no expert on this - perhaps someone else can help more. But if the value of `mouse-wheel-scroll-amount' is 1 (or 2 etc.) then that is wrong. It needs to be an alist or a number representing the fraction of the screen to scroll. Use `M-x customize-option' to change the option - do not just `setq' it to an integer value. Read the variable's doc (`C-h v'). > If I set it to 2, it scrolls by > 4, and so on. vim does the same thing, so I suspect that what's > happening is that a single scroll is being reported as two. > But the > only way to be sure would be to get something that echos all > keystrokes, so I could see if a single scroll is really being reported > as two mouse-5 events. C-h k won't work for this, because it only > would show the first such event (if my theory is correct). Wrt keystroke echoing, you can use `echo-keystrokes', as I mentioned. You also have `C-h l', to see the last 100 keystrokes. > Actually, I think I figured out that it's correct anyway, because I > did C-h k and then scrolled up, and it showed me the help for mouse-5 > *and then* scrolled the document up by exactly one line. > > So I'll be reporting this as a bug to iTerm2. I'll post back here if > I find a solution. From MAILER-DAEMON Sat Jan 14 13:21:01 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rm8Dt-0005fm-1Y for mharc-help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 13:21:01 -0500 Received: from eggs.gnu.org ([140.186.70.92]:56554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm8Dq-0005fb-EE for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 13:20:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rm8Dp-0001Et-A7 for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 13:20:58 -0500 Received: from acsinet15.oracle.com ([141.146.126.227]:57675) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm8Dp-0001En-43 for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 13:20:57 -0500 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0EIKsEx012527 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 14 Jan 2012 18:20:55 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0EIKrjZ000574 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Jan 2012 18:20:54 GMT Received: from abhmt101.oracle.com (abhmt101.oracle.com [141.146.116.53]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0EIKrop006692; Sat, 14 Jan 2012 12:20:53 -0600 Received: from dradamslap1 (/10.159.37.184) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 14 Jan 2012 10:20:53 -0800 From: "Drew Adams" To: "'Aaron Meurer'" References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> <923012BA66E14FFEAC1EB01509B04850@us.oracle.com> <29552883E608471BA2ACB9004FAD7FDC@us.oracle.com> Subject: RE: Mouse support does not work Date: Sat, 14 Jan 2012 10:20:47 -0800 Message-ID: <289931F418814539B572A2AB33039A6D@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: AczS5OtcKrGMr5SVRLaErYR9sL5y9wAAxV2A X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-CT-RefId: str=0001.0A090208.4F11C787.005A,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 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, 14 Jan 2012 18:20:59 -0000 > > Wrt keystroke echoing, you can use `echo-keystrokes', as I > > mentioned. You also have `C-h l', to see the last 100 keystrokes. > > echo-keystrokes only seems to work within some lisp code, which I > unfortunately am not good enough with yet to do anything useful. I think it works always, but it is true that some commands etc. might bind it to 0 so it has no effect in some context. > C-h l doesn't seem to show mouse events. It does for me: ... SPC C-c C-c y e s C-h l And it works whether I use a graphic display or `emacs -nw'. From MAILER-DAEMON Sat Jan 14 13:32:49 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rm8PJ-0007Sg-2v for mharc-help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 13:32:49 -0500 Received: from eggs.gnu.org ([140.186.70.92]:57452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm8PG-0007SX-3k for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 13:32:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rm8PE-0002w0-JB for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 13:32:46 -0500 Received: from mtaout03-winn.ispmail.ntl.com ([81.103.221.49]:11072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm8PE-0002vu-3e for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 13:32:44 -0500 Received: from know-smtpout-4.server.virginmedia.net ([62.254.123.4]) by mtaout03-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20120114183241.NSIQ21018.mtaout03-winn.ispmail.ntl.com@know-smtpout-4.server.virginmedia.net>; Sat, 14 Jan 2012 18:32:41 +0000 Received: from [77.100.10.241] (helo=[192.168.1.2]) by know-smtpout-4.server.virginmedia.net with esmtpa (Exim 4.63) (envelope-from ) id 1Rm8PB-0000qC-ST; Sat, 14 Jan 2012 18:32:41 +0000 Message-ID: <4F11CA3E.4070300@gmail.com> Date: Sat, 14 Jan 2012 18:32:30 +0000 From: Uday Reddy User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: Guido Van Hoecke Subject: Re: Trying to use only tabs for indenting c# files - csharp-mode error? References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Cloudmark-Analysis: v=1.1 cv=JvdXmxIgLJv2/GthKqHpGJEEHukvLcvELVXUanXFreg= c=1 sm=0 a=9jsOeB20M3cA:10 a=I16gxXTkIscA:10 a=nDghuxUhq_wA:10 a=IkcTkHD0fZMA:10 a=ckrxR7XlAAAA:8 a=SNgiSkZi3WJvG65FepkA:9 a=QEXdDO2ut3YA:10 a=LrjbUX9igRUA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 81.103.221.49 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, 14 Jan 2012 18:32:47 -0000 On 1/8/2012 1:01 PM, Guido Van Hoecke wrote: > > I can't help but feeling that this is in error! > > The tab-width is 8, > indent-tabs-mode is t > and still, it uses spaces to indent, and only two of them. Here is a nice article that clarifies the mystery of tabs. http://www.jwz.org/doc/tabs-vs-spaces.html Cheers, Uday From MAILER-DAEMON Sat Jan 14 14:07:54 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rm8xG-0005fM-8c for mharc-help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 14:07:54 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51603) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm6jr-0007aR-9Q for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 11:45:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rm6jq-0003ls-KA for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 11:45:55 -0500 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:62114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm6jq-0003lb-DB for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 11:45:54 -0500 Received: by lagj5 with SMTP id j5so1015349lag.0 for ; Sat, 14 Jan 2012 08:45:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=cpTx8uFpgYi6JuRupjASpbracw/DYMBYJTp0j8cndeQ=; b=qQuVtRHRgKN9v1WLX3tGbqkeLubJ6aJ1njhfWzCvZbrOZVtU0rakqnMnZ0G35XuhgW kMW7oeDxTXuUux57AMGF6gMyT63cnNZSN3pYbtg9eypNK3dhSm6bkImMyvzIcpvvXRlb TyNRGQx/Sx29uULYoODqxjQIDdv6TMs8gmRP4= Received: by 10.112.98.37 with SMTP id ef5mr1398350lbb.73.1326559552248; Sat, 14 Jan 2012 08:45:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.98.133 with HTTP; Sat, 14 Jan 2012 08:45:31 -0800 (PST) In-Reply-To: References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> From: Aaron Meurer Date: Sat, 14 Jan 2012 09:45:31 -0700 Message-ID: Subject: Re: Mouse support does not work To: Drew Adams Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 X-Mailman-Approved-At: Sat, 14 Jan 2012 14:07:53 -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, 14 Jan 2012 16:45:56 -0000 Going back to my scrolling problem, is there a way to echo all keystrokes? I mean, something similar to C-h k, except it echos multiple keystrokes. I suspect that either my trackpad or iTerm2 may be reporting a single scroll as two scrolls, hence the multiplying by two problem. Aaron Meurer From MAILER-DAEMON Sat Jan 14 14:07:58 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rm8xK-0005so-69 for mharc-help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 14:07:58 -0500 Received: from eggs.gnu.org ([140.186.70.92]:54058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm7NN-000660-OF for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 12:26:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rm7NM-00021h-IK for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 12:26:45 -0500 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:50119) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm7NM-00021d-BU for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 12:26:44 -0500 Received: by lagj5 with SMTP id j5so1029568lag.0 for ; Sat, 14 Jan 2012 09:26:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=cRNyDK/ES/wOfXICk9EA3ywPfcWdkYiPEoua2WouB/E=; b=ZZEENxQgZvuZG+8HIZhJDBz0ztGaFqJKPnSRZNmtzetzJ4ogDkV6ZnESLv4QiNePI2 8N3VQYX3DbW27QUhdLPMjsGWTRxH2z8xjKyOfXiJN4657iuXMGJ35tyiG0cz3OtgWkr9 CQs8IO18leAZ6tRx4ap+/S/484tYHdIyajk+o= Received: by 10.152.134.50 with SMTP id ph18mr2804197lab.1.1326562003146; Sat, 14 Jan 2012 09:26:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.98.133 with HTTP; Sat, 14 Jan 2012 09:26:22 -0800 (PST) In-Reply-To: <923012BA66E14FFEAC1EB01509B04850@us.oracle.com> References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> <923012BA66E14FFEAC1EB01509B04850@us.oracle.com> From: Aaron Meurer Date: Sat, 14 Jan 2012 10:26:22 -0700 Message-ID: Subject: Re: Mouse support does not work To: Drew Adams Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 X-Mailman-Approved-At: Sat, 14 Jan 2012 14:07:55 -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, 14 Jan 2012 17:26:46 -0000 The problem I'm encountering is that when I scroll by the smallest amount with the mouse, it scrolls by two lines. I have the mouse-wheel-scroll-amount set to 1. If I set it to 2, it scrolls by 4, and so on. vim does the same thing, so I suspect that what's happening is that a single scroll is being reported as two. But the only way to be sure would be to get something that echos all keystrokes, so I could see if a single scroll is really being reported as two mouse-5 events. C-h k won't work for this, because it only would show the first such event (if my theory is correct). Actually, I think I figured out that it's correct anyway, because I did C-h k and then scrolled up, and it showed me the help for mouse-5 *and then* scrolled the document up by exactly one line. So I'll be reporting this as a bug to iTerm2. I'll post back here if I find a solution. Aaron Meurer On Sat, Jan 14, 2012 at 9:53 AM, Drew Adams wrote: >> Going back to my scrolling problem, is there a way to echo all >> keystrokes? =A0I mean, something similar to C-h k, except it echos >> multiple keystrokes. =A0I suspect that either my trackpad or iTerm2 may >> be reporting a single scroll as two scrolls, hence the multiplying by >> two problem. > > Not sure what you are asking or what problem you are encountering, but ma= ybe > option `echo-keystrokes' will help? > From MAILER-DAEMON Sat Jan 14 14:08:03 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rm8xP-0006Cl-Oy for mharc-help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 14:08:03 -0500 Received: from eggs.gnu.org ([140.186.70.92]:44938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm7jj-00019k-J7 for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 12:49:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rm7ji-0005PR-Gh for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 12:49:51 -0500 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:35417) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm7ji-0005PK-8c for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 12:49:50 -0500 Received: by lagj5 with SMTP id j5so1037111lag.0 for ; Sat, 14 Jan 2012 09:49:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=ubuKjSIxPVqYHe6gnHonZiU7G4f/IOjPAopwvtT5BtA=; b=FLZIv/vocJUAjRDDT0kKDt8f3Y+VhL/3gjaSYAbp1T8K6BmvCYYmVaqLhbeTIJarVz FNbYZgdWjIpXxwdM/VCrKcfH7gc9R+IrAhXNM2MALjn1lXs4MbZejGHlxQHVv+yRaJII 3nAZKJYv/QCVKrdj4H8Cw7cmHLW9DIj9njXjY= Received: by 10.152.111.201 with SMTP id ik9mr2793458lab.8.1326563389141; Sat, 14 Jan 2012 09:49:49 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.98.133 with HTTP; Sat, 14 Jan 2012 09:49:28 -0800 (PST) In-Reply-To: <29552883E608471BA2ACB9004FAD7FDC@us.oracle.com> References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> <923012BA66E14FFEAC1EB01509B04850@us.oracle.com> <29552883E608471BA2ACB9004FAD7FDC@us.oracle.com> From: Aaron Meurer Date: Sat, 14 Jan 2012 10:49:28 -0700 Message-ID: Subject: Re: Mouse support does not work To: Drew Adams Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 X-Mailman-Approved-At: Sat, 14 Jan 2012 14:07:57 -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, 14 Jan 2012 17:49:52 -0000 On Sat, Jan 14, 2012 at 10:37 AM, Drew Adams wrote: >> The problem I'm encountering is that when I scroll by the smallest >> amount with the mouse, it scrolls by two lines. =A0I have the >> mouse-wheel-scroll-amount set to 1. > > I'm no expert on this - perhaps someone else can help more. > > But if the value of `mouse-wheel-scroll-amount' is 1 (or 2 etc.) then tha= t is > wrong. =A0It needs to be an alist or a number representing the fraction o= f the > screen to scroll. OK, it's not literally the integer 1. It's (mouse-wheel-scroll-amount (quote (1))), which I did set through customize. > > Use `M-x customize-option' to change the option - do not just `setq' it t= o an > integer value. =A0Read the variable's doc (`C-h v'). > >> If I set it to 2, it scrolls by >> 4, and so on. =A0vim does the same thing, so I suspect that what's >> happening is that a single scroll is being reported as two. > >> But the >> only way to be sure would be to get something that echos all >> keystrokes, so I could see if a single scroll is really being reported >> as two mouse-5 events. =A0C-h k won't work for this, because it only >> would show the first such event (if my theory is correct). > > Wrt keystroke echoing, you can use `echo-keystrokes', as I mentioned. > You also have `C-h l', to see the last 100 keystrokes. echo-keystrokes only seems to work within some lisp code, which I unfortunately am not good enough with yet to do anything useful. C-h l doesn't seem to show mouse events. Aaron Meurer > >> Actually, I think I figured out that it's correct anyway, because I >> did C-h k and then scrolled up, and it showed me the help for mouse-5 >> *and then* scrolled the document up by exactly one line. >> >> So I'll be reporting this as a bug to iTerm2. =A0I'll post back here if >> I find a solution. > From MAILER-DAEMON Sat Jan 14 14:08:03 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rm8xP-0006AP-6e for mharc-help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 14:08:03 -0500 Received: from eggs.gnu.org ([140.186.70.92]:39901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm7gu-0000qb-Ii for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 12:46:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rm7gt-0004xY-9M for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 12:46:56 -0500 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:34993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm7gt-0004xN-1o for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 12:46:55 -0500 Received: by lagj5 with SMTP id j5so1036217lag.0 for ; Sat, 14 Jan 2012 09:46:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=5uBe+mRG6G0BwSuGaxhL5zQjWmJkmk7KqTrgaJK8ZuI=; b=RAbw7LzZJ9hr8WUWL7Mp2sF4UZPtkCDzyj5Ec1cNn6GMFFwCsxtYdpxam4MpAnIZII Tu1SBxgEQvekS/qdE/FGNnRTfgYdrCKs3ta/9aD6KLQbiGK20AlJVpHLfWGrD9hDQyAC RzTTxCwmU9dx7Kw6CZrw1dor4NAcSt8MjS+UA= Received: by 10.152.148.227 with SMTP id tv3mr2781575lab.15.1326563213211; Sat, 14 Jan 2012 09:46:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.98.133 with HTTP; Sat, 14 Jan 2012 09:46:32 -0800 (PST) In-Reply-To: References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> <923012BA66E14FFEAC1EB01509B04850@us.oracle.com> From: Aaron Meurer Date: Sat, 14 Jan 2012 10:46:32 -0700 Message-ID: Subject: Re: Mouse support does not work To: Drew Adams Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 X-Mailman-Approved-At: Sat, 14 Jan 2012 14:07:57 -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, 14 Jan 2012 17:46:57 -0000 Actually, I found another program that does what I want. urwid (https://github.com/wardi/urwid) has a input_test script that echos all the keystrokes. In this script, only one mouse scroll event is reported per scroll. So I don't know where the bug is at this point (though I am convinced that it is indeed a bug somewhere). Here's the iTerm2 bug I reported if anyone's interested (http://code.google.com/p/iterm2/issues/detail?id=3D1715). Aaron Meurer On Sat, Jan 14, 2012 at 10:26 AM, Aaron Meurer wrote: > The problem I'm encountering is that when I scroll by the smallest > amount with the mouse, it scrolls by two lines. =A0I have the > mouse-wheel-scroll-amount set to 1. =A0If I set it to 2, it scrolls by > 4, and so on. =A0vim does the same thing, so I suspect that what's > happening is that a single scroll is being reported as two. But the > only way to be sure would be to get something that echos all > keystrokes, so I could see if a single scroll is really being reported > as two mouse-5 events. =A0C-h k won't work for this, because it only > would show the first such event (if my theory is correct). > > Actually, I think I figured out that it's correct anyway, because I > did C-h k and then scrolled up, and it showed me the help for mouse-5 > *and then* scrolled the document up by exactly one line. > > So I'll be reporting this as a bug to iTerm2. =A0I'll post back here if > I find a solution. > > Aaron Meurer > > On Sat, Jan 14, 2012 at 9:53 AM, Drew Adams wrote= : >>> Going back to my scrolling problem, is there a way to echo all >>> keystrokes? =A0I mean, something similar to C-h k, except it echos >>> multiple keystrokes. =A0I suspect that either my trackpad or iTerm2 may >>> be reporting a single scroll as two scrolls, hence the multiplying by >>> two problem. >> >> Not sure what you are asking or what problem you are encountering, but m= aybe >> option `echo-keystrokes' will help? >> From MAILER-DAEMON Sat Jan 14 14:55:40 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rm9hU-0005ok-Bh for mharc-help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 14:55:40 -0500 Received: from eggs.gnu.org ([140.186.70.92]:37174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm9hO-0005mv-Fv for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 14:55:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rm9hK-0002cQ-NK for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 14:55:34 -0500 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:44016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm9hK-0002cE-Eo for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 14:55:30 -0500 Received: by lagj5 with SMTP id j5so1076433lag.0 for ; Sat, 14 Jan 2012 11:55:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=nqGoyU054LnZNYNwrQf+iXGeMbjEvpLcx4FZPUdmNlw=; b=EhPpxcQgCWj9WnSThZndNOFZebRiL7ckfXBFweo0iVS29CEmEAGMs1rrTOgdQNYmy9 k546wJ1MI3xFVk3wsZVFKcueBcp67i+q5TBm6I9lK0Zy4mK0mgwEyWoJ/zAuPqhvlG+S O4VTDsY6oVQZkpCO5kMV8w/h7VoQ9ajYIEHgg= Received: by 10.152.148.227 with SMTP id tv3mr2938486lab.15.1326570929144; Sat, 14 Jan 2012 11:55:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.98.133 with HTTP; Sat, 14 Jan 2012 11:55:08 -0800 (PST) In-Reply-To: <289931F418814539B572A2AB33039A6D@us.oracle.com> References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> <923012BA66E14FFEAC1EB01509B04850@us.oracle.com> <29552883E608471BA2ACB9004FAD7FDC@us.oracle.com> <289931F418814539B572A2AB33039A6D@us.oracle.com> From: Aaron Meurer Date: Sat, 14 Jan 2012 12:55:08 -0700 Message-ID: Subject: Re: Mouse support does not work To: Drew Adams Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 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, 14 Jan 2012 19:55:38 -0000 On Sat, Jan 14, 2012 at 11:20 AM, Drew Adams wrote: >> > Wrt keystroke echoing, you can use `echo-keystrokes', as I >> > mentioned. You also have `C-h l', to see the last 100 keystrokes. >> >> echo-keystrokes only seems to work within some lisp code, which I >> unfortunately am not good enough with yet to do anything useful. > > I think it works always, but it is true that some commands etc. might bind it to > 0 so it has no effect in some context. Maybe I'm missing something then. M-x echo-keystrokes doesn't work. How would one run this (without incorporating it into some lisp code)? Sorry if this sounds stupid, but I'm still very new to both emacs and emacs lisp. > >> C-h l doesn't seem to show mouse events. > > It does for me: > > ... SPC C-c C-c y e s > > > > C-h l > > And it works whether I use a graphic display or `emacs -nw'. > Actually, I think maybe it does for me too. But it shows it in the form of garbage that I don't know how to read: ESC [ > 0 ; 9 5 ; c ESC x e c TAB DEL DEL ESC [ M a ] E ESC [ M a ] E ESC [ M a ] E ESC [ M a ] E ESC [ M a ] E ESC [ M ` ] E ESC [ M ` ] E ESC [ M ` ] E ESC [ M ` ] E C-h C-g C-h C-h l ESC [ M a ] E ESC [ M a ] E ESC [ M a ] E ESC [ M ` ] E ESC [ M ` ] E ESC [ M ` ] E ESC [ M ` ] E ESC [ M SPC \300\262 , ESC [ M # \300\262 , ESC [ M SPC \300\243 ) ESC [ M # \300\243 ) ESC [ M SPC \300\241 ' ESC [ M # \300\241 ' C-h l ESC [ M a \300\236 & C-h l Aaron Meurer From MAILER-DAEMON Sat Jan 14 15:08:47 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rm9uB-0007Rg-0M for mharc-help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 15:08:47 -0500 Received: from eggs.gnu.org ([140.186.70.92]:57121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm9u8-0007RZ-Dk for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 15:08:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rm9u6-0005F3-Hu for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 15:08:44 -0500 Received: from acsinet15.oracle.com ([141.146.126.227]:61795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rm9u6-0005Eq-6W for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 15:08:42 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0EK8c90016550 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 14 Jan 2012 20:08:39 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0EK8blt029490 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Jan 2012 20:08:38 GMT Received: from abhmt107.oracle.com (abhmt107.oracle.com [141.146.116.59]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0EK8bbF025926; Sat, 14 Jan 2012 14:08:37 -0600 Received: from dradamslap1 (/10.159.37.184) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 14 Jan 2012 12:08:36 -0800 From: "Drew Adams" To: "'Aaron Meurer'" References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> <923012BA66E14FFEAC1EB01509B04850@us.oracle.com> <29552883E608471BA2ACB9004FAD7FDC@us.oracle.com> <289931F418814539B572A! 2AB33039A6D@us.oracle .com> Subject: RE: Mouse support does not work Date: Sat, 14 Jan 2012 12:08:30 -0800 Message-ID: <1A8CE007D6A94A659655E374A48FB597@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: AczS9nolptCfR7CjQp+kZzLuTMl+VgAANnKA X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A020202.4F11E0C8.000B,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 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, 14 Jan 2012 20:08:45 -0000 > >> > Wrt keystroke echoing, you can use `echo-keystrokes', as I > >> > mentioned. You also have `C-h l', to see the last 100 keystrokes. > >> > >> echo-keystrokes only seems to work within some lisp code, which I > >> unfortunately am not good enough with yet to do anything useful. > > > > I think it works always, but it is true that some commands > > etc. might bind it to 0 so it has no effect in some context. > > Maybe I'm missing something then. M-x echo-keystrokes doesn't work. > How would one run this (without incorporating it into some lisp code)? It is a user option, IOW a variable that you can customize. It is not a function, let alone a command (so you cannot invoke it using `M-x'). Use `C-h v echo-keystrokes' to see its doc. However, the doc string is incomplete - see this bug report: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10503. For more complete info, see the Emacs or Elisp manual: use `i echo-keystrokes' in the manual. The way to make `echo-keystrokes' take effect or not is to use `M-x customize-option' or `M-x set-variable'. > >> C-h l doesn't seem to show mouse events. > > > > It does for me: > > > > ... SPC C-c C-c y e s > > > > > > > > C-h l > > > > And it works whether I use a graphic display or `emacs -nw'. > > > > Actually, I think maybe it does for me too. But it shows it in the > form of garbage that I don't know how to read: > > ESC [ > 0 ; 9 5 ; c ESC x e c TAB DEL DEL ESC [ M a > ] E ESC [ M a ] E ESC [ M a ] E ESC [ M a ] E ESC [ > M a ] E ESC [ M ` ] E ESC [ M ` ] E ESC [ M ` ] E ESC > [ M ` ] E C-h C-g C-h C-h l ESC [ M a ] E ESC [ M a > ] E ESC [ M a ] E ESC [ M ` ] E ESC [ M ` ] E ESC [ > M ` ] E ESC [ M ` ] E ESC [ M SPC \300\262 , ESC [ > M # \300\262 , ESC [ M SPC \300\243 ) ESC [ M # \300\243 > ) ESC [ M SPC \300\241 ' ESC [ M # \300\241 ' C-h l > ESC [ M a \300\236 & C-h l Those look like keyboard keys to me, not mouse events. If you use the mouse (e.g. click `mouse-1' somewhere, then click `mouse-3' somewhere, to select some text) you should see mouse events such as I show above. From MAILER-DAEMON Sat Jan 14 15:33:05 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RmAHh-0001kM-Mq for mharc-help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 15:33:05 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58675) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmAHe-0001kG-Sn for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 15:33:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmAHd-0008SB-0S for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 15:33:02 -0500 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:63599) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmAHc-0008S2-Aa for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 15:33:00 -0500 Received: by lagj5 with SMTP id j5so1087913lag.0 for ; Sat, 14 Jan 2012 12:32:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=csAZwWaN2aL+OiJeTqHFw9epS4XwPgl3v+foq095ffI=; b=KLqPGdRCQnbWWPpaXXS0xfM5wP6b6Sa8sVg6I9hrWyCmwxairheVkbM2DvvQAgqfuz XG6dv7E9hRK1t9FtZ77eYZXg+e51rkAj0bE6FeslSIEWsLYWzqIk234vk5LlMCGo2E0e vvUN7ug3BWWmeiVXBgPt22z3sK3G6sadAleWA= Received: by 10.112.82.73 with SMTP id g9mr1518719lby.60.1326573177149; Sat, 14 Jan 2012 12:32:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.98.133 with HTTP; Sat, 14 Jan 2012 12:32:36 -0800 (PST) In-Reply-To: <1A8CE007D6A94A659655E374A48FB597@us.oracle.com> References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> <923012BA66E14FFEAC1EB01509B04850@us.oracle.com> <29552883E608471BA2ACB9004FAD7FDC@us.oracle.com> <1A8CE007D6A94A659655E374A48FB597@us.oracle.com> From: Aaron Meurer Date: Sat, 14 Jan 2012 13:32:36 -0700 Message-ID: Subject: Re: Mouse support does not work To: Drew Adams Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 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, 14 Jan 2012 20:33:04 -0000 On Sat, Jan 14, 2012 at 1:08 PM, Drew Adams wrote: >> >> > Wrt keystroke echoing, you can use `echo-keystrokes', as I >> >> > mentioned. You also have `C-h l', to see the last 100 keystrokes. >> >> >> >> echo-keystrokes only seems to work within some lisp code, which I >> >> unfortunately am not good enough with yet to do anything useful. >> > >> > I think it works always, but it is true that some commands >> > etc. might bind it to 0 so it has no effect in some context. >> >> Maybe I'm missing something then. =A0M-x echo-keystrokes doesn't work. >> How would one run this (without incorporating it into some lisp code)? > > It is a user option, IOW a variable that you can customize. =A0It is not = a > function, let alone a command (so you cannot invoke it using `M-x'). > > Use `C-h v echo-keystrokes' to see its doc. > > However, the doc string is incomplete - see this bug report: > http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D10503. =A0For more complet= e info, see > the Emacs or Elisp manual: use `i echo-keystrokes' in the manual. > > The way to make `echo-keystrokes' take effect or not is to use `M-x > customize-option' or `M-x set-variable'. Ah, I see what this is now. Would that even echo mouse events? > >> >> C-h l doesn't seem to show mouse events. >> > >> > It does for me: >> > >> > ... SPC C-c C-c y e s >> > >> > >> > >> > C-h l >> > >> > And it works whether I use a graphic display or `emacs -nw'. >> > >> >> Actually, I think maybe it does for me too. But it shows it in the >> form of garbage that I don't know how to read: >> >> ESC [ > 0 ; 9 5 ; c ESC x e c TAB DEL DEL ESC [ M a >> ] E ESC [ M a ] E ESC [ M a ] E ESC [ M a ] E ESC [ >> M a ] E ESC [ M ` ] E ESC [ M ` ] E ESC [ M ` ] E ESC >> [ M ` ] E C-h C-g C-h C-h l ESC [ M a ] E ESC [ M a >> ] E ESC [ M a ] E ESC [ M ` ] E ESC [ M ` ] E ESC [ >> M ` ] E ESC [ M ` ] E ESC [ M SPC \300\262 , ESC [ >> M # \300\262 , ESC [ M SPC \300\243 ) ESC [ M # \300\243 >> ) ESC [ M SPC \300\241 ' ESC [ M # \300\241 ' C-h l >> ESC [ M a \300\236 & C-h l > > Those look like keyboard keys to me, not mouse events. =A0If you use the = mouse > (e.g. click `mouse-1' somewhere, then click `mouse-3' somewhere, to selec= t some > text) you should see mouse events such as I show above. > No, this is definitely how it is reporting mouse events. I typed "Some Text" and clicked on the S, and this is what it showed for it: S o m e SPC T e x t ESC [ M SPC $ ( ESC [ M # $ ( C-h l It makes sense that it would do that, because just saying does not tell you where in the text you clicked. Also, if I type ESC [ M SPC $ ( ESC [ M # $ ( with the cursor on the t, it does indeed go back to the S. It even echos "down-mouse-1" at the bottom. As for scrolling, it seems that the command is different depending on where my mouse is (I think), which makes sense because I set the "Mouse Wheel Follow Mouse" setting from customize to on (I couldn't figure out what the emacs variable name for that is called). Aaron Meurer From MAILER-DAEMON Sat Jan 14 16:00:16 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RmAi0-0004Wt-4R for mharc-help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 16:00:16 -0500 Received: from eggs.gnu.org ([140.186.70.92]:44666) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmAhx-0004WI-5A for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 16:00:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmAhv-00042t-Mo for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 16:00:13 -0500 Received: from rcsinet15.oracle.com ([148.87.113.117]:25402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmAhv-00042h-F8 for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 16:00:11 -0500 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0EL08FJ025961 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 14 Jan 2012 21:00:09 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0EL075R000696 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Jan 2012 21:00:08 GMT Received: from abhmt119.oracle.com (abhmt119.oracle.com [141.146.116.71]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0EL0728009884; Sat, 14 Jan 2012 15:00:07 -0600 Received: from dradamslap1 (/10.159.37.184) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 14 Jan 2012 13:00:06 -0800 From: "Drew Adams" To: "'Aaron Meurer'" References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> <923012BA66E14FFEAC1EB01509B04850@us.oracle.com> <29552883E608471BA2ACB9004FAD7FDC@us.oracle.com> <1A8CE007D6A94A659655E374A48FB597@us.oracle.com> Subject: RE: Mouse support does not work Date: Sat, 14 Jan 2012 13:00:00 -0800 Message-ID: <9D2A8B9BD78143A58911A8ED19FAFE52@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: AczS+7V2CNNxidjyQN2q7FXaPsnTVwAAUzPQ X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090209.4F11ECD9.004B,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.117 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, 14 Jan 2012 21:00:14 -0000 > Ah, I see what this is now. Would that even echo mouse events? No. It echos unfinished keyboard key sequences. > >> Actually, I think maybe it does for me too. But it shows it in the > >> form of garbage that I don't know how to read: > >> > >> ESC [ > 0 ; 9 5 ; c ESC x e c TAB DEL DEL ESC [ M a... > > > > Those look like keyboard keys to me, not mouse events. =A0If=20 > > you use the mouse (e.g. click `mouse-1' somewhere, then > > click `mouse-3' somewhere, to select some text) you should > > see mouse events such as I show above. >=20 > No, this is definitely how it is reporting mouse events. I typed "Some > Text" and clicked on the S, and this is what it showed for it: >=20 > S o m e SPC T e x t ESC [ M SPC $ ( ESC [ M # $ ( C-h l Perhaps it is a platform difference. I'm using MS Windows. I've never = seen what you see. > It makes sense that it would do that, because just saying > does not tell you where in the text you clicked. And how does what it shows you tell you more about the mouse-click = position than this, which is what I see on a graphic display: S o m e SPC T e x t C-h l Or this, which is what I see with emacs -nw: S o m e SPC T e x t C-h l What is shown is not the full mouse event, with all of its position = info. All that is shown is the name of the mouse event (including modifiers). > Also, if I type ESC [ M SPC $ ( ESC [ M # $ ( with the cursor on the > t, How do you type that? Is M the shifted `M' key or Meta (Alt)? If I hit = the `ESC' key and then the `[' key Emacs just tells me `M-[ is undefined'. > it does indeed go back to the S. It even echos "down-mouse-1" at > the bottom. As for scrolling, it seems that the command is different > depending on where my mouse is (I think), which makes sense because I > set the "Mouse Wheel Follow Mouse" setting from customize to on (I > couldn't figure out what the emacs variable name for that is called). Customize `custom-unlispify-tag-names' to nil (off), if you want to see = the real (Lisp) names. (IMHO that should be the default value. It is less, not more, helpful = to simply capitalize each word and replace SPC with hyphen. Misguided, IMO.) From MAILER-DAEMON Sat Jan 14 19:02:15 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RmDY7-0006Aa-L2 for mharc-help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 19:02:15 -0500 Received: from eggs.gnu.org ([140.186.70.92]:34155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmDY2-00063T-MW for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 19:02:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmDY1-0000fj-Ei for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 19:02:10 -0500 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:46208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmDY1-0000fe-7L for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 19:02:09 -0500 Received: by lagj5 with SMTP id j5so1141484lag.0 for ; Sat, 14 Jan 2012 16:02:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=QWfOtqLANvALxrt9bAANHs+Nh73OwImHX+2VN1qLitg=; b=mAVkYxpia9EtHo6ZfGx2kMOB63XC/n7XIhfjlRw16Aee+O+g2G+KtZtOg6wpcUz9Pt sWoRPIQ4PbixkCfo67iP9TAqdvTIvfR7hRKqaqY30os8klseqCl6o1fcmOZWyjzvOzN/ /Pr0CCQ1FSXgv+BS7JwGmBf3xN/m8xLG1yqqY= Received: by 10.152.148.227 with SMTP id tv3mr3192894lab.15.1326585728101; Sat, 14 Jan 2012 16:02:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.98.133 with HTTP; Sat, 14 Jan 2012 16:01:47 -0800 (PST) In-Reply-To: <9D2A8B9BD78143A58911A8ED19FAFE52@us.oracle.com> References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> <923012BA66E14FFEAC1EB01509B04850@us.oracle.com> <29552883E608471BA2ACB9004FAD7FDC@us.oracle.com> <1A8CE007D6A94A659655E374A48FB597@us.oracle.com> <9D2A8B9BD78143A58911A8ED19FAFE52@us.oracle.com> From: Aaron Meurer Date: Sat, 14 Jan 2012 17:01:47 -0700 Message-ID: Subject: Re: Mouse support does not work To: Drew Adams Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 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, 15 Jan 2012 00:02:11 -0000 On Sat, Jan 14, 2012 at 2:00 PM, Drew Adams wrote: >> Ah, I see what this is now. =A0Would that even echo mouse events? > > No. =A0It echos unfinished keyboard key sequences. > >> >> Actually, I think maybe it does for me too. But it shows it in the >> >> form of garbage that I don't know how to read: >> >> >> >> ESC [ > 0 ; 9 5 ; c ESC x e c TAB DEL DEL ESC [ M a... >> > >> > Those look like keyboard keys to me, not mouse events. =A0If >> > you use the mouse (e.g. click `mouse-1' somewhere, then >> > click `mouse-3' somewhere, to select some text) you should >> > see mouse events such as I show above. >> >> No, this is definitely how it is reporting mouse events. I typed "Some >> Text" and clicked on the S, and this is what it showed for it: >> >> S o m e SPC T e x t ESC [ M SPC $ ( ESC [ M # $ ( C-h l > > Perhaps it is a platform difference. =A0I'm using MS Windows. =A0I've nev= er seen > what you see. > >> It makes sense that it would do that, because just saying >> does not tell you where in the text you clicked. > > And how does what it shows you tell you more about the mouse-click positi= on than > this, which is what I see on a graphic display: Because it tells you *exactly* where the mouse was clicked, in some coded internal language. As I said, when I typed it, it reproduced what I did with the mouse exactly. > > S o m e SPC T e x t C-h l > > Or this, which is what I see with emacs -nw: > > S o m e SPC T e x t C-h l > > What is shown is not the full mouse event, with all of its position info.= =A0All > that is shown is the name of the mouse event (including modifiers). > >> Also, if I type =A0ESC [ M SPC $ ( ESC [ M # $ ( with the cursor on the >> t, > > How do you type that? =A0Is M the shifted `M' key or Meta (Alt)? =A0If I = hit the > `ESC' key and then the `[' key Emacs just tells me `M-[ is undefined'. No, I think it's literally "M" (shifted M). Meta is ESC. And Control is written as C-letter (with a dash). > >> it does indeed go back to the S. =A0It even echos "down-mouse-1" at >> the bottom. =A0As for scrolling, it seems that the command is different >> depending on where my mouse is (I think), which makes sense because I >> set the "Mouse Wheel Follow Mouse" setting from customize to on (I >> couldn't figure out what the emacs variable name for that is called). > > Customize `custom-unlispify-tag-names' to nil (off), if you want to see t= he real > (Lisp) names. > > (IMHO that should be the default value. =A0It is less, not more, helpful = to simply > capitalize each word and replace SPC with hyphen. =A0Misguided, IMO.) > I agree, though I see where they're coming from (people who use M-x customize are supposed to be shielded from the lisp side). Thanks for the tip! Aaron Meurer From MAILER-DAEMON Sat Jan 14 19:56:04 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RmEOC-0001Kp-Af for mharc-help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 19:56:04 -0500 Received: from eggs.gnu.org ([140.186.70.92]:53289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmEO9-0001I5-1E for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 19:56:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmEO8-0006jL-2b for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 19:56:01 -0500 Received: from fmmailgate02.web.de ([217.72.192.227]:37336) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmEO7-0006j0-N8 for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 19:56:00 -0500 Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate02.web.de (Postfix) with ESMTP id C48A51BFC2B3D for ; Sun, 15 Jan 2012 01:55:57 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0MGiPJ-1RqtDw12oL-00DEkw; Sun, 15 Jan 2012 01:55:57 +0100 Subject: Re: Mouse support does not work Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Peter Dyballa In-Reply-To: <1A8CE007D6A94A659655E374A48FB597@us.oracle.com> Date: Sun, 15 Jan 2012 01:55:56 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> <923012BA66E14FFEAC1EB01509B04850@us.oracle.com> <29552883E608471BA2ACB9004FAD7FDC@us.oracle.com> <289931F418814539B572A! 2AB33039A6D@us.oracle .com> <1A8CE007D6A94A659655E374A48FB597@us.oracle.com> To: Drew Adams X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:gcS3rmxSmQ7wckctAlZCxls/mSk3iSJn4w1rDX9Ibbb qgAeURkKTs7rGqhERazQ5ZhptaIoCSQYlKJJcwTitHFiP5BbR2 yBzY334wAISPkiuvji5ushp/tm0+dsLHEhU90qEvPcORxg7IgP Rpf/3AANMpHCG72r/gYMuXlqRCALtfaohSMJ3mLpuW3Cu8qd4q XSatfV6C5T5n2jXU0ThDw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.227 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, 15 Jan 2012 00:56:02 -0000 Am 14.1.2012 um 21:08 schrieb Drew Adams: > Those look like keyboard keys to me, not mouse events. If you use the = mouse > (e.g. click `mouse-1' somewhere, then click `mouse-3' somewhere, to = select some > text) you should see mouse events such as I show above. Drew, Aaron is working with GNU Emacs in non-windows "mode" inside an xterm = (variant). The latter is an X client, it exists in a windowing system = and it receives key or mouse events. But the things running inside the = xterm (iTerm2) terminal emulation can only receive text input, for = example ANSI Esc sequences (or codes). It looks as if these codes are = produced by the given "mouse events": ESC [ M a F Z =3D =3D scroll-up ESC [ M ` u X =3D =3D scroll-down =09 ESC [ M e / Q =3D S- =3D ESC [ M d 5 S =3D S- =3D =09 ESC [ M q - S =3D C- =3D ESC [ M p 2 T =3D C- =3D Having set in my init file (global-set-key [mouse-4] (lambda () (interactive) = (mwheel-scroll mouse-wheel-up-event))) (global-set-key [mouse-5] (lambda () (interactive) = (mwheel-scroll mouse-wheel-down-event))) scrolling feels quite OK in xterm and y bit too fast in uxterm... Not as = smooth as with a windowing Emacs. -- Greetings Pete Hard Disk, n.: A device that allows users to delete vast quantities of data = with simple mnemonic commands. From MAILER-DAEMON Sat Jan 14 19:59:02 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RmER4-0001ld-NK for mharc-help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 19:59:02 -0500 Received: from eggs.gnu.org ([140.186.70.92]:53499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmER2-0001jo-7o for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 19:59:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmER1-00074C-4A for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 19:59:00 -0500 Received: from rcsinet15.oracle.com ([148.87.113.117]:56931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmER0-000748-Mo for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 19:58:59 -0500 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0F0wtM8032063 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 15 Jan 2012 00:58:56 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0F0ws0O001447 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 15 Jan 2012 00:58:55 GMT Received: from abhmt114.oracle.com (abhmt114.oracle.com [141.146.116.66]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0F0wsQc022982; Sat, 14 Jan 2012 18:58:54 -0600 Received: from dradamslap1 (/10.159.37.184) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 14 Jan 2012 16:58:54 -0800 From: "Drew Adams" To: "'Peter Dyballa'" References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> <923012BA66E14FFEAC1EB01509B04850@us.oracle.com> <29552883E608471BA2ACB9004FAD7FDC@us.oracle.com> <289931F418814539B572A! ! 2AB33039A6D@us.ora cle .com> <1A8CE007D6A94A659655E374A48FB597@us.oracle.com> Subject: RE: Mouse support does not work Date: Sat, 14 Jan 2012 16:58:47 -0800 Message-ID: <3CB7E3C197F1497796D649C70B8CD9AA@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: AczTIHOs5PG4A/a9TF+qm7NH5V3YdQAAC3rw X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090204.4F1224D0.0020,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.117 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, 15 Jan 2012 00:59:01 -0000 > Aaron is working with GNU Emacs in non-windows "mode" inside > an xterm (variant). The latter is an X client, it exists in a > windowing system and it receives key or mouse events. But the > things running inside the xterm (iTerm2) terminal emulation > can only receive text input, for example ANSI Esc sequences > (or codes). It looks as if these codes are produced by the > given "mouse events": > > ESC [ M a F Z = = scroll-up > ESC [ M ` u X = = scroll-down > ESC [ M e / Q = S- = > ESC [ M d 5 S = S- = > ESC [ M q - S = C- = > ESC [ M p 2 T = C- = Thanks for that info. I figured at first it was maybe `emacs -nw', but that doesn't have the same behavior. From MAILER-DAEMON Sat Jan 14 20:13:26 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RmEf0-0002pp-9g for mharc-help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 20:13:26 -0500 Received: from eggs.gnu.org ([140.186.70.92]:52714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmEey-0002pj-LF for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 20:13:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmEex-0008T6-JV for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 20:13:24 -0500 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:60979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmEex-0008T2-CT for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 20:13:23 -0500 Received: by lagj5 with SMTP id j5so1156855lag.0 for ; Sat, 14 Jan 2012 17:13:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=9gcUNz0L6KknpaBrv/62/sdByA3TrX5+d9zUMX5vNUo=; b=HgavjgcbvoKBDPUy3QtQYtA8P3Ii2DLox7RloV0Z6Uhuy1uLBUfGgtAWfIHWG2xCVx P5h198jf2vn218qRh1A28dalDHeT/K4sa0Ro2DaQfuDU+B9Deviq2WfdKF1G/9DoMB3E VDWuYchMUxYuq5wGW6mSznhkwhe9XsrMRt/2U= Received: by 10.152.111.201 with SMTP id ik9mr3264031lab.8.1326590002116; Sat, 14 Jan 2012 17:13:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.98.133 with HTTP; Sat, 14 Jan 2012 17:13:01 -0800 (PST) In-Reply-To: References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> <923012BA66E14FFEAC1EB01509B04850@us.oracle.com> <29552883E608471BA2ACB9004FAD7FDC@us.oracle.com> <1A8CE007D6A94A659655E374A48FB597@us.oracle.com> From: Aaron Meurer Date: Sat, 14 Jan 2012 18:13:01 -0700 Message-ID: Subject: Re: Mouse support does not work To: Peter Dyballa Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 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, 15 Jan 2012 01:13:25 -0000 On Sat, Jan 14, 2012 at 5:55 PM, Peter Dyballa wrote= : > > Am 14.1.2012 um 21:08 schrieb Drew Adams: > >> Those look like keyboard keys to me, not mouse events. =A0If you use the= mouse >> (e.g. click `mouse-1' somewhere, then click `mouse-3' somewhere, to sele= ct some >> text) you should see mouse events such as I show above. > > Drew, > > Aaron is working with GNU Emacs in non-windows "mode" inside an xterm (va= riant). The latter is an X client, it exists in a windowing system and it r= eceives key or mouse events. But the things running inside the xterm (iTerm= 2) terminal emulation can only receive text input, for example ANSI Esc seq= uences (or codes). It looks as if these codes are produced by the given "mo= use events": > > =A0 =A0 =A0 =A0ESC [ M a F Z =A0 =3D =3D scroll-up > =A0 =A0 =A0 =A0ESC [ M ` u X =A0 =3D =3D scroll-down > > =A0 =A0 =A0 =A0ESC [ M e / Q =A0 =3D S- =3D > =A0 =A0 =A0 =A0ESC [ M d 5 S =A0 =3D S- =3D > > =A0 =A0 =A0 =A0ESC [ M q - S =A0 =3D C- =3D > =A0 =A0 =A0 =A0ESC [ M p 2 T =A0 =3D C- =3D > It's not that simple if you have the mouse-wheel-follows-focus set, because it also keeps track of the cursor location. Here's an example scroll up for me: ESC [ > 0 ; 9 5 ; c ESC [ M a | 8 Aaron Meurer > Having set in my init file > > =A0 =A0 =A0 =A0 =A0(global-set-key [mouse-4] =A0 =A0 (lambda () (interact= ive) (mwheel-scroll mouse-wheel-up-event))) > =A0 =A0 =A0 =A0 =A0(global-set-key [mouse-5] =A0 =A0 (lambda () (interact= ive) (mwheel-scroll mouse-wheel-down-event))) > > scrolling feels quite OK in xterm and y bit too fast in uxterm... Not as = smooth as with a windowing Emacs. > > -- > Greetings > > =A0Pete > > Hard Disk, n.: > =A0 =A0 =A0 =A0A device that allows users to delete vast quantities of da= ta with simple mnemonic commands. > From MAILER-DAEMON Sat Jan 14 21:23:02 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RmFkM-0007ZP-4Y for mharc-help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 21:23:02 -0500 Received: from eggs.gnu.org ([140.186.70.92]:52901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmEft-0003EP-RG for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 20:14:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmEfp-0000Jn-1J for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 20:14:21 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:45836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmEfo-0000HU-UR for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 20:14:17 -0500 Received: by iacb35 with SMTP id b35so31449iac.0 for ; Sat, 14 Jan 2012 17:14:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=oEQoWYTyneddnFMW54qmrBta5DIOIkFc9XOBRJuapPI=; b=KbUCB0K4G4gVL6peHqLk82C+R7jl+xAHwx2bVcZAG9OeZth9PHC9ku74pzTuDYWjr0 1qQJwMSYF4ZABrygsVDxIx0/whFwmF4PlzOCwNLKQHlkiWiuc6r0/KUdjkDW/5Ttq8wB sT10CMrGJIo58kzNekIcEW3U4tbHI7Nh1SvTo= MIME-Version: 1.0 Received: by 10.50.135.1 with SMTP id po1mr6817670igb.26.1326590055477; Sat, 14 Jan 2012 17:14:15 -0800 (PST) Received: by 10.42.239.70 with HTTP; Sat, 14 Jan 2012 17:14:15 -0800 (PST) In-Reply-To: References: Date: Sat, 14 Jan 2012 17:14:15 -0800 Message-ID: Subject: Fwd: Different scan code behavior in X and console From: =?UTF-8?B?6YOt5pmT5bOw?= To: help-gnu-emacs@gnu.org Content-Type: multipart/mixed; boundary=e89a8f6432c204f1ea04b686d114 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.169 X-Mailman-Approved-At: Sat, 14 Jan 2012 21:23:00 -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, 15 Jan 2012 01:14:22 -0000 --e89a8f6432c204f1ea04b686d114 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Forward a mail I just sent to linux-console@ Any idea on this? If this problem can be resolved, I pretty sure CUA can be enabled in console mode, including ssh pts. ---------- Forwarded message ---------- From: Date: Sat, Jan 14, 2012 at 4:52 PM Subject: Different scan code behavior in X and console To: linux-console@vger.kernel.org Hi there, Sorry to bother. Not sure whether it is correct to post this question to the mail list, but can't find a suitable linux console user mail list for discussing this. If you have good mail list to suggest, please help me to forward. Thanks! The question is: I tried to make my emacs have the same key response on both X and console (ssh pts). However, I can't find scan code for "Ctrl-PageDown" in console mode. I attached the code for testing the scan code, and below is different behavior in X and console: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D X =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Press a Key 338 =A0 // Just type Press a Key 27 Press a Key 91 Press a Key 54 Press a Key 59 Press a Key 53 Press a Key 126 =A0// 6-chars for =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Console =3D=3D=3D=3D=3D=3D=3D=3D=3D Press a Key 338 =A0// Same for Press a Key =A0 =A0 =A0 =A0 // No response for Any idea on this? Greatly appreciate your replies, your suggested readings, and so on! Best Regards, Lamu Guo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DBelow is text of the code, for easil= y reading to skip attachment=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D #include #include #include int main(void) { =A0WINDOW *_window =3D initscr(); =A0int _rows; =A0int _cols; =A0cbreak(); =A0/* Accept all keys */ =A0keypad(_window, true); =A0/* Don't echo things that are typed */ =A0noecho(); =A0/* Get the screen dimensions */ =A0getmaxyx(_window, _rows, _cols); =A0/* Don't display cursor */ =A0curs_set(0); =A0for (;;) =A0{ =A0 =A0printw("Press a Key "); =A0 =A0refresh(); =A0 =A0int key =3D wgetch(_window); =A0 =A0printw("%d \n", key); =A0} =A0endwin(); =A0return 0; } --e89a8f6432c204f1ea04b686d114 Content-Type: text/x-csrc; charset=US-ASCII; name="curin2.c" Content-Disposition: attachment; filename="curin2.c" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gxfcnt6k0 I2luY2x1ZGUgPHN0ZGxpYi5oPgojaW5jbHVkZSA8Y3R5cGUuaD4KI2luY2x1ZGUgPGN1cnNlcy5o PgoKaW50IG1haW4odm9pZCkKewogIFdJTkRPVyAqX3dpbmRvdyA9IGluaXRzY3IoKTsKICBpbnQg X3Jvd3M7CiAgaW50IF9jb2xzOwoKICBjYnJlYWsoKTsKCiAgLyogQWNjZXB0IGFsbCBrZXlzICov CiAga2V5cGFkKF93aW5kb3csIHRydWUpOwoKICAvKiBEb24ndCBlY2hvIHRoaW5ncyB0aGF0IGFy ZSB0eXBlZCAqLwogIG5vZWNobygpOwoKICAvKiBHZXQgdGhlIHNjcmVlbiBkaW1lbnNpb25zICov CiAgZ2V0bWF4eXgoX3dpbmRvdywgX3Jvd3MsIF9jb2xzKTsKCiAgLyogRG9uJ3QgZGlzcGxheSBj dXJzb3IgKi8KICBjdXJzX3NldCgwKTsKCiAgZm9yICg7OykKICB7CiAgICBwcmludHcoIlByZXNz IGEgS2V5ICIpOwogICAgcmVmcmVzaCgpOwogICAgaW50IGtleSA9IHdnZXRjaChfd2luZG93KTsK ICAgIHByaW50dygiJWQgXG4iLCBrZXkpOwogIH0KCiAgZW5kd2luKCk7CgogIHJldHVybiAwOwp9 Cg== --e89a8f6432c204f1ea04b686d114-- From MAILER-DAEMON Sun Jan 15 00:56:55 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RmJ5L-00026D-FT for mharc-help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 00:56:55 -0500 Received: from eggs.gnu.org ([140.186.70.92]:45254) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmHdA-0005pm-KI for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 23:23:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmHd9-0001qp-DH for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 23:23:44 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:42947) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmHd9-0001qK-89 for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 23:23:43 -0500 Received: from bb119-74-95-73.singnet.com.sg ([119.74.95.73]:50219 helo=furball) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1RmHd8-0002kH-Fj for help-gnu-emacs@gnu.org; Sat, 14 Jan 2012 23:23:43 -0500 From: Chong Yidong To: help-gnu-emacs@gnu.org Subject: Maintainers needed for some tutorial languages Date: Sun, 15 Jan 2012 12:23:30 +0800 Message-ID: <87vcodoapp.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-Mailman-Approved-At: Sun, 15 Jan 2012 00:56:53 -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, 15 Jan 2012 04:23:45 -0000 We currently lack maintainers for the Emacs tutorial in several languages: - TUTORIAL.cs (Czech) - TUTORIAL.ko (Korean) - TUTORIAL.ro (Romanian) - TUTORIAL.sk (Slovak) If you are fluent in one of these languages and are willing to help, please send me an email. The work is not difficult---it involves checking and updating the tutorial translation so that it has the same contents as the English tutorial; this work only needs to be done roughly once per Emacs major release. Thanks. From MAILER-DAEMON Sun Jan 15 02:51:38 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RmKsM-00010T-Cx for mharc-help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 02:51:38 -0500 Received: from eggs.gnu.org ([140.186.70.92]:35354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmKsJ-0000zK-3v for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 02:51:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmKsI-00012n-0a for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 02:51:35 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:46006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmKsH-00012g-Na for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 02:51:33 -0500 Received: by iacb35 with SMTP id b35so366338iac.0 for ; Sat, 14 Jan 2012 23:51:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=IU1xirhnzo1a/h1EAuKZIlFg0s+BsTszB0My3cyM15M=; b=naUhRNSrg30PmMu6djwUsXnKdaOJzk5kV0AaKoRQvTw45dvK/6IyV3V1dw4Fn30oNe e4nt4B9pxpQNvNPTJxk+8UVSINWtG4THTGN+AZJ+kXATs05w5a0ouO2SdXnk67vzsHdz PzYpb2JBrcoOhTRtZxnsYg5p5U+QY1e6L9W9U= MIME-Version: 1.0 Received: by 10.50.88.230 with SMTP id bj6mr7666534igb.26.1326613892599; Sat, 14 Jan 2012 23:51:32 -0800 (PST) Received: by 10.42.239.70 with HTTP; Sat, 14 Jan 2012 23:51:32 -0800 (PST) In-Reply-To: References: Date: Sat, 14 Jan 2012 23:51:32 -0800 Message-ID: Subject: Re: Different scan code behavior in X and console From: =?UTF-8?B?6YOt5pmT5bOw?= 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: Genre and OS details not recognized. X-Received-From: 209.85.210.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 15 Jan 2012 07:51:36 -0000 OK, Just found Ctrl-PgDn (and similar keys) are filtered by Mac & Windows, it works for Linux. So please skip this question. I'll keep trying to enable CUA mode in emacs later. Will post my questions later if still have problems. Sorry to bother. Best Regards, Lamu Guo On Sat, Jan 14, 2012 at 5:14 PM, =E9=83=AD=E6=99=93=E5=B3=B0 wrote: > Forward a mail I just sent to linux-console@ > > Any idea on this? If this problem can be resolved, I pretty sure CUA > can be enabled in console mode, including ssh pts. > > > ---------- Forwarded message ---------- > From: > Date: Sat, Jan 14, 2012 at 4:52 PM > Subject: Different scan code behavior in X and console > To: linux-console@vger.kernel.org > > > Hi there, > > Sorry to bother. Not sure whether it is correct to post this question > to the mail list, but can't find a suitable linux console user mail > list for discussing this. If you have good mail list to suggest, > please help me to forward. Thanks! > > The question is: I tried to make my emacs have the same key response > on both X and console (ssh pts). However, I can't find scan code for > "Ctrl-PageDown" in console mode. I attached the code for testing the > scan code, and below is different behavior in X and console: > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D X =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D > Press a Key 338 =C2=A0 // Just type > Press a Key 27 > Press a Key 91 > Press a Key 54 > Press a Key 59 > Press a Key 53 > Press a Key 126 =C2=A0// 6-chars for > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Console =3D=3D=3D=3D=3D=3D=3D=3D=3D > Press a Key 338 =C2=A0// Same for > Press a Key =C2=A0 =C2=A0 =C2=A0 =C2=A0 // No response for > > Any idea on this? Greatly appreciate your replies, your suggested > readings, and so on! > > Best Regards, > Lamu Guo > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DBelow is text of the code, for eas= ily reading to skip > attachment=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > #include > #include > #include > > int main(void) > { > =C2=A0WINDOW *_window =3D initscr(); > =C2=A0int _rows; > =C2=A0int _cols; > > =C2=A0cbreak(); > > =C2=A0/* Accept all keys */ > =C2=A0keypad(_window, true); > > =C2=A0/* Don't echo things that are typed */ > =C2=A0noecho(); > > =C2=A0/* Get the screen dimensions */ > =C2=A0getmaxyx(_window, _rows, _cols); > > =C2=A0/* Don't display cursor */ > =C2=A0curs_set(0); > > =C2=A0for (;;) > =C2=A0{ > =C2=A0 =C2=A0printw("Press a Key "); > =C2=A0 =C2=A0refresh(); > =C2=A0 =C2=A0int key =3D wgetch(_window); > =C2=A0 =C2=A0printw("%d \n", key); > =C2=A0} > > =C2=A0endwin(); > > =C2=A0return 0; > } From MAILER-DAEMON Sun Jan 15 10:19:15 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RmRrX-0004dC-1v for mharc-help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 10:19:15 -0500 Received: from eggs.gnu.org ([140.186.70.92]:46444) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmRrT-0004ZI-FZ for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 10:19:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmRrS-0003mj-Hx for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 10:19:11 -0500 Received: from fmmailgate03.web.de ([217.72.192.234]:43553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmRrS-0003mf-9b for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 10:19:10 -0500 Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate03.web.de (Postfix) with ESMTP id 3C9561AFC7F55 for ; Sun, 15 Jan 2012 16:19:09 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb001) with ESMTPA (Nemesis) id 0LfiZ8-1SRWy63bcA-00p9pr; Sun, 15 Jan 2012 16:19:09 +0100 Subject: Re: Mouse support does not work Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 From: Peter Dyballa In-Reply-To: <3CB7E3C197F1497796D649C70B8CD9AA@us.oracle.com> Date: Sun, 15 Jan 2012 16:19:08 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <6E27BD17-4684-4310-A7E9-E860C53F93FA@web.de> References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> <923012BA66E14FFEAC1EB01509B04850@us.oracle.com> <29552883E608471BA2ACB9004FAD7FDC@us.oracle.com> <289931F418814539B572A! ! 2AB33039A6D@us.ora cle .com> <1A8CE007D6A94A659655E374A48FB597@us.oracle.com> <3CB7E3C197F1497796D649C70B8CD9AA@us.oracle.com> To: Drew Adams X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:aOcJzLxos1QSM1bJ1/XH4vCULLatA0zsMUcUUZQHax8 ifmi62jAdnOzmdxgJFxImbu1j2o2JR4pe2oL/tZIfdScsikw1m uCCqMep7taDpoTQXkZFYML+2Ov+lyDlZVl14KteFpE1ayIo2R2 OGSoXGo76W/swj9C8UdrDHuNIT5YNY+UH5Fi0PUvvfM88zQ1pf T0D137/+Dy0pjiOJQKLmA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.234 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, 15 Jan 2012 15:19:12 -0000 Am 15.1.2012 um 01:58 schrieb Drew Adams: > I figured at first it was maybe `emacs -nw', but that doesn't have the = same behavior. Could be this is a Mac OS X specific behaviour. I thought of writing the = mwheel.el authors an eMail about that... -- Mit friedvollen Gr=FC=DFen Pete A lot of people mistake a short memory for a clear conscience. =96 Doug Larson From MAILER-DAEMON Sun Jan 15 10:28:19 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RmS0J-00063v-HP for mharc-help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 10:28:19 -0500 Received: from eggs.gnu.org ([140.186.70.92]:52408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmS0F-00060V-Qq for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 10:28:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmS0E-00054B-Nz for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 10:28:15 -0500 Received: from fmmailgate02.web.de ([217.72.192.227]:44623) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmS0E-000545-J3 for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 10:28:14 -0500 Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate02.web.de (Postfix) with ESMTP id 86C9F1BFC8EDD for ; Sun, 15 Jan 2012 16:28:13 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb001) with ESMTPA (Nemesis) id 0LqlAw-1SGXte48Ek-00eByD; Sun, 15 Jan 2012 16:28:13 +0100 Subject: Re: Mouse support does not work Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 From: Peter Dyballa In-Reply-To: Date: Sun, 15 Jan 2012 16:28:12 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <16E07331-6D98-47E5-ADBD-AD3E8D649900@web.de> References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> <923012BA66E14FFEAC1EB01509B04850@us.oracle.com> <29552883E608471BA2ACB9004FAD7FDC@us.oracle.com> <1A8CE007D6A94A659655E374A48FB597@us.oracle.com> To: Aaron Meurer X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:ABv8+x/NLEECJ4OtD2l0RJgoyzA1f0ijJH88BeVJjfz UXAP0OGbGwLWsXfaf8t2Q4JSruY0qoajisWkNdPXWY2p+VY4BF lJbvsYrCanNQU6z+rQq/FmhyJoLv9ReYtzk9r7kCkmbzbIITIc yYxkL80m75IuNJmuQif5w60u1YYfh5xe4X9fKP0eGqz7yvXWIC ZUnuqmNvk6FByHgtI0KnA== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.227 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, 15 Jan 2012 15:28:16 -0000 Am 15.1.2012 um 02:13 schrieb Aaron Meurer: > It's not that simple if you have the mouse-wheel-follows-focus set, > because it also keeps track of the cursor location. What is its use? In a buffer you can pick anywhere (where already some = text is) with the mouse cursor and then write or delete or correct or = mark/select some text... -- Greetings Pete Perl=97the only language that looks the same before and after RSA = encryption. - Keith Bostic From MAILER-DAEMON Sun Jan 15 10:47:27 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RmSIp-0004Sc-08 for mharc-help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 10:47:27 -0500 Received: from eggs.gnu.org ([140.186.70.92]:48485) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmSIm-0004SW-T7 for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 10:47:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmSIm-0008NB-2B for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 10:47:24 -0500 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:52258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmSIl-0008N3-Sr for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 10:47:24 -0500 Received: by lagj5 with SMTP id j5so1358748lag.0 for ; Sun, 15 Jan 2012 07:47:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=745fiTPO+zUBO4YFCkPJkuWPuEXGTnhcmcH0O2Zh2S4=; b=VIo9SSCQ9R3e9uzX3i1Am1XnOREUO/6SDPpGr7Go1jz5nbRNdT0DpdinuC2+OfarNU vib2oaFJm2+8mEp4y8XY3gFW7O7U7npGku+cJ/Ao3AbUDcng07JgH+79dGayPOB6ttIZ pMitKSTdm3lS68wfQvI+OqlDfIkVQxv5w3ZuM= Received: by 10.112.86.135 with SMTP id p7mr2031125lbz.86.1326642442750; Sun, 15 Jan 2012 07:47:22 -0800 (PST) References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> <923012BA66E14FFEAC1EB01509B04850@us.oracle.com> <29552883E608471BA2ACB9004FAD7FDC@us.oracle.com> <1A8CE007D6A94A659655E374A48FB597@us.oracle.com> <16E07331-6D98-47E5-ADBD-AD3E8D649900@web.de> From: Aaron Meurer In-Reply-To: <16E07331-6D98-47E5-ADBD-AD3E8D649900@web.de> Mime-Version: 1.0 (1.0) Date: Sun, 15 Jan 2012 08:47:19 -0700 Message-ID: <9107206303216480170@unknownmsgid> Subject: Re: Mouse support does not work To: Peter Dyballa Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 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, 15 Jan 2012 15:47:25 -0000 It's because I have the setting enabled for scrolling to follow the mouse focus (as opposed to the keyboard focus). I didn't check if it still does all this if I turn the setting off. Aaron Meurer On Jan 15, 2012, at 8:28 AM, Peter Dyballa wrote: > > Am 15.1.2012 um 02:13 schrieb Aaron Meurer: > >> It's not that simple if you have the mouse-wheel-follows-focus set, >> because it also keeps track of the cursor location. > > What is its use? In a buffer you can pick anywhere (where already some te= xt is) with the mouse cursor and then write or delete or correct or mark/se= lect some text... > > -- > Greetings > > Pete > > Perl=97the only language that looks the same before and after RSA encrypt= ion. > - Keith Bostic > From MAILER-DAEMON Sun Jan 15 11:31:06 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RmSz4-0004Qf-LY for mharc-help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 11:31:06 -0500 Received: from eggs.gnu.org ([140.186.70.92]:42131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmSz1-0004QY-24 for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 11:31:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmSz0-0005lm-2H for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 11:31:03 -0500 Received: from fmmailgate01.web.de ([217.72.192.221]:38409) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmSyz-0005lX-PB for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 11:31:02 -0500 Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate01.web.de (Postfix) with ESMTP id C1A031A8E6136 for ; Sun, 15 Jan 2012 17:31:00 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb001) with ESMTPA (Nemesis) id 0LwI2w-1Sk8l81ctS-017vVm; Sun, 15 Jan 2012 17:31:00 +0100 Subject: Re: Mouse support does not work Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 From: Peter Dyballa In-Reply-To: <9107206303216480170@unknownmsgid> Date: Sun, 15 Jan 2012 17:30:58 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <1EF02D00-98C8-4A84-9944-1DC745FBA92C@web.de> References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> <923012BA66E14FFEAC1EB01509B04850@us.oracle.com> <29552883E608471BA2ACB9004FAD7FDC@us.oracle.com> <1A8CE007D6A94A659655E374A48FB597@us.oracle.com> <16E07331-6D98-47E5-ADBD-AD3E8D649900@web.de> <9107206303216480170@unknownmsgid> To: Aaron Meurer X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:NTzMQXm65l8+6u/ldiiOu/KGPXuxve35jkLDhiXeQLg BN3Je4xZUXiD0HLm/cUoWnrEzdLznBT4r4WK31S0k9azHN+jza ZMbGmrZpJz1LqnoDjF5ow+XS8AoBnMMnEOQCo/ylBVhEF+JY9d XB7H4D7AciUTVLgIam0RfiUp3b9YB7jzGRikW+o+4jlMShdWp6 bFVwskOlv664xn3iwokSQ== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.221 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, 15 Jan 2012 16:31:03 -0000 Am 15.1.2012 um 16:47 schrieb Aaron Meurer: > It's because I have the setting enabled for scrolling to follow the > mouse focus (as opposed to the keyboard focus). Is this variable really existing in non-window "mode"? In X11 it = probably enables mouse scroll access to the X client without needing to = click to it first... -- Greetings Pete The next generation of interesting software will be done on the = Macintosh, not the IBM PC. =96 Bill Gates, Nov 1984 From MAILER-DAEMON Sun Jan 15 17:34:40 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RmYeu-0001hT-T7 for mharc-help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 17:34:40 -0500 Received: from eggs.gnu.org ([140.186.70.92]:48118) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmYes-0001hN-6e for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 17:34:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmYeq-0001QJ-V9 for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 17:34:38 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:44800) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmYeq-0001QD-L7 for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 17:34:36 -0500 Received: by bkuw5 with SMTP id w5so4356962bku.0 for ; Sun, 15 Jan 2012 14:34:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ChMnFb94038iz1/WiK66tQ+tJNLq+dJpdnmhxaJwovM=; b=SpoPTCniTiuVQB20t+Kyuk0KE5XArJnhirWwS8g1Jm34YNpHQqaQMhid41W/PbH+rn Uu5yCQtB/s9vhssMKemfyRVtdiGoc9VpCpVseDkcsmOdGdZF8z5bxBlvCVAF2ERZxgP/ 0ynMCQPKGVO4RBbEYB3wWde7f85S4yUWl+moI= MIME-Version: 1.0 Received: by 10.204.155.150 with SMTP id s22mr3762761bkw.140.1326666875279; Sun, 15 Jan 2012 14:34:35 -0800 (PST) Received: by 10.205.83.135 with HTTP; Sun, 15 Jan 2012 14:34:35 -0800 (PST) In-Reply-To: <14CA6C8F-B82D-4FD4-B6E9-4344B31B5E2F@web.de> References: <3CD4DC10-DEDB-4DB7-ADEB-38166A9E88C0@web.de> <9358B31E-D0DF-478E-A0BF-3B7721A43F81@web.de> <14CA6C8F-B82D-4FD4-B6E9-4344B31B5E2F@web.de> Date: Sun, 15 Jan 2012 17:34:35 -0500 Message-ID: Subject: Re: customizing dircolors doesn't take effect in emacs shell From: Yuan Luo To: Peter Dyballa Content-Type: multipart/alternative; boundary=001517592326d6192204b698b3ae X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.41 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, 15 Jan 2012 22:34:39 -0000 --001517592326d6192204b698b3ae Content-Type: text/plain; charset=ISO-8859-1 I found the solution: adding a line TERM=dumb in the ~/.dircolors file did the trick, as emacs inferior mode shell type is dumb. Thanks for all the help getting me close to the answer! Best, Yuan On Mon, Jan 9, 2012 at 3:56 PM, Peter Dyballa wrote: > > Am 9.1.2012 um 17:43 schrieb Yuan Luo: > > > All aliases in ~/.bashrc are listed in emacs shells. > > I already had have ansi-color-for-comint-mode-on set. > > execution of ls traces to /bin/ls > > Does it work when you use > > /bin/ls --color=auto /bin > /bin/ls --color /bin > > manually and directly? > > My manual page explains: > > With --color=auto, ls emits color codes only when standard output > is connected to a terminal. The LS_COLORS environment variable can change > the settings. Use the dircolors command to set it. > > There is a chance that LS_COLORS hinders ls, it's also possible that in > *shell* buffer standard output is not connected to a terminal. The latter > seems to be true for me on Mac OS X (10.6.8, Snow Leopard). So by omitting > the "=auto" should make your aliases work. > > -- > Greetings > > Pete > > Bake pizza not war! > > --001517592326d6192204b698b3ae Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I found the solution:
adding a line TERM=3Ddumb in the ~/.dircolors file= did the trick, as emacs inferior mode shell type is dumb.

Thanks fo= r all the help getting me close to the answer!

Best,
Yuan

On Mon, Jan 9, 2012 at 3:56 PM, Peter Dyballa <Peter_Dyballa@w= eb.de> wrote:

Am 9.1.2012 um 17:43 schrieb Yuan Luo:

> All aliases in ~/.bashrc are listed in emacs shells.
> I already had have ansi-color-for-comint-mode-on set.
> execution of ls traces to /bin/ls

Does it work when you use

=A0 =A0 =A0 =A0/bin/ls --color=3Dauto /bin
=A0 =A0 =A0 =A0/bin/ls --color /bin

manually and directly?

My manual page explains:

=A0 =A0 =A0 =A0With --color=3Dauto, ls emits color codes only when standar= d output is connected to a terminal. The LS_COLORS environment variable can= change the settings. Use the dircolors command to set it.

There is a chance that LS_COLORS hinders ls, it's also possible that in= *shell* buffer standard output is not connected to a terminal. The latter = seems to be true for me on Mac OS X (10.6.8, Snow Leopard). So by omitting = the "=3Dauto" should make your aliases work.

--
Greetings

=A0Pete

Bake pizza not war!


--001517592326d6192204b698b3ae-- From MAILER-DAEMON Sun Jan 15 17:37:25 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RmYhZ-0002X9-F8 for mharc-help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 17:37:25 -0500 Received: from eggs.gnu.org ([140.186.70.92]:48588) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmYhV-0002Pp-SX for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 17:37:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmYhV-0001he-1t for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 17:37:21 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:45565) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmYhU-0001ha-Pm for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 17:37:21 -0500 Received: by bkuw5 with SMTP id w5so4357846bku.0 for ; Sun, 15 Jan 2012 14:37:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=o0XPBfS147LDUo2UjS3guezNZL/B0S/G6rHNIW/XEag=; b=UU6gRoZYAzfx5oJATG1hbHdA3h3ytzj5n3NjMe/Nvz3AkY55CBJYLIUorqP28K9Wtm F/+QIXRRbPMm9vM5TUC69zHLdZVSZCNRIrumHQ44iNlpW1J5wF8uvmXxD9QsOoIqJyW7 NJBqzs0BtPFv4QsSKo7L38u149BfERrC5IbR4= MIME-Version: 1.0 Received: by 10.204.151.69 with SMTP id b5mr3929054bkw.14.1326667039897; Sun, 15 Jan 2012 14:37:19 -0800 (PST) Received: by 10.205.83.135 with HTTP; Sun, 15 Jan 2012 14:37:19 -0800 (PST) Date: Sun, 15 Jan 2012 17:37:19 -0500 Message-ID: Subject: install lmtypewriter fonts for emacs on CentOS/RHEL From: Yuan Luo To: help-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=0015175cfda8a5f8bf04b698bd6b X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 15 Jan 2012 22:37:23 -0000 --0015175cfda8a5f8bf04b698bd6b Content-Type: text/plain; charset=ISO-8859-1 Hi, I have those fonts on my Ubuntu box, but couldn't find an installation package for my CentOS/RHEL machine. How to get them for CentOS/RHEL and is there any configuration after installation to enable emacs to use them? Best, Yuan --0015175cfda8a5f8bf04b698bd6b Content-Type: text/html; charset=ISO-8859-1 Hi,
I have those fonts on my Ubuntu box, but couldn't find an installation package for my CentOS/RHEL machine.

How to get them for CentOS/RHEL and is there any configuration after installation to enable emacs to use them?

Best,
Yuan
--0015175cfda8a5f8bf04b698bd6b-- From MAILER-DAEMON Sun Jan 15 19:02:22 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rma1m-0003v4-U3 for mharc-help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 19:02:22 -0500 Received: from eggs.gnu.org ([140.186.70.92]:38027) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rma1j-0003ug-U7 for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 19:02:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rma1i-0003Wb-Qw for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 19:02:19 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:36057) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rma1i-0003WW-Mx for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 19:02:18 -0500 Received: by iadj38 with SMTP id j38so175634iad.0 for ; Sun, 15 Jan 2012 16:02:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=afTtC78UDyUGDGsEx8iGRqeM4cp34660TtUY8xN9PjU=; b=v4kKTx00JgjnJW1ONcbV1kgyWO/x1Xx7FXDo46W2MUxPRmk8N8UedwrUxipvdC6n8L urGkJsr/lOAIDisvHtTWLlF9oH/Fy4Q8q0lwr8yuHcIPQouPJe6fxUNgCKEP51j4E9+o 0Dkm1sJvGuOSMYMfuZKU15RisvTynfa4eJtZY= MIME-Version: 1.0 Received: by 10.42.19.69 with SMTP id a5mr6301278icb.35.1326672137473; Sun, 15 Jan 2012 16:02:17 -0800 (PST) Received: by 10.42.239.70 with HTTP; Sun, 15 Jan 2012 16:02:16 -0800 (PST) Date: Sun, 15 Jan 2012 16:02:16 -0800 Message-ID: Subject: How to enable cua selection in xterm From: =?UTF-8?B?6YOt5pmT5bOw?= To: help-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 16 Jan 2012 00:02:20 -0000 Hi there, I enable cua-mode. It works in X-window, but failed in no-window mode with x-term. I've enabled S-down/S-up by using xterm-extras.el, and my emacs version is 24.0.92. Any ideas on this? Thanks! Best Regards, Xiaofeng From MAILER-DAEMON Sun Jan 15 19:10:46 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rma9u-0004oK-JW for mharc-help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 19:10:46 -0500 Received: from eggs.gnu.org ([140.186.70.92]:49891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rma9r-0004oD-Qo for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 19:10:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rma9q-0004eP-Lx for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 19:10:43 -0500 Received: from fmmailgate02.web.de ([217.72.192.227]:40006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rma9q-0004eC-DW for help-gnu-emacs@gnu.org; Sun, 15 Jan 2012 19:10:42 -0500 Received: from moweb001.kundenserver.de (moweb001.kundenserver.de [172.19.20.114]) by fmmailgate02.web.de (Postfix) with ESMTP id AAE831BFCD256 for ; Mon, 16 Jan 2012 01:10:40 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0LvB2o-1Slf4U0dso-010gQO; Mon, 16 Jan 2012 01:10:40 +0100 Subject: Re: install lmtypewriter fonts for emacs on CentOS/RHEL Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=windows-1252 From: Peter Dyballa In-Reply-To: Date: Mon, 16 Jan 2012 01:10:39 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Yuan Luo X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:CN6ev6KeyADSb9dBvfAZOEG2xjCGbnEGDhBGKkXl8UM PvK6JG9BGh619xNEV8ehHM9xC4WJg064ZOsBMWHnoXMGL5wxmA oFOxJLZbAu33Fd6mR8wvCahKAA9AxfTPJUzPf/XNTTsCGQDY4r MQQbLtEGhBOHT8fRiMIesFeJJ+b1K3mJZsPY+dglECirbNhKWs RjZadFf/48oLmJGf2Fhag== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.227 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, 16 Jan 2012 00:10:44 -0000 Am 15.1.2012 um 23:37 schrieb Yuan Luo: > How to get them for CentOS/RHEL TRAMP? > and is there any configuration after > installation to enable emacs to use them? Put them somewhere the X server can find them, if necessary create the = fonts.* files and encodings.dir, extend if necessary the X server's font = path, make it rehash the fonts =96 and check! (xlsfonts, xfontsel) Make them also available to the libfontconfig service and put them into = its cache (with fc-cache) =96 and check! (fc-list, fc-match) Inside GNU Emacs you can use this code from Miles Bader to check whether = GNU Emacs sees the fonts: ;;; ---------------------------------------------------------------- ;;; list-fonts-display via font-config (defun list-fonts-display (&optional matching) "Display a list of font-families available via font-config, in a = new buffer. If the optional argument MATCHING is non-nil, only font families matching that regexp are displayed; interactively, a prefix argument will prompt for the regexp. The name of each font family is displayed using that family, as well as in the default font (to handle the case where a font cannot be used to display its own name)." (interactive (list (and current-prefix-arg (read-string "Display font families matching regexp: ")))) (let (families) (with-temp-buffer (shell-command "fc-list : family" t) (goto-char (point-min)) (while (not (eobp)) (let ((fam (buffer-substring (line-beginning-position) (line-end-position)))) (when (or (null matching) (string-match matching fam)) (push fam families))) (forward-line))) (setq families (sort families (lambda (x y) (string-lessp (downcase x) (downcase = y))))) (let ((buf (get-buffer-create "*Font Families*"))) (with-current-buffer buf (erase-buffer) (dolist (family families) ;; We need to pick one of the comma-separated names to ;; actually use the font; choose the longest one because = some ;; fonts have ambiguous general names as well as specific ;; ones. (let ((family-name (car (sort (split-string family ",") (lambda (x y) (> (length x) (length = y)))))) (nice-family (replace-regexp-in-string "," ", " = family))) (insert (concat (propertize nice-family 'face (list :family = family-name)) " (" nice-family ")")) (newline))) (goto-char (point-min))) (display-buffer buf)))) ;; -------------------------------------------------------- -- Greetings Pete "Evolution" o __o _o _ =B0\___o /0~ -\<, ^\___ /=3D\\_/-% oo~_______ /\ /\______/ \_________O/ O_______________o=3D=3D=3D>-->O--o___= _ From MAILER-DAEMON Mon Jan 16 13:22:36 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RmrCW-0007Wh-9z for mharc-help-gnu-emacs@gnu.org; Mon, 16 Jan 2012 13:22:36 -0500 Received: from eggs.gnu.org ([140.186.70.92]:37882) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmrCT-0007Wa-W6 for help-gnu-emacs@gnu.org; Mon, 16 Jan 2012 13:22:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RmrCQ-0002gz-42 for help-gnu-emacs@gnu.org; Mon, 16 Jan 2012 13:22:33 -0500 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:51309) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmrCP-0002gs-UR for help-gnu-emacs@gnu.org; Mon, 16 Jan 2012 13:22:30 -0500 Received: by lagj5 with SMTP id j5so2092450lag.0 for ; Mon, 16 Jan 2012 10:22:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=wX33uMR3MZXZdI0+J8BPdE0ZTYuTqMT7IsfgRfmnU88=; b=XG7VFJs7h8VUxCi3q9BFmepOWVnUym1m/0hep9OvPduM/NLkjUMqC01AsD2hvbQRft PBvZgm7evvYJWgkJEkexnRn1K4yR/rGtqyoZRg91a358jCsGSeo2N8cdFEwYCZsYchSD 3MNOM6Z2sbngD74xWkDNNJu+x452gsvK6N2WM= Received: by 10.112.83.133 with SMTP id q5mr3346479lby.27.1326738148136; Mon, 16 Jan 2012 10:22:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.44.70 with HTTP; Mon, 16 Jan 2012 10:22:07 -0800 (PST) In-Reply-To: <1EF02D00-98C8-4A84-9944-1DC745FBA92C@web.de> References: <93DFD36B-5594-41A3-A9E7-AE48292FA49C@Web.DE> <3FA9F2A1-8559-4F0C-AF5A-F042B04BBADB@web.de> <49E98AF3-7986-4495-BB39-E07D236450A0@web.de> <159F600A6D0441F4AEFB5AD53F931A56@us.oracle.com> <923012BA66E14FFEAC1EB01509B04850@us.oracle.com> <29552883E608471BA2ACB9004FAD7FDC@us.oracle.com> <1A8CE007D6A94A659655E374A48FB597@us.oracle.com> <16E07331-6D98-47E5-ADBD-AD3E8D649900@web.de> <9107206303216480170@unknownmsgid> <1EF02D00-98C8-4A84-9944-1DC745FBA92C@web.de> From: Aaron Meurer Date: Mon, 16 Jan 2012 11:22:07 -0700 Message-ID: Subject: Re: Mouse support does not work To: Peter Dyballa Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 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, 16 Jan 2012 18:22:34 -0000 On Sun, Jan 15, 2012 at 9:30 AM, Peter Dyballa wrote= : > > Am 15.1.2012 um 16:47 schrieb Aaron Meurer: > >> It's because I have the setting enabled for scrolling to follow the >> mouse focus (as opposed to the keyboard focus). > > Is this variable really existing in non-window "mode"? In X11 it probably= enables mouse scroll access to the X client without needing to click to it= first... Yeah, and it works too. If I have two buffers open side by side, and I position the mouse over one, it will scroll that buffer, regardless of which buffer is currently selected. This is in the terminal (iTerm2). Aaron Meurer > > -- > Greetings > > =A0Pete > > The next generation of interesting software will be done on the Macintosh= , not the IBM PC. > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=96 Bill G= ates, Nov 1984 > From MAILER-DAEMON Mon Jan 16 14:02:41 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RmrpJ-0007bw-9O for mharc-help-gnu-emacs@gnu.org; Mon, 16 Jan 2012 14:02:41 -0500 Received: from eggs.gnu.org ([140.186.70.92]:56604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RmrpA-0007Yf-Nv for help-gnu-emacs@gnu.org; Mon, 16 Jan 2012 14:02:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rmrp9-00023S-Mo for help-gnu-emacs@gnu.org; Mon, 16 Jan 2012 14:02:32 -0500 Received: from sun61.bham.ac.uk ([147.188.128.150]:62561) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rmrp9-000231-Hv for help-gnu-emacs@gnu.org; Mon, 16 Jan 2012 14:02:31 -0500 Received: from [147.188.128.127] (helo=bham.ac.uk) by sun61.bham.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1Rmrp5-0005ro-N3; Mon, 16 Jan 2012 19:02:27 +0000 Received: from mx1.cs.bham.ac.uk ([147.188.192.53]) by bham.ac.uk (envelope-from ) with esmtp (Exim 4.72) id 1Rmrp5-0005av-El using interface smart1.bham.ac.uk; Mon, 16 Jan 2012 19:02:27 +0000 Received: from acws-0068.cs.bham.ac.uk ([147.188.194.56]) by mx1.cs.bham.ac.uk with esmtp (Exim 4.51) id 1Rmrp5-00086K-35; Mon, 16 Jan 2012 19:02:27 +0000 Message-ID: <4F147442.2030409@gmail.com> Date: Mon, 16 Jan 2012 19:02:26 +0000 From: Uday Reddy User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Hofert Jan Marius Subject: Re: Gnus: How to simplify file attachments? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 147.188.128.150 Cc: Emacs help X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 16 Jan 2012 19:02:38 -0000 Hofert Jan Marius wrote: > > > So it seems to be a problem on Mac OS X. > > Any ideas? Yes, the Mac (NextStep) version of Emacs seem to use a different protocol. Here is what we do in VM: 1. In the keymap for messaging, we have (define-key map [ns-drag-file] 'vm-ns-attach-file) 2. vm-ns-attach-file is defined as: ;;;###autoload (defun vm-ns-attach-file () "Insert a drag and drop file as a MIME attachment in a VM composition buffer. This is a version of `vm-dnd-attach-file' that is needed for Mac and NextStep." (interactive) (let ((file (car ns-input-file)) type) (unless vm-send-using-mime (error (concat "MIME attachments disabled, " "set vm-send-using-mime non-nil to enable."))) (when (and file (file-regular-p file)) (setq ns-input-file (cdr ns-input-file)) (setq type (or (vm-mime-default-type-from-filename file) "application/octet-stream")) (vm-attach-file file type)))) This doesn't solve the problem for you in Gnus. But, something similar would be needed. Cheers, Uday From MAILER-DAEMON Tue Jan 17 06:21:24 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rn76S-0003q0-O2 for mharc-help-gnu-emacs@gnu.org; Tue, 17 Jan 2012 06:21:24 -0500 Received: from eggs.gnu.org ([140.186.70.92]:50534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rn76K-0003ms-Jj for help-gnu-emacs@gnu.org; Tue, 17 Jan 2012 06:21:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rn76J-0003Iw-IF for help-gnu-emacs@gnu.org; Tue, 17 Jan 2012 06:21:16 -0500 Received: from edge10.ethz.ch ([82.130.75.186]:14133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rn76J-0003Ia-DP for help-gnu-emacs@gnu.org; Tue, 17 Jan 2012 06:21:15 -0500 Received: from CAS21.d.ethz.ch (172.31.51.111) by edge10.ethz.ch (82.130.75.186) with Microsoft SMTP Server (TLS) id 14.1.355.2; Tue, 17 Jan 2012 12:21:10 +0100 Received: from [192.168.1.221] (129.132.146.66) by CAS21.d.ethz.ch (172.31.51.111) with Microsoft SMTP Server (TLS) id 14.1.355.2; Tue, 17 Jan 2012 12:21:11 +0100 Subject: Re: Gnus: How to simplify file attachments? MIME-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset="iso-8859-1" From: Marius Hofert In-Reply-To: <4F147442.2030409@gmail.com> Date: Tue, 17 Jan 2012 12:21:11 +0100 Content-Transfer-Encoding: quoted-printable Message-ID: <0DF96C4D-E8FE-49E4-A0D3-EE174AC4851E@math.ethz.ch> References: <4F147442.2030409@gmail.com> To: Uday Reddy X-Mailer: Apple Mail (2.1251.1) X-Originating-IP: [129.132.146.66] X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 82.130.75.186 Cc: Emacs help X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 17 Jan 2012 11:21:22 -0000 Dear Uday, thanks for reporting this.=20 I'm not an elisp programmer, but it's good to know that it's not a local = issue but rather a Mac-related problem in general.=20 I'll report news if there are any. Cheers, Marius On 2012-01-16, at 20:02 , Uday Reddy wrote: > Hofert Jan Marius wrote: >>=20 >>=20 >> So it seems to be a problem on Mac OS X.=20 >>=20 >> Any ideas?=20 >=20 > Yes, the Mac (NextStep) version of Emacs seem to use a different > protocol. Here is what we do in VM: >=20 > 1. In the keymap for messaging, we have >=20 > (define-key map [ns-drag-file] 'vm-ns-attach-file) >=20 > 2. vm-ns-attach-file is defined as: >=20 > ;;;###autoload > (defun vm-ns-attach-file () > "Insert a drag and drop file as a MIME attachment in a VM > composition buffer. This is a version of `vm-dnd-attach-file' > that is needed for Mac and NextStep." > (interactive) > (let ((file (car ns-input-file)) > type) > (unless vm-send-using-mime > (error (concat "MIME attachments disabled, " > "set vm-send-using-mime non-nil to enable."))) > (when (and file (file-regular-p file)) > (setq ns-input-file (cdr ns-input-file)) > (setq type (or (vm-mime-default-type-from-filename file) > "application/octet-stream")) > (vm-attach-file file type)))) >=20 > This doesn't solve the problem for you in Gnus. But, something = similar > would be needed. >=20 > Cheers, > Uday >=20 From MAILER-DAEMON Tue Jan 17 07:37:16 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rn8Hs-0002kI-1j for mharc-help-gnu-emacs@gnu.org; Tue, 17 Jan 2012 07:37:16 -0500 Received: from eggs.gnu.org ([140.186.70.92]:45090) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rn8Hp-0002kC-63 for help-gnu-emacs@gnu.org; Tue, 17 Jan 2012 07:37:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rn8Hk-0008Vt-Sd for help-gnu-emacs@gnu.org; Tue, 17 Jan 2012 07:37:13 -0500 Received: from sousa.cc ([46.51.181.120]:50214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rn8Hk-0008VX-KO for help-gnu-emacs@gnu.org; Tue, 17 Jan 2012 07:37:08 -0500 Received: from mail-we0-f169.google.com (mail-we0-f169.google.com [74.125.82.169]) by sousa.cc (Postfix) with ESMTPSA id 106D923F50 for ; Tue, 17 Jan 2012 12:37:05 +0000 (UTC) Received: by werl4 with SMTP id l4so1821179wer.0 for ; Tue, 17 Jan 2012 04:37:05 -0800 (PST) Received: by 10.180.94.102 with SMTP id db6mr26268202wib.0.1326803825362; Tue, 17 Jan 2012 04:37:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.62.70 with HTTP; Tue, 17 Jan 2012 04:36:49 -0800 (PST) In-Reply-To: <104171DB-3A57-41E3-8F71-F7F443D930C6@Web.DE> References: <104171DB-3A57-41E3-8F71-F7F443D930C6@Web.DE> From: Daniel Sousa Date: Tue, 17 Jan 2012 12:36:49 +0000 Message-ID: Subject: Re: I can't use Alt+Shift To: Peter Dyballa Content-Type: multipart/alternative; boundary=f46d0442720ab287f004b6b89649 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 46.51.181.120 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, 17 Jan 2012 12:37:14 -0000 --f46d0442720ab287f004b6b89649 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable When I run C-h k and press that key combination, emacs simply ignores it and doesn't even say that it is undefined. Using ESC it works but the key is really far... Anyway, this isn't a big problem, I think I can live without using it :P On Sun, Jan 8, 2012 at 12:31 AM, Peter Dyballa wrote= : > > Am 7.1.2012 um 23:29 schrieb Daniel Sousa: > > > Can anyone help me? > > > > [...] > > > > PS: If it help, I'm running on Arch Linux. > > Introduced with C-h k you can then type some key combination. GNU Emacs > will then describe in echo-area ("mini-buffer") that this key combination > is not bound to a function or open a *Help* buffer and display the > documentation of the function which is bound to the typed key combination= . > > In X11 you have the utility xev which will explain which X events you hav= e > produced by pressing some keys. Maybe Alt+Shift+< does not produce > anything... > > > When you run GNU Emacs in some terminal you do not send any X event to GN= U > Emacs, only ASCII codes (see "man ascii"). -< and --<, > pressed sequentially as first and then either < or >, *will* produc= e > the proper input for GNU Emacs, while pressing Alt+< or Alt+Shift+< *migh= t* > produce 8-bit control characters, but what the terminal emulation sends t= o > the programme is not determined because a mapping, established via an X > resource for example, might not exist. > > > I'm not using Arch Linux. > > -- > Greetings > > Pete > > I love deadlines. I love the whooshing noise they make as they go by. > =96 Douglas Adams > > --f46d0442720ab287f004b6b89649 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable When I=A0run=A0C-h k=A0and press that key combination, emacs simply ignores= it and doesn't even say that it is undefined.

Using= ESC it works but the key is really far... Anyway, this isn't a big pro= blem, I think I can live without using it :P

On Sun, Jan 8, 2012 at 12:31 AM, Peter Dybal= la <Peter_Dyba= lla@web.de> wrote:

Am 7.1.2012 um 23:29 schrieb Daniel Sousa:

> Can anyone help me?
>
> [...]
>
> PS: If it help, I'm running on Arch Linux.

Introduced with C-h k you can then type some key combination. GNU Ema= cs will then describe in echo-area ("mini-buffer") that this key = combination is not bound to a function or open a *Help* buffer and display = the documentation of the function which is bound to the typed key combinati= on.

In X11 you have the utility xev which will explain which X events you have = produced by pressing some keys. Maybe Alt+Shift+< does not produce anyth= ing...


When you run GNU Emacs in some terminal you do not send any X event to GNU = Emacs, only ASCII codes (see "man ascii"). <ESC>-< and = =A0<ESC>-<Shift>-<, pressed sequentially as <ESC> firs= t and then either < or >, *will* produce the proper input for GNU Ema= cs, while pressing Alt+< or Alt+Shift+< *might* produce 8-bit control= characters, but what the terminal emulation sends to the programme is not = determined because a mapping, established via an X resource for example, mi= ght not exist.


I'm not using Arch Linux.

--
Greetings

=A0Pete

I love deadlines. I love the whooshing noise they make as they go by.
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=96 Douglas= Adams


--f46d0442720ab287f004b6b89649-- From MAILER-DAEMON Tue Jan 17 09:44:01 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RnAGX-00009M-Lk for mharc-help-gnu-emacs@gnu.org; Tue, 17 Jan 2012 09:44:01 -0500 Received: from eggs.gnu.org ([140.186.70.92]:42194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RnAGS-00007j-Az for help-gnu-emacs@gnu.org; Tue, 17 Jan 2012 09:44:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RnAGI-0008MD-QI for help-gnu-emacs@gnu.org; Tue, 17 Jan 2012 09:43:56 -0500 Received: from fmmailgate01.web.de ([217.72.192.221]:39458) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RnAGI-0008Lu-LY for help-gnu-emacs@gnu.org; Tue, 17 Jan 2012 09:43:46 -0500 Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate01.web.de (Postfix) with ESMTP id 022A01A9010B7 for ; Tue, 17 Jan 2012 15:43:42 +0100 (CET) Received: from peter-dyballas-macbook-pro.fritz.box ([88.153.242.186]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0LpOOj-1SGTGK2MYH-00fd8N; Tue, 17 Jan 2012 15:43:41 +0100 Subject: Re: I can't use Alt+Shift Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Peter Dyballa In-Reply-To: Date: Tue, 17 Jan 2012 15:43:41 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <104171DB-3A57-41E3-8F71-F7F443D930C6@Web.DE> To: Daniel Sousa X-Mailer: Apple Mail (2.1084) X-Provags-ID: V02:K0:zUZfxq7n8Sz7vxFoplDRooiGJFu424LniwfACxu/rr1 MLXcfukus7j+iKDOESAq5E0NNaGFhgbbiTVi78k0uieUFD3JVy kQX+Zu1oIthOFHDgNsOiQfyXPIfa5oG98gRsJ9Ao12PFBFJDbe zALU3wuSi5km6D1tD1ENmqJvB65Xlpm3r+XxiJuw4Qti8G6uiR AfVhOYlhA3m3VwE7cNJpw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.221 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, 17 Jan 2012 14:44:00 -0000 Am 17.1.2012 um 13:36 schrieb Daniel Sousa: > When I run C-h k and press that key combination, emacs simply ignores = it > and doesn't even say that it is undefined. Correct! In every software terminal emulation GNU Emacs is the guest of = this software product. When its host is not able to receive or = distinguish the signals about the keys being pressed (or released), then = the host cannot send anything to its guest. (You might try to teach your = terminal emulation a bit more key events.) So GNU Emacs does not receive = anything. To check what it might receive you can press, for example in = *scratch* buffer, C-q and then some desired key combination. By this = means you record anything the host programme sends to its guest GNU = Emacs. You can also type C-h l, which shows a recording of what you = typed. Or actually of what GNU Emacs received from your keyboard work... -- Greetings Pete Without vi there is only GNU Emacs From MAILER-DAEMON Tue Jan 17 13:00:36 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RnDKm-00066e-94 for mharc-help-gnu-emacs@gnu.org; Tue, 17 Jan 2012 13:00:36 -0500 Received: from eggs.gnu.org ([140.186.70.92]:41368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RnDKg-00066W-R8 for help-gnu-emacs@gnu.org; Tue, 17 Jan 2012 13:00:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RnDKa-0001Gp-Ma for help-gnu-emacs@gnu.org; Tue, 17 Jan 2012 13:00:30 -0500 Received: from mail-gx0-f169.google.com ([209.85.161.169]:50540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RnDKa-0001Gd-HS for help-gnu-emacs@gnu.org; Tue, 17 Jan 2012 13:00:24 -0500 Received: by ggnp4 with SMTP id p4so3873302ggn.0 for ; Tue, 17 Jan 2012 10:00:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=cjw8+7AvaFEKCODRLOewXYLKEV4GxOZm9xj/lSzEvv0=; b=pt9ukaWMR2t3ct87R/TrhM7A011Edl3c0y1H5cloI2oyyq6KhRZsu1iCpIeME73yF2 0IAwTmLpsvbIVd0/WI3HIIPt8BJClLPq9zYpLMWYoQsjMplHCjXB/VQppWoNbORItdvq 0KgjVisWUmlygYfmbUbwj4matbWfzr6Emn0EU= MIME-Version: 1.0 Received: by 10.50.194.199 with SMTP id hy7mr7568377igc.26.1326823222607; Tue, 17 Jan 2012 10:00:22 -0800 (PST) Received: by 10.42.197.7 with HTTP; Tue, 17 Jan 2012 10:00:22 -0800 (PST) In-Reply-To: References: <104171DB-3A57-41E3-8F71-F7F443D930C6@Web.DE> Date: Tue, 17 Jan 2012 10:00:22 -0800 Message-ID: Subject: Re: I can't use Alt+Shift From: =?UTF-8?B?6YOt5pmT5bOw?= To: Peter Dyballa Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.169 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, 17 Jan 2012 18:00:34 -0000 Maybe something below is useful: - Make sure your terminal or GUI transfer the key to the place you run emacs. To confirm this, you can use "showkey" in console-tools for terminal, or "xev" in X. - If it is transferred, make sure you can see the same "scan code" in emacs, with "Ctrl-h l", which will show you latest keyboard strokes. - If you can see the strokes in emacs, make sure it is combined with the emacs keymap. "Ctrl-h b" will show you all the mapping. "M-right" or "M->", I am not sure which one you like, should be combined with the key. - In the end, make sure is combined with some emacs interactive function. Hope I didn't miss anything here, and hope the hints are helpful to you. Best Regards, Xiaofeng On Tue, Jan 17, 2012 at 6:43 AM, Peter Dyballa wrote= : > > Am 17.1.2012 um 13:36 schrieb Daniel Sousa: > >> When I run C-h k and press that key combination, emacs simply ignores it >> and doesn't even say that it is undefined. > > Correct! In every software terminal emulation GNU Emacs is the guest of t= his software product. When its host is not able to receive or distinguish t= he signals about the keys being pressed (or released), then the host cannot= send anything to its guest. (You might try to teach your terminal emulatio= n a bit more key events.) So GNU Emacs does not receive anything. To check = what it might receive you can press, for example in *scratch* buffer, C-q a= nd then some desired key combination. By this means you record anything the= host programme sends to its guest GNU Emacs. You can also type C-h l, whic= h shows a recording of what you typed. Or actually of what GNU Emacs receiv= ed from your keyboard work... > > -- > Greetings > > =A0Pete > > Without vi there is only GNU Emacs > > From MAILER-DAEMON Wed Jan 18 15:12:35 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rnbs3-0004U6-IB for mharc-help-gnu-emacs@gnu.org; Wed, 18 Jan 2012 15:12:35 -0500 Received: from eggs.gnu.org ([140.186.70.92]:60646) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rnbs1-0004Th-Eg for help-gnu-emacs@gnu.org; Wed, 18 Jan 2012 15:12:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rnbs0-0003TG-FN for help-gnu-emacs@gnu.org; Wed, 18 Jan 2012 15:12:33 -0500 Received: from moutng.kundenserver.de ([212.227.126.186]:57007) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rnbs0-0003Sm-6q for help-gnu-emacs@gnu.org; Wed, 18 Jan 2012 15:12:32 -0500 Received: from [192.168.178.27] (brln-4d0c2394.pool.mediaWays.net [77.12.35.148]) by mrelayeu.kundenserver.de (node=mreu4) with ESMTP (Nemesis) id 0MG40o-1RqKtB1iy6-00EtHi; Wed, 18 Jan 2012 21:12:29 +0100 Message-ID: <4F1727A8.4030208@easy-emacs.de> Date: Wed, 18 Jan 2012 21:12:24 +0100 From: =?ISO-8859-1?Q?Andreas_R=F6hler?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.24) Gecko/20111101 SUSE/3.1.16 Thunderbird/3.1.16 MIME-Version: 1.0 To: "help-gnu-emacs@gnu.org List" Subject: Re: bracket matching behavior References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:YN1yqbybWkyK4BdVRz2KKYdH+ZDNTJegkUeFVA8bLTA GhuBxGGfDEyc/m+5LoaLo6Lb4XcROzAngP4hHH4QSqm/Wdjf57 Zv3nhgcm3IEdF30KnLVc8hUlmqMbDUT7zPvRyuC6PcIWP5FhcL bFDZ9FnLxh1QlfECIaZqpIijBv2KjQxUHHmnTFDDdrCDtty/Ir 4PXLyvJm0Ot5rqF9Gc1AeAYMMM9/b5l8mXkzJXrNrbPnNCbHPV VNgOuijqzR860kRo0tvbjKki9MnPh8/4avgQzfLMaC4LIzD3PG XDbvbdVkQ50uMN1e4E2b/kD7IKfjN2uZ2FjoheQI9aYbpQqfPy 3peQDEQ/KI0jvb+TwJdXCCeIC4/Kw2QiyLgc+SZhf X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.126.186 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 18 Jan 2012 20:12:34 -0000 Am 07.01.2012 22:21, schrieb Yuan Luo: > Hi, > > I have been annoyed by emacs23's bracket matching behavior: when saving > with unmatched bracket's, cursor jumps to the first unmatching left > bracket without returning to where i was editing, Is this a behavior that > I can toggle with? > > Thanks, > Yuan > Hi, can't reproduce that with regard to saving. That kind of things happens from M-x check-parens here. Maybe a hook calls that at your Emacs? Protect against with a C-space setting the mark before. HTH, Andreas From MAILER-DAEMON Wed Jan 18 19:34:46 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rnfxm-0003gB-7Q for mharc-help-gnu-emacs@gnu.org; Wed, 18 Jan 2012 19:34:46 -0500 Received: from eggs.gnu.org ([140.186.70.92]:33086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rnfxj-0003g5-Iv for help-gnu-emacs@gnu.org; Wed, 18 Jan 2012 19:34:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rnfxi-0004CL-HX for help-gnu-emacs@gnu.org; Wed, 18 Jan 2012 19:34:43 -0500 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:55813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rnfxi-0004CD-7y for help-gnu-emacs@gnu.org; Wed, 18 Jan 2012 19:34:42 -0500 Received: by lagw12 with SMTP id w12so1724225lag.0 for ; Wed, 18 Jan 2012 16:34:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=DIC+9aMG2oMVsH+450vP7gqGTcaO05kfAl6ZBl/FUnQ=; b=L1bbdPBTmAoufjnetCRB8PK2V8161Eci9d/2TqAfaJQLAHOxx3eYzJnjE1T3MRGzkh JAq4Boit2RP8RVYxNWXwiAypb4q9mPCIN+RTKid5EDnuri5hpx3qRAUB3xNp5vTHlhxG pkMz6fVU0FIqbts/FJUdUVItQs9eGP2K8ltAs= Received: by 10.112.48.193 with SMTP id o1mr5981137lbn.1.1326933280162; Wed, 18 Jan 2012 16:34:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.112.44.70 with HTTP; Wed, 18 Jan 2012 16:34:19 -0800 (PST) In-Reply-To: References: <104171DB-3A57-41E3-8F71-F7F443D930C6@Web.DE> From: Aaron Meurer Date: Wed, 18 Jan 2012 17:34:19 -0700 Message-ID: Subject: Re: I can't use Alt+Shift To: =?UTF-8?B?6YOt5pmT5bOw?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.215.41 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, 19 Jan 2012 00:34:44 -0000 If your terminal program lets you define custom key sequences, you can work-around this by setting what you want to do as a some other unused key sequence in your .emacs, and then setting your terminal to convert the one key sequence to the other. Aaron Meurer On Tue, Jan 17, 2012 at 11:00 AM, =E9=83=AD=E6=99=93=E5=B3=B0 wrote: > Maybe something below is useful: > - Make sure your terminal or GUI transfer the key to the place you run > emacs. To confirm this, you can use "showkey" in console-tools for > terminal, or "xev" in X. > - If it is transferred, make sure you can see the same "scan code" in > emacs, with "Ctrl-h l", which will show you latest keyboard strokes. > - If you can see the strokes in emacs, make sure it is combined with > the emacs keymap. "Ctrl-h b" will show you all the mapping. "M-right" > or "M->", I am not sure which one you like, should be combined with > the key. > - In the end, make sure is combined with some emacs > interactive function. > > Hope I didn't miss anything here, and hope the hints are helpful to you. > > Best Regards, > Xiaofeng > > On Tue, Jan 17, 2012 at 6:43 AM, Peter Dyballa wro= te: >> >> Am 17.1.2012 um 13:36 schrieb Daniel Sousa: >> >>> When I run C-h k and press that key combination, emacs simply ignores i= t >>> and doesn't even say that it is undefined. >> >> Correct! In every software terminal emulation GNU Emacs is the guest of = this software product. When its host is not able to receive or distinguish = the signals about the keys being pressed (or released), then the host canno= t send anything to its guest. (You might try to teach your terminal emulati= on a bit more key events.) So GNU Emacs does not receive anything. To check= what it might receive you can press, for example in *scratch* buffer, C-q = and then some desired key combination. By this means you record anything th= e host programme sends to its guest GNU Emacs. You can also type C-h l, whi= ch shows a recording of what you typed. Or actually of what GNU Emacs recei= ved from your keyboard work... >> >> -- >> Greetings >> >> =C2=A0Pete >> >> Without vi there is only GNU Emacs >> >> > From MAILER-DAEMON Thu Jan 19 13:16:08 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RnwWu-0002Io-TV for mharc-help-gnu-emacs@gnu.org; Thu, 19 Jan 2012 13:16:08 -0500 Received: from eggs.gnu.org ([140.186.70.92]:59651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RnwWr-0002Hb-SS for help-gnu-emacs@gnu.org; Thu, 19 Jan 2012 13:16:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RnwWq-0003TW-Jw for help-gnu-emacs@gnu.org; Thu, 19 Jan 2012 13:16:05 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:36819) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RnwWq-0003TS-B0 for help-gnu-emacs@gnu.org; Thu, 19 Jan 2012 13:16:04 -0500 Received: by werl4 with SMTP id l4so240327wer.0 for ; Thu, 19 Jan 2012 10:16:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=QGqdxmHkS4wRy9oyf8IZe//HLTYS5n85pH61YHmeuPU=; b=guWcvB+P0D/t8mrfkkwewGsj9b4nGxTDnCAk5MozBx6JiKV2mbSqSEmMLP+auqtd2T 0OHkBMMoRcqzKiHXSk5HR1pdR7VWQZfSRsfoVUub8oeBaNux468iZ/RLw65IVCZcdWaj SjboKwtJqiVImzyaoZrIFZ0Gla0wO+HrupR1E= Received: by 10.216.138.38 with SMTP id z38mr1066822wei.14.1326996962986; Thu, 19 Jan 2012 10:16:02 -0800 (PST) Received: from [10.0.0.113] ([149.255.121.162]) by mx.google.com with ESMTPS id di5sm498847wib.3.2012.01.19.10.16.00 (version=SSLv3 cipher=OTHER); Thu, 19 Jan 2012 10:16:01 -0800 (PST) Message-ID: <4F185DE0.1070408@gmail.com> Date: Thu, 19 Jan 2012 18:16:00 +0000 From: Andrea Crotti User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111224 Thunderbird/9.0.1 MIME-Version: 1.0 To: GNU Emacs List Subject: exec-path on windows Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 19 Jan 2012 18:16:07 -0000 I'm using my Emacs configuration [1] also on Windows 7 now, and I was quite surprised to see that it works, even if it's really slow compared to Linux. Anyway there is at least one problem, in the emacs shell (both *shell* and *eshell*) with my configuration it doesn't find the executables, even if they are in the path and in exec-path. With an unconfigured Emacs everything works, and the strange thing is that exec-path is exactly the same on both versions.. Is there anything else I can check to understand what is the source of the problem? Thanks, Andrea [1]: https://github.com/AndreaCrotti/Emacs-configuration From MAILER-DAEMON Thu Jan 19 15:55:09 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rnz0n-0005CU-97 for mharc-help-gnu-emacs@gnu.org; Thu, 19 Jan 2012 15:55:09 -0500 Received: from eggs.gnu.org ([140.186.70.92]:46816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rnz0k-0005BZ-Lz for help-gnu-emacs@gnu.org; Thu, 19 Jan 2012 15:55:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rnz0j-0003QI-Hg for help-gnu-emacs@gnu.org; Thu, 19 Jan 2012 15:55:06 -0500 Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:39347) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rnz0j-0003Oy-A4 for help-gnu-emacs@gnu.org; Thu, 19 Jan 2012 15:55:05 -0500 Received: by lagw12 with SMTP id w12so285724lag.0 for ; Thu, 19 Jan 2012 12:55:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=w3oRd+c2n4KpX4iDLS9phNnMKaiEqUf3kde7jd1AHj8=; b=mR40D2myc08oxUja8N08mvxHf5ypMVNj8TUUQyPj0h3lHe7g7ZgNSLnMCFG58M/MVx IbbcoT0Cr9JHLfVi9B1QFsm0DO9X0ZPAuGyTZbx4UwdsV0WE4LScI1u+K0qiDrAElS1c yCnGB1R0UDgVVqJWOJwrS9RjdkVR/FFZoPa70= MIME-Version: 1.0 Received: by 10.112.101.163 with SMTP id fh3mr6706454lbb.97.1327006503464; Thu, 19 Jan 2012 12:55:03 -0800 (PST) Received: by 10.112.3.234 with HTTP; Thu, 19 Jan 2012 12:55:03 -0800 (PST) Date: Thu, 19 Jan 2012 13:55:03 -0700 Message-ID: Subject: SpeedBar questions/ requests: From: robert somerville To: help-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.215.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 19 Jan 2012 20:55:08 -0000 1) Is it possible to have two or more speed-bars open and or split such that each speed-bar window will remain independent of other speed-bars 2) Is it possible to have the speed-bar window "physically" attached to the main emacs window in some way , ie not as a separate independent window 3) Is there some way to tie the speed-bar(s) to a specific window ? Thanks in Advance; Robert Somerville From MAILER-DAEMON Thu Jan 19 18:02:57 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Ro10T-0001b4-Gx for mharc-help-gnu-emacs@gnu.org; Thu, 19 Jan 2012 18:02:57 -0500 Received: from eggs.gnu.org ([140.186.70.92]:38204) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ro10Q-0001Yt-Id for help-gnu-emacs@gnu.org; Thu, 19 Jan 2012 18:02:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ro10P-0006Oc-Ft for help-gnu-emacs@gnu.org; Thu, 19 Jan 2012 18:02:54 -0500 Received: from mail-pw0-f41.google.com ([209.85.160.41]:57389) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ro10P-0006OY-8Q for help-gnu-emacs@gnu.org; Thu, 19 Jan 2012 18:02:53 -0500 Received: by pbdu6 with SMTP id u6so413777pbd.0 for ; Thu, 19 Jan 2012 15:02:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=NKRM+/4eOmn9oY2clEvY5mfVEwKUpg8UYwYyp9qv0Jc=; b=D0GYB36u5cqzcEGomdhUyOCplNghhz92ceb+CVIeATnoPoAPuxJuq4E+KRur7IbWDv wzn/uEf5dQrn4k++/uiuRi9SN8l8Z+KMuw6FCk4LgZOsZ50EG3BTQ1llwg6mB7GsoZ8t MTprXiQTuS6ae6aFpXNveUKZgFDVB80NbiBaM= MIME-Version: 1.0 Received: by 10.68.75.229 with SMTP id f5mr55861647pbw.110.1327014171645; Thu, 19 Jan 2012 15:02:51 -0800 (PST) Received: by 10.68.58.137 with HTTP; Thu, 19 Jan 2012 15:02:51 -0800 (PST) Date: Thu, 19 Jan 2012 17:02:51 -0600 Message-ID: Subject: Achieving consistent key translations in terminal and GTK From: Leo Alekseyev To: help-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.41 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 19 Jan 2012 23:02:55 -0000 In terminal, the bindings for keys {enter, tab, escape} are {RET, TAB, ESC}. Under GTK, they are {, , }. This leads to the following annoyances: - custom keybindings involving these have to be defined twice, e.g. once for "RET" and once for "" for things to work both in terminal and GTK - some modes apparently fail to do this, overload one form (e.g. "TAB") but not another, forcing me to go and fix it manually Is there a way to normalize the keybindings so that things work the same under terminal and GTK with no further effort? Furthermore, is it possible to achieve this while preserving (in the terminal) the distinction between e.g. C-[ and physical escape key, or C-i and physical tab key (under GTK, these send "ESC" vs and "TAB" vs respectively). --Leo From MAILER-DAEMON Fri Jan 20 02:41:52 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Ro96e-0001Mi-I3 for mharc-help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 02:41:52 -0500 Received: from eggs.gnu.org ([140.186.70.92]:46875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ro96X-0001MK-CP for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 02:41:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ro96V-0006RG-O0 for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 02:41:45 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:44805) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ro96V-0006Pj-Kw for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 02:41:43 -0500 Received: by mail-iy0-f169.google.com with SMTP id j38so632672iad.0 for ; Thu, 19 Jan 2012 23:41:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=NFgu29EcfYDcwOCHtxLiPhn3cv59F5mp3BLO543proM=; b=VI5bzgVtMOkLK56l9lWnY2/tnj2ogTPdMjWDZNNItS8TGUJraeG7jwyndRxQP0D3rJ HvdwtgKFXxQ7xrTpKNB74/zVjKc4hUbtzHR6D38Hl84kbRK9zPMSZT/DGOkPrtjEN1Dh +HUQgIMLeYtSpiFnqnplBFdIGIMQu7fQV9P9c= MIME-Version: 1.0 Received: by 10.50.203.100 with SMTP id kp4mr26317862igc.6.1327045302832; Thu, 19 Jan 2012 23:41:42 -0800 (PST) Received: by 10.42.149.134 with HTTP; Thu, 19 Jan 2012 23:41:42 -0800 (PST) Date: Fri, 20 Jan 2012 16:41:42 +0900 Message-ID: Subject: change faces interactively From: ishi soichi To: help-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=14dae9340765e04fee04b6f0cf22 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 20 Jan 2012 07:41:50 -0000 --14dae9340765e04fee04b6f0cf22 Content-Type: text/plain; charset=ISO-8859-1 I'm trying to develop an interactive function that changes faces. For example, one way to change the face is (define-generic-mode my-mode nil nil '(("think?\\w*\\|thought" . 'org-warning)) ;;changes face of "think", "thinks", and "thought" nil nil) But this changes the face according to the mode, not the interactive command input. Is there anyway to develop an interactive function like that ? (defun change-face-to-one () (interactive) ... ) Thanks in advance. soichi --14dae9340765e04fee04b6f0cf22 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I'm trying to develop an interactive function that changes faces.
<= br>
For example, one way to change the face is=A0

<= /div>

(define-generic-mode my-mode
=A0 ni= l nil
=A0 '(("think?\\w*\\|thought" . 'org-warning)) =A0;;= changes face of "think", "thinks", and "thought&qu= ot;
=A0 nil nil)

But this changes = the face according to the mode, not the interactive command input.

Is there anyway to develop an interactive function like= that ?

(defun change-face-to-one ()
=A0= (interactive)
=A0 ...
=A0 =A0 )

Thanks in advance.

soichi

--14dae9340765e04fee04b6f0cf22-- From MAILER-DAEMON Fri Jan 20 02:57:54 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Ro9MA-0004eH-6K for mharc-help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 02:57:54 -0500 Received: from eggs.gnu.org ([140.186.70.92]:39977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ro4fm-0002u5-Tv for help-gnu-emacs@gnu.org; Thu, 19 Jan 2012 21:57:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ro4fm-0006xv-0c for help-gnu-emacs@gnu.org; Thu, 19 Jan 2012 21:57:50 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:49997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ro4fl-0006xk-Rz for help-gnu-emacs@gnu.org; Thu, 19 Jan 2012 21:57:49 -0500 Received: by wicr5 with SMTP id r5so99123wic.0 for ; Thu, 19 Jan 2012 18:57:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=C1oHw24H+m4YBNuw8sURHugpbnevnbjmdVZWNlWG+5Q=; b=AssdHi/4DxXGim3nL2TNaUxDljyOO7KpCmSJ9I82DqtnUvuXtvacB333yfiSSiUNB/ W+SVXntI6ICca8rnnhlVSppBwIl5AqSAQXuJW2YWZCckLMBoK+3cwhxldPOce4jekDWW JgKr1XjKmIYuJR/pkteql+w+3Rs9fC0zFIslk= MIME-Version: 1.0 Received: by 10.180.83.72 with SMTP id o8mr569048wiy.22.1327028268181; Thu, 19 Jan 2012 18:57:48 -0800 (PST) Received: by 10.223.94.75 with HTTP; Thu, 19 Jan 2012 18:57:48 -0800 (PST) Received: by 10.223.94.75 with HTTP; Thu, 19 Jan 2012 18:57:48 -0800 (PST) In-Reply-To: References: Date: Fri, 20 Jan 2012 10:57:48 +0800 Message-ID: Subject: Re: SpeedBar questions/ requests: From: Yuan Yao To: robert somerville Content-Type: multipart/alternative; boundary=f46d0442887e8829b504b6ecd8d7 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.212.169 X-Mailman-Approved-At: Fri, 20 Jan 2012 02:57:51 -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: Fri, 20 Jan 2012 02:57:51 -0000 --f46d0442887e8829b504b6ecd8d7 Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable Hi robert! you can use sr-speedbar to make it attached to emacs main window, i use it on 23.3.1 very good, it likes a extend for speedbar, google and you will get it. =D4=DA 2012-1-20 =C9=CF=CE=E74:55=A3=AC"robert somerville" =D0=B4=B5=C0=A3=BA > > 1) Is it possible to have two or more speed-bars open and or split > such that each speed-bar window will remain independent of other > speed-bars > 2) Is it possible to have the speed-bar window "physically" attached > to the main emacs window in some way , ie not as a separate > independent window > 3) Is there some way to tie the speed-bar(s) to a specific window ? > > Thanks in Advance; > Robert Somerville > Hi Robert Somerville! You can use sr-speedbar to make it attach to emacs main window, it's good on 23.3.1 except maybe the customize of width doesn't work, but you can hack it. --f46d0442887e8829b504b6ecd8d7 Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable

Hi robert!
you can use sr-speedbar to make it attached to emacs main window, i use it= on 23.3.1 very good, it likes a extend for speedbar, google and you will g= et it.
=D4=DA 2012-1-20 =C9=CF=CE=E74:55=A3=AC"robert somerville" <rbrt.somerville@gmail.com>= ;=D0=B4=B5=C0=A3=BA
>
> 1) Is it possible to have two or more speed-bars open and or split
> such that each speed-bar window will remain independent of other
> speed-bars
> 2) Is it possible to have the speed-bar window "physically" = attached
> to the main emacs window in some way  , ie not as a separate
> independent window
> 3) Is there some way to tie the speed-bar(s) to a specific window ? >
> Thanks in Advance;
> Robert Somerville
>
Hi Robert Somerville!
You can use sr-speedbar to make it attach to emacs main window, it's g= ood on 23.3.1 except maybe the customize of width doesn't work, but you= can hack it.

--f46d0442887e8829b504b6ecd8d7-- From MAILER-DAEMON Fri Jan 20 10:31:11 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RoGQp-0008TV-9X for mharc-help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 10:31:11 -0500 Received: from eggs.gnu.org ([140.186.70.92]:53784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoGQh-0008Rx-8f for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 10:31:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RoGQb-0001Ia-GC for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 10:31:03 -0500 Received: from rcsinet15.oracle.com ([148.87.113.117]:21305) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoGQb-0001IP-70 for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 10:30:57 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0KFUrvg008554 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 20 Jan 2012 15:30:54 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0KFUqtA001407 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 20 Jan 2012 15:30:53 GMT Received: from abhmt118.oracle.com (abhmt118.oracle.com [141.146.116.70]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0KFUqCE017890; Fri, 20 Jan 2012 09:30:52 -0600 Received: from dradamslap1 (/10.159.44.241) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 20 Jan 2012 07:30:52 -0800 From: "Drew Adams" To: "'ishi soichi'" , References: Subject: RE: change faces interactively Date: Fri, 20 Jan 2012 07:30:49 -0800 Message-ID: <67E1B9EC96D94790BEA9EF4E01430D8F@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AczXRv0LaVSRtU2CTWKA8O5+g+fdggAQIcGg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090202.4F1988AE.01AF,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.117 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 20 Jan 2012 15:31:09 -0000 > I'm trying to develop an interactive function that changes faces. > For example, one way to change the face is > > ;;changes face of "think", "thinks", and "thought" > (define-generic-mode my-mode > nil nil > '(("think?\\w*\\|thought" . 'org-warning)) nil nil) > > But this changes the face according to the mode, not the > interactive command input. > > Is there anyway to develop an interactive function like that ? > (defun change-face-to-one () (interactive) ...) Not quite sure what you're asking. Do you just want to modify a set of faces FS so they look the same as some given face G? If so, you can define a command that reads the names of the faces to modify (FS) and the face to copy (G), and then, in the body of the function, call `copy-face' to modify each of the former (each F in FS). From MAILER-DAEMON Fri Jan 20 11:01:19 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RoGtz-00020U-69 for mharc-help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 11:01:19 -0500 Received: from eggs.gnu.org ([140.186.70.92]:48654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoF3W-0002yo-Hl for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 09:03:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RoF3Q-0002pp-L9 for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 09:03:02 -0500 Received: from mail-gy0-f169.google.com ([209.85.160.169]:53907) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoF3Q-0002pj-IL for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 09:02:56 -0500 Received: by ghrr14 with SMTP id r14so275727ghr.0 for ; Fri, 20 Jan 2012 06:02:55 -0800 (PST) Received: by 10.236.181.136 with SMTP id l8mr45274273yhm.103.1327068175730; Fri, 20 Jan 2012 06:02:55 -0800 (PST) Received: from software.informer.com (174.36.40.39-static.reverse.softlayer.com. [174.36.40.39]) by mx.google.com with ESMTPS id a24sm8306547ana.13.2012.01.20.06.02.55 (version=SSLv3 cipher=OTHER); Fri, 20 Jan 2012 06:02:55 -0800 (PST) Sender: kasey bloome Date: Fri, 20 Jan 2012 09:02:54 -0500 To: help-gnu-emacs@gnu.org From: Kasey Bloome Subject: Emacs 23.3.1 is listed on Software Informer Message-ID: <89d9aa113e813f1b08f2da8a7823601d@software.informer.com> X-Priority: 3 X-Mailer: PHPMailer [version 1.73] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="iso-8859-1" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.169 X-Mailman-Approved-At: Fri, 20 Jan 2012 11:01:14 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Kasey Bloome 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, 20 Jan 2012 14:03:08 -0000 Good day! Software.informer.com would like to inform you that your product Emacs 23.3.1 has been reviewed by our editors and your program got "100% Clean Award" http://emacs.software.informer.com/. We would be grateful if you place our award on your web site. On our part, we can place your program for a certain period of time into our block Today's Highlight. You can see this block on every page of our web site in the upper right corner. We are on the list of the world's 500 most visited web sites. Our web site processes 2,4 million clicks and welcomes over 700 000 unique visitors every day. Please, let me know if you are interested in our offer. Best wishes, Kasey Bloome From MAILER-DAEMON Fri Jan 20 20:20:10 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RoPco-0003EB-SZ for mharc-help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 20:20:10 -0500 Received: from eggs.gnu.org ([140.186.70.92]:40122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoPcl-0003C0-Sh for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 20:20:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RoPcj-0003H5-NH for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 20:20:07 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:46702) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoPcj-0003Gd-BN for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 20:20:05 -0500 Received: by iadj38 with SMTP id j38so2024879iad.0 for ; Fri, 20 Jan 2012 17:20:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=zWMVbwr1+66zwHdziCoRwtl3QsMStlrABB7hWJoNKt8=; b=o2sqN/iF/gEuR5YiVjFHOuiWNEcyLf7k8IC08nJUSmoaIB4KWfZbELIKeh4w9puNgn Q/pkSgW5VGx2xuG7I41N0Xx6bQ+tRJK+z9zxGbB9xCx+5JkDq1nmi4i1aBmJxvEOcXSO Lv6eglwuadGqIpcsga4tXrNDqS1i1jIGJNws0= MIME-Version: 1.0 Received: by 10.50.170.35 with SMTP id aj3mr127070igc.2.1327108804847; Fri, 20 Jan 2012 17:20:04 -0800 (PST) Received: by 10.42.149.134 with HTTP; Fri, 20 Jan 2012 17:20:04 -0800 (PST) In-Reply-To: <67E1B9EC96D94790BEA9EF4E01430D8F@us.oracle.com> References: <67E1B9EC96D94790BEA9EF4E01430D8F@us.oracle.com> Date: Sat, 21 Jan 2012 10:20:04 +0900 Message-ID: Subject: Re: change faces interactively From: ishi soichi To: Drew Adams Content-Type: multipart/alternative; boundary=e89a8f23534be426fd04b6ff982b X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.169 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, 21 Jan 2012 01:20:09 -0000 --e89a8f23534be426fd04b6ff982b Content-Type: text/plain; charset=ISO-8859-1 Sorry for my poor explanation. What I want is an interactive function that turns on/off face changes by command. Say, a buffer is in "my-mode". The above (define-generic-mode ... ) will AUTOMATICALLY apply the face definitions to all characters as soon as the buffer is opened (assuming the mode definition recognizes its file extension). I would rather develop a function that applies the faces AT WILL even after the buffer is opened IN THAT MODE. For example, a buffer is in "my-mode" but none of the words in that buffer is applied with any faces. Now I will implement a function, (defun my-mode-face-1 () (interactive)...), then a certain set of words in that buffer is bold-faced. After that, I will implement another function, (defun my-mode-face-2 () (interactive) ...), then another set of the words in that buffer is italic-faced. And so on... If it does not make sense, please ask me again. I appreciate it. soichi 2012/1/21 Drew Adams > > I'm trying to develop an interactive function that changes faces. > > For example, one way to change the face is > > > > ;;changes face of "think", "thinks", and "thought" > > (define-generic-mode my-mode > > nil nil > > '(("think?\\w*\\|thought" . 'org-warning)) nil nil) > > > > But this changes the face according to the mode, not the > > interactive command input. > > > > Is there anyway to develop an interactive function like that ? > > (defun change-face-to-one () (interactive) ...) > > Not quite sure what you're asking. Do you just want to modify a set of > faces FS > so they look the same as some given face G? > > If so, you can define a command that reads the names of the faces to > modify (FS) > and the face to copy (G), and then, in the body of the function, call > `copy-face' to modify each of the former (each F in FS). > > > --e89a8f23534be426fd04b6ff982b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sorry for my poor explanation.
What I want is an interactive function t= hat turns on/off face changes by command.

Say, a b= uffer is in "my-mode". =A0The above (define-generic-mode ... ) wi= ll AUTOMATICALLY apply the face definitions to all characters as soon as th= e buffer is opened (assuming the mode definition recognizes its file extens= ion).
I would rather develop a function that applies the faces AT WILL even = after the buffer is opened IN THAT MODE. =A0
For example, a buffe= r is in "my-mode" but none of the words in that buffer is applied= with any faces.
Now I will implement a function, (defun my-mode-face-1 () =A0(interact= ive)...), then a certain set of words in that buffer is bold-faced. =A0Afte= r that, I will implement another function, (defun my-mode-face-2 () (intera= ctive) ...), then another set of the words in that buffer is italic-faced. = And so on...

If it does not make sense, please ask me again. =A0I ap= preciate it.

soichi


2012/1/21 Drew Adams <drew.adams@oracle.com>
> I'm trying to dev= elop an interactive function that changes faces.
> For example, one way to change the face is
>
> ;;changes face of "think", "thi= nks", and "thought"
> (define-generic-mode my-mode
> =A0 nil nil
> =A0 '(("think?\\w*\\|thought" . 'org-warning))= nil nil)
>
> But this changes the face according to the mode, not the
> interactive command input.
>
> Is there anyway to develop an interactive function like that ?
> (defun change-face-to-one () (interactive) ...)

Not quite sure what you're asking. =A0Do you just want to modify = a set of faces FS
so they look the same as some given face G?

If so, you can define a command that reads the names of the faces to modify= (FS)
and the face to copy (G), and then, in the body of the function, call
`copy-face' to modify each of the former (each F in FS).



--e89a8f23534be426fd04b6ff982b-- From MAILER-DAEMON Fri Jan 20 21:07:50 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RoQMw-0006Uu-Sy for mharc-help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 21:07:50 -0500 Received: from eggs.gnu.org ([140.186.70.92]:57007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoQMu-0006Uo-Kh for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 21:07:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RoQMt-00060p-AC for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 21:07:48 -0500 Received: from rcsinet15.oracle.com ([148.87.113.117]:26098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoQMt-00060g-4q for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 21:07:47 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0L27cYC016558 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 21 Jan 2012 02:07:39 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0L27bhC019219 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 21 Jan 2012 02:07:38 GMT Received: from abhmt108.oracle.com (abhmt108.oracle.com [141.146.116.60]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0L27bBR006526; Fri, 20 Jan 2012 20:07:37 -0600 Received: from dradamslap1 (/10.159.46.117) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 20 Jan 2012 18:07:37 -0800 From: "Drew Adams" To: "'ishi soichi'" References: <67E1B9EC96D94790BEA9EF4E01430D8F@us.oracle.com> Subject: RE: change faces interactively Date: Fri, 20 Jan 2012 18:07:32 -0800 Message-ID: <3859A6A238864D3D82B0DE219A88A724@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AczX2s7XudLItf8uTRmbVNH3oN54OwABjOXQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090208.4F1A1DEC.005D,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.117 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, 21 Jan 2012 02:07:49 -0000 > Sorry for my poor explanation. > What I want is an interactive function that turns on/off > face changes by command. > > Say, a buffer is in "my-mode". The above > (define-generic-mode ... ) will AUTOMATICALLY apply the face > definitions to all characters as soon as the buffer is > opened (assuming the mode definition recognizes its file extension). > I would rather develop a function that applies the faces > AT WILL even after the buffer is opened IN THAT MODE. > For example, a buffer is in "my-mode" but none of the words > in that buffer is applied with any faces. > Now I will implement a function, (defun my-mode-face-1 () > (interactive)...), then a certain set of words in that > buffer is bold-faced. After that, I will implement another > function, (defun my-mode-face-2 () (interactive) ...), then > another set of the words in that buffer is italic-faced. And so on... > > If it does not make sense, please ask me again. I appreciate it. Sorry, I don't have much time right now - perhaps someone else can help. If you just want to highlight stuff then perhaps have a look here: http://www.emacswiki.org/emacs/FaceMenuPlus http://www.emacswiki.org/emacs/HighlightLibrary From MAILER-DAEMON Fri Jan 20 21:44:50 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RoQwk-0003sq-9z for mharc-help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 21:44:50 -0500 Received: from eggs.gnu.org ([140.186.70.92]:33189) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoQwi-0003qH-0J for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 21:44:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RoQwg-0006Me-Kv for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 21:44:47 -0500 Received: from lo.gmane.org ([80.91.229.12]:59378) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoQwg-0006LG-Fk for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 21:44:46 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RoQwe-0008E5-6q for help-gnu-emacs@gnu.org; Sat, 21 Jan 2012 03:44:44 +0100 Received: from 50-56-99-223.static.cloud-ips.com ([50.56.99.223]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Jan 2012 03:44:44 +0100 Received: from eric by 50-56-99-223.static.cloud-ips.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Jan 2012 03:44:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Eric Abrahamsen Subject: workgroups and local buffer lists Date: Sat, 21 Jan 2012 10:44:45 +0800 Lines: 22 Message-ID: <871uqtvko2.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 50-56-99-223.static.cloud-ips.com User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:8OKeAQumcoS1sR54OGWX4nuHvdI= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 21 Jan 2012 02:44:49 -0000 I'm using workgroups version 0.2.0 (http://www.emacswiki.org/emacs/WorkgroupsForWindows) which works great for me, just the right amount of functionality. The one thing I would like is for each workgroup to maintain its own buffer list, so that recently viewed buffers in one workgroup won't "infect" the buffer lists of other workgroups. I've read the buffer list section of the Elisp manual, but I'm not seeing an easy way of doing this. A "workgroup" is just an alist of various parameters, so I guess a new parameter, "buffer-list", could be added to that. But what would it take to short-circuit all the commands that use (buffer-list), and make them use this local version instead? Is this even possible? Thanks, Eric -- GNU Emacs 24.0.92.3 (i686-pc-linux-gnu, GTK+ Version 2.24.8) of 2012-01-11 on pellet From MAILER-DAEMON Fri Jan 20 21:53:04 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RoR4i-0004hG-9o for mharc-help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 21:53:04 -0500 Received: from eggs.gnu.org ([140.186.70.92]:56895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoR4f-0004h5-FB for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 21:53:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RoR4e-0003D4-5u for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 21:53:01 -0500 Received: from lo.gmane.org ([80.91.229.12]:47955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoR4d-0003Cv-UL for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 21:53:00 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RoR4c-0002WU-F9 for help-gnu-emacs@gnu.org; Sat, 21 Jan 2012 03:52:58 +0100 Received: from 50-56-99-223.static.cloud-ips.com ([50.56.99.223]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Jan 2012 03:52:58 +0100 Received: from eric by 50-56-99-223.static.cloud-ips.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Jan 2012 03:52:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Eric Abrahamsen Subject: Re: workgroups and local buffer lists Date: Sat, 21 Jan 2012 10:53:02 +0800 Lines: 34 Message-ID: <87wr8lu5pt.fsf@ericabrahamsen.net> References: <871uqtvko2.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 50-56-99-223.static.cloud-ips.com User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:2zzrCxH7QING9kpGetzqFPsucW8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 21 Jan 2012 02:53:02 -0000 On Sat, Jan 21 2012, Eric Abrahamsen wrote: > I'm using workgroups version 0.2.0 > (http://www.emacswiki.org/emacs/WorkgroupsForWindows) which works great > for me, just the right amount of functionality. > > The one thing I would like is for each workgroup to maintain its own > buffer list, so that recently viewed buffers in one workgroup won't > "infect" the buffer lists of other workgroups. > > I've read the buffer list section of the Elisp manual, but I'm not > seeing an easy way of doing this. > > A "workgroup" is just an alist of various parameters, so I guess a new > parameter, "buffer-list", could be added to that. But what would it take > to short-circuit all the commands that use (buffer-list), and make them > use this local version instead? Is this even possible? > > Thanks, > Eric Of course five minutes later I find this: https://github.com/tlh/workgroups.el/wiki/Experimental-documentation Which appears to be something like what I'm after… I think this can be ignored! Sorry, E -- GNU Emacs 24.0.92.3 (i686-pc-linux-gnu, GTK+ Version 2.24.8) of 2012-01-11 on pellet From MAILER-DAEMON Fri Jan 20 21:54:39 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RoR6F-0005QV-Pz for mharc-help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 21:54:39 -0500 Received: from eggs.gnu.org ([140.186.70.92]:49687) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoR6D-0005Pt-39 for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 21:54:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RoR6B-0003ba-NH for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 21:54:37 -0500 Received: from rcsinet15.oracle.com ([148.87.113.117]:58969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoR6B-0003an-GC for help-gnu-emacs@gnu.org; Fri, 20 Jan 2012 21:54:35 -0500 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0L2sX2G014512 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 21 Jan 2012 02:54:33 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0L2sWrJ005819 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 21 Jan 2012 02:54:32 GMT Received: from abhmt103.oracle.com (abhmt103.oracle.com [141.146.116.55]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0L2sWBB022262; Fri, 20 Jan 2012 20:54:32 -0600 Received: from dradamslap1 (/10.159.46.117) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 20 Jan 2012 18:54:32 -0800 From: "Drew Adams" To: "'Eric Abrahamsen'" , References: <871uqtvko2.fsf@ericabrahamsen.net> Subject: RE: workgroups and local buffer lists Date: Fri, 20 Jan 2012 18:54:27 -0800 Message-ID: <4305422581074C5A95C6A2572C01CDA1@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <871uqtvko2.fsf@ericabrahamsen.net> Thread-Index: AczX5qbuNlXcFbmBTf6Fi+Oy56nY+wAAQqGg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090202.4F1A28EA.0005,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.117 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 21 Jan 2012 02:54:38 -0000 > The one thing I would like is for each workgroup to maintain its own > buffer list, so that recently viewed buffers in one workgroup won't > "infect" the buffer lists of other workgroups. > > I've read the buffer list section of the Elisp manual, but I'm not > seeing an easy way of doing this. > > A "workgroup" is just an alist of various parameters, so I guess a new > parameter, "buffer-list", could be added to that. But what > would it take to short-circuit all the commands that use > (buffer-list), and make them use this local version instead? > Is this even possible? Maybe have a look at buffer configurations, which are "named sets of buffers, sort functions, and other parameters that control completion of buffer names". http://www.emacswiki.org/emacs/Icicles_-_Support_for_Projects#toc6 From MAILER-DAEMON Sat Jan 21 20:30:45 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RomGb-0004bM-BS for mharc-help-gnu-emacs@gnu.org; Sat, 21 Jan 2012 20:30:45 -0500 Received: from eggs.gnu.org ([140.186.70.92]:38032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RomGY-0004bG-H5 for help-gnu-emacs@gnu.org; Sat, 21 Jan 2012 20:30:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RomGX-0004oh-BX for help-gnu-emacs@gnu.org; Sat, 21 Jan 2012 20:30:42 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:46482) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RomGX-0004ob-75 for help-gnu-emacs@gnu.org; Sat, 21 Jan 2012 20:30:41 -0500 Received: by iadj38 with SMTP id j38so3573753iad.0 for ; Sat, 21 Jan 2012 17:30:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=0B4HmKZTQiGKRUNR7NYHxjjBXN0DsdjItVLurooxa6s=; b=RBNYe1AFLtZAFKeQvB7KBItsTfZT+hBuu2he+D4E2m8QEUuBWKgI995zyLItbdmYIA 5aY6WVpGM1Hmw6x9FDIp7A0mPV5KGaQpWEgyPDgbh/Ht+AMXzHg0uAW04yFFhJMEz0TV M9g/CuEiWjz6O8kdKV5Tvi3m6J/wPxrrrQCgM= MIME-Version: 1.0 Received: by 10.50.168.4 with SMTP id zs4mr4005849igb.28.1327195840848; Sat, 21 Jan 2012 17:30:40 -0800 (PST) Received: by 10.42.140.65 with HTTP; Sat, 21 Jan 2012 17:30:40 -0800 (PST) In-Reply-To: <87d3bchz76.fsf@ambire.localdomain> References: <87hb0oi049.fsf@ambire.localdomain> <87d3bchz76.fsf@ambire.localdomain> Date: Sat, 21 Jan 2012 18:30:40 -0700 Message-ID: Subject: Re: local database types for personal use From: Samuel Wales To: Thien-Thi Nguyen Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.169 Cc: help-gnu-emacs@gnu.org, Soichi Ishida X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 22 Jan 2012 01:30:43 -0000 If you only want to maintain one multi-line field, and you don't have too much data, then Org-mode properties are a possibility. For more than one multi-line field, you will need to serialize. Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com === Bigotry against people with serious diseases is still bigotry. From MAILER-DAEMON Sun Jan 22 10:51:45 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rozhp-0002tV-N2 for mharc-help-gnu-emacs@gnu.org; Sun, 22 Jan 2012 10:51:45 -0500 Received: from eggs.gnu.org ([140.186.70.92]:44404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rozhm-0002rJ-Ev for help-gnu-emacs@gnu.org; Sun, 22 Jan 2012 10:51:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rozhj-0002a9-Qx for help-gnu-emacs@gnu.org; Sun, 22 Jan 2012 10:51:42 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:42465) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rozhj-0002Zv-Et for help-gnu-emacs@gnu.org; Sun, 22 Jan 2012 10:51:39 -0500 Received: by werl4 with SMTP id l4so1880210wer.0 for ; Sun, 22 Jan 2012 07:51:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=UpWZqiGDZFXjj8lZmtVbJ3BPfR7QfMANeXf+GMft494=; b=Uij6De+LLcVSfR49zWebM0Fri/sO1m2emCzrGdUlRWTz2kd99IvQztxNTvHzu+njgU qOfbQZ5FjghDl/wlzqfCHv+MQv5Xm5BqgE2M0kXsXx7llkrG6Cj+NjxLtqNwlwtMyDDH rPcX5m9DInul0X/E0lIuB1EWuTblqC1btc9xs= Received: by 10.216.136.70 with SMTP id v48mr1991338wei.48.1327247497740; Sun, 22 Jan 2012 07:51:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.165.85 with HTTP; Sun, 22 Jan 2012 07:51:16 -0800 (PST) In-Reply-To: References: <87hb0oi049.fsf@ambire.localdomain> <87d3bchz76.fsf@ambire.localdomain> From: "Alan E. Davis" Date: Sun, 22 Jan 2012 07:51:16 -0800 Message-ID: Subject: Re: local database types for personal use To: Soichi Ishida , help-gnu-emacs@gnu.org, Thien-Thi Nguyen Content-Type: multipart/alternative; boundary=0016e6dd9615a1c2d104b71fe318 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 22 Jan 2012 15:51:43 -0000 --0016e6dd9615a1c2d104b71fe318 Content-Type: text/plain; charset=ISO-8859-1 Did you find a format amenable to your needs? I had intended to send this short example of band format some months ago. Ban format is perfect for what you are doing. You can write simple utility routines to search or sort the database. Two entries in band format follow. A record does not need to occupy on line. "..hw" always begins a new record: ..hw lun kaeja .gs .ge Jellyfish (secondary etc names describe the specific type) .ec Jellyfish .cg cnidaria .la Mokil .src .n Father of a student .dt [2010-08-27 Fri] ..hw lagong .gs .ge Big, green fly .ec .cg Insect .la Cebuano .src FSD .n came up as an exception to the general name for fly. .dt [2010-06-11 Fri] .. begins a record ..hw headword tag .gs Scientific Name .ge English gloss .ec English common name .cg catagory .la language ..src Source .dt date I wrote some little macros / routines that converted a record into a typeset dictionary in LaTeX. A frontend, as it were. Each tag is typeset in a distinct font. Robert Hsu who was at the University of Hawaii linguistics department in the 90s, wrote a spitbol/snobol4 package for manipulating data in band format, used in producing several dictionaries of several pacific languages. Others have developed band formats distinct from this one. Alan On Mon, Dec 26, 2011 at 11:08 AM, Alan E. Davis wrote: > Band format is a free-form format used in linguistics for lexical data. > > The following is from a google search. > > > http://billposer.org/Linguistics/Computation/LectureNotes/ParsingLexica.html > > I have used my own version of this format for a lexicon. If you wish, I > can spend more time explaining how ti did it. > > Basically, each "field" is marked by a dot and one or more letters. Two > dots mark the beginning of a record. > > ..hw means "headword" (use anything you want) > .d could mean date > .ge could mean "english gloss" > .gd could mean "dutch gloss" > .p could mean part of speech. > > Two spaces preceed each .X > > New categories can be made up on the fly. > > Alan Davis > > > On Sun, Dec 25, 2011 at 5:57 PM, Thien-Thi Nguyen wrote: > >> () Soichi Ishida >> () Mon, 26 Dec 2011 10:47:58 +0900 >> >> I have totally forgotten EBD :) >> >> What if I have more than one table? >> >> Then your forgetfulness is ideal. >> >> > --0016e6dd9615a1c2d104b71fe318 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Did you find a format amenable to your needs?=A0=A0

I had intended = to send this short example of band format some months ago.=A0=A0=A0 Ban for= mat is perfect for what you are doing.=A0 You can write simple utility rout= ines to search or sort the database.=A0

Two entries in=A0 band format follow.=A0 A record does not need to occu= py on line.=A0 "..hw" always begins a new record:

..hw lun= kaeja=A0 .gs=A0=A0 .ge Jellyfish (secondary etc names describe the specifi= c type)=A0 .ec Jellyfish=A0 .cg cnidaria=A0 .la Mokil=A0 .src=A0 .n Father = of a student=A0=A0 .dt [2010-08-27 Fri]

..hw lagong=A0 .gs=A0=A0 .ge Big, green fly=A0 .ec=A0=A0 .cg Insect=A0 = .la Cebuano=A0 .src FSD .n came up as an exception to the general name for = fly.=A0=A0 .dt [2010-06-11 Fri]

.. begins a record
..hw=A0 headword tag
.gs=A0 Scientific Name .ge=A0 English gloss
.ec=A0 English common name
.cg=A0 catagory .la=A0 language
..src=A0 Source
.dt=A0 date

I wrote some lit= tle macros / routines that converted a record into a typeset dictionary in = LaTeX.=A0 A frontend, as it were.=A0 Each tag is typeset in a distinct font= .=A0 Robert Hsu who was at the University of Hawaii linguistics department = in the 90s, wrote a spitbol/snobol4 package for manipulating data in band f= ormat, used in producing several dictionaries of several pacific languages.= =A0 Others have developed band formats distinct from this one.=A0

Alan


On Mon, Dec 26, 2011 at 11:08 AM, Alan E= . Davis <lngndvs@gmail.com> wrote:
Band format is a free-form format used in linguistics for lexical data.=A0= =A0

The following is=A0 from a google search.

http://billposer.org/Linguistics/Computation/LectureNotes= /ParsingLexica.html

I have used my own version of this format for a lexicon.=A0 If you wish= , I can spend more time explaining how ti did it.

Basically, each &q= uot;field" is marked by a dot and one or more letters.=A0 Two dots mar= k the beginning of a record.

..hw=A0 means "headword"=A0 (use anything you want)
.d=A0= =A0=A0 could mean date
.ge=A0 could mean "english gloss"
.g= d=A0 could mean "dutch gloss"
.p=A0=A0=A0 could mean part of s= peech.

Two spaces preceed each .X=A0

New categories can be made up on the fly.=

Alan Davis


On Sun, Dec 25, 2011 at 5:57 PM, Thien-Thi Nguyen <<= a href=3D"mailto:ttn@gnuvola.org" target=3D"_blank">ttn@gnuvola.org>= wrote:
() Soichi Ishida <soujiro0725@gmail.com>
() Mon, 26 Dec 2011 10:47:58 +0900

=A0 I have totally forgotten EBD :)

=A0 What if I have more than one table?

Then your forgetfulness is ideal.



--0016e6dd9615a1c2d104b71fe318-- From MAILER-DAEMON Sun Jan 22 18:07:33 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rp6VZ-0004lx-V8 for mharc-help-gnu-emacs@gnu.org; Sun, 22 Jan 2012 18:07:33 -0500 Received: from eggs.gnu.org ([140.186.70.92]:35080) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rp6VX-0004lr-GW for help-gnu-emacs@gnu.org; Sun, 22 Jan 2012 18:07:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rp6VW-0007Mi-I2 for help-gnu-emacs@gnu.org; Sun, 22 Jan 2012 18:07:31 -0500 Received: from lo.gmane.org ([80.91.229.12]:60357) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rp6VW-0007MM-Cw for help-gnu-emacs@gnu.org; Sun, 22 Jan 2012 18:07:30 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rp6VS-0000X5-7O for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 00:07:26 +0100 Received: from z65-50-57-227.ips.direcpath.com ([65.50.57.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Jan 2012 00:07:26 +0100 Received: from reader by z65-50-57-227.ips.direcpath.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Jan 2012 00:07:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Harry Putnam Subject: Too much pita to paste into incremental regex search Date: Sun, 22 Jan 2012 18:07:09 -0500 Organization: Still searching... Lines: 10 Message-ID: <87aa5fbale.fsf@newsguy.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: z65-50-57-227.ips.direcpath.com User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:ZFdBVNt66Vl7tL+OS6B0xDM23G8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 22 Jan 2012 23:07:32 -0000 I don't use the incremental regex search much but did have need of it today. And repeatedly. I found it difficult to impossible to copy/paste to the prompt. As soon as you move the mouse, the prompt disappears. There must be some handier way to do that? I switched to M-x search-forward-regex, and that does the job, but still why do we make it so difficult to copy/paste to the incremental regex search? From MAILER-DAEMON Sun Jan 22 23:36:42 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RpBe6-00084C-JV for mharc-help-gnu-emacs@gnu.org; Sun, 22 Jan 2012 23:36:42 -0500 Received: from eggs.gnu.org ([140.186.70.92]:54165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpBe3-00082H-UI for help-gnu-emacs@gnu.org; Sun, 22 Jan 2012 23:36:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpBe3-0004KJ-0n for help-gnu-emacs@gnu.org; Sun, 22 Jan 2012 23:36:39 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:36257) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpBe2-0004KF-O0 for help-gnu-emacs@gnu.org; Sun, 22 Jan 2012 23:36:38 -0500 Received: by bkbzx1 with SMTP id zx1so2230755bkb.0 for ; Sun, 22 Jan 2012 20:36:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=/YC2qxt39x3VOaAuE2CqJZ0UOnfdNPIpWcwm/x4aWPs=; b=YWhZzJ992vviRb6yJgFgyC2l6+HWNkozf4rwy9yq8MHzq6SyOj6/zcZAju8JbxjEBd OQAhtoOQD5UXkmI+Ps4CCpkHYlanvMK0bn5eM3lRmryU32zNqlBWwks0OezDtP8xITVh QzIheTUqDiuWnEAMEgAWVgvWgXnwKOYW9LIxc= Received: by 10.205.132.144 with SMTP id hu16mr2603922bkc.24.1327293397226; Sun, 22 Jan 2012 20:36:37 -0800 (PST) MIME-Version: 1.0 Sender: fatkasuvayu@gmail.com Received: by 10.204.68.198 with HTTP; Sun, 22 Jan 2012 20:36:16 -0800 (PST) In-Reply-To: <87aa5fbale.fsf@newsguy.com> References: <87aa5fbale.fsf@newsguy.com> From: suvayu ali Date: Mon, 23 Jan 2012 10:06:16 +0530 X-Google-Sender-Auth: 3lpOSOuZX65w_tQ1yfjvAJGi9aU Message-ID: Subject: Re: Too much pita to paste into incremental regex search To: Harry Putnam Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.214.41 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, 23 Jan 2012 04:36:40 -0000 On Mon, Jan 23, 2012 at 04:37, Harry Putnam wrote: > I don't use the incremental regex search much but did have need of it > today. =C2=A0And repeatedly. =C2=A0I found it difficult to impossible to > copy/paste to the prompt. As soon as you move the mouse, the prompt > disappears. > > There must be some handier way to do that? M-e --=20 Suvayu Open source is the future. It sets us free. From MAILER-DAEMON Mon Jan 23 00:58:54 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RpCve-0006Dk-Po for mharc-help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 00:58:54 -0500 Received: from eggs.gnu.org ([140.186.70.92]:42502) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpCvc-0006DW-GX for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 00:58:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpCva-0004C3-Vm for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 00:58:52 -0500 Received: from acsinet15.oracle.com ([141.146.126.227]:41807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpCva-0004Bz-Qx for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 00:58:50 -0500 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0N5wkjM026297 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 23 Jan 2012 05:58:46 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0N5wiYG021902 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 Jan 2012 05:58:45 GMT Received: from abhmt117.oracle.com (abhmt117.oracle.com [141.146.116.69]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0N5wio4021994; Sun, 22 Jan 2012 23:58:44 -0600 Received: from dradamslap1 (/10.159.39.8) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 22 Jan 2012 21:58:43 -0800 From: "Drew Adams" To: "'suvayu ali'" , "'Harry Putnam'" References: <87aa5fbale.fsf@newsguy.com> Subject: RE: Too much pita to paste into incremental regex search Date: Sun, 22 Jan 2012 21:58:34 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AczZiJ2d22XCM/RPRL+1wnIRSkWc6QACmjEA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-CT-RefId: str=0001.0A090204.4F1CF717.0041,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 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, 23 Jan 2012 05:58:53 -0000 > > difficult to impossible to copy/paste to the prompt. > > As soon as you move the mouse, the prompt disappears. > > > > There must be some handier way to do that? > > M-e That's good advice - #1. Here are some other answers that might also help: 2. Use `M-y' (`C-y' in Emacs 24) to yank the last kill into the search string. 3. Use Isearch+, which has option `isearchp-mouse-2-flag' (default = `t'): Non-nil means clicking `mouse-2' during Isearch yanks the selection. In that case, you can select text with the mouse, then hit `C-s' to search for it. If the value is nil, yank only if the `mouse-2' click is in the echo area. If not in the echo area, invoke whatever `mouse-2' is bound to outside of Isearch. 4. Isearch+ also lets you hit `C-M-y' to yank the secondary selection into the search string. From MAILER-DAEMON Mon Jan 23 01:23:03 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RpDJ1-0001KC-Co for mharc-help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 01:23:03 -0500 Received: from eggs.gnu.org ([140.186.70.92]:43888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpDIz-0001Ix-4R for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 01:23:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpDIx-0006XG-M8 for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 01:23:01 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:40892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpDIx-0006XC-Ij for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 01:22:59 -0500 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RpDIx-0007sM-GP for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 01:22:59 -0500 Date: Mon, 23 Jan 2012 01:22:59 -0500 Message-Id: From: Eli Zaretskii To: help-gnu-emacs@gnu.org In-reply-to: <87aa5fbale.fsf@newsguy.com> (message from Harry Putnam on Sun, 22 Jan 2012 18:07:09 -0500) Subject: Re: Too much pita to paste into incremental regex search References: <87aa5fbale.fsf@newsguy.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 23 Jan 2012 06:23:01 -0000 > From: Harry Putnam > Date: Sun, 22 Jan 2012 18:07:09 -0500 > > I don't use the incremental regex search much but did have need of it > today. And repeatedly. I found it difficult to impossible to > copy/paste to the prompt. As soon as you move the mouse, the prompt > disappears. It doesn't disappear for me, not in Emacs 24 anyway. I can click the mouse in the minibuffer, then type C-y to paste something I copied elsewhere. From MAILER-DAEMON Mon Jan 23 01:44:07 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RpDdP-0004L7-FL for mharc-help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 01:44:07 -0500 Received: from eggs.gnu.org ([140.186.70.92]:49259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpDdM-0004Kb-Dc for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 01:44:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpDdH-0000Ls-9j for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 01:44:04 -0500 Received: from rcsinet15.oracle.com ([148.87.113.117]:31856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpDdF-0000LY-J9; Mon, 23 Jan 2012 01:43:57 -0500 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0N6hsko021572 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 23 Jan 2012 06:43:56 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0N6hsWn029833 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 Jan 2012 06:43:54 GMT Received: from abhmt109.oracle.com (abhmt109.oracle.com [141.146.116.61]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0N6hsCr019656; Mon, 23 Jan 2012 00:43:54 -0600 Received: from dradamslap1 (/10.159.39.8) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sun, 22 Jan 2012 22:43:53 -0800 From: "Drew Adams" To: "'Eli Zaretskii'" , References: <87aa5fbale.fsf@newsguy.com> Subject: RE: Too much pita to paste into incremental regex search Date: Sun, 22 Jan 2012 22:43:43 -0800 Message-ID: <00A036F48B024034991C000247C729ED@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AczZl3j8abDWEsU/RqK5MGxnQnHBwQAAoY1g X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090208.4F1D01AC.002B,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.117 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 23 Jan 2012 06:44:05 -0000 > > I don't use the incremental regex search much but did have > > need of it today. And repeatedly. I found it difficult to > > impossible to copy/paste to the prompt. As soon as you move > > the mouse, the prompt disappears. > > It doesn't disappear for me, not in Emacs 24 anyway. I can click the > mouse in the minibuffer, then type C-y to paste something I copied > elsewhere. Not if you click in a minibuffer on a different frame (which includes the case of a standalone minibuffer). A `switch-frame' event causes Isearch to be cancelled. See Emacs bug #10037. From MAILER-DAEMON Mon Jan 23 01:59:45 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RpDsX-00061y-4p for mharc-help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 01:59:45 -0500 Received: from eggs.gnu.org ([140.186.70.92]:34843) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpDsT-0005z6-Qa for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 01:59:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpDsS-00022E-NG for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 01:59:41 -0500 Received: from fencepost.gnu.org ([140.186.70.10]:41517) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpDsS-00022A-J7 for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 01:59:40 -0500 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RpDsS-0004Ae-E0 for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 01:59:40 -0500 Date: Mon, 23 Jan 2012 01:59:40 -0500 Message-Id: From: Eli Zaretskii To: help-gnu-emacs@gnu.org In-reply-to: <00A036F48B024034991C000247C729ED@us.oracle.com> (drew.adams@oracle.com) Subject: Re: Too much pita to paste into incremental regex search References: <87aa5fbale.fsf@newsguy.com> <00A036F48B024034991C000247C729ED@us.oracle.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 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, 23 Jan 2012 06:59:42 -0000 > From: "Drew Adams" > Date: Sun, 22 Jan 2012 22:43:43 -0800 > > > > I don't use the incremental regex search much but did have > > > need of it today. And repeatedly. I found it difficult to > > > impossible to copy/paste to the prompt. As soon as you move > > > the mouse, the prompt disappears. > > > > It doesn't disappear for me, not in Emacs 24 anyway. I can click the > > mouse in the minibuffer, then type C-y to paste something I copied > > elsewhere. > > Not if you click in a minibuffer on a different frame (which includes the case > of a standalone minibuffer). The OP didn't say anything that would imply he was using such esoterica. From MAILER-DAEMON Mon Jan 23 05:51:20 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RpHUe-0000o3-B5 for mharc-help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 05:51:20 -0500 Received: from eggs.gnu.org ([140.186.70.92]:35613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpHUW-0000kh-CH for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 05:51:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpHUQ-0004hs-Dq for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 05:51:12 -0500 Received: from moutng.kundenserver.de ([212.227.17.10]:61405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpHUQ-0004hn-0l for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 05:51:06 -0500 Received: from [192.168.178.27] (brln-4db9c05c.pool.mediaWays.net [77.185.192.92]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0LrXNx-1SlT7i2GJZ-012w9b; Mon, 23 Jan 2012 11:51:04 +0100 Message-ID: <4F1D3B96.2050106@easy-emacs.de> Date: Mon, 23 Jan 2012 11:51:02 +0100 From: =?ISO-8859-1?Q?Andreas_R=F6hler?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.24) Gecko/20111101 SUSE/3.1.16 Thunderbird/3.1.16 MIME-Version: 1.0 To: help-gnu-emacs@gnu.org Subject: Re: change faces interactively References: <67E1B9EC96D94790BEA9EF4E01430D8F@us.oracle.com> <3859A6A238864D3D82B0DE219A88A724@us.oracle.com> In-Reply-To: <3859A6A238864D3D82B0DE219A88A724@us.oracle.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:JRvMDO3PmPmmXyoYQ7Tsn/lG8QKVOteWNjmCFSMtn04 IbgVPTd+ciJ/QMTzc1nLvxaHyqEGH11JsXJJ4qMhw/Iym66tYM NV0FzuO7sjy6Rmt4FkCgi/AM3TuLBzeZcy9lye6TIBC17QZGaU nk1hJ4Wc8z7ps+H2YINV7SdqM6jWxF356HGe5BlBc+YDxWyTIx oHEA1aCuZQA7+FNxBVrZpmUottYTgHL3gCwCSl50udm+paRrJK 2qhcrBxcVwydrtoFmAcfpqd0QZXVKcSHaW+bRhB6S3IIOLzizs 07vTBN46inaGlAiAsrnUkHdFcZO84GeyeABNKurL9vKZ8bncde Oa6JYK27YeujktA7QXWf49t56DyTUPqmquTQobkFu X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.17.10 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 23 Jan 2012 10:51:18 -0000 Am 21.01.2012 03:07, schrieb Drew Adams: >> Sorry for my poor explanation. >> What I want is an interactive function that turns on/off >> face changes by command. >> >> Say, a buffer is in "my-mode". The above >> (define-generic-mode ... ) will AUTOMATICALLY apply the face >> definitions to all characters as soon as the buffer is >> opened (assuming the mode definition recognizes its file extension). >> I would rather develop a function that applies the faces >> AT WILL even after the buffer is opened IN THAT MODE. >> For example, a buffer is in "my-mode" but none of the words >> in that buffer is applied with any faces. >> Now I will implement a function, (defun my-mode-face-1 () >> (interactive)...), then a certain set of words in that >> buffer is bold-faced. After that, I will implement another >> function, (defun my-mode-face-2 () (interactive) ...), then >> another set of the words in that buffer is italic-faced. And so on... >> >> If it does not make sense, please ask me again. I appreciate it. > > Sorry, I don't have much time right now - perhaps someone else can help. > > If you just want to highlight stuff then perhaps have a look here: > http://www.emacswiki.org/emacs/FaceMenuPlus > http://www.emacswiki.org/emacs/HighlightLibrary > > > here an example from python-mode.el which sets a `py-number-face' depending from a `boolean py-use-number-face-p' (when py-use-number-face-p (add-to-list 'python-font-lock-keywords '("\\([0-9]+\\([eE][+-]?[0-9]*\\)?\\|0[xX][0-9a-fA-F]+\\)" 1 py-number-face))) You can put such into a command, calling font-lock-fontify-buffer afterwards HTH, Andreas -- http://launchpad.net/python-mode http://launchpad.net/s-x-emacs-werkstatt/ From MAILER-DAEMON Mon Jan 23 09:45:06 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RpL8s-0003K8-Ku for mharc-help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 09:45:06 -0500 Received: from eggs.gnu.org ([140.186.70.92]:45574) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpL8m-0003HN-6p for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 09:45:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpL8g-00031V-9c for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 09:45:00 -0500 Received: from acsinet15.oracle.com ([141.146.126.227]:26252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpL8U-0002z6-41; Mon, 23 Jan 2012 09:44:42 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0NEidW3029241 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 23 Jan 2012 14:44:40 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0NEicAT028408 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 Jan 2012 14:44:39 GMT Received: from abhmt109.oracle.com (abhmt109.oracle.com [141.146.116.61]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0NEicEb029726; Mon, 23 Jan 2012 08:44:38 -0600 Received: from dradamslap1 (/10.159.39.8) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 23 Jan 2012 06:44:38 -0800 From: "Drew Adams" To: "'Eli Zaretskii'" , References: <87aa5fbale.fsf@newsguy.com> <00A036F48B024034991C000247C729ED@us.oracle.com> Subject: RE: Too much pita to paste into incremental regex search Date: Mon, 23 Jan 2012 06:44:27 -0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AczZnJhJnFSzqFI1RyG1C1TNlivrggAO6CTA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090204.4F1D7258.0114,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 23 Jan 2012 14:45:05 -0000 > > > > I don't use the incremental regex search much but did have > > > > need of it today. And repeatedly. I found it difficult to > > > > impossible to copy/paste to the prompt. As soon as you move > > > > the mouse, the prompt disappears. > > > > > > It doesn't disappear for me, not in Emacs 24 anyway. I > > > can click the mouse in the minibuffer, then type C-y to > > > paste something I copied elsewhere. > > > > Not if you click in a minibuffer on a different frame > > (which includes the case of a standalone minibuffer). > > A `switch-frame' event causes Isearch to be cancelled. > > See Emacs bug #10037. > > The OP didn't say anything that would imply he was using such > esoterica. Wow. Using more than one frame is "esoteric"? Is it also esoteric if you use `M-w' to copy text from a buffer in one frame and then use `M-y' (Emacs 24: `C-y') to yank it into Isearch in another frame? Or is it esoteric only if you use the mouse to do it? No, the OP did not say that he was using two frames, but I suggested it, as one possible explanation. And if I had to guess it would be that the OP did just that: search in a buffer in one frame, select text using the mouse from a buffer in another frame, then click mouse-2 to paste into the search string (in the first frame). That's the only explanation that I know of for the symptoms described. But perhaps there is another bug at work (besides #10037). From MAILER-DAEMON Mon Jan 23 12:01:54 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RpNHG-0004lT-S3 for mharc-help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 12:01:54 -0500 Received: from eggs.gnu.org ([140.186.70.92]:60634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpNHA-0004kv-BQ for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 12:01:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpNH5-0006HJ-4a for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 12:01:48 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]:58877) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpNH4-0006GH-Ub for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 12:01:43 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LY900C00GKVU800@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 19:01:32 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.18.29]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LY900C3CGMIBT50@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 19:01:31 +0200 (IST) Date: Mon, 23 Jan 2012 19:01:35 +0200 From: Eli Zaretskii Subject: Re: Too much pita to paste into incremental regex search In-reply-to: X-012-Sender: halo1@inter.net.il To: help-gnu-emacs@gnu.org Message-id: <83d3aa2w0g.fsf@gnu.org> References: <87aa5fbale.fsf@newsguy.com> <00A036F48B024034991C000247C729ED@us.oracle.com> X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.166 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 23 Jan 2012 17:01:52 -0000 > From: "Drew Adams" > Date: Mon, 23 Jan 2012 06:44:27 -0800 > > > > > > I don't use the incremental regex search much but did have > > > > > need of it today. And repeatedly. I found it difficult to > > > > > impossible to copy/paste to the prompt. As soon as you move > > > > > the mouse, the prompt disappears. > > > > > > > > It doesn't disappear for me, not in Emacs 24 anyway. I > > > > can click the mouse in the minibuffer, then type C-y to > > > > paste something I copied elsewhere. > > > > > > Not if you click in a minibuffer on a different frame > > > (which includes the case of a standalone minibuffer). > > > A `switch-frame' event causes Isearch to be cancelled. > > > See Emacs bug #10037. > > > > The OP didn't say anything that would imply he was using such > > esoterica. > > Wow. Using more than one frame is "esoteric"? No. But using minibuffer frames is. > Is it also esoteric if you use `M-w' to copy text from a buffer in one frame and > then use `M-y' (Emacs 24: `C-y') to yank it into Isearch in another frame? This works for me. From MAILER-DAEMON Mon Jan 23 13:04:13 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RpOFZ-0006YK-56 for mharc-help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 13:04:13 -0500 Received: from eggs.gnu.org ([140.186.70.92]:54054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpOFR-0006Xq-4b for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 13:04:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpOFP-0007XD-43 for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 13:04:05 -0500 Received: from fmmailgate01.web.de ([217.72.192.221]:51754) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpOFO-0007X1-S4 for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 13:04:03 -0500 Received: from moweb002.kundenserver.de (moweb002.kundenserver.de [172.19.20.108]) by fmmailgate01.web.de (Postfix) with ESMTP id DF0891A99A64C for ; Mon, 23 Jan 2012 19:04:01 +0100 (CET) Received: from snow ([89.204.139.183]) by smtp.web.de (mrweb002) with ESMTPA (Nemesis) id 0Lym5H-1SjgKk1QAh-015Oct; Mon, 23 Jan 2012 19:04:01 +0100 From: Michael Heerdegen To: ishi soichi Subject: Re: change faces interactively References: <67E1B9EC96D94790BEA9EF4E01430D8F@us.oracle.com> Date: Mon, 23 Jan 2012 19:05:22 +0100 In-Reply-To: (ishi soichi's message of "Sat, 21 Jan 2012 10:20:04 +0900") Message-ID: <87hazmxpjx.fsf@web.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V02:K0:f2IORfMNkxeTjw+PeLTILIsf6YvjJUtcL11nV3JH60U 3pTUgyFBZihXJHxDHj+ZMdyqOIfD4v2tOAg4iAanl1cX+fbFKW Ke0M9Hj7hXp6vac/CfqriUNZwAxE5MEFtDFhU4Nk2BHbfT8Lq5 2Rbh6GZC5ym7y3hd5742wMOVJsHVp0mA9CYnguZOpNUUqAvkb/ ZuSkxipT8wSSA5+l3eEH83F1CLP3J24OvBSWZPR1wU= Sender: Michael_Heerdegen@web.de X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 217.72.192.221 Cc: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: help-gnu-emacs@gnu.org, michael_heerdegen@web.de 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, 23 Jan 2012 18:04:10 -0000 Hello, if you want a low-level solution, you can use `highlight-regexp' from "hi-lock.el", which is part of vanilla Emacs. If you want the highlighting to be performed automatically when you visit the file, you can use `eval' in the file local variable declarations. Simple example (just create a file with this content to try): --8<---------------cut here---------------start------------->8--- I use Emacs, because Emacs is really cool! Local Variables: eval: (highlight-regexp "Emacs" "bold") End: --8<---------------cut here---------------end--------------->8--- There are different solutions, depending on what you want to do specifically. If you want syntactical highlighting, it's better to use font-lock, like in the example from Andreas. Regards, Michael. From MAILER-DAEMON Mon Jan 23 13:06:52 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RpOI8-00083D-HH for mharc-help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 13:06:52 -0500 Received: from eggs.gnu.org ([140.186.70.92]:59178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpOI1-0007ya-Sw for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 13:06:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpOHt-00089J-VV for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 13:06:45 -0500 Received: from acsinet15.oracle.com ([141.146.126.227]:42892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpOHs-00087m-4S; Mon, 23 Jan 2012 13:06:36 -0500 Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0NI6U1Q029628 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 23 Jan 2012 18:06:31 GMT Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0NI6TD1014037 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 Jan 2012 18:06:30 GMT Received: from abhmt106.oracle.com (abhmt106.oracle.com [141.146.116.58]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0NI6Ti7001846; Mon, 23 Jan 2012 12:06:29 -0600 Received: from dradamslap1 (/10.159.39.8) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 23 Jan 2012 10:06:29 -0800 From: "Drew Adams" To: "'Eli Zaretskii'" , References: <87aa5fbale.fsf@newsguy.com> <00A036F48B024034991C000247C729ED@us.oracle.com> <83d3aa2w0g.fsf@gnu.org> Subject: RE: Too much pita to paste into incremental regex search Date: Mon, 23 Jan 2012 10:06:18 -0800 Message-ID: <1B1E4ADD071E46D99AD9DBCBC009C16D@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <83d3aa2w0g.fsf@gnu.org> Thread-Index: AczZ8LgKA4JxhxYURD63iuzNbEpyEAABXedw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090209.4F1DA1A8.007A,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 23 Jan 2012 18:06:50 -0000 > > > > > It doesn't disappear for me, not in Emacs 24 anyway. I > > > > > can click the mouse in the minibuffer, then type C-y to > > > > > paste something I copied elsewhere. > > > > > > > > Not if you click in a minibuffer on a different frame > > > > (which includes the case of a standalone minibuffer). > > > > A `switch-frame' event causes Isearch to be cancelled. > > > > See Emacs bug #10037. > > > > > > The OP didn't say anything that would imply he was using such > > > esoterica. > > > > Wow. Using more than one frame is "esoteric"? > > No. But using minibuffer frames is. Next you'll be claiming that minibuffer frames are unsupported... or obsolete... or abnormal... or deviant... Thanks for the attempted marginalization, but no thanks. In any case, what part of "minibuffer on a different frame" and "which includes" implies that this is limited to standalone minibuffer frames? I was pretty clear that it is not. The problem is that when you move the mouse from any frame to any other frame an automatic `switch-frame' event cancels Isearch. That means that using the mouse to paste into the search field is currently limited to mouse movements within the same frame. It is only mouse selection/pasting that has this problem. But I'm glad to hear that you at least do not consider inter-frame mouse movements, in general, to be esoteric. Maybe some day your tolerance will extend to minibuffer-only frames as well, but that's not necessary here. Fixing the bug for the general case will anyway take care of any such "esoteric" case at the same time. > > Is it also esoteric if you use `M-w' to copy text from a buffer > > in one frame and then use `M-y' (Emacs 24: `C-y') to yank it > > into Isearch in another frame? > > This works for me. Of course it does; that's the point (and why I suggested that to the OP as an alternative). It is only the mouse behavior that does not work - for you or anyone else. And it makes no difference whether the frame change involves a standalone minibuffer frame. Using a mouse across frames is not in any way "esoteric" - it just doesn't work at the moment for Isearch. From MAILER-DAEMON Mon Jan 23 15:40:13 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RpQgX-0006vw-VH for mharc-help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 15:40:13 -0500 Received: from eggs.gnu.org ([140.186.70.92]:40615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpQgU-0006vg-SQ for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 15:40:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpQgT-0004Sv-N8 for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 15:40:10 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:53775) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpQgT-0004ST-FL for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 15:40:09 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LY900M00QNDT800@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 22:40:07 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.18.29]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LY900MJDQQUSK10@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Mon, 23 Jan 2012 22:40:07 +0200 (IST) Date: Mon, 23 Jan 2012 22:40:11 +0200 From: Eli Zaretskii Subject: Re: Too much pita to paste into incremental regex search In-reply-to: <1B1E4ADD071E46D99AD9DBCBC009C16D@us.oracle.com> X-012-Sender: halo1@inter.net.il To: help-gnu-emacs@gnu.org Message-id: <8362g22lw4.fsf@gnu.org> References: <87aa5fbale.fsf@newsguy.com> <00A036F48B024034991C000247C729ED@us.oracle.com> <83d3aa2w0g.fsf@gnu.org> <1B1E4ADD071E46D99AD9DBCBC009C16D@us.oracle.com> X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.175 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 23 Jan 2012 20:40:11 -0000 > From: "Drew Adams" > Date: Mon, 23 Jan 2012 10:06:18 -0800 > > > > Wow. Using more than one frame is "esoteric"? > > > > No. But using minibuffer frames is. > > Next you'll be claiming that minibuffer frames are unsupported... or obsolete... > or abnormal... or deviant... No, I won't. And when I'd like you to speak for me, I'll let you know in advance. > > > Is it also esoteric if you use `M-w' to copy text from a buffer > > > in one frame and then use `M-y' (Emacs 24: `C-y') to yank it > > > into Isearch in another frame? > > > > This works for me. > > Of course it does; that's the point (and why I suggested that to the OP as an > alternative). It is only the mouse behavior that does not work - for you or > anyone else. The mouse also works for me. From MAILER-DAEMON Wed Jan 25 01:44:09 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RpwaW-0004Q6-W4 for mharc-help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 01:44:08 -0500 Received: from eggs.gnu.org ([140.186.70.92]:46221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpwaR-0004Pm-4T for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 01:44:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpwaP-0005fR-Ud for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 01:44:03 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:52324) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpwaP-0005fM-OS for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 01:44:01 -0500 Received: by iadk27 with SMTP id k27so2514365iad.0 for ; Tue, 24 Jan 2012 22:44:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=iS4bkEqhJp7QAlvclXYUcR2Y06TOFIlCqkMqthkrwLM=; b=XWqrtmz8yR4G6y+7bIXIRNA6YUzg3bc0xNv/2EjjvQXiCoBHvMxhuOF6DAiHz0Fuc7 N6GTFUSmyo6k5N2Os1Ga57XQ/lzj2Kqvj/ifNp/9NHhofUXTOH9AnNmCKadn370P63u5 OYD3Ean9VqETAUaPyqmhsYbInSvc+wa3ytJtE= MIME-Version: 1.0 Received: by 10.50.195.135 with SMTP id ie7mr17649755igc.6.1327473840533; Tue, 24 Jan 2012 22:44:00 -0800 (PST) Received: by 10.42.149.134 with HTTP; Tue, 24 Jan 2012 22:44:00 -0800 (PST) In-Reply-To: <87hazmxpjx.fsf@web.de> References: <67E1B9EC96D94790BEA9EF4E01430D8F@us.oracle.com> <87hazmxpjx.fsf@web.de> Date: Wed, 25 Jan 2012 15:44:00 +0900 Message-ID: Subject: Re: change faces interactively From: ishi soichi To: help-gnu-emacs@gnu.org, michael_heerdegen@web.de Content-Type: multipart/alternative; boundary=14dae9340fcbb6b12a04b7549646 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 25 Jan 2012 06:44:07 -0000 --14dae9340fcbb6b12a04b7549646 Content-Type: text/plain; charset=ISO-8859-1 Thanks for the info! It will help. soichi 2012/1/24 Michael Heerdegen > Hello, > > if you want a low-level solution, you can use `highlight-regexp' from > "hi-lock.el", which is part of vanilla Emacs. > > If you want the highlighting to be performed automatically when you > visit the file, you can use `eval' in the file local variable > declarations. Simple example (just create a file with this content to > try): > > --8<---------------cut here---------------start------------->8--- > I use Emacs, because Emacs is really cool! > > Local Variables: > eval: (highlight-regexp "Emacs" "bold") > End: > --8<---------------cut here---------------end--------------->8--- > > There are different solutions, depending on what you want to do > specifically. If you want syntactical highlighting, it's better to use > font-lock, like in the example from Andreas. > > > Regards, > > Michael. > --14dae9340fcbb6b12a04b7549646 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for the info!
It will help.

soichi
<= br>
--14dae9340fcbb6b12a04b7549646-- From MAILER-DAEMON Wed Jan 25 01:44:54 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RpwbG-0004m9-4q for mharc-help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 01:44:54 -0500 Received: from eggs.gnu.org ([140.186.70.92]:45110) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpwbC-0004ly-KA for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 01:44:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rpwb7-0005jn-IW for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 01:44:50 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:57608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rpwb7-0005jb-80 for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 01:44:45 -0500 Received: by iadk27 with SMTP id k27so2515182iad.0 for ; Tue, 24 Jan 2012 22:44:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=pIKRMGO006njHpozWWuJvQWSCsWTfLtWyr3PnAQ0crc=; b=KvB1bIjdASCXeGT0Sx95ju4l0lOocPYyTTYUPxjtJhSOsFH8LtmNoZh3WY3i5yUSkU sgtDKIpRFsfxo5UELrmjZuBU1rT3QleKVbdS6nc/uE5Hd7tM8cCnrJ/9fZVHVB2thfVa RGZLztkAbZJF3xqKGKGQKRFKf2fHYDlcdO7kM= MIME-Version: 1.0 Received: by 10.42.135.138 with SMTP id p10mr13725395ict.25.1327473882996; Tue, 24 Jan 2012 22:44:42 -0800 (PST) Received: by 10.42.149.134 with HTTP; Tue, 24 Jan 2012 22:44:42 -0800 (PST) In-Reply-To: References: <87hb0oi049.fsf@ambire.localdomain> <87d3bchz76.fsf@ambire.localdomain> Date: Wed, 25 Jan 2012 15:44:42 +0900 Message-ID: Subject: Re: local database types for personal use From: ishi soichi To: "Alan E. Davis" Content-Type: multipart/alternative; boundary=90e6ba21223b3e9fd604b7549925 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.169 Cc: help-gnu-emacs@gnu.org, Thien-Thi Nguyen , Soichi Ishida X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 25 Jan 2012 06:44:53 -0000 --90e6ba21223b3e9fd604b7549925 Content-Type: text/plain; charset=ISO-8859-1 Thanks for the info! I will check it out. soichi 2012/1/23 Alan E. Davis > Did you find a format amenable to your needs? > > I had intended to send this short example of band format some months > ago. Ban format is perfect for what you are doing. You can write simple > utility routines to search or sort the database. > > Two entries in band format follow. A record does not need to occupy on > line. "..hw" always begins a new record: > > ..hw lun kaeja .gs .ge Jellyfish (secondary etc names describe the > specific type) .ec Jellyfish .cg cnidaria .la Mokil .src .n Father of > a student .dt [2010-08-27 Fri] > > ..hw lagong .gs .ge Big, green fly .ec .cg Insect .la Cebuano .src > FSD .n came up as an exception to the general name for fly. .dt > [2010-06-11 Fri] > > .. begins a record > ..hw headword tag > .gs Scientific Name > .ge English gloss > .ec English common name > .cg catagory > .la language > ..src Source > .dt date > > I wrote some little macros / routines that converted a record into a > typeset dictionary in LaTeX. A frontend, as it were. Each tag is typeset > in a distinct font. Robert Hsu who was at the University of Hawaii > linguistics department in the 90s, wrote a spitbol/snobol4 package for > manipulating data in band format, used in producing several dictionaries of > several pacific languages. Others have developed band formats distinct > from this one. > > Alan > > > On Mon, Dec 26, 2011 at 11:08 AM, Alan E. Davis wrote: > >> Band format is a free-form format used in linguistics for lexical data. >> >> The following is from a google search. >> >> >> http://billposer.org/Linguistics/Computation/LectureNotes/ParsingLexica.html >> >> I have used my own version of this format for a lexicon. If you wish, I >> can spend more time explaining how ti did it. >> >> Basically, each "field" is marked by a dot and one or more letters. Two >> dots mark the beginning of a record. >> >> ..hw means "headword" (use anything you want) >> .d could mean date >> .ge could mean "english gloss" >> .gd could mean "dutch gloss" >> .p could mean part of speech. >> >> Two spaces preceed each .X >> >> New categories can be made up on the fly. >> >> Alan Davis >> >> >> On Sun, Dec 25, 2011 at 5:57 PM, Thien-Thi Nguyen wrote: >> >>> () Soichi Ishida >>> () Mon, 26 Dec 2011 10:47:58 +0900 >>> >>> I have totally forgotten EBD :) >>> >>> What if I have more than one table? >>> >>> Then your forgetfulness is ideal. >>> >>> >> > --90e6ba21223b3e9fd604b7549925 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks for the info!
I will check it out.

soic= hi

2012/1/23 Alan E. Davis <lngndvs@gmail.com>
Did you find a format amenable to your needs= ?=A0=A0

I had intended to send this short example of band format so= me months ago.=A0=A0=A0 Ban format is perfect for what you are doing.=A0 Yo= u can write simple utility routines to search or sort the database.=A0

Two entries in=A0 band format follow.=A0 A record does not need to occu= py on line.=A0 "..hw" always begins a new record:

..hw lun= kaeja=A0 .gs=A0=A0 .ge Jellyfish (secondary etc names describe the specifi= c type)=A0 .ec Jellyfish=A0 .cg cnidaria=A0 .la Mokil=A0 .src=A0 .n Father = of a student=A0=A0 .dt [2010-08-27 Fri]

..hw lagong=A0 .gs=A0=A0 .ge Big, green fly=A0 .ec=A0=A0 .cg Insect=A0 = .la Cebuano=A0 .src FSD .n came up as an exception to the general name for = fly.=A0=A0 .dt [2010-06-11 Fri]

.. begins a record
..hw=A0 headword tag
.gs=A0 Scientific Name .ge=A0 English gloss
.ec=A0 English common name
.cg=A0 catagory .la=A0 language
..src=A0 Source
.dt=A0 date

I wrote some lit= tle macros / routines that converted a record into a typeset dictionary in = LaTeX.=A0 A frontend, as it were.=A0 Each tag is typeset in a distinct font= .=A0 Robert Hsu who was at the University of Hawaii linguistics department = in the 90s, wrote a spitbol/snobol4 package for manipulating data in band f= ormat, used in producing several dictionaries of several pacific languages.= =A0 Others have developed band formats distinct from this one.=A0

Alan


On Mon, Dec 26, 2011 at 11:08 AM, Alan E= . Davis <lngndvs@gmail.com> wrote:
Band format is a free-form format used in linguistics for lexical data.=A0= =A0

The following is=A0 from a google search.

http://billposer.org/Linguistics/Computation/LectureNotes= /ParsingLexica.html

I have used my own version of this format for a lexicon.=A0 If you wish= , I can spend more time explaining how ti did it.

Basically, each &q= uot;field" is marked by a dot and one or more letters.=A0 Two dots mar= k the beginning of a record.

..hw=A0 means "headword"=A0 (use anything you want)
.d=A0= =A0=A0 could mean date
.ge=A0 could mean "english gloss"
.g= d=A0 could mean "dutch gloss"
.p=A0=A0=A0 could mean part of s= peech.

Two spaces preceed each .X=A0

New categories can be made up on the fly.=

Alan Davis


On Sun, Dec 25, 2011 at 5:57 PM, Thien-Thi Nguyen <<= a href=3D"mailto:ttn@gnuvola.org" target=3D"_blank">ttn@gnuvola.org>= wrote:
() Soichi Ishida <soujiro0725@gmail.com>
() Mon, 26 Dec 2011 10:47:58 +0900

=A0 I have totally forgotten EBD :)

=A0 What if I have more than one table?

Then your forgetfulness is ideal.




--90e6ba21223b3e9fd604b7549925-- From MAILER-DAEMON Wed Jan 25 05:17:57 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RpzvR-0002hw-Gw for mharc-help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 05:17:57 -0500 Received: from eggs.gnu.org ([140.186.70.92]:44105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpzvN-0002hn-Qd for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 05:17:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpzvH-0007aZ-96 for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 05:17:53 -0500 Received: from lo.gmane.org ([80.91.229.12]:42241) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpzvH-0007aO-3i for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 05:17:47 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RpzvA-0002cc-Db for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 11:17:44 +0100 Received: from 94-21-76-206.pool.digikabel.hu ([94.21.76.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jan 2012 11:17:40 +0100 Received: from adatgyujto by 94-21-76-206.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jan 2012 11:17:40 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Tom Subject: Numbered regexps throw invalid regex error Date: Wed, 25 Jan 2012 10:17:26 +0000 (UTC) Lines: 19 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 94.21.76.206 (Opera/9.80 (Windows NT 6.1; U; en) Presto/2.10.229 Version/11.61) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 25 Jan 2012 10:17:55 -0000 According to the docs: This construct allows you to force a particular group number. There is no particular restriction on the numbering, but when I try this: (looking-at "\\(a\\(?1:b\\)\\)") then it throws an error. I know it's possibly a collision with the containing group's number and I can overcome it by using a larger number, but the doc says I can use it to force a group number, so why does it throw an error then? Is it a bug? I tried it with GNU Emacs 23.2.1 From MAILER-DAEMON Wed Jan 25 12:20:34 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rq6WQ-0001Jn-27 for mharc-help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:20:34 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58629) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq6WH-00015g-9o for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:20:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq6W9-0000nX-SL for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:20:25 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:47397) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq6W9-0000mc-O0 for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:20:17 -0500 Received: by wera13 with SMTP id a13so3009913wer.0 for ; Wed, 25 Jan 2012 09:20:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=29SrRi72BK5o8ONKKb4y6voaR0b1PZuuUGoNrbWlCgw=; b=s4emiGydN23Fqs77rxliORsaXNNKcYGA31RyRlo/0lx7Fila6NKzAZX+3Fj6eoBAZK M3kDsYnwPA2E9hNGfoEBXR1uRubkbKgHc6UM1kbqQwo+qHv3fYVq+lOj7GtrCtHH+/fw BtORDiTf+Tvsk0pAhIPfGFZJ2PyBxORS3hiRE= MIME-Version: 1.0 Received: by 10.180.82.5 with SMTP id e5mr12491286wiy.18.1327512016491; Wed, 25 Jan 2012 09:20:16 -0800 (PST) Received: by 10.180.97.229 with HTTP; Wed, 25 Jan 2012 09:20:16 -0800 (PST) Date: Wed, 25 Jan 2012 12:20:16 -0500 Message-ID: Subject: copy and paste multiple times From: Rajanikanth Jammalamadaka To: help-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=f46d044304142d932804b75d7a7a X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 25 Jan 2012 17:20:30 -0000 --f46d044304142d932804b75d7a7a Content-Type: text/plain; charset=ISO-8859-1 This has been discussed below: http://stackoverflow.com/questions/71985/emacs-equivalent-of-vims-yy10p Is there no built-in (short :-)) command in emacs to copy and paste a region multiple times? Thanks, Raj --f46d044304142d932804b75d7a7a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
This has been discussed below:
http://stackoverflow.com/= questions/71985/emacs-equivalent-of-vims-yy10p=A0

Is there no built-in (short :-)) command in emacs to copy and pa= ste a region multiple times?

Thanks,
Raj=


--f46d044304142d932804b75d7a7a-- From MAILER-DAEMON Wed Jan 25 12:21:49 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rq6Xd-0002H6-EZ for mharc-help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:21:49 -0500 Received: from eggs.gnu.org ([140.186.70.92]:59079) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq6XW-0002Fb-M3 for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:21:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq6XQ-000189-Vm for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:21:42 -0500 Received: from moutng.kundenserver.de ([212.227.126.171]:52625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq6XQ-00017z-EI for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:21:36 -0500 Received: from [192.168.178.27] (brln-4db9e8a7.pool.mediaWays.net [77.185.232.167]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0LkDV8-1SSBB11db0-00cIV7; Wed, 25 Jan 2012 18:21:34 +0100 Message-ID: <4F203A13.20105@easy-emacs.de> Date: Wed, 25 Jan 2012 18:21:23 +0100 From: =?ISO-8859-1?Q?Andreas_R=F6hler?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.24) Gecko/20111101 SUSE/3.1.16 Thunderbird/3.1.16 MIME-Version: 1.0 To: "help-gnu-emacs@gnu.org List" Subject: Re: Numbered regexps throw invalid regex error References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:3tV6qHDAUxy0dq2QPQ4WH/7rngF+g2YcTM+cqgEuvSi c5v26pwdUSsCxzaKBEwEZOFdJCGXbGpQIzVKiBLMiSeU6uuti6 t3+jJVHJADx4pQxHfXx+NkCrwA7ZicBLvoZ1bmCifUib3KOf3N eot+lTD0lsmEYCE765jt1HlICE1y6YYbBcft19N1gfdFhE3YGW WIftQQ0AO7DN3ilj36L7M/lPGDw1q5BukCwNcZenzi2oJMLmFy OwI2bV+Al70yPNtta3qpoTDsfYyLMOOuZ+ClVYTHzSEXgNmqZv O/DAiNJSR/9d37v5Sr+vtPAGf6j7ZxUsshE9FONAQkLrUbpOIa FJcLpg2PeW9eRBtvc2ZDP+v4BvUlAr8uDpXRqbhac X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.126.171 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 25 Jan 2012 17:21:48 -0000 Am 25.01.2012 11:17, schrieb Tom: > (looking-at "\\(a\\(?1:b\\)\\)") > AFAIU there are serveral errors, think you can't refer to first match inside itself here is a working example matching "aba" (looking-at "\\(a\\)\\(b\\)\\(\\1\\)")aba From MAILER-DAEMON Wed Jan 25 12:29:42 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rq6fG-0007bB-Mz for mharc-help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:29:42 -0500 Received: from eggs.gnu.org ([140.186.70.92]:48609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq6ev-0006xF-T3 for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:29:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq6en-0002N0-P4 for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:29:21 -0500 Received: from moutng.kundenserver.de ([212.227.17.8]:59909) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq6en-0002MW-Ee for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:29:13 -0500 Received: from [192.168.178.27] (brln-4db9e8a7.pool.mediaWays.net [77.185.232.167]) by mrelayeu.kundenserver.de (node=mreu3) with ESMTP (Nemesis) id 0LpDlp-1SVCZY3A6H-00f7Gk; Wed, 25 Jan 2012 18:29:06 +0100 Message-ID: <4F203BD7.9070603@easy-emacs.de> Date: Wed, 25 Jan 2012 18:28:55 +0100 From: =?ISO-8859-1?Q?Andreas_R=F6hler?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.24) Gecko/20111101 SUSE/3.1.16 Thunderbird/3.1.16 MIME-Version: 1.0 To: help-gnu-emacs@gnu.org Subject: Re: copy and paste multiple times References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:+/ymwIT3Z80+j8ez4q471M0Bo6psPU75Ho4oqPrmTPo sNHSKr/OW+znbRzc1T3UHL6/ymclpC3dAmMxqj0w9TAWJSdtmF 7wLRMSa91UyuEka5Vsz/M4KhmdUS93hrke/qHajjP6KLOQ2quo sf0FSchLsL3Xi2yJ8Fao16KK5BeRQA2hFRmNRVWH9G/uJT/a/0 f4O/vLzZapmOnQMce25DWVsxygjhoAWBujJ/g0+EzphtXZ2DVM 94uZ14LsxRq4z5SRUa0iKnf/c+/eEI/idPVhlOObZyOdmbQ1on AEKusS77kgVnWyDB81yQ6ZGz62kwKgSmVpiEk8xRKghmDeMylx YLPBCNAc1Q+BpO02418y/gBqj2p4MzXLyp2k2WMnp X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.17.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, 25 Jan 2012 17:29:40 -0000 Am 25.01.2012 18:20, schrieb Rajanikanth Jammalamadaka: > This has been discussed below: > http://stackoverflow.com/questions/71985/emacs-equivalent-of-vims-yy10p > > Is there no built-in (short :-)) command in emacs to copy and paste a > region multiple times? > > Thanks, > Raj > AFAIK not. But is was discussed at this list and several proposals made. Here is mine: (defun yank-repeat (arg) "With numerical ARG, repeat last yank ARG times. " (interactive "p*") (dotimes (i arg) (insert (car kill-ring)))) Andreas -- http://launchpad.net/python-mode http://launchpad.net/s-x-emacs-werkstatt/ From MAILER-DAEMON Wed Jan 25 12:35:23 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rq6kl-0001L7-Q1 for mharc-help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:35:23 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq6ke-0001Kb-Qy for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:35:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq6kd-0003Mz-BX for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:35:16 -0500 Received: from mta-out.inet.fi ([195.156.147.13]:53404 helo=kirsi1.inet.fi) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq6kd-0003L5-0N for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:35:15 -0500 Received: from mithlond.arda (84.251.132.215) by kirsi1.inet.fi (8.5.140.02) id 4EB3D1E8040EDA5C; Wed, 25 Jan 2012 19:35:06 +0200 Received: from dtw by mithlond.arda with local (Exim 4.72) (envelope-from ) id 1Rq6kS-0000uV-OY; Wed, 25 Jan 2012 19:35:04 +0200 From: Teemu Likonen To: Rajanikanth Jammalamadaka Subject: Re: copy and paste multiple times In-Reply-To: (Rajanikanth Jammalamadaka's message of "Wed, 25 Jan 2012 12:20:16 -0500") References: Date: Wed, 25 Jan 2012 19:35:04 +0200 Message-ID: <87zkdbu1mf.fsf@mithlond.arda> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 195.156.147.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: Wed, 25 Jan 2012 17:35:22 -0000 * 2012-01-25T12:20:16-05:00 * Rajanikanth Jammalamadaka wrote: > This has been discussed below: > http://stackoverflow.com/questions/71985/emacs-equivalent-of-vims-yy10p > > Is there no built-in (short :-)) command in emacs to copy and paste a > region multiple times? The Stack Overflow question is about copying *lines*, not *a region* as you put it. Which one do you mean? Anyway, there is no as quick command as Vi's "yy10p". Possible solutions: 1. Write a desired command yourself. 2. Switch to viper-mode for a moment. 3. Delete line with C-k C-k and then yank it several times with C-y. My opinion is that yank command's numeric prefix argument should repeat the yank. But Emacs is customizable and programmable, so I just do it: (global-set-key (kbd "C-y") (lambda (n) (interactive "p") (dotimes (i (abs n)) (yank)))) From MAILER-DAEMON Wed Jan 25 12:38:07 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rq6nP-00030P-Df for mharc-help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:38:07 -0500 Received: from eggs.gnu.org ([140.186.70.92]:52244) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq6nI-0002zr-2m for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:38:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq6nD-0003l7-5w for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:37:59 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:34659) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq6nD-0003kl-0u for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:37:55 -0500 Received: by wibhj13 with SMTP id hj13so915507wib.0 for ; Wed, 25 Jan 2012 09:37:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=8MBmOapPBZ/yIikj1vSPLpkt5vu3L87UQKizY3TlFds=; b=AoVRVPX/9cJX+kiTv8+WJo7ea7geStx6ddkvUzUO6ES6VIVbd/EH+GVAzCkIBdL6EQ DWbj0d9MOFdsMYyZDY1KRg5wRbJjs3qOcAU06bK5iZndMOePUz1g/PgETPfc8qc2sd70 unSrjdRysnj62Dk5Go/wKvpUh5mBHrQ39iC8E= MIME-Version: 1.0 Received: by 10.180.92.101 with SMTP id cl5mr29577476wib.21.1327513072687; Wed, 25 Jan 2012 09:37:52 -0800 (PST) Received: by 10.180.97.229 with HTTP; Wed, 25 Jan 2012 09:37:52 -0800 (PST) In-Reply-To: <87zkdbu1mf.fsf@mithlond.arda> References: <87zkdbu1mf.fsf@mithlond.arda> Date: Wed, 25 Jan 2012 12:37:52 -0500 Message-ID: Subject: Re: copy and paste multiple times From: Rajanikanth Jammalamadaka To: Teemu Likonen Content-Type: multipart/alternative; boundary=f46d043c7bf621dc0404b75db999 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.212.169 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, 25 Jan 2012 17:38:05 -0000 --f46d043c7bf621dc0404b75db999 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Jan 25, 2012 at 12:35 PM, Teemu Likonen wrote: > * 2012-01-25T12:20:16-05:00 * Rajanikanth Jammalamadaka wrote: > > > This has been discussed below: > > http://stackoverflow.com/questions/71985/emacs-equivalent-of-vims-yy10p > > > > Is there no built-in (short :-)) command in emacs to copy and paste a > > region multiple times? > > The Stack Overflow question is about copying *lines*, not *a region* as > you put it. Which one do you mean? Anyway, there is no as quick command > as Vi's "yy10p". > > Possible solutions: > > 1. Write a desired command yourself. > 2. Switch to viper-mode for a moment. > 3. Delete line with C-k C-k and then yank it several times with C-y. > > My opinion is that yank command's numeric prefix argument should repeat > the yank. But Emacs is customizable and programmable, so I just do it: > > (global-set-key (kbd "C-y") (lambda (n) > (interactive "p") > (dotimes (i (abs n)) (yank)))) > Thanks for the replies and short functions. I meant copy and paste a region multiple times. Raj --f46d043c7bf621dc0404b75db999 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Wed, Jan 25, 2012 at 12:35 PM, Teemu = Likonen <tlikonen@i= ki.fi> wrote:
* 2012-01-25T12:20:16-05:00 * Rajan= ikanth Jammalamadaka wrote:

> This has been discussed below:
> http://stackoverflow.com/questions/71985/em= acs-equivalent-of-vims-yy10p
>
> Is there no built-in (short :-)) command in emacs to copy and paste a<= br> > region multiple times?

The Stack Overflow question is about copying *lines*, not *a re= gion* as
you put it. Which one do you mean? Anyway, there is no as quick command
as Vi's "yy10p".

Possible solutions:

=A01. Write a desired command yourself.
=A02. Switch to viper-mode for a moment.
=A03. Delete line with C-k C-k and then yank it several times with C-y.

My opinion is that yank command's numeric prefix argument should repeat=
the yank. But Emacs is customizable and programmable, so I just do it:

=A0 =A0(global-set-key (kbd "C-y") (lambda (n)
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(intera= ctive "p")
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(dotime= s (i (abs n)) (yank))))

Thanks for the replies and short functions. I meant = copy and paste a region multiple times.

Raj --f46d043c7bf621dc0404b75db999-- From MAILER-DAEMON Wed Jan 25 12:52:05 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rq70v-00085g-3R for mharc-help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:52:05 -0500 Received: from eggs.gnu.org ([140.186.70.92]:41513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq70p-00083t-NQ for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:52:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq70o-00060l-Fo for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:51:59 -0500 Received: from lo.gmane.org ([80.91.229.12]:35613) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq70o-00060Z-9s for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:51:58 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rq70m-00013E-6E for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 18:51:56 +0100 Received: from 94-21-240-178.pool.digikabel.hu ([94.21.240.178]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jan 2012 18:51:56 +0100 Received: from adatgyujto by 94-21-240-178.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jan 2012 18:51:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Tom Subject: Re: Numbered regexps throw invalid regex error Date: Wed, 25 Jan 2012 17:51:43 +0000 (UTC) Lines: 26 Message-ID: References: <4F203A13.20105@easy-emacs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 94.21.240.178 (Opera/9.80 (Windows NT 6.1; U; en) Presto/2.10.229 Version/11.61) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 25 Jan 2012 17:52:03 -0000 Andreas Röhler easy-emacs.de> writes: > > Am 25.01.2012 11:17, schrieb Tom: > > (looking-at "\\(a\\(?1:b\\)\\)") > > > AFAIU there are serveral errors, > > think you can't refer to first match inside itself > You misunderstand the feature. It's not a backreference. It's an explicit numbering of the group, so it doesn't change if you add more parens: `\(?NUM: ... \)' is the "explicitly numbered group" construct. Normal groups get their number implicitly, based on their position, which can be inconvenient. This construct allows you to force a particular group number. There is no particular restriction on the numbering, e.g. you can have several groups with the same number in which case the last one to match (i.e. the rightmost match) will win. Implicitly numbered groups always get the smallest integer larger than the one of any previous group. From MAILER-DAEMON Wed Jan 25 12:52:35 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rq71P-0000ds-C2 for mharc-help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:52:35 -0500 Received: from eggs.gnu.org ([140.186.70.92]:41701) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq71N-0000d8-8K for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:52:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq71H-00066b-Fe for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:52:33 -0500 Received: from rcsinet15.oracle.com ([148.87.113.117]:63204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq71H-00066W-5L for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 12:52:27 -0500 Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0PHqOGw017621 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 25 Jan 2012 17:52:25 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0PHqNI9021174 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 25 Jan 2012 17:52:23 GMT Received: from abhmt108.oracle.com (abhmt108.oracle.com [141.146.116.60]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0PHqN7n012086; Wed, 25 Jan 2012 11:52:23 -0600 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 25 Jan 2012 09:52:23 -0800 From: "Drew Adams" To: "'Rajanikanth Jammalamadaka'" , References: Subject: RE: copy and paste multiple times Date: Wed, 25 Jan 2012 09:52:22 -0800 Message-ID: <19A507DB2AFF4C8884F1E2221811616E@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: AczbhafYQNZ+2bOuQhO1zXjCcybIEQAA703Q X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090207.4F204159.0038,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 148.87.113.117 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 25 Jan 2012 17:52:34 -0000 > Is there no built-in (short :-)) command in emacs to copy > and paste a region multiple times? Others have given you one trivial solution: write a simple command to do it. Another is to use a keyboard macro: C-x ( C-y C-x ) then C-u 200 C-x e From MAILER-DAEMON Wed Jan 25 13:00:52 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rq79Q-0003PC-Tg for mharc-help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 13:00:52 -0500 Received: from eggs.gnu.org ([140.186.70.92]:47053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq79L-0003OX-CB for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 13:00:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq79F-0007V6-PJ for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 13:00:47 -0500 Received: from mail-tul01m020-f169.google.com ([209.85.214.169]:52921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq79F-0007V2-I4 for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 13:00:41 -0500 Received: by obbta7 with SMTP id ta7so7531218obb.0 for ; Wed, 25 Jan 2012 10:00:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=oHn40iyDaRBwr9bzbyDo3fFTO7nbLv6JbQ+L7uDtMVo=; b=uqYski6bX9OyyBj8q82ZBoEcZ1TYeCooGfyIZ541MUUjKIIpIRH+AynII2iFa06ckS dadSryk9E8+isA5jwJkrCElXXqsZ3zaVBjuB2EtLfDf5HwvrJOYC6HYKH8b5z+P7wkzO sa9Yc2ln3sibQLw3BpV7nvkwpeACXkq/oaauw= MIME-Version: 1.0 Received: by 10.182.44.68 with SMTP id c4mr16610830obm.5.1327514440463; Wed, 25 Jan 2012 10:00:40 -0800 (PST) Received: by 10.182.80.37 with HTTP; Wed, 25 Jan 2012 10:00:40 -0800 (PST) Date: Wed, 25 Jan 2012 12:00:40 -0600 Message-ID: Subject: Can vc-dir mode show up-to-date files? From: Shiyuan To: help-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=f46d04479fa1a8758704b75e0ab9 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.214.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 25 Jan 2012 18:00:51 -0000 --f46d04479fa1a8758704b75e0ab9 Content-Type: text/plain; charset=ISO-8859-1 Hi, the default vc-dir mode hides all up-to-date files. Can vc-dir mode show up-to-date files? Thanks. Shiyuan --f46d04479fa1a8758704b75e0ab9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,=A0
=A0 =A0 =A0the default vc-dir mode hides all up-to-date files. C= an vc-dir mode show up-to-date files? Thanks.=A0

S= hiyuan=A0
--f46d04479fa1a8758704b75e0ab9-- From MAILER-DAEMON Wed Jan 25 13:08:41 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rq7Gz-0007Jj-SS for mharc-help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 13:08:41 -0500 Received: from eggs.gnu.org ([140.186.70.92]:44572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq7Go-00077J-BE for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 13:08:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq7Gn-00008b-7h for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 13:08:30 -0500 Received: from lo.gmane.org ([80.91.229.12]:36345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq7Gn-00008P-2E for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 13:08:29 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rq7Gj-0002u9-69 for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 19:08:25 +0100 Received: from pool-72-78-102-56.phlapa.fios.verizon.net ([72.78.102.56]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jan 2012 19:08:25 +0100 Received: from ndbecker2 by pool-72-78-102-56.phlapa.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jan 2012 19:08:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Neal Becker Subject: Re: Can vc-dir mode show up-to-date files? Date: Wed, 25 Jan 2012 13:08:10 -0500 Lines: 9 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-72-78-102-56.phlapa.fios.verizon.net User-Agent: KNode/4.7.4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 25 Jan 2012 18:08:36 -0000 Shiyuan wrote: > Hi, > the default vc-dir mode hides all up-to-date files. Can vc-dir mode > show up-to-date files? Thanks. > > Shiyuan Related but different question: Can vc-dir mode hide unregistered files? From MAILER-DAEMON Wed Jan 25 13:10:58 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rq7JC-00081b-L9 for mharc-help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 13:10:58 -0500 Received: from eggs.gnu.org ([140.186.70.92]:58146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq7J9-0007ya-MB for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 13:10:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq7J5-0000b7-Ff for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 13:10:55 -0500 Received: from mail-pz0-f41.google.com ([209.85.210.41]:50282) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq7J5-0000av-82 for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 13:10:51 -0500 Received: by dake40 with SMTP id e40so185993dak.0 for ; Wed, 25 Jan 2012 10:10:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=bkxdKFf4ILejrPxgmR9/gDMLUbg9jgjSySnNweoJISA=; b=igS5UayvaC8vUQf4BEe+CTXIxF24ocu4BWLG593yayOBknk/aMRj9IOAq30PDhe5uy 26eOFjJGTUkRbjJoVNzI4o2OYrq8fD+hFT5traRqQb7v/mbEihdcDzX+Au1FDdK2A6EX OScxZ6LPkZViePsMnARrd78RTLzTSlooDzi4c= Received: by 10.68.73.4 with SMTP id h4mr849166pbv.27.1327515050258; Wed, 25 Jan 2012 10:10:50 -0800 (PST) Received: from JAMBU-NETBOOK ([115.184.35.51]) by mx.google.com with ESMTPS id i1sm4161855pbt.19.2012.01.25.10.10.45 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 Jan 2012 10:10:49 -0800 (PST) From: Jambunathan K To: Rajanikanth Jammalamadaka Subject: Re: copy and paste multiple times References: Date: Wed, 25 Jan 2012 23:40:31 +0530 In-Reply-To: (Rajanikanth Jammalamadaka's message of "Wed, 25 Jan 2012 12:20:16 -0500") Message-ID: <81sjj3mz54.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.41 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, 25 Jan 2012 18:10:56 -0000 Rajanikanth Jammalamadaka writes: > This has been discussed below: > http://stackoverflow.com/questions/71985/ > emacs-equivalent-of-vims-yy10p=C2=A0 > > Is there no built-in (short :-)) command in emacs to copy and paste a > region multiple times? Use registers. Mark the region, store it in register `a' and insert the contents of register `a' multiple times. Mark region C-x r s a C-x r i a C-x r i a=20 > Thanks, > Raj > > > > --=20 From MAILER-DAEMON Wed Jan 25 15:02:23 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rq931-0007gu-3t for mharc-help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 15:02:23 -0500 Received: from eggs.gnu.org ([140.186.70.92]:33414) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq92y-0007dQ-79 for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 15:02:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq92x-0000cC-0c for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 15:02:20 -0500 Received: from moutng.kundenserver.de ([212.227.17.8]:63098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq92w-0000c8-Oy for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 15:02:18 -0500 Received: from [192.168.178.27] (brln-4db9e8a7.pool.mediaWays.net [77.185.232.167]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0MHG5L-1RmaHz3z9f-00E31M; Wed, 25 Jan 2012 21:02:17 +0100 Message-ID: <4F205FC5.90106@easy-emacs.de> Date: Wed, 25 Jan 2012 21:02:13 +0100 From: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.24) Gecko/20111101 SUSE/3.1.16 Thunderbird/3.1.16 MIME-Version: 1.0 To: help-gnu-emacs@gnu.org Subject: Re: Numbered regexps throw invalid regex error References: <4F203A13.20105@easy-emacs.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V02:K0:vQfaFF2m1vcgCcT9RZGxy5EJf3VKq67c3ETkJqi2ppP a7QEIJyOTNGXkHwTTNskcLi1JwtoQUigyH9JIhwSx2X8p1eg1d FvMp2bvYovrCMVggAUFwd41gf7eWSDnrDp8mfu+maIO30nQv5V 75B9VYD1yS7bDQ+QpbimanXyk01j/fwSPvCPKHH97Ab8dOZIBo U4NwvmGtaXDz65fUik6hyCKBy8T3XRJS24G3h8nOHn07Bmsa4b rfMxlie86vQOIuvVIAbD/31bmZ1hLwP8qjOoX7jQD7LgMvv0+X pt3njugkP80xSoksJYtfpZgQUPMI4wXv6/vNw6owymVpOa5w15 DXzM9PoLyqAFBTawOnvOEwphCnYaEA297hGFpGIp2 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.17.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, 25 Jan 2012 20:02:21 -0000 Am 25.01.2012 18:51, schrieb Tom: > Andreas Röhler easy-emacs.de> writes: > >> >> Am 25.01.2012 11:17, schrieb Tom: >>> (looking-at "\\(a\\c(?1:b\\)\\)") >>> >> AFAIU there are serveral errors, >> >> think you can't refer to first match inside itself >> > > You misunderstand the feature. > > It's not a backreference. It's an explicit numbering of > the group, so it doesn't change if you add more parens: > > `\(?NUM: ... \)' > is the "explicitly numbered group" construct. Normal groups get > their number implicitly, based on their position, which can be > inconvenient. This construct allows you to force a particular > group number. There is no particular restriction on the numbering, > e.g. you can have several groups with the same number in which case > the last one to match (i.e. the rightmost match) will win. > Implicitly numbered groups always get the smallest integer larger > than the one of any previous group. > > > > Okay, next try :) you can't assign a group number already assigned automatically that would work: (looking-at "\\(?2:a\\(?1:b\\)c\\)") From MAILER-DAEMON Wed Jan 25 15:28:59 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rq9Sl-0001M0-G2 for mharc-help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 15:28:59 -0500 Received: from eggs.gnu.org ([140.186.70.92]:47767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq9Si-0001Iq-4U for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 15:28:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq9IG-00039W-E5 for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 15:18:09 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:45423) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Rq9IF-00039L-NI for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 15:18:08 -0500 Received: (qmail invoked by alias); 25 Jan 2012 20:18:04 -0000 Received: from 133.67.114.78.rev.sfr.net (EHLO nzebook.haselwarter.org) [78.114.67.133] by mail.gmx.net (mp021) with SMTP; 25 Jan 2012 21:18:04 +0100 X-Authenticated: #26138819 X-Provags-ID: V01U2FsdGVkX1+F1SFQi46F9fEjFRc9+BoudKKB6oBjPC2zr5mewU XUPtQAhGfgXlq8 From: Philipp Haselwarter To: Jambunathan K Subject: Re: copy and paste multiple times References: <81sjj3mz54.fsf@gmail.com> X-NSA-Fodder: SHA global Comirex AFSPC ANDVT InfoSec bullion PET spies Agfa X-Drdoom-Fodder: crypt drdoom security CERT crash passwd root Date: Wed, 25 Jan 2012 21:18:02 +0100 In-Reply-To: <81sjj3mz54.fsf@gmail.com> (Jambunathan K.'s message of "Wed, 25 Jan 2012 23:40:31 +0530") Message-ID: <87ty3jy1s5.fsf@nzebook.haselwarter.org> User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 213.165.64.23 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, 25 Jan 2012 20:28:57 -0000 On Wed, Jan 25 2012 19:10 (@1327515031), Jambunathan K wrote: > Rajanikanth Jammalamadaka writes: > >> This has been discussed below: >> http://stackoverflow.com/questions/71985/ >> emacs-equivalent-of-vims-yy10p=C2=A0 >> >> Is there no built-in (short :-)) command in emacs to copy and paste a >> region multiple times? > > Use registers. Mark the region, store it in register `a' and insert the > contents of register `a' multiple times. > > Mark region > > C-x r s a > > C-x r i a > C-x r i a=20 Combine it with `repeat': C-x r s a C-x r i a C-x z a z a z a ... Still, 9 + 2 * n keystrokes Actually it would be a nice feature to make the behaviour of `repeat' customizable, so that if `repeat-pass-argument' is t, numeric argument would be passed to the command, and if nil it would simply repeat the last command with its previous argument. Then you could just set the default and create wrappers with let-binds of `repeat-pass-argument'. It would simplify the above considerably (and make it more intuitive, in my opinion): M-w C-y C-u n C-x z 6 + lg(n) keystrokes=E2=80=A6 Any takers? --=20 Philipp Haselwarter From MAILER-DAEMON Wed Jan 25 15:29:05 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rq9Sr-0001YA-9I for mharc-help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 15:29:05 -0500 Received: from eggs.gnu.org ([140.186.70.92]:46935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq9Sm-0000QC-81 for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 15:29:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq9Ea-0002p9-Mc for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 15:14:25 -0500 Received: from lo.gmane.org ([80.91.229.12]:38631) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq9Ea-0002p3-Ej for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 15:14:20 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rq9EZ-0001Z8-9Z for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 21:14:19 +0100 Received: from 94-21-240-178.pool.digikabel.hu ([94.21.240.178]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jan 2012 21:14:19 +0100 Received: from adatgyujto by 94-21-240-178.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 25 Jan 2012 21:14:19 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Tom Subject: Re: Numbered regexps throw invalid regex error Date: Wed, 25 Jan 2012 20:14:07 +0000 (UTC) Lines: 18 Message-ID: References: <4F203A13.20105@easy-emacs.de> <4F205FC5.90106@easy-emacs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 94.21.240.178 (Opera/9.80 (Windows NT 6.1; U; en) Presto/2.10.229 Version/11.61) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 25 Jan 2012 20:29:03 -0000 Andreas Röhler easy-emacs.de> writes: > > you can't assign a group number already assigned automatically > The doc clearly says: "There is no particular restriction on the numbering, e.g. you can have several groups with the same number in which case the last one to match (i.e. the rightmost match) will win." There is no mention of an automatic assignment. It says the last one will win, so assigning a number which is already used for a previous group should work. From MAILER-DAEMON Wed Jan 25 15:37:43 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rq9bD-0007hs-Ie for mharc-help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 15:37:43 -0500 Received: from eggs.gnu.org ([140.186.70.92]:43536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq9bA-0007gN-QA for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 15:37:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rq9b9-0006H0-N2 for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 15:37:40 -0500 Received: from moutng.kundenserver.de ([212.227.17.8]:59138) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rq9b9-0006Gw-CI for help-gnu-emacs@gnu.org; Wed, 25 Jan 2012 15:37:39 -0500 Received: from [192.168.178.27] (brln-4db9e8a7.pool.mediaWays.net [77.185.232.167]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0M4a7A-1SojT31VIC-00ykZM; Wed, 25 Jan 2012 21:37:38 +0100 Message-ID: <4F206810.7080001@easy-emacs.de> Date: Wed, 25 Jan 2012 21:37:36 +0100 From: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.24) Gecko/20111101 SUSE/3.1.16 Thunderbird/3.1.16 MIME-Version: 1.0 To: help-gnu-emacs@gnu.org Subject: Re: Numbered regexps throw invalid regex error References: <4F203A13.20105@easy-emacs.de> <4F205FC5.90106@easy-emacs.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V02:K0:XytlDhklebpbuWbp8w2WgU0GZ1uO1pG27NxZ8GPMvNV 8UOjdoUlnfUXCJXwHwmeioqMOOPlLiT8KX2BmvJh+tnuu0klrf DJjONCc9BHc6HPdLyja+PfS3ZKsrO4BELHrRBtK+KMRTRVPWjg +d/3eaQRR9INiU+YlWavG3vRx/g4S7L6kqji0Ur2TxCvHZiwcU y1m+1e8ZOa3OBmXWopa9nWrl+224+rbHrHE98nflmLmhXA9XGC HLDA2T2qqYIrnqUdhqQShYT/YxUmWVRLVEOZXC+dewy8hvqYMX VB0TojP2C/l+Qxg3QL7j8u8Aebjqdn6F9NrW36EAEjevaeWFZe /UMPm8rytY6EDyEK4lGQ0YJZIQUo69wneCnPn4r5w X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.17.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, 25 Jan 2012 20:37:41 -0000 Am 25.01.2012 21:14, schrieb Tom: > Andreas Röhler easy-emacs.de> writes: >> >> you can't assign a group number already assigned automatically >> > > The doc clearly says: > > "There is no particular restriction on the numbering, > e.g. you can have several groups with the same number in which case > the last one to match (i.e. the rightmost match) will win." > > > > There is no mention of an automatic assignment. It says the last one > will win, so assigning a number which is already used for > a previous group should work. > would consider it a bug then - at least a docu bug From MAILER-DAEMON Thu Jan 26 03:30:28 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RqKiy-0006AK-6c for mharc-help-gnu-emacs@gnu.org; Thu, 26 Jan 2012 03:30:28 -0500 Received: from eggs.gnu.org ([140.186.70.92]:52607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqKir-000690-At for help-gnu-emacs@gnu.org; Thu, 26 Jan 2012 03:30:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqKil-0000N6-3Q for help-gnu-emacs@gnu.org; Thu, 26 Jan 2012 03:30:20 -0500 Received: from lo.gmane.org ([80.91.229.12]:54362) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqKik-0000Mx-Ub for help-gnu-emacs@gnu.org; Thu, 26 Jan 2012 03:30:15 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RqKii-0002YT-RG for help-gnu-emacs@gnu.org; Thu, 26 Jan 2012 09:30:12 +0100 Received: from 94-21-240-176.pool.digikabel.hu ([94.21.240.176]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jan 2012 09:30:12 +0100 Received: from adatgyujto by 94-21-240-176.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jan 2012 09:30:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Tom Subject: Re: Numbered regexps throw invalid regex error Date: Thu, 26 Jan 2012 08:30:00 +0000 (UTC) Lines: 18 Message-ID: References: <4F203A13.20105@easy-emacs.de> <4F205FC5.90106@easy-emacs.de> <4F206810.7080001@easy-emacs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 94.21.240.176 (Opera/9.80 (Windows NT 6.1; U; en) Presto/2.10.229 Version/11.61) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 26 Jan 2012 08:30:26 -0000 Andreas Röhler easy-emacs.de> writes: > > > > There is no mention of an automatic assignment. It says the last one > > will win, so assigning a number which is already used for > > a previous group should work. > > > > would consider it a bug then - at least a docu bug > I don't think it's a doc bug. The whole point of the feature is that you can assign constant numbers to groups, so they don't change if you add/remove parens. If it can suddenly throw a regexp error, just because you've added a paren around an other paren then it pretty much defeats the prupose of the feature. From MAILER-DAEMON Thu Jan 26 04:29:42 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RqLeI-0002hn-LS for mharc-help-gnu-emacs@gnu.org; Thu, 26 Jan 2012 04:29:42 -0500 Received: from eggs.gnu.org ([140.186.70.92]:54068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqLeD-0002hZ-C4 for help-gnu-emacs@gnu.org; Thu, 26 Jan 2012 04:29:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqLe8-0008GV-Pl for help-gnu-emacs@gnu.org; Thu, 26 Jan 2012 04:29:37 -0500 Received: from moutng.kundenserver.de ([212.227.17.10]:60486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqLe8-0008GC-HD for help-gnu-emacs@gnu.org; Thu, 26 Jan 2012 04:29:32 -0500 Received: from [192.168.178.27] (brln-4db9db3c.pool.mediaWays.net [77.185.219.60]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0Lv6gg-1SZ8Yt2aME-010Y8J; Thu, 26 Jan 2012 10:29:31 +0100 Message-ID: <4F211CF8.3080608@easy-emacs.de> Date: Thu, 26 Jan 2012 10:29:28 +0100 From: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.24) Gecko/20111101 SUSE/3.1.16 Thunderbird/3.1.16 MIME-Version: 1.0 To: help-gnu-emacs@gnu.org Subject: Re: Numbered regexps throw invalid regex error References: <4F203A13.20105@easy-emacs.de> <4F205FC5.90106@easy-emacs.de> <4F206810.7080001@easy-emacs.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Provags-ID: V02:K0:PR+IkGFZd3KTLB1z9v9ff30xXXqGHFQ1i9Ibt5UHNgK ltTqu1DM8xHFH8z1BfiT6M6TTxb18FmLYelNSNMiD9Jc/h7XjM J6Ln+kxpMwTqdjf9sG+s8Z0P06nbUBaQcGLps6FcxYaZxoGEW9 7Bi4Bb+vEX7pgbTfKNtGfUiUUP4WvPQ6FEDmP2YLSMGWBzDc8u RLKO9G7WOXghII84qR0PWmCk6r1x+JMmZYaW8BTVxO2iW47a/y abPCgfyHQMUvVGENewFO2FEnCako/N2eq3QOQh2EuEgjrzJuB9 sU3rhPCdshYRGmm46Ndx3opOjqH4CmjO+Srfv9GfxAkFqH5Jx9 1r8JENZoRY4z3MFvG6cGJSl475iGxVngmLBQ9i+RT X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.17.10 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 26 Jan 2012 09:29:41 -0000 Am 26.01.2012 09:30, schrieb Tom: > Andreas Röhler easy-emacs.de> writes: >>> >>> There is no mention of an automatic assignment. It says the last one >>> will win, so assigning a number which is already used for >>> a previous group should work. >>> >> >> would consider it a bug then - at least a docu bug >> > > I don't think it's a doc bug. The whole point of the feature is that > you can assign constant numbers to groups, so they don't change if you > add/remove parens. > > If it can suddenly throw a regexp error, just because you've added > a paren around an other paren then it pretty much defeats the > prupose of the feature. > > > > Probably. OTOH one may arg the error message helps counting. Could think of a static variant --as is-- as it provides some security. OTOH one may think at dynamic environments which can't be handled that way. Anyway in favor of a bug report. From MAILER-DAEMON Thu Jan 26 07:02:13 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RqO1t-0003jg-IP for mharc-help-gnu-emacs@gnu.org; Thu, 26 Jan 2012 07:02:13 -0500 Received: from eggs.gnu.org ([140.186.70.92]:45274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqO1l-00034k-UN for help-gnu-emacs@gnu.org; Thu, 26 Jan 2012 07:02:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqNtG-0002bg-FS for help-gnu-emacs@gnu.org; Thu, 26 Jan 2012 06:53:28 -0500 Received: from lo.gmane.org ([80.91.229.12]:34601) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqNtG-0002bM-AI for help-gnu-emacs@gnu.org; Thu, 26 Jan 2012 06:53:18 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RqNtB-0007SL-Kq for help-gnu-emacs@gnu.org; Thu, 26 Jan 2012 12:53:13 +0100 Received: from g231144167.adsl.alicedsl.de ([92.231.144.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jan 2012 12:53:13 +0100 Received: from tim by g231144167.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jan 2012 12:53:13 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org From: Tim Landscheidt Subject: Re: Numbered regexps throw invalid regex error Date: Thu, 26 Jan 2012 11:52:45 +0000 Organization: Lines: 27 Message-ID: References: <4F203A13.20105@easy-emacs.de> <4F205FC5.90106@easy-emacs.de> <4F206810.7080001@easy-emacs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: g231144167.adsl.alicedsl.de Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:k96ym+YQWHInMmO3ZhwWs3JxdBY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 26 Jan 2012 12:02:11 -0000 Tom wrote: >> > There is no mention of an automatic assignment. It says the last one >> > will win, so assigning a number which is already used for >> > a previous group should work. >> would consider it a bug then - at least a docu bug > I don't think it's a doc bug. The whole point of the feature is that > you can assign constant numbers to groups, so they don't change if you > add/remove parens. > If it can suddenly throw a regexp error, just because you've added > a paren around an other paren then it pretty much defeats the > prupose of the feature. I'd agree that the documentation should be more verbose, but I don't think that your argument that it'd be a bug is va- lid. If someone added another pair of parentheses around "a\\(?1:b\\)", either they don't want to refer to it, thus using "\\(?:", or if they want to refer to it, they have to think about how to do that anyhow. How would you rephrase the documentation so that the cur- rent behaviour is more comprehensibly described? Tim From MAILER-DAEMON Thu Jan 26 09:37:21 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RqQS1-0003oa-Jr for mharc-help-gnu-emacs@gnu.org; Thu, 26 Jan 2012 09:37:21 -0500 Received: from eggs.gnu.org ([140.186.70.92]:42457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqQRu-0003mY-2o for help-gnu-emacs@gnu.org; Thu, 26 Jan 2012 09:37:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RqQRp-0003Rg-DQ for help-gnu-emacs@gnu.org; Thu, 26 Jan 2012 09:37:13 -0500 Received: from lo.gmane.org ([80.91.229.12]:60423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RqQRo-0003RT-Os for help-gnu-emacs@gnu.org; Thu, 26 Jan 2012 09:37:09 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RqQRn-0006Tj-JY for help-gnu-emacs@gnu.org; Thu, 26 Jan 2012 15:37:07 +0100 Received: from 178-164-187-216.pool.digikabel.hu ([178.164.187.216]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jan 2012 15:37:07 +0100 Received: from adatgyujto by 178-164-187-216.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 26 Jan 2012 15:37:07 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Tom Subject: Re: Numbered regexps throw invalid regex error Date: Thu, 26 Jan 2012 14:36:50 +0000 (UTC) Lines: 25 Message-ID: References: <4F203A13.20105@easy-emacs.de> <4F205FC5.90106@easy-emacs.de> <4F206810.7080001@easy-emacs.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 178.164.187.216 (Opera/9.80 (Windows NT 6.1; U; en) Presto/2.10.229 Version/11.61) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 26 Jan 2012 14:37:19 -0000 Tim Landscheidt tim-landscheidt.de> writes: > > I'd agree that the documentation should be more verbose, but > I don't think that your argument that it'd be a bug is va- > lid. If someone added another pair of parentheses around > "a\\(?1:b\\)", either they don't want to refer to it, thus > using "\\(?:" Why should they use "\\(?:" explicitly if they don't care about it? I personally never use the shy group construct, because if I don't want to use a groups' value then I simply ignore it. It will capture some data, but who cares? That's what the explicit numbering of groups is about that I can number those groups which I'm interested in and I can simply ignore the others, beause I know that adding and removing groups should not affect my explicitly numbered groups. The proper solution is fixing the implementation, so it honors the user's explicit choices, not forcing the user to change the regexp. From MAILER-DAEMON Fri Jan 27 01:07:06 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rqexm-0005xP-3V for mharc-help-gnu-emacs@gnu.org; Fri, 27 Jan 2012 01:07:06 -0500 Received: from eggs.gnu.org ([140.186.70.92]:38248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rqexj-0005xH-1J for help-gnu-emacs@gnu.org; Fri, 27 Jan 2012 01:07:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rqexh-0007zS-V1 for help-gnu-emacs@gnu.org; Fri, 27 Jan 2012 01:07:03 -0500 Received: from lo.gmane.org ([80.91.229.12]:34988) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rqexh-0007zO-Mz for help-gnu-emacs@gnu.org; Fri, 27 Jan 2012 01:07:01 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rqexg-0000ei-Cz for help-gnu-emacs@gnu.org; Fri, 27 Jan 2012 07:07:00 +0100 Received: from z65-50-57-227.ips.direcpath.com ([65.50.57.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Jan 2012 07:07:00 +0100 Received: from reader by z65-50-57-227.ips.direcpath.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 27 Jan 2012 07:07:00 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: Harry Putnam Subject: Re: Too much pita to paste into incremental regex search Date: Fri, 27 Jan 2012 01:06:49 -0500 Organization: Still searching... Lines: 24 Message-ID: <87pqe5k7ba.fsf@newsguy.com> References: <87aa5fbale.fsf@newsguy.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: z65-50-57-227.ips.direcpath.com User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:rDCooXmBXXzU80fuPqsatg1aJJU= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 27 Jan 2012 06:07:04 -0000 Eli Zaretskii writes: >> From: Harry Putnam >> Date: Sun, 22 Jan 2012 18:07:09 -0500 >> >> I don't use the incremental regex search much but did have need of it >> today. And repeatedly. I found it difficult to impossible to >> copy/paste to the prompt. As soon as you move the mouse, the prompt >> disappears. > > It doesn't disappear for me, not in Emacs 24 anyway. I can click the > mouse in the minibuffer, then type C-y to paste something I copied > elsewhere. I can now too. Not sure what was causing my earlier trouble. I hope it is not what I suspect. I suspect I may have been pressing C-u C-s BEFORE copying with mouse somewhere. No, that would be too dumb .. eh? But, er, I think that might be it. Sorry for the line noise, and causing all the hallmarks of a row. From MAILER-DAEMON Mon Jan 30 13:30:47 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rrw07-00054Z-GG for mharc-help-gnu-emacs@gnu.org; Mon, 30 Jan 2012 13:30:47 -0500 Received: from eggs.gnu.org ([140.186.70.92]:43276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rrntf-0002C7-3o for Help-gnu-emacs@gnu.org; Mon, 30 Jan 2012 04:51:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rrntd-0001PV-RZ for Help-gnu-emacs@gnu.org; Mon, 30 Jan 2012 04:51:35 -0500 Received: from sam.nabble.com ([216.139.236.26]:38694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rrntd-0001PG-Mp for Help-gnu-emacs@gnu.org; Mon, 30 Jan 2012 04:51:33 -0500 Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1RrntX-00075g-0K for Help-gnu-emacs@gnu.org; Mon, 30 Jan 2012 01:51:27 -0800 Message-ID: <33227962.post@talk.nabble.com> Date: Mon, 30 Jan 2012 01:51:27 -0800 (PST) From: Daniel Aronovitch To: Help-gnu-emacs@gnu.org Subject: M-% in macro MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: daronovitch@cdcs-cmdc.be X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 216.139.236.26 X-Mailman-Approved-At: Mon, 30 Jan 2012 13:30: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: Mon, 30 Jan 2012 09:51:36 -0000 For some reasons, I've to perform every day a series of search/replace on a auto generated text file. I've no possibility to access the code that generate that file to correct the mistakes. So, what I did is a macro in emacs that performs those search/replace all, that is with a "!" as last input of each search/replace command. My problem is that if there is no occurrence of one specific search that might appear on the next day, the "!" is understood as a typed character and not anymore as "replace all" and hence is inserted in the text, which is an annoyance. Does anyone have a idea on how I could avoid that problem. Thanks. DA -- View this message in context: http://old.nabble.com/M---in-macro-tp33227962p33227962.html Sent from the Emacs - Help mailing list archive at Nabble.com. From MAILER-DAEMON Mon Jan 30 13:41:32 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RrwAW-00083M-Q0 for mharc-help-gnu-emacs@gnu.org; Mon, 30 Jan 2012 13:41:32 -0500 Received: from eggs.gnu.org ([140.186.70.92]:42511) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrwAQ-00081L-0P for Help-gnu-emacs@gnu.org; Mon, 30 Jan 2012 13:41:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RrwAI-0002tb-SD for Help-gnu-emacs@gnu.org; Mon, 30 Jan 2012 13:41:25 -0500 Received: from acsinet15.oracle.com ([141.146.126.227]:46095) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrwAI-0002tN-N7 for Help-gnu-emacs@gnu.org; Mon, 30 Jan 2012 13:41:18 -0500 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0UIfF2v024672 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 30 Jan 2012 18:41:15 GMT Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0UIfDKt003135 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Jan 2012 18:41:14 GMT Received: from abhmt120.oracle.com (abhmt120.oracle.com [141.146.116.72]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0UIfDfw002759; Mon, 30 Jan 2012 12:41:13 -0600 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 30 Jan 2012 10:41:12 -0800 From: "Drew Adams" To: "'Daniel Aronovitch'" , References: <33227962.post@talk.nabble.com> Subject: RE: M-% in macro Date: Mon, 30 Jan 2012 10:41:12 -0800 Message-ID: <445DD6429B1349B0BBD28FA9747FE290@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AczffUsNsHDYiSpGRHSggKFc57l4KQAALwyA In-Reply-To: <33227962.post@talk.nabble.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-CT-RefId: str=0001.0A090201.4F26E44C.0043,ss=1,re=0.000,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 141.146.126.227 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 30 Jan 2012 18:41:31 -0000 > For some reasons, I've to perform every day a series of > search/replace on a > auto generated text file. I've no possibility to access the code that > generate that file to correct the mistakes. So, what I did is > a macro in emacs that performs those search/replace all, that is > with a "!" as last input of each search/replace command. My problem > is that if there is no occurrence of one specific search that might > appear on the next day, the "!" is understood as a typed character > and not anymore as "replace all" and hence is inserted in the text, > which is an annoyance. Does anyone have a idea on how I could > avoid that problem. Thanks. DA Sounds like you do not really want/need a query-replace dialog. See command `replace-string'. If you want to use Lisp instead of a keyboard macro for this, then see the note in the `replace-string' doc string about what to use in Lisp. From MAILER-DAEMON Mon Jan 30 19:28:05 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rs1Zt-00035m-Py for mharc-help-gnu-emacs@gnu.org; Mon, 30 Jan 2012 19:28:05 -0500 Received: from eggs.gnu.org ([140.186.70.92]:51119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rs0DZ-0006qh-Jy for help-gnu-emacs@gnu.org; Mon, 30 Jan 2012 18:01:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rs0DV-000306-2w for help-gnu-emacs@gnu.org; Mon, 30 Jan 2012 18:00:57 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:41642) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rs0DU-0002zy-Oe for help-gnu-emacs@gnu.org; Mon, 30 Jan 2012 18:00:52 -0500 Received: by wera13 with SMTP id a13so4490982wer.0 for ; Mon, 30 Jan 2012 15:00:51 -0800 (PST) Received-SPF: pass (google.com: domain of geiserik@gmail.com designates 10.216.136.155 as permitted sender) client-ip=10.216.136.155; Authentication-Results: mr.google.com; spf=pass (google.com: domain of geiserik@gmail.com designates 10.216.136.155 as permitted sender) smtp.mail=geiserik@gmail.com; dkim=pass header.i=geiserik@gmail.com Received: from mr.google.com ([10.216.136.155]) by 10.216.136.155 with SMTP id w27mr11901567wei.8.1327964451364 (num_hops = 1); Mon, 30 Jan 2012 15:00:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=KKw1dKGfFEPLlHEwClU+/rAGLeX6n//FcaTvVofDXgQ=; b=idDvJjmk2sHcNjGb+orovz8pXkiZji9e3P+SAjuwdT+nlgT8NmRXitj2rRKYQuCkd+ k14anMlZMckhtajR+5UPPb4MvZCrhKd3gli9sYxPkhksKjMQwMRkj8+VpvpImInVrhzl AZa0GVLmcbrqEtNoEpbnIta1zty06LgQwgaOU= MIME-Version: 1.0 Received: by 10.216.136.155 with SMTP id w27mr9949782wei.8.1327964451318; Mon, 30 Jan 2012 15:00:51 -0800 (PST) Received: by 10.223.17.194 with HTTP; Mon, 30 Jan 2012 15:00:51 -0800 (PST) Date: Mon, 30 Jan 2012 18:00:51 -0500 Message-ID: Subject: Date in Menubar From: "Geiserik *" To: help-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.169 X-Mailman-Approved-At: Mon, 30 Jan 2012 19:28:04 -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, 30 Jan 2012 23:01:02 -0000 Hello, Is it possible to display an alternative date in the menubar? I would like to show the Hebrew date alongside the regular date, i.e. instead of Mon, Jan 30, 2012 I would like it to read Mon, Jan 30, 2012 | Shevat 6, 5772 Any way to do this? Thanks! From MAILER-DAEMON Mon Jan 30 22:57:34 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Rs4qc-0000Qq-Rb for mharc-help-gnu-emacs@gnu.org; Mon, 30 Jan 2012 22:57:34 -0500 Received: from eggs.gnu.org ([140.186.70.92]:53623) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rs4qa-0000Qi-1I for help-gnu-emacs@gnu.org; Mon, 30 Jan 2012 22:57:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rs4qY-00028V-8y for help-gnu-emacs@gnu.org; Mon, 30 Jan 2012 22:57:31 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:42893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rs4qX-00028Q-TY for help-gnu-emacs@gnu.org; Mon, 30 Jan 2012 22:57:30 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LYN007009IKP400@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Tue, 31 Jan 2012 05:57:28 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.57.191]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LYN007429NRN150@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Tue, 31 Jan 2012 05:57:28 +0200 (IST) Date: Tue, 31 Jan 2012 05:55:29 +0200 From: Eli Zaretskii Subject: Re: Date in Menubar In-reply-to: X-012-Sender: halo1@inter.net.il To: help-gnu-emacs@gnu.org Message-id: <83d3a0r0em.fsf@gnu.org> References: X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.175 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list 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, 31 Jan 2012 03:57:33 -0000 > Date: Mon, 30 Jan 2012 18:00:51 -0500 > From: "Geiserik *" > > Is it possible to display an alternative date in the menubar? I would > like to show the Hebrew date alongside the regular date, i.e. instead > of > > Mon, Jan 30, 2012 > > I would like it to read > > Mon, Jan 30, 2012 | Shevat 6, 5772 > > Any way to do this? How do you mean "display date in the menubar"? I don't think Emacs displays anything in the menu bar except menus. Do you mean mode line? If so, the display depends on various options in time.el, which see. From MAILER-DAEMON Tue Jan 31 23:25:43 2012 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RsRlP-0004IW-8R for mharc-help-gnu-emacs@gnu.org; Tue, 31 Jan 2012 23:25:43 -0500 Received: from eggs.gnu.org ([140.186.70.92]:55306) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsRlJ-0004G3-0f for help-gnu-emacs@gnu.org; Tue, 31 Jan 2012 23:25:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RsRlE-0004Ew-VI for help-gnu-emacs@gnu.org; Tue, 31 Jan 2012 23:25:36 -0500 Received: from plane.gmane.org ([80.91.229.3]:40916) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsRlE-0004Ep-KN for help-gnu-emacs@gnu.org; Tue, 31 Jan 2012 23:25:32 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1RsRl9-0007qN-Dw for help-gnu-emacs@gnu.org; Wed, 01 Feb 2012 05:25:27 +0100 Received: from amprx01x.nokia.com ([192.100.130.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Feb 2012 05:25:27 +0100 Received: from william.xwl by amprx01x.nokia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Feb 2012 05:25:27 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: help-gnu-emacs@gnu.org From: William Xu Subject: Re: exec-path on windows Date: Wed, 01 Feb 2012 12:23:49 +0800 Organization: the Church of Emacs Lines: 14 Message-ID: <21glk44789m2.fsf@gmail.com> References: <4F185DE0.1070408@gmail.com> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: amprx01x.nokia.com User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (windows-nt) Cancel-Lock: sha1:kP5Zpa9+OD0Iybf+TIkloDXGT4s= 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, 01 Feb 2012 04:25:41 -0000 Andrea Crotti writes: With an unconfigured Emacs everything works, and the strange thing is that exec-path is exactly the same on both versions.. Is there anything else I can check to understand what is the source of the problem? You can bisect the config to locate the problem. -- William http://xwl.appspot.com