emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug with capture template having %? cursor in the tags section
@ 2016-09-30 22:42 Michael Fiano
  2016-10-03 17:57 ` Michael Fiano
  2016-10-08 13:57 ` Nicolas Goaziou
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Fiano @ 2016-09-30 22:42 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 456 bytes --]

If I create a capture template that creates a headline such as:

"* %? :note:\n", then upon capturing the note tag is correctly shifted over
to org-tags-column.

However, if I position the %? cursor to be:

%?:note:
:note:%?

or anywhere in between, the tags are not written to the correct column,
instead with 1 space after the headline. I just wanted to manually define
some extra tags, instead of using %^g/%^G, but this messes up the column
placement.

[-- Attachment #2: Type: text/html, Size: 598 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug with capture template having %? cursor in the tags section
  2016-09-30 22:42 Bug with capture template having %? cursor in the tags section Michael Fiano
@ 2016-10-03 17:57 ` Michael Fiano
  2016-10-08 13:57 ` Nicolas Goaziou
  1 sibling, 0 replies; 3+ messages in thread
From: Michael Fiano @ 2016-10-03 17:57 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 692 bytes --]

Curious, has anyone been able to look into this and my other bug report
that has gone unnoticed, or is more information needed?

On Fri, Sep 30, 2016 at 6:42 PM, Michael Fiano <michael.fiano@gmail.com>
wrote:

> If I create a capture template that creates a headline such as:
>
> "* %? :note:\n", then upon capturing the note tag is correctly shifted
> over to org-tags-column.
>
> However, if I position the %? cursor to be:
>
> %?:note:
> :note:%?
>
> or anywhere in between, the tags are not written to the correct column,
> instead with 1 space after the headline. I just wanted to manually define
> some extra tags, instead of using %^g/%^G, but this messes up the column
> placement.
>

[-- Attachment #2: Type: text/html, Size: 1106 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug with capture template having %? cursor in the tags section
  2016-09-30 22:42 Bug with capture template having %? cursor in the tags section Michael Fiano
  2016-10-03 17:57 ` Michael Fiano
@ 2016-10-08 13:57 ` Nicolas Goaziou
  1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2016-10-08 13:57 UTC (permalink / raw)
  To: Michael Fiano; +Cc: emacs-orgmode

Hello,

Michael Fiano <michael.fiano@gmail.com> writes:

> If I create a capture template that creates a headline such as:
>
> "* %? :note:\n", then upon capturing the note tag is correctly shifted over
> to org-tags-column.
>
> However, if I position the %? cursor to be:
>
> %?:note:
> :note:%?
>
> or anywhere in between, the tags are not written to the correct column,
> instead with 1 space after the headline.

This is because neither %?:note: nor :note:%? are tag syntax, and %?
place holder is removed as the last step of the process, i.e., after
aligning tags.

This doesn't solve your problem, but, at least you know the reason why.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-10-08 13:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-30 22:42 Bug with capture template having %? cursor in the tags section Michael Fiano
2016-10-03 17:57 ` Michael Fiano
2016-10-08 13:57 ` Nicolas Goaziou

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).