From mboxrd@z Thu Jan 1 00:00:00 1970 From: Angel Popov Subject: Failed to create radio tables Date: Thu, 8 Jul 2010 22:55:01 -0700 (PDT) Message-ID: <447823.81910.qm@web33204.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1299936648==" Return-path: Received: from [140.186.70.92] (port=42262 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OX6YD-0003VR-Dt for emacs-orgmode@gnu.org; Fri, 09 Jul 2010 01:55:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OX6YB-0006Mf-Rx for emacs-orgmode@gnu.org; Fri, 09 Jul 2010 01:55:04 -0400 Received: from web33204.mail.mud.yahoo.com ([209.191.69.152]:31550) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OX6YB-0006MR-Ig for emacs-orgmode@gnu.org; Fri, 09 Jul 2010 01:55:03 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============1299936648== Content-Type: multipart/alternative; boundary="0-1455518711-1278654901=:81910" --0-1455518711-1278654901=:81910 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi, =0A=0AI am following example on radio tables but it looks that it does = not work.=0AI copied=0A % BEGIN RECEIVE ORGLST to-buy % END RECEI= VE ORGLST to-buy =0A\begin{comment} #+ORGLIST: SEND to-buy orgt= bl-to-latex - a new house =0A- a new computer + a new k= eyboard + a new mouse - a new =0Alife \end{comment}=0A= =0Aand when I C-c C-c on '- a new house' nothing happend=0A=0ARegards, Ange= l=0A=0A=0A --0-1455518711-1278654901=:81910 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,=A0
I am following example on r= adio tables but it looks that it does not work.
I copied
     % BEGIN RECEIVE ORGLST to-buy=0A     % END RE=
CEIVE ORGLST to-buy=0A     \begin{comment}=0A     #+ORGLIST: SEND to-buy or=
gtbl-to-latex=0A     - a new house=0A     - a new computer=0A       + a new=
 keyboard=0A       + a new mouse=0A     - a new life=0A     \end{comment}
and when I C-c C-c on '- a new house' nothing happend

Regards,= Angel
=0A
=0A=0A=0A
--0-1455518711-1278654901=:81910-- --===============1299936648== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1299936648==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Failed to create radio tables Date: Sat, 10 Jul 2010 09:47:48 -0400 Message-ID: <87bpaf30u3.fsf@gollum.intra.norang.ca> References: <447823.81910.qm@web33204.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=56267 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXaPN-0002gu-8W for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 09:48:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXaPI-0000wr-2y for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 09:47:57 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:58170) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXaPI-0000wm-1N for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 09:47:52 -0400 In-Reply-To: <447823.81910.qm@web33204.mail.mud.yahoo.com> (Angel Popov's message of "Thu\, 8 Jul 2010 22\:55\:01 -0700 \(PDT\)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Angel Popov Cc: emacs-orgmode@gnu.org Angel Popov writes: > Hi,=C2=A0 > I am following example on radio tables but it looks that it does not work. > I copied > > % BEGIN RECEIVE ORGLST to-buy > % END RECEIVE ORGLST to-buy > \begin{comment} > #+ORGLIST: SEND to-buy orgtbl-to-latex > - a new house > - a new computer > + a new keyboard > + a new mouse > - a new life > \end{comment} > > and when I C-c C-c on '- a new house' nothing happend > > Regards, Angel Hi Angel, I'm not sure what it is you are trying to accomplish. A link to the example you are following would have been helpful. Maybe you mean checkbox lists? - [ ] a new house - [ ] a new computer + [ ] a new keyboard + [ ] a new mouse - [ ] a new life then C-c C-c toggles the checkbox on and off. -Bernt From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Failed to create radio tables Date: Sat, 10 Jul 2010 15:26:41 -0400 Message-ID: <653.1278790001@gamaville.dokosmarshall.org> References: <447823.81910.qm@web33204.mail.mud.yahoo.com> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=40330 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXgJG-0008WR-Gx for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 16:06:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXfiM-0006dv-92 for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 15:27:55 -0400 Received: from vms173019pub.verizon.net ([206.46.173.19]:46050) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXfiM-0006XG-1W for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 15:27:54 -0400 Received: from gamaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0L5C00FB4WOH6990@vms173019.mailsrvcs.net> for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 14:26:42 -0500 (CDT) In-reply-to: Message from Angel Popov of "Thu\, 08 Jul 2010 22\:55\:01 PDT." <447823.81910.qm@web33204.mail.mud.yahoo.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Angel Popov Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org Angel Popov wrote: > Hi,=C2=A0 > I am following example on radio tables but it looks that it does not work. > I copied >=20 > % BEGIN RECEIVE ORGLST to-buy > % END RECEIVE ORGLST to-buy > \begin{comment} > #+ORGLIST: SEND to-buy orgtbl-to-latex > - a new house > - a new computer > + a new keyboard > + a new mouse > - a new life > \end{comment} >=20 > and when I C-c C-c on '- a new house' nothing happend >=20 Well, you are not following the example exactly (App. A.5.2 of the Org manual): you are trying to extend it to lists and I'm not sure that you can do that. So let me go back to the example in the manual and explain the rationale: The idea is that specifying tables in Org is easy, but specifying tables in LaTeX is harder. It would be convenient if you could use Org mode syntax for tables *in your LaTeX file* and have the LaTeX table generated automatically from that. That's what radio tables do for you: in your LaTeX file, you include the table in Org syntax *as a comment* and then you use orgtbl facilities to automatically generate your LaTeX table. So here's my LaTeX file with the example table: --8<---------------cut here---------------start------------->8--- \documentclass{article} \begin{document} Here's a table of stuff: % BEGIN RECEIVE ORGTBL to-buy % END RECEIVE ORGTBL to-buy \begin{comment} The Org table is inside a LaTeX comment. #+ORGTBL: SEND to-buy orgtbl-to-latex | foo | bar | |-----+-----| | 1 | 2 | | 3 | 4 | \end{comment} \end{document} --8<---------------cut here---------------end--------------->8--- When you edit this file, the major mode of the buffer is going to be LaTeX-mode, not Org-mode. This is where orgtbl-mode comes in: it's a minor mode, so you can enable it in your LaTeX-mode buffer: M-x orgtbl-mode and then you have the orgtbl facilities available in the buffer where you are editing your LaTeX file. Now put your cursor somewhere in the Org table and say C-c C-c - presto, change-o, you get this: --8<---------------cut here---------------start------------->8--- \documentclass{article} \begin{document} Here's a table of stuff: % BEGIN RECEIVE ORGTBL to-buy \begin{tabular}{rr} foo & bar \\ \hline 1 & 2 \\ 3 & 4 \\ \end{tabular} % END RECEIVE ORGTBL to-buy \begin{comment} The Org table is inside a LaTeX comment. #+ORGTBL: SEND to-buy orgtbl-to-latex | foo | bar | |-----+-----| | 1 | 2 | | 3 | 4 | \end{comment} \end{document} --8<---------------cut here---------------end--------------->8--- Process this with LaTeX and you get a nicely typeset table, without having to worry much about the finicky LaTeX syntax. Plus, if you need to change the table, you change the Org table in the comment, press C-c C-c again and the change is propagated automatically to the LaTeX table. In addition, if you enable orgtbl-mode before you even start, then you have all the nice shortcuts for *editing* the Org table in the first place. In fact, it's handy to have orgtbl-mode *always* enabled when you edit LaTeX files. You can do that by using the appropriate hook. For example, if you use AucTeX, add the following line to your .emacs (after the place where AucTeX is initialized, so that it has a chance to define the hook): (add-hook 'LaTeX-mode-hook 'orgtbl-mode) AFAIK, you *cannot* do something similar with lists (which is what you seem to have tried with your modifications to the example), but lists are much easier to deal with directly in LaTeX. Hope this makes things clearer, Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Failed to create radio tables Date: Sat, 10 Jul 2010 22:42:57 +0200 Message-ID: <87y6djf4q6.wl%n.goaziou@gmail.com> References: <447823.81910.qm@web33204.mail.mud.yahoo.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from [140.186.70.92] (port=53315 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXgt8-0005j1-EL for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 16:43:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXgt7-0001ne-1V for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 16:43:06 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:57813) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXgt6-0001nZ-SZ for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 16:43:05 -0400 Received: by wyj26 with SMTP id 26so2871172wyj.0 for ; Sat, 10 Jul 2010 13:43:04 -0700 (PDT) In-Reply-To: <447823.81910.qm@web33204.mail.mud.yahoo.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Angel Popov Cc: emacs-orgmode@gnu.org Hello, >>>>> Angel Popov writes: > I copied > % BEGIN RECEIVE ORGLST to-buy % END RECEIVE ORGLST to-buy > \begin{comment} #+ORGLIST: SEND to-buy orgtbl-to-latex - a new house > - a new computer + a new keyboard + a new mouse - a new > life \end{comment} > and when I C-c C-c on '- a new house' nothing happend Try this: ----- \documentclass{article} \begin{document} % BEGIN RECEIVE ORGLST tobuy % END RECEIVE ORGLST tobuy \begin{comment} #+ORGLST: SEND tobuy org-list-to-latex - a new house - a new computer + a new keyboard + a new mouse - a new life \end{comment} \end{document} ----- and M-x org-list-send-list anywhere on the list. It works here. Regards, -- Nicolas From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Failed to create radio tables Date: Sat, 10 Jul 2010 17:48:32 -0400 Message-ID: <3414.1278798512@gamaville.dokosmarshall.org> References: <447823.81910.qm@web33204.mail.mud.yahoo.com> <653.1278790001@gamaville.dokosmarshall.org> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=42007 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXhuh-0002Gt-Jh for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 17:48:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXhug-0002oI-Ef for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 17:48:47 -0400 Received: from vms173015pub.verizon.net ([206.46.173.15]:42010) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXhug-0002o3-AN for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 17:48:46 -0400 Received: from gamaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173015.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0L5D00GK038WC560@vms173015.mailsrvcs.net> for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 16:48:32 -0500 (CDT) In-reply-to: Message from Nick Dokos of "Sat, 10 Jul 2010 15:26:41 EDT." <653.1278790001@gamaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org, Angel Popov Nick Dokos wrote: > > AFAIK, you *cannot* do something similar with lists (which is what > you seem to have tried with your modifications to the example), but lists > are much easier to deal with directly in LaTeX. > I stand corrected: as Nicolas Goaziou points out elsewhere in this thread, you *can* do that with lists - afaict, the only thing missing is the handy C-c C-c keybinding - or am I wrong about this too? Thanks, Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Failed to create radio tables Date: Sun, 11 Jul 2010 00:27:50 +0200 Message-ID: <87wrt3ezvd.wl%n.goaziou@gmail.com> References: <447823.81910.qm@web33204.mail.mud.yahoo.com> <653.1278790001@gamaville.dokosmarshall.org> <3414.1278798512@gamaville.dokosmarshall.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from [140.186.70.92] (port=53414 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXiWc-0001bj-8b for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 18:27:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXiWb-0007Gi-5d for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 18:27:58 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:64140) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXiWa-0007Gd-Us for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 18:27:57 -0400 Received: by wwb34 with SMTP id 34so1645406wwb.30 for ; Sat, 10 Jul 2010 15:27:56 -0700 (PDT) In-Reply-To: <3414.1278798512@gamaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org, Angel Popov Hello, >>>>> Nick Dokos writes: > Afaict, the only thing missing is the handy C-c C-c keybinding - or > am I wrong about this too? You're right. There is no keybinding for that. Though, as a little relief, with proper completion, M-x olsl TAB RET is enough. Regards, -- Nicolas From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Failed to create radio tables Date: Sat, 10 Jul 2010 19:23:36 -0400 Message-ID: <5879.1278804216@gamaville.dokosmarshall.org> References: <447823.81910.qm@web33204.mail.mud.yahoo.com> <653.1278790001@gamaville.dokosmarshall.org> <3414.1278798512@gamaville.dokosmarshall.org> <87wrt3ezvd.wl%n.goaziou@gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=40957 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXjOh-0003b0-QP for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 19:23:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXjOg-0004r2-IQ for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 19:23:51 -0400 Received: from vms173015pub.verizon.net ([206.46.173.15]:45944) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXjOg-0004qu-Dp for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 19:23:50 -0400 Received: from gamaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173015.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0L5D00JI87NC3460@vms173015.mailsrvcs.net> for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 18:23:37 -0500 (CDT) In-reply-to: Message from Nicolas Goaziou of "Sun, 11 Jul 2010 00:27:50 +0200." <87wrt3ezvd.wl%n.goaziou@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org, Angel Popov Nicolas Goaziou wrote: > > Afaict, the only thing missing is the handy C-c C-c keybinding - or > > am I wrong about this too? > > You're right. There is no keybinding for that. Though, as a little > relief, with proper completion, M-x olsl TAB RET is enough. > I expect Carsten will have incorporated it in orgtbl-ctrl-c-ctrl-c by this time tomorrow :-) Seriously, I don't mind the typing: I just won't remember the name of the function, but that's my problem, not yours ;-) As an aside, I get different lists radioed, depending on where point is when I call the function: if I'm in the second-level list, only that is radioed; if I'm somewhere in the first level, the whole list is radioed. Bug or feature? Or maybe pilot error? Thanks, Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Failed to create radio tables Date: Sun, 11 Jul 2010 00:02:20 -0400 Message-ID: <27765.1278820940@gamaville.dokosmarshall.org> References: <447823.81910.qm@web33204.mail.mud.yahoo.com> <653.1278790001@gamaville.dokosmarshall.org> <3414.1278798512@gamaville.dokosmarshall.org> <87wrt3ezvd.wl%n.goaziou@gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=34817 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXnkS-0004hX-QX for emacs-orgmode@gnu.org; Sun, 11 Jul 2010 00:02:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXnkR-00061Y-I8 for emacs-orgmode@gnu.org; Sun, 11 Jul 2010 00:02:36 -0400 Received: from vms173001pub.verizon.net ([206.46.173.1]:50629) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXnkR-00061S-Bd for emacs-orgmode@gnu.org; Sun, 11 Jul 2010 00:02:35 -0400 Received: from gamaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173001.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0L5D00416KJXJA30@vms173001.mailsrvcs.net> for emacs-orgmode@gnu.org; Sat, 10 Jul 2010 23:02:21 -0500 (CDT) In-reply-to: Message from Nicolas Goaziou of "Sun, 11 Jul 2010 00:27:50 +0200." <87wrt3ezvd.wl%n.goaziou@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org, Angel Popov Nicolas Goaziou wrote: > Hello, > >>>>> Nick Dokos writes: > > > Afaict, the only thing missing is the handy C-c C-c keybinding - or > > am I wrong about this too? > > You're right. There is no keybinding for that. Though, as a little > relief, with proper completion, M-x olsl TAB RET is enough. > BTW, Angel was reading appending A.5.4 (not A.5.2 as I mistakenly assumed) and afaict, he is right: first of all, there is a typo in the appendix (ORGLIST vs ORGLST); second, the name of the list ("to-buy") includes a dash, but the regexp in org-list-send-list does not match it: it works better if the dash is replaced by an underscore in the example, but maybe the regexp should be made more general. But the appendix also claims that C-c C-c on the first element of the list *should* work, and I don't think it does - but it's not clear to me what minor mode(s) should be in operation in order for this to work. What binding should I expect for C-C C-c at that poing? Thanks, Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Failed to create radio tables Date: Sun, 11 Jul 2010 08:17:56 +0200 Message-ID: <87vd8mfsob.wl%n.goaziou@gmail.com> References: <447823.81910.qm@web33204.mail.mud.yahoo.com> <653.1278790001@gamaville.dokosmarshall.org> <3414.1278798512@gamaville.dokosmarshall.org> <87wrt3ezvd.wl%n.goaziou@gmail.com> <27765.1278820940@gamaville.dokosmarshall.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from [140.186.70.92] (port=46856 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OXprZ-0004qo-0t for emacs-orgmode@gnu.org; Sun, 11 Jul 2010 02:18:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OXprX-0003VM-Oe for emacs-orgmode@gnu.org; Sun, 11 Jul 2010 02:18:04 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:41162) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXprX-0003VG-HH for emacs-orgmode@gnu.org; Sun, 11 Jul 2010 02:18:03 -0400 Received: by wyj26 with SMTP id 26so3014377wyj.0 for ; Sat, 10 Jul 2010 23:18:02 -0700 (PDT) In-Reply-To: <27765.1278820940@gamaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org, Angel Popov Hello, >>>>> Nick Dokos writes: > Second, the name of the list ("to-buy") includes a dash, but the > regexp in org-list-send-list does not match it: it works better if > the dash is replaced by an underscore in the example, but maybe the > regexp should be made more general. I've already corrected this and the problem of nested lists you're talking about in my branch redefining lists. The regexp was indeed too specific: it is now on par with the one used in ORGTBL. I also redefined org-list-radio-list-templates as they were inserting a table and not a list. About the binding, C-c C-c is not a good choice (do I want to send list or toggle check-box?). Anyway it should belong to orgstruct-mode, IMO. Regards, -- Nicolas From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Failed to create radio tables Date: Mon, 12 Jul 2010 07:51:36 +0200 Message-ID: <623314F5-A65C-409D-B865-41D190F00D56@gmail.com> References: <447823.81910.qm@web33204.mail.mud.yahoo.com> <653.1278790001@gamaville.dokosmarshall.org> <3414.1278798512@gamaville.dokosmarshall.org> <87wrt3ezvd.wl%n.goaziou@gmail.com> <27765.1278820940@gamaville.dokosmarshall.org> <87vd8mfsob.wl%n.goaziou@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=50233 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYBvi-0005Dt-8J for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 01:51:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYBvg-0002PT-Qf for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 01:51:50 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:43725) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYBvg-0002PF-MS for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 01:51:48 -0400 Received: by ewy28 with SMTP id 28so847933ewy.0 for ; Sun, 11 Jul 2010 22:51:46 -0700 (PDT) In-Reply-To: <87vd8mfsob.wl%n.goaziou@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org, Angel Popov On Jul 11, 2010, at 8:17 AM, Nicolas Goaziou wrote: > Hello, > >>>>>> Nick Dokos writes: >> Second, the name of the list ("to-buy") includes a dash, but the >> regexp in org-list-send-list does not match it: it works better if >> the dash is replaced by an underscore in the example, but maybe the >> regexp should be made more general. > > I've already corrected this and the problem of nested lists you're > talking about in my branch redefining lists. Corrected it where? In you branch where you are working on the list code? > > The regexp was indeed too specific: it is now on par with the one used > in ORGTBL. I also redefined org-list-radio-list-templates as they > were inserting a table and not a list. Can you make a patch for just this prblem and submit it? I'd like to fix this before the release. > > About the binding, C-c C-c is not a good choice (do I want to send > list or toggle check-box?). Yes, this is a bit of a problem here. We could send the list with C-c C-c anyway, of cause, would not hurt. This would be parallel to tables where C-c C-c aligns the table and sends it. Thanks - Carsten From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Failed to create radio tables Date: Mon, 12 Jul 2010 11:16:42 +0200 Message-ID: <87tyo5f4at.wl%n.goaziou@gmail.com> References: <447823.81910.qm@web33204.mail.mud.yahoo.com> <653.1278790001@gamaville.dokosmarshall.org> <3414.1278798512@gamaville.dokosmarshall.org> <87wrt3ezvd.wl%n.goaziou@gmail.com> <27765.1278820940@gamaville.dokosmarshall.org> <87vd8mfsob.wl%n.goaziou@gmail.com> <623314F5-A65C-409D-B865-41D190F00D56@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Mon_Jul_12_11:16:41_2010-1" Return-path: Received: from [140.186.70.92] (port=39703 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYF8B-000710-2q for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 05:16:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYF84-0003Of-OH for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 05:16:52 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:41338) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYF84-0003OT-KJ for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 05:16:48 -0400 Received: by wyj26 with SMTP id 26so3559776wyj.0 for ; Mon, 12 Jul 2010 02:16:47 -0700 (PDT) In-Reply-To: <623314F5-A65C-409D-B865-41D190F00D56@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org, Angel Popov --Multipart_Mon_Jul_12_11:16:41_2010-1 Content-Type: text/plain; charset=US-ASCII Hello, >>>>> Carsten Dominik writes: > Corrected it where? In you branch where you are working on the list > code? Yes, on my branch. But here is the change applying to master. Regards, -- Nicolas --Multipart_Mon_Jul_12_11:16:41_2010-1 Content-Type: text/plain; type=patch; charset=US-ASCII Content-Disposition: attachment; filename="0001-Fix-regexp-for-org-list-send-list.patch" Content-Transfer-Encoding: 7bit >From bceff0485db6a7f8686c1024afe1810414f78a63 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 12 Jul 2010 11:12:57 +0200 Subject: [PATCH] Fix regexp for `org-list-send-list'. * lisp/org-list.el (org-list-send-list): regexp defining the start of a radio list is now on par with the one used for radio tables. --- lisp/org-list.el | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-list.el b/lisp/org-list.el index 2aacd09..0a51ca7 100644 --- a/lisp/org-list.el +++ b/lisp/org-list.el @@ -1277,7 +1277,7 @@ this list." (save-excursion (org-list-goto-true-beginning) (beginning-of-line 0) - (unless (looking-at "#\\+ORGLST: *SEND +\\([a-zA-Z0-9_]+\\) +\\([^ \t\r\n]+\\)\\( +.*\\)?") + (unless (looking-at "[ \t]*#\\+ORGLST[: \t][ \t]*SEND[ \t]+\\([^ \t\r\n]+\\)[ \t]+\\([^ \t\r\n]+\\)\\([ \t]+.*\\)?") (if maybe (throw 'exit nil) (error "Don't know how to transform this list")))) -- 1.7.1.1 --Multipart_Mon_Jul_12_11:16:41_2010-1 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --Multipart_Mon_Jul_12_11:16:41_2010-1-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Failed to create radio tables Date: Mon, 12 Jul 2010 14:44:51 +0200 Message-ID: <87sk3og98c.wl%n.goaziou@gmail.com> References: <447823.81910.qm@web33204.mail.mud.yahoo.com> <653.1278790001@gamaville.dokosmarshall.org> <3414.1278798512@gamaville.dokosmarshall.org> <87wrt3ezvd.wl%n.goaziou@gmail.com> <27765.1278820940@gamaville.dokosmarshall.org> <87vd8mfsob.wl%n.goaziou@gmail.com> <623314F5-A65C-409D-B865-41D190F00D56@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Mon_Jul_12_14:44:50_2010-1" Return-path: Received: from [140.186.70.92] (port=46327 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYITm-0000dp-0P for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 08:51:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYINZ-0000RX-Jp for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 08:45:06 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:65112) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYINZ-0000R5-Dh for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 08:45:01 -0400 Received: by wyj26 with SMTP id 26so3734557wyj.0 for ; Mon, 12 Jul 2010 05:45:00 -0700 (PDT) In-Reply-To: <623314F5-A65C-409D-B865-41D190F00D56@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org, Angel Popov --Multipart_Mon_Jul_12_14:44:50_2010-1 Content-Type: text/plain; charset=US-ASCII I forgot to post changes in templates. Btw, it seems that you reverted changes in documentation in 94689a04b00f88932e63024ae29bacea4dbcc752, but it is still #+ORGLST and not #+ORGLIST. Regards, -- Nicolas --Multipart_Mon_Jul_12_14:44:50_2010-1 Content-Type: text/plain; type=patch; charset=US-ASCII Content-Disposition: attachment; filename="0001-Fix-templates-for-radio-list.patch" Content-Transfer-Encoding: 7bit >From dff3343a8989f1f280fdf15f64bcf47ba9ac7f56 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 12 Jul 2010 14:40:18 +0200 Subject: [PATCH] Fix templates for radio list. * lisp/org-list.el (org-list-radio-list-templates): Fix templates. --- lisp/org-list.el | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/org-list.el b/lisp/org-list.el index 0a51ca7..49b8e2b 100644 --- a/lisp/org-list.el +++ b/lisp/org-list.el @@ -195,19 +195,19 @@ When the indentation would be larger than this, it will become % END RECEIVE ORGLST %n \\begin{comment} #+ORGLST: SEND %n org-list-to-latex -| | | +- \\end{comment}\n") (texinfo-mode "@c BEGIN RECEIVE ORGLST %n @c END RECEIVE ORGLST %n @ignore #+ORGLST: SEND %n org-list-to-texinfo -| | | +- @end ignore\n") (html-mode " \n")) "Templates for radio lists in different major modes. All occurrences of %n in a template will be replaced with the name of the -- 1.7.1.1 --Multipart_Mon_Jul_12_14:44:50_2010-1 Content-Type: text/plain; charset=US-ASCII --Multipart_Mon_Jul_12_14:44:50_2010-1 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --Multipart_Mon_Jul_12_14:44:50_2010-1-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Failed to create radio tables Date: Mon, 12 Jul 2010 19:07:13 +0200 Message-ID: <2F9246DC-7C18-49D0-A398-7CEBBFA53FD7@gmail.com> References: <447823.81910.qm@web33204.mail.mud.yahoo.com> <653.1278790001@gamaville.dokosmarshall.org> <3414.1278798512@gamaville.dokosmarshall.org> <87wrt3ezvd.wl%n.goaziou@gmail.com> <27765.1278820940@gamaville.dokosmarshall.org> <87vd8mfsob.wl%n.goaziou@gmail.com> <623314F5-A65C-409D-B865-41D190F00D56@gmail.com> <87sk3og98c.wl%n.goaziou@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=54322 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYMTS-0002O6-Ja for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 13:07:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYMTP-0001Sq-F2 for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 13:07:22 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:52938) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYMTP-0001Sf-Ah for emacs-orgmode@gnu.org; Mon, 12 Jul 2010 13:07:19 -0400 Received: by ewy28 with SMTP id 28so1012705ewy.0 for ; Mon, 12 Jul 2010 10:07:18 -0700 (PDT) In-Reply-To: <87sk3og98c.wl%n.goaziou@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nicolas Goaziou Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org, Angel Popov On Jul 12, 2010, at 2:44 PM, Nicolas Goaziou wrote: > I forgot to post changes in templates. Applied, thanks. > > Btw, it seems that you reverted changes in documentation in > 94689a04b00f88932e63024ae29bacea4dbcc752, but it is still #+ORGLST and > not #+ORGLIST. I reverted them before applying your patch, assuming that you'd have these in your patch. Thanks! - Carsten From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Failed to create radio tables Date: Tue, 13 Jul 2010 13:42:41 +0200 Message-ID: <99FEEDFB-9C3F-4E3A-9AE9-757B307C3CA9@gmail.com> References: <447823.81910.qm@web33204.mail.mud.yahoo.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=58611 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYdst-0007C8-Hc for emacs-orgmode@gnu.org; Tue, 13 Jul 2010 07:42:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYdss-0007ZF-BX for emacs-orgmode@gnu.org; Tue, 13 Jul 2010 07:42:47 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:63677) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYdss-0007Z4-3F for emacs-orgmode@gnu.org; Tue, 13 Jul 2010 07:42:46 -0400 Received: by ewy28 with SMTP id 28so1242147ewy.0 for ; Tue, 13 Jul 2010 04:42:45 -0700 (PDT) In-Reply-To: <447823.81910.qm@web33204.mail.mud.yahoo.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Angel Popov Cc: emacs-orgmode@gnu.org Hi everyone, thanks to all who contributed to this thread. Sending lists should now work as advertised, including using C-c C-c to send the list. - Carsten On Jul 9, 2010, at 7:55 AM, Angel Popov wrote: > Hi, > I am following example on radio tables but it looks that it does not > work. > I copied > % BEGIN RECEIVE ORGLST to-buy > % END RECEIVE ORGLST to-buy > \begin{comment} > #+ORGLIST: SEND to-buy orgtbl-to-latex > - a new house > - a new computer > + a new keyboard > + a new mouse > - a new life > \end{comment} > > and when I C-c C-c on '- a new house' nothing happend > > Regards, Angel > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten