Wei-Wei Guo | 1 May 2009 07:28
Picon

How to remove a item set by diary-cyclic for once?

Dear all,

I scheduled a weekly item by

    %%(diary-cyclic 7 05 01 2009) Group meeting.

The meeting in next week is canceled. Can I cancel the item only in next week?
I also tried to mark CANCELED before it, but the marker is added on the parent
item.

Best wishes,
Wei-Wei

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode <at> gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Bernt Hansen | 1 May 2009 14:58
Picon

Re: How to remove a item set by diary-cyclic for once?

Wei-Wei Guo <wwguocn <at> gmail.com> writes:

> I scheduled a weekly item by
>
>    %%(diary-cyclic 7 05 01 2009) Group meeting.
>
> The meeting in next week is canceled. Can I cancel the item only in next week?
> I also tried to mark CANCELED before it, but the marker is added on the parent
> item.

Why not use a repeating task?

* TODO Your Meeting
  SCHEDULED: <2009-05-01 Fri +1w>

Then you can mark it DONE or CANCELLED in appropriate weeks and it will
reschedule to the following Friday.  The log that records the cancel
would go in your :LOGBOOK: drawer normally.

-Bernt

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode <at> gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Bill Raynor | 1 May 2009 19:01
Picon

How does one get word-wrap to work consistently across platforms?

I have an on-going problem with getting soft-word wrap to work within org-mode. I am using both Aquamacs (org v6.24a) on a macbook and GNU Emacs 23.0.60.1 (org 6.21b) on an XP book (work). In Aquamacs, I have soft-word wrap set to on in options and (setq org-startup-truncated nil) in my configuration file.

The soft fill works inconsistently, and org does not obey the option-q command which is bound to fill-paragraph-or-region. When I use that key combo in GNU Emacs, it does a nice file. In Aquamacs it (usually) replies 'fill-prefix cancelled'. When I run the M-x fill-paragraph it does the wrapping with no indenting.

What am I doing incorrectly in the Aquamacs setup? I would like the system to automatically set the fill-column to, say, 80, and to do soft wraps.

Thanks.

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode <at> gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Wei-Wei Guo | 2 May 2009 02:15
Picon

How to disconnect "remember" with "org-remember"?

Dear all,

I set two different usages for remember, one is the plain remember, the other
is the org-remember.

(defun ww/plain ()
   "Writing diary or notes."
   (interactive)
   (setq remember-handler-functions 'nil)
   (remember))

(defun ww/schedule ()
   "Recoding tasks or appointments."
   (interactive)
   (setq org-remember-store-without-prompt t)
   (org-remember-insinuate)
   (org-remember))

After I run ww/schedule, the (remember) and ww/plain become a call of org-remember.
It seems (org-remember) will take over (remember). Can I change the behavior?

Best wishes,
Wei-Wei

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode <at> gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Bernt Hansen | 2 May 2009 03:09
Picon

Re: How to remove a item set by diary-cyclic for once?

cc-ing org-mode since this conversation went off-list and may be useful to
more people.

Wei-Wei Guo <wwguocn <at> gmail.com> writes:

> Bernt Hansen 写道:
>
>> I have
>>
>> (setq org-use-fast-todo-selection t)
>>
>> so C-c C-t and t in the agenda displays the menu of todo keywords to
>> select and I can jump directly to any keyword.
>
> Thanks a lot!
>
> Only for your information. I find org-use-fast-todo-selection has no
> effect. C-c C-t works without it. Actually I don't find the variable
> in org mode manual.

In an org-mode file C-u C-c C-t and C-c C-t are switched by
org-fast-todo-selection IIRC.

>
> BTW, I set
>
> (setq org-agenda-custom-commands
>       '(("t" "Change item TODO sequnce."
>          ((org-todo)))
>         ))
>
> Then I can use the single key 't' instead of C-c C-t in the agenda view.
>

't' works for me in the agenda out of the box with no special
configuration.

-Bernt

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode <at> gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Wei-Wei Guo | 2 May 2009 03:43
Picon

Re: How to remove a item set by diary-cyclic for once?

Bernt Hansen 写道:

Hi,

> cc-ing org-mode since this conversation went off-list and may be useful to
> more people.
> 

Sorry, I didn't notice I only send mail to you. I made the mistake many times.
I should be more careful ...

Thanks for your help!

Best wishes,
Wei-Wei

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode <at> gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Andrew Hyatt | 3 May 2009 01:08
Picon

Coloring jabber contacts in org-mode tags according to availability

I like to put coworker's usernames as tags to my tasks, if I need to
interact with them to get the task done.  Looking over the agenda for
the day while i decide on my next task, I decided I wanted to see if
my coworkers were available so that I don't have to check around when
deciding on my next task.  So, I wrote the following function to color
my tags based on the jabber availability of the person in question
(green / yellow / red).  It's not super-efficient, but it should work
quickly for most people.  If there is widespread interest in this, I
can develop it into a contrib package.

(defun ash-jabber-colorize-tags ()
  (let ((contact-hash (make-hash-table :test 'equal)))
    (dolist (jc jabber-connections)
      (dolist (contact (plist-get (fsm-get-state-data jc) :roster))
        (puthash (car (split-string (symbol-name contact) " <at> "))
contact contact-hash)))
    (save-excursion
      (goto-char (point-min))
      (while (re-search-forward ":\\(\\w+\\):" nil t)
        (let ((tag (match-string-no-properties 1)))
          (when (and tag (gethash tag contact-hash))
            (let* ((js (jabber-jid-symbol (gethash tag contact-hash)))
                   (connected (get js 'connected))
                   (show (get js 'show)))
              (if connected
                  (let ((o (make-overlay (match-beginning 1) (-
(point) 1))))
                    (overlay-put o 'face
                                 (cons 'foreground-color
                                       (cond ((equal "away" show)
                                              "yellow")
                                             ((equal "dnd" show)
                                              "red")
                                             (t "green")))))))))
        (backward-char)))))

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode <at> gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

thierry.volpiatto | 3 May 2009 11:50
Face
Picon
Gravatar

org-annotation-helper

Hi all,
I use org-annotation-helper.el with firefox.
When i have a region with multilines marked in firefox and i use
remember, the region is  sended to emacs but on one line (the newlines
are removed). 
Somebody know how to fix that?
Thanks.
--

-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode <at> gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Carsten Dominik | 2 May 2009 09:27
Picon

Re: Re: markup in environments in latex export

Hi Chris,

I have been pondering about this idea, and I prefer to not integrate
it into the Org core because I think it may lead to undesired behavior,
in particular in the other backends like docbook or ASCII.

However, I have just created three new hooks

	* org-exp.el (org-export-preprocess-after-blockquote-hook): New hook.
	(org-export-preprocess-string): Run the new hook.

         * org-latex.el (org-export-latex-after-blockquotes-hook): New  
hook.
         (org-export-latex-preprocess): Run the new hook.

	* org-html.el (org-export-html-after-blockquotes-hook): New hook.
	(org-export-as-html): Run the new hook.

which would allow to easily implement your idea as an add-on package
that we could include in the contrib directory.  Would you like to
reformulate your patch into a small add-on?  The only thing I would
like to ask is to keep it LaTeX/HTML-specific, and this means that
the action to turn #+begin_..... into the cookies should be wrapped
into

(when (or latexp htmlp)
    .......
   )

latexp and htmlp are a local variables available when the
first of the three hooks is run.

- Carsten

On Apr 19, 2009, at 9:55 PM, Chris Gray wrote:

> Hi Carsten,
>
> I took up your challenge and made a patch that does what I want.  It
> does what I suggested in my previous email in that it allows one to
> put #+begin_foo and #+end_foo tags in the body of an org file.  These
> tags allow you to change the environment of the text between them.
> What that means is left up to the exporter.  For example, in LaTeX,
> the tags are expanded to \begin{foo} and \end{foo}, whereas in HTML, I
> have the tags being expanded to <div class="foo"> and </div>.  (I am
> not sure if that is the right thing to do in HTML...)  The text
> between the tags is not protected, and thus it is interpreted for
> markup just as the rest of the file.
>
> I have left the old cases in place, so blockquote, verse, and center
> should still have the same behaviour as before.  The only behaviour
> that changes is with #+begin_quote in HTML.  This no longer generates
> a blockquote, but a <div class="quote">.  It would be easy to revert
> this to the old behaviour if many people were using #+begin_quote with
> HTML export.
>
> I have put the patches up in a github repository (basically because I
> wanted to play with github), so you should be able to pull them from
> the general-cookies branch of git://github.com/chrismgray/org-mode.git
>
> Cheers,
> Chris
>
> Carsten Dominik wrote:
>
>> Hi Chris,
>
>> no, this is really by design the way it is.  Org-mode has its own
>> markup.  As a bonus to people used to LaTeX, it allows certain
>> LaTeX constructs to be intermingled into the file.  For LaTeX
>> export, it will export these *literally*, the entire construct.
>> For HTML export, you can arrange for these snippets to be
>> processed by LaTeX as well and then included as images,
>> this is useful for formulas and some other constructs.
>
>> Here is a way to fool it:
>
>> \nop{}\begin{center}
>
>> - /a/ this is a
>> - /b/ this is b
>
>> \begin{itemize}
>> \item \emph{a} this is a
>> \item \emph{b} this is b
>> \end{itemize}
>
>> \nop{}\end{center}
>
>> - /a/ this is a
>> - /b/ this is b
>
>
>> Why does it fool it?  Because it recognized full environments to be
>> included
>> by \begin ... \end, wit these macros at the beginning of the line.
>
>> If I were to allow what you propose, it would quickly become hard to
>> know
>> what should be LaTeX and what not.  I think.
>
>> Feel free to try to make a patch that will convince me of the  
>> opposite.
>
>> - Carsten
>
>
>
>> On Apr 16, 2009, at 3:09 PM, Chris Gray wrote:
>
>>> Carsten Dominik wrote:
>
>>>> Hi Chris,
>
>>>> you can't have the cake and eat it.
>
>>>> if you insert a LaTeX environment, the entire environment
>>>> will be protected.  After all, you rely on this quoting with your
>>>> itemize environment!
>
>>> Hi Carsten,
>
>>> I don't really understand this.  I can see it for things like the
>>> verbatim environment, but that might be a special case.
>
>>>> However, you can do this:
>
>>>> #+begin_center
>
>>> I should have chosen a different example I suppose.  What I am  
>>> really
>>> using, rather than center, are the theorem, lemma, and proof
>>> environments.  I thought it would be safer for my example to use an
>>> environment that is included by default in LaTeX.  Unfortunately,
>>> center
>>> is already a special case in org.  But I tried #+begin_proof and  
>>> that
>>> did not work.
>
>>>> This works by the protection being done first, and only
>>>> then #+begin_center is turned into \begin{center}
>
>>> Perhaps that could be generalized so that #+begin_foo means "do the
>>> regular org parsing and then turn on \begin{foo}"?  Other exporters
>>> would be free to ignore these commands.
>
>>> I really like doing my work in org mode, and I can certainly convert
>>> my
>>> markup commands to regular LaTeX, but doing that really seems like a
>>> second-best solution.
>
>>> Cheers,
>>> Chris
>
>
>
>>> _______________________________________________
>>> Emacs-orgmode mailing list
>>> Remember: use `Reply All' to send replies to the list.
>>> Emacs-orgmode <at> gnu.org
>>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode <at> gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode <at> gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode <at> gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Carsten Dominik | 3 May 2009 18:14
Picon

Re: Timestamp modifiers for specific tags

You can do things like this with Emacs keyboard macros.

- Carsten

On Apr 30, 2009, at 5:13 PM, Benjamin Tovar wrote:

> Hi,
>
> I can specify a timestamp with a modifier like '-3m' to indicate  
> that I
> want to be reminded of the task 3 months before the deadline. Now,  
> say I
> have a tag :conference-deadline:, and I want all the entries with such
> tag to automatically have the '-3m' modifier, without the need of  
> adding
> it manually to each of them.
>
> Does anybody have any pointers on how to do this? Thanks!
>
> --
> Benjamin Tovar
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode <at> gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode <at> gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Gmane