[Orgmode] How to align tag to the right margin

2010-12-07 Thread Chao LU
Dear all,

Got another question, as titled, how to align tag to the right margin? My
org tag look like below:

*| blablabalblablab
:Book:Doc:EBook:STAR5:*|*
|
|

-

|

There's some blank between the tags and the
right boundary of Emacs.

Thanks in advance.

Chao
___
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


Re: [Orgmode] How to align tag to the right margin

2010-12-07 Thread Eric S Fraga
Chao LU looc...@gmail.com writes:

 Dear all,

 Got another question, as titled, how to align tag to the right
 margin? My org tag look like below:

check out the variable =org-tags-column= (C-h v org-tags-column RET).
-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
: using Org-mode version 7.3 (release_7.3.221.gb3e16)

___
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


Re: [Orgmode] How to align tag to the right margin

2010-12-07 Thread Chao LU
Hi Eric,

Yes, it works, by (setq org-tags-column 90). But new question arise, it does
not apply to the tags which have already been there (only new tags after the
modification of the alignment number), so how could I get all the tags
updated?

Thanks and best,

Chao

On Tue, Dec 7, 2010 at 10:24 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote:

 Chao LU looc...@gmail.com writes:

  Dear all,
 
  Got another question, as titled, how to align tag to the right
  margin? My org tag look like below:

 check out the variable =org-tags-column= (C-h v org-tags-column RET).
 --
 : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 23.2.1
 : using Org-mode version 7.3 (release_7.3.221.gb3e16)

___
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


Re: [Orgmode] How to align tag to the right margin

2010-12-07 Thread Martin Pohlack
On 07.12.2010 21:48, Chao LU wrote:
 Hi Eric,
 
 Yes, it works, by (setq org-tags-column 90). But new question arise, it does
 not apply to the tags which have already been there (only new tags after the
 modification of the alignment number), so how could I get all the tags
 updated?

org-align-all-tags, should be bound to c-u c-u c-c c-c.

HTH,
Martin

___
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


Re: [Orgmode] How to align tag to the right margin

2010-12-07 Thread Rodney Price

C-u C-c C-q works for me.

I switch between machines with different monitors, and I find that in
the agenda view, the tags can intrude on the headline space.  That is,
an entry I make on one machine puts the tag in a different place than an
entry I make on another machine.  The following snippet lines up the
tags in the agenda view.

;; Place tags close to the right-hand side of the window
(add-hook 'org-finalize-agenda-hook 'place-agenda-tags)
(defun place-agenda-tags ()
  Put the agenda tags by the right border of the agenda window.
  (setq org-agenda-tags-column (- 4 (window-width)))
  (org-agenda-align-tags))

-Rod


Martin Pohlack m...@os.inf.tu-dresden.de writes:

 On 07.12.2010 21:48, Chao LU wrote:
 Hi Eric,
 
 Yes, it works, by (setq org-tags-column 90). But new question arise, it does
 not apply to the tags which have already been there (only new tags after the
 modification of the alignment number), so how could I get all the tags
 updated?

 org-align-all-tags, should be bound to c-u c-u c-c c-c.

 HTH,
 Martin

 ___
 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

___
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