[O] Bug: "file:" protocol link with "#anchor" bad HTML export [9.1.14 (9.1.14-1-g4931fc-elpa @ /home/phil/.emacs.d/elpa/org-9.1.14/)]

2018-11-12 Thread Philip Hudson
il/.emacs.d/elpa/org-9.1.14/) -- Forwarded message ----- From: Bastien Date: Mon, 12 Nov 2018 at 06:19 Subject: Re: Worg commit privs To: Philip Hudson Hi Philip, Philip Hudson writes: > Doesn't look right. The generated link points to a non-existent id: > >

Re: [O] Bug: Capture template insertion fails with #+FOO [9.1.14 (9.1.14-1-g4931fc-elpa @ /home/phil/.emacs.d/elpa/org-9.1.14/)]

2018-11-10 Thread Philip Hudson
On Sat, 10 Nov 2018 at 10:39, Nicolas Goaziou wrote: > > I stand on my ground: capturing an entry should be limited to real > entries, no exception. Fine. Thanks for your patience, and sorry I demanded so much of it. -- Phil Hudson http://hudson-it.ddns.net Pretty Good Privacy

Re: [O] Bug: Capture template insertion fails with #+FOO [9.1.14 (9.1.14-1-g4931fc-elpa @ /home/phil/.emacs.d/elpa/org-9.1.14/)]

2018-11-06 Thread Philip Hudson
On Mon, 5 Nov 2018 at 21:46, Nicolas Goaziou wrote: > > Philip Hudson writes: > > > On Sun, 4 Nov 2018 at 14:03, Nicolas Goaziou wrote: > > >> No, it is not the case. AFAIU, in the minimal failing case, you capture > >> > >> #+FOO: bar > >

Re: [O] Bug: Capture template insertion fails with #+FOO [9.1.14 (9.1.14-1-g4931fc-elpa @ /home/phil/.emacs.d/elpa/org-9.1.14/)]

2018-11-04 Thread Philip Hudson
On Sun, 4 Nov 2018 at 14:03, Nicolas Goaziou wrote: > > Philip Hudson writes: > > > On Sat, 3 Nov 2018 at 08:34, Nicolas Goaziou wrote: > > >> I cannot see your template, since you did not send it yet. I assume it > >> uses an `entry' type. > >

Re: [O] Bug: Capture template insertion fails with #+FOO [9.1.14 (9.1.14-1-g4931fc-elpa @ /home/phil/.emacs.d/elpa/org-9.1.14/)]

2018-11-03 Thread Philip Hudson
On Sat, 3 Nov 2018 at 08:34, Nicolas Goaziou wrote: > > Philip Hudson writes: > > > Why? This is a regression. > > You have something in your configuration that no longer works. Agreed. > Generally > speaking, that could be a plain regression, indeed. But you may

Re: [O] Bug: Capture template insertion fails with #+FOO [9.1.14 (9.1.14-1-g4931fc-elpa @ /home/phil/.emacs.d/elpa/org-9.1.14/)]

2018-11-02 Thread Philip Hudson
On Fri, 2 Nov 2018 at 01:35, Nicolas Goaziou wrote: > > Philip Hudson writes: > > > Here's a minimal failing capture-completed template: > > > > --- Cut here -- > > > > #+FOO: bar > > > > * Baz > > -- Cut here -- >

Re: [O] Bug: Capture template insertion fails with #+FOO [9.1.14 (9.1.14-1-g4931fc-elpa @ /home/phil/.emacs.d/elpa/org-9.1.14/)]

2018-11-01 Thread Philip Hudson
On Thu, 1 Nov 2018 at 22:12, Nicolas Goaziou wrote: > > Philip Hudson writes: > > Could you show your template? Could you explain how you initiate the > capture process (e.g., with arguments)? Also, could you show the desired > output? Here's a minimal failing cap

Re: [O] Bug: Capture template insertion fails with #+FOO [9.1.14 (9.1.14-1-g4931fc-elpa @ /home/phil/.emacs.d/elpa/org-9.1.14/)]

2018-11-01 Thread Philip Hudson
milar-but-different special-purpose entry-template verification function, defined in 'org-capture.el' itself, or, if we can do so without introducing other regressions, we need to modify function `org-kill-is-subtree-p' to accept "#+KEYWORD" in-buffer settings. On Mon, 2

[O] Bug: Capture template insertion fails with #+FOO [9.1.14 (9.1.14-1-g4931fc-elpa @ /home/phil/.emacs.d/elpa/org-9.1.14/)]

2018-10-29 Thread Philip Hudson
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. ---

Re: [O] org-mode - export as folder structure possible?

2016-11-17 Thread Philip Hudson
Have a look at the docstring for the function `org-element-map'. On 17 November 2016 at 00:00, mcg wrote: > Hello, > > I need to create a rather complex folder structure. > It is OK to create that in dired but I think even nicer and faster it would > be to create an org-mode outline which then ex

Re: [O] org mode on osx

2016-11-12 Thread Philip Hudson
Even though it's a large and complex application in itself, Org mode is still "just" an Emacs "mode". Very roughly, that translates to an add-on/plug-in/extension for Emacs. So you start Emacs first. Then within Emacs you either create or open an Org-mode file, that is, a plain text file with the

Re: [O] Tangling flow control

2016-11-10 Thread Philip Hudson
On 10 November 2016 at 01:19, Charles C. Berry wrote: > when developing stuff like this `:wrap src org' will capture it and protect > against messing up the rest of your *.org file. My goodness, you think of everything! Thanks very much Charles. -- Phil Hudson http://hudson-it

Re: [O] Tangling flow control

2016-11-09 Thread Philip Hudson
On 9 November 2016 at 21:41, Charles C. Berry wrote: > The org src block is just a container. Its body is a src block template that > gets copied into the variable `tmpl', which if filled and placed in file can > be tangled. That makes sense, but it seems to conflict with what you illustrate: #+

Re: [O] Tangling flow control

2016-11-09 Thread Philip Hudson
On 9 November 2016 at 17:54, Charles C. Berry wrote: > On Tue, 8 Nov 2016, Philip Hudson wrote: > > [snip] >> >> How do you do "looping" flow control? >> >> For context, what I'm trying to write is a single Org file from which >> I can tangle

Re: [O] DEADLINE: position in entry

2016-11-09 Thread Philip Hudson
On 9 November 2016 at 14:20, Marco Wahl wrote: > In particular, no blank line is allowed between PLANNING and HEADLINE. I just checked, and was surprised to find that M-x org-lint RET does *not* catch this. Is this a bug in org-lint, or does org-lint not intend to catch this sort of thing?

[O] Tangling flow control

2016-11-08 Thread Philip Hudson
Thanks to Charles Berry and the "scraps" site curated by Eric Schulte (is he on the list?), I now know how to do "branching" flow control when tangling, by using a form that evals to either "no" or a filename as the argument to the =:tangle= header. How do you do "looping" flow control? For conte

Re: [O] How are people handling their calendars?

2016-10-24 Thread Philip Hudson
I use Eric Fraga's ical2org awk script, with a few tiny tweaks. It's on Worg. On 24 October 2016 at 00:36, Tristan Strange wrote: > The world of calendars is a murky one isn't it? After a couple of weeks of > fiddling around I finally decided I'd keep my TODO's, deadlines, etc in a > TODO.org and

Re: [O] PDF font

2016-10-12 Thread Philip Hudson
On 12 October 2016 at 08:14, Eric S Fraga wrote: > On Tuesday, 11 Oct 2016 at 20:55, Eduardo Mercovich wrote: > > [...] > >> I tried a bit of HTML as documents, but the un-packaged nature of it >> (document + images + css + etc.) always gave me problems with other >> people. Self contained pdfs, o

Re: [O] PDF font

2016-10-12 Thread Philip Hudson
On 11 October 2016 at 21:55, Eduardo Mercovich wrote: > HTML is easier to style, yes. Does that format, exported to pdf, has > what you need? No. Almost, but hyperlinks are not clickable. > Because latex may take more effort, but it's only once. > Then, you have pdfs with the index, pages of th

Re: [O] ODT export

2016-10-09 Thread Philip Hudson
On 8 October 2016 at 09:10, Philip Hudson wrote: > First time out, very disappointing and confusing results. > > Having created a styled example.odt file as per instructions in the manual... > > (info "(org) Applying custom styles") Sanity check: anyone able to

Re: [O] PDF font

2016-10-08 Thread Philip Hudson
On 8 October 2016 at 03:31, Nick Dokos wrote: > Philip Hudson writes: > >> On 7 October 2016 at 23:14, Nick Dokos wrote: >>> E.g. >>> >>> #+LATEX_HEADER: \usepackage{palatino} > > I should have said that this changes the font for the whole docum

Re: [O] PDF font

2016-10-08 Thread Philip Hudson
On 8 October 2016 at 09:19, Philip Hudson wrote: > On 8 October 2016 at 03:31, Nick Dokos wrote: >> Philip Hudson writes: >> >>> On 7 October 2016 at 23:14, Nick Dokos wrote: >>>> E.g. >>>> >>>> #+LATEX_HEADER: \usepackage{palatino}

[O] ODT export

2016-10-08 Thread Philip Hudson
First time out, very disappointing and confusing results. Having created a styled example.odt file as per instructions in the manual... (info "(org) Applying custom styles") (BTW, the string "Stylist" does not appear anywhere in LibreOffice's UI; there's more than enough difficulty here without

Re: [O] PDF font

2016-10-07 Thread Philip Hudson
On 7 October 2016 at 23:14, Nick Dokos wrote: > Philip Hudson writes: > >> Question: How do I specify how an Org element appears in the >> corresponding exported PDF? Specifically the typeface (font). >> > > E.g. > > #+LATEX_HEADER: \usepackage{palatino}

[O] PDF font

2016-10-07 Thread Philip Hudson
Question: How do I specify how an Org element appears in the corresponding exported PDF? Specifically the typeface (font). Meta-question: Where might this question be answered that I haven't looked? I haven't managed to find it in the manual or on Worg using a fairly exhaustive variety of search t

Re: [O] [BUG] TRAMP error in PDF export

2016-10-07 Thread Philip Hudson
On 7 October 2016 at 14:31, Aaron Ecay wrote: > Org isn’t currently set up to handle compiling Latex documents on a > remote machine. I suppose the relevant function should detect such an > attempt, and immediately error out. Over the longer term, remote > compilation support could be added. T

[O] [BUG] TRAMP error in PDF export

2016-10-06 Thread Philip Hudson
Not 100% sure this is a bug rather than misconfiguration, but it looks like it at first sight: Open an Org file via ssh: C-x C-f /ssh:me@host:/org/anOrgFile.org Export it to PDF: C-c C-e l p I get: (lots of pdfTex error text about not being able to find the file /ssh:me@host:/org/anOrgF

Re: [O] Capture template creates multiple property drawers, help needed

2016-10-01 Thread Philip Hudson
re? > > i have tried both this inside a capture: > > %^{prompt|*** Ingredients} > > > and also just using 2 stars > > ** sub header > > yet none of them create a sub header. any clue guys? > > Z > > > > On Sat, Oct 1, 2016 at 1:26 PM, Philip Hudso

Re: [O] Capture template creates multiple property drawers, help needed

2016-10-01 Thread Philip Hudson
You need to put the timestamp (%u) /after/ the drawer in the template. On 01/10/2016, Xebar Saram wrote: > Hi all > > so i have this useful to me capture template > > (add-to-list 'org-capture-templates >'("un" "resturant" > entry > (fi

[O] Dynamic tangle target?

2016-09-21 Thread Philip Hudson
AFAICT :tangle takes only "yes", "no", or a literal pathname. How might I dynamically generate a pathname for :tangle? I suppose what I want is some kind of escape syntax for eval'ing a Lisp form, like maybe: :tangle %(my-dynamic-filename-generator) Sorry if I'm missing something basic and ob

[O] [OT] List member's email cracked?

2016-09-20 Thread Philip Hudson
Bastien, assuming you're either still on the list or somebody knows how to reach you, I just found I received a spam message 5 days ago from what appears to be your account 'bastien.gue...@free.fr', which I'm guessing is at the French FSF. Thought you'd like to know. I can forward it to you if you

[O] iOrg (was: Programmatically handling org files)

2016-09-14 Thread Philip Hudson
On 12 September 2016 at 23:10, Nick Dokos wrote: > Thorsten Jolitz writes: > >> ... >> >> If you feel you don't need the whole parse tree, but rather want to act >> locally on the Org element at point, you might want to look at >> org-dp.el >> ... > > Just a note for the benefit of newcomers to t

Re: [O] Agenda and Relocated Files

2016-08-04 Thread Philip Hudson
On 4 August 2016 at 20:49, Bo Grimes wrote: > Design directory structure --> Move Files Accordingly--> Change Agenda List Yes. > Or is there a C-c C-? razzle-dazzle that does it? No. -- Phil Hudson http://hudson-it.ddns.net @UWascalWabbit PGP/GnuPG ID: 0x887

Re: [O] how to set a persistent bookmark ...

2016-07-24 Thread Philip Hudson
(require 'saveplace) (setq-default save-place t) On 24 July 2016 at 03:03, Sharon Kimble wrote: > > How can I set a persistent bookmark, showing just the date and time > please? The date and time should be in the form of '-MM-DD HH:MM' - > using the 24-hour clock system - and they should be p

Re: [O] issues with duplicate ID's

2016-07-23 Thread Philip Hudson
On 23 July 2016 at 08:02, Xebar Saram wrote: > i see why this happens since i often copy org headers to add new function > and the ID is copied alongside It would not be too hard to advise `org-yank' and `org-pasted-subtree' to delete yanked IDs that are duplicates within the current buffer, eith

Re: [O] issues with duplicate ID's

2016-07-22 Thread Philip Hudson
On 22 July 2016 at 12:58, Xebar Saram wrote: > Hi all > > i have been having many warnings on Duplicate ID's past month and finally > have time/energy to ask about this ;-) > > so each time i start emacs or switch org buffers i get a ton of warnings on > Duplicate ID's: > ... > > 2 questions > > a

Re: [O] export to ics a specific buffer every X hours

2016-07-13 Thread Philip Hudson
save-meeting-to-ics' to the Emacs global variable `after-save-hook' using function `add-hook'. > nor every 600 seconds. You mean 1800 seconds, I think. > what am i missing here? > > thx > > Z > > On Sun, Jun 26, 2016 at 9:49 PM, Philip Hudson > wrote

[O] Agenda lighter cruft

2016-07-09 Thread Philip Hudson
What's the smart way to get rid of of the cruft in the modeline lighter for the agenda? I've managed to shorten the initial "Org-Agenda" to "OA" but the rest is built in a complex and opaque manner. Before I head off adding advice all over the place, I wonder if there isn't something easier I could

Re: [O] Computing dates in properties?

2016-07-08 Thread Philip Hudson
On 8 July 2016 at 05:01, Jay Iyer wrote: > Is it possible to perform simple calculations in properties like in the > example below? If so, please provide pointers. > Thanks, > -jay > > ** Headline 1 > :PROPERTIES: > :CUSTOM_ID: headline_1 > :DATE: [2016-07-07 Thu] > :END: > > ** Headline 2 > :PRO

Re: [O] MobileOrg: adding new file

2016-06-15 Thread Philip Hudson
On 14 June 2016 at 13:20, Benoît Coste wrote: > So what I wanted to discuss was the possibility for a MobileOrg to create > new files from its phone and keep them synched. > > Currently the list of synched files is a file called "index.org" stored in > the synch folder and Emacs and MobileOrg use

Re: [O] extract a region from a table and export it

2016-06-14 Thread Philip Hudson
On 14 June 2016 at 11:44, Uwe Brauer wrote: > Is it possible to extract just say two regions from a huge table and > convert it to say CSV? Yes. Anything you can think of is possible in Emacs. Usually in two or more different ways. :-) Presumably you want to automate this to make it quickly repe

Re: [O] [OT] Re: capture with iceweasel/firefox -- nothing works

2016-06-04 Thread Philip Hudson
This is moving OT, but bear with me briefly please if you all would, I do (kind of) get back to the OP's concerns at the end. On 4 June 2016 at 21:53, Matt Lundin wrote: > > I think it's > important to note (for anyone thinking of investing time in setting it > up) that conkeror's future is uncer

Re: [O] capture with iceweasel/firefox -- nothing works

2016-06-04 Thread Philip Hudson
On 4 June 2016 at 02:23, Samuel Wales wrote: > over many years, i have been trying to get org-protocol (or > anything similar) to work, and it is not working reliably. > that's why i want this feature to work so much. ... > *what is the most reliable set of instructions or code to > get icewea

Re: [O] org-mode 8.3.x directly opens URL/ follows Timestamp, if Return is clicked

2016-05-30 Thread Philip Hudson
On 30 May 2016 at 13:42, Martin Beck wrote: > I can change that by first entering a space after the link, but I often > forget that and it's not a really robust workaround for me. My workaround is C-o C-f (open-line, forward-char). -- Phil Hudson http://hudson-it.ddns.net @UW

Re: [O] History list for %^{...} in capture

2016-05-26 Thread Philip Hudson
OK, that's what was shown in that foregoing discussion I mentioned. In which case, I guess it would be a good idea to copy that implementation to Worg, or rather copy it to a github repo and link to that from Worg. Or would it be better going into /contrib? Or its own ELPA package? Can't remember

[O] org-mobile leaks agenda buffer named "*SUMO*" on push [8.2.7 (8.2.7-4-g880362-elpa @ /home/phil/.emacs.d/elpa/org-20140616/)]

2014-06-20 Thread Philip Hudson
To: emacs-orgmode@gnu.org Subject: Bug: org-mobile leaks agenda buffer named "*SUMO*" on push [8.2.7 (8.2.7-4-g880362-elpa @ /home/phil/.emacs.d/elpa/org-20140616/)] From: Phil Hudson --text follows this line-- For a long, long time -- at least two years -- I've been experiencing *something* cre