emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Re: [PATCH] docstring bug‏
@ 2010-04-17  6:04 Vincent Belaïche
  0 siblings, 0 replies; only message in thread
From: Vincent Belaïche @ 2010-04-17  6:04 UTC (permalink / raw)
  To: Org mode

I think that 

  @samp{.} 

should rather be replaced by 

  `.' or `<'

than by (without simple quotes)

  <

The `@samp' marco is used for Texinfo source code, while simple quotes
(`') are to be used in docstring.

With my version of org, both `<' and `.' work, but maybe the prefix (`.'
or `<') should be some customizable string.

  Vincent.


> To: davison@stats.ox.ac.uk
> From: bernt@norang.ca
> Date: Fri, 16 Apr 2010 20:16:50 -0400
> CC: emacs-orgmode@gnu.org
> Subject: [Orgmode] Re: [PATCH] docstring bug
>
> Dan Davison <davison@stats.ox.ac.uk> writes:
>
> > In the docstring for org-structure-template-alist it says something that
> > I don't understand. I think perhaps it should be changed to
> >
> > diff --git a/lisp/org.el b/lisp/org.el
> > index 1ef4395..ed602a5 100644
> > --- a/lisp/org.el
> > +++ b/lisp/org.el
> > @@ -9957,7 +9957,7 @@ This function can be used in a hook."
> > )
> > "Structure completion elements.
> > This is a list of abbreviation keys and values. The value gets inserted
> > -it you type @samp{.} followed by the key and then the completion key,
> > +it you type < followed by the key and then the completion key,
> ^^
> if ?
>
> > usually `M-TAB'. %file will be replaced by a file name after prompting
> > for the file using completion.
> > There are two templates for each key, the first uses the original Org syntax,
> >
> > Dan
> >

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-04-17  6:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-17  6:04 [PATCH] docstring bug‏ Vincent Belaïche

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).