Re: excluding noweb references completely from exports

2020-01-06 Thread Fraga, Eric
On Monday,  6 Jan 2020 at 14:35, Samuel Wales wrote:
> fyi i dimly recall that in babel's infancy, as a user new to lp and
> using babel infrequently, i got confused about the difference while
> reading the manual.  in fact, i wondered if the two features could be
> the same thing but refactored.

Tangling is for extracting code(s) from a document; exporting is for
presentation or dissemination of that document.

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.3-34-g2eee3c



Possible orgalist issue

2020-01-06 Thread Tim Cross


I'm running into an issue with the oralist package. However, I am
running some bleeding edge versions, so this might be something related
to one of them. Really wanted to see if anyone else has observed this
and to verify I am loading the package correctly.

The Problem:

When editing a message and oralist is loaded, when I get to the fill
column, the message "Variable binding depth exceeds max-specpdl-size"
is displayed in the echo error and the cursor jumps back to the
beginning of the current line (not to the next line as would be
expected). This only occurs if orgalist is loaded.

I'm loading orgalist as follows

(use-package orgalist
  :ensure t
  :config
  (add-hook 'mu4e-compose-mode-hook 'orgalist-mode))

I'm using mu4e from the git repository (current head version), Emacs
built from Emacs git repository (emacs-27 branch) and latest
org-plus-contrib package from the org repository.

Questions:

1. anyone else seeing this who is using Emacs 27.0.60
2. am I loading orgalist correctly?
3. anyone running latest mu4e (dev version) seeing this?

My suspicion is that it is related to the latest mu4e version, but
that is really just a guess.


-- 
Tim Cross



Re: Issue with internal directory links

2020-01-06 Thread Jonathan Fox
Hello,

Here's a link I'm using:

[[./templates][Templates]]

I think the issue I'm having arises within the `org-open-file' function at
the following variable assignment inside a let* expression:

(command (mailcap-mime-info mime-type))

In 26.1, the value assigned is `view-mode'. In 27.0.50, the value assigned
is "less '%s'".


On Sat, Jan 4, 2020 at 12:58 PM Nicolas Goaziou 
wrote:

> Hello,
>
> Jonathan Fox  writes:
>
> > When calling `org-open-at-point' with the cursor on an internal link
> > to a directory, the directory is not opened in a new dired buffer and
> > the following message is printed in the minibuffer:
> >
> > "Running less path/to/directory...done"
> >
> >
> 
> >
> > Expected behavior:
> >
> > A dired buffer is opened using the directory in the link.
> >
> >
> 
>
> Could you show the link you're using? FWIW, I don't have trouble opening
> links to directories.
>
> Regards,
>
> --
> Nicolas Goaziou
>


Re: excluding noweb references completely from exports

2020-01-06 Thread Samuel Wales
On 1/5/20, Fraga, Eric  wrote:
> Export and tangling are orthogonal to each other and are controlled
> independently by their respectively keywords in the src header
> lines.  In other words, I am not sure I understand what one has to do
> with the other.

[fyi my computer broke some time ago and i am only partly back so i
might have missed stuff.]

fyi i dimly recall that in babel's infancy, as a user new to lp and
using babel infrequently, i got confused about the difference while
reading the manual.  in fact, i wondered if the two features could be
the same thing but refactored.

so even if david is not confused, i imagine some are.



Canonical way of getting all Org tags?

2020-01-06 Thread Eric Abrahamsen
Hi all,

I've got a "tags" field for contacts in EBDB (a contact management
package) where I'd like to offer completion on Org tags, so users can
tag any of their contacts using their Org tags.

Previously I was providing completion using the
`org-global-tags-completion-table' function, which Worked For Me™
because I define my tags via use in agenda files, not using
`org-tag-alist' or `org-tag-persistent-alist'. I didn't realize that
that function didn't consult those options.

What's the canonical way of getting a table of all the user's
tags, whether defined manually or used in the agenda files?

I guess I could do:

(org--tag-add-to-alist
 (org--tag-add-to-alist
  (org-global-tags-completion-table)
  org-tag-alist)
 org-tag-persistent-alist)

But that is ugly, and uses a double-dash interior function.

Any recommendations?

TIA,
Eric




Re: Confused about src vs example and LaTeX export

2020-01-06 Thread Fraga, Eric
On Monday,  6 Jan 2020 at 09:43, Norman Walsh wrote:
> The trick turned out to be
>
>   (setq org-latex-listings t)

Ah, yes, that needs to be set.  I changed the default so long ago
now...  Anyway, glad you figured it out.

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.2.3-379-gff2bf2



Re: Confused about src vs example and LaTeX export

2020-01-06 Thread Norman Walsh
"Fraga, Eric"  writes:
> On Sunday,  5 Jan 2020 at 10:53, Norman Walsh wrote:
>> In the simple case, both EXAMPLE and SRC export as {verbatim}
>> environments; that’s fine as a default. In the second case, the
>> ATTR_LATEX request for the {lstlisting} environment works on EXAMPLE
>> but appears to be ignored on SRC.
>
> Not for me.  I have lstlisting for both cases.

The trick turned out to be

  (setq org-latex-listings t)

I’ve written up a few more remarks here:

https://so.nwalsh.com/2020/01/05-latex

Be seeing you,
  norm

-- 
Norman Walsh  | People tend to feel strongest about
http://nwalsh.com/| those things they understand the least.


signature.asc
Description: PGP signature