[O] Bug: Fix no-byte-compile in org-pkg.el [8.3.6 (8.3.6-7-g4d7d52-elpa @ /home/thierry/.emacs.d/elpa/org-20161017/)]

2016-10-18 Thread Thierry Volpiatto


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.


Actually in org-pkg.el, the local setting of `no-byte-compile` have no
effect, please use:

;; Local Variables:
;; no-byte-compile: t
;; End:

at end of file to avoid warning when package is compiled.

Thanks.

Emacs  : GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
 of 2016-06-27 on dell-14z
Package: Org-mode version 8.3.6 (8.3.6-7-g4d7d52-elpa @ 
/home/thierry/.emacs.d/elpa/org-20161017/)
-- 
Thierry



[Orgmode] Re: Announcing org-contacts, a bbdb-like contact manager for Org

2011-02-11 Thread Thierry Volpiatto
Julien Danjou jul...@danjou.info writes:

 On Thu, Feb 10 2011, Tassilo Horn wrote:

 I'm also using Emacs 24, and for me it doesn't work.

 Ok. Anyway I've just double checked, and it worst than that.

 Typing 'a' complete to 'aA' (instead of 'Anne mailaddress') and then
 does nothing since aA is not valid.

 I'm not sure completion-at-point-functions is correctly usable in this
 same dondition as message/bbdb completion was. The latter used to return
 a function which is marked as decouraged in
 `completion-at-point-functions' docstring. So org-contacts does not use
 it. OTOH, returning a (START END COLLECTION) triplet is not very usable
 since if you return a collection that start with a different character
 set than (buffer-substring start end), it does not work.

 (Cc'ing emacs-devel, in case someone has an advice on that.)
I am not using anymore bbdb, using only my own addressbook based on
bookmarks.It have completion in message with TAB.
You can get it here:
http://mercurial.intuxication.org/hg/emacs-bookmark-extension/

Maybe it can help for your org-contacts.

-- 
A+ Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 


___
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


[Orgmode] Re: how to stop delete key putting a region into kill ring

2010-08-14 Thread Thierry Volpiatto
Nick Dokos nicholas.do...@hp.com writes:

 [Somewhat off-topic for this list, so it might be better to follow up
 on gnu.emacs.help or some such.]

 Ivanov Dmitry usr...@gmail.com wrote:

 When I am editing a text in Emacs - not only in org-mode - when I
 select a region and press Del to remove it, it's being placed into
 the clipboard and when I want to paste some text instead I have to get
 rid of it.
 

 Does anybody know, how to stop it and make Del simply kill the
 region without putting it into the clipboard?
 

 My delete key is (normally) bound to delete-char and it does not
 behave at all the way you describe: in particular, it does not matter
 whether a region is selected or not - it deletes one character (and that
 is *not* saved in the kill ring.) In order to delete a selected region,
 I use C-w (kill-region) which *does* save the killed region to the kill
 ring (it also copies it to the X cut buffer - or the successors
 thereof - if emacs is running under X.) The kill-region function is also
 bound to S-delete in my case, which may be what you mean - or it may
 be that you have customized your keys somehow.

Things have changed in Emacs24:

,
| *** New option `delete-active-region'.
| If non-nil, C-d, [delete], and DEL delete the region if it is active
| and no prefix argument is given.  If set to `kill', these commands
| kill instead.
`

Before i had to use this:

,
| (defun tv-delete-char (arg beg end)
|   (interactive p\nr)
|   (if (region-active-p)
|   (delete-region beg end)
|   (delete-char arg)))
| 
| (global-set-key (kbd C-d) 'tv-delete-char)
`

 You can delete the region without saving it to the kill ring by calling
 the function delete-region (which in my case is bound to the Clear item
 in the Edit menu). And you can rebind any key you want to call this
 function (in particular, the delete key, however inadvisable that
 would be)[1], at the risk of being incompatible with everybody else in
 the universe and therefore having a harder time getting help. In
 particular, if you do that, mentioning keys is not going to help: you
 will have to use C-h c (describe-key-briefly) or C-h k (describe-key) on
 the key in order to find out the function that it is bound to and then
 mention that. You might want to do that now with delete and see what
 function it is bound to.

 opinion
 This latter problem is partly the reason that having command names, as
 well as key descriptions, in the manual is useful. It is also why
 things like ErgoEmacs (see Don Womick's posting in this list a little
 while ago) make whatever hair I have left on my head stand on end.
 /opinion

 BTW, I mention X and assume that you are running on some Unix variant.
 If you are running on Windows of some sort, things are probably different,
 at least in some details.

 HTH,
 Nick

 [1] see section 57.4, Customizing Key Bindings, in the Emacs manual
 for details.


 ___
 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


-- 
Thierry Volpiatto
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 


___
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


[Orgmode] info:annotation in Emacs bookmarks with org

2010-08-01 Thread Thierry Volpiatto
Hi all,
you can use now annotation feature of Emacs bookmarks with org if you
use bookmark-extensions.el.

http://mercurial.intuxication.org/hg/emacs-bookmark-extension/

-- 
Thierry Volpiatto
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 


___
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


[Orgmode] Re: org-protocol

2010-07-26 Thread Thierry Volpiatto
Richard Riley rile...@gmail.com writes:

 Richard Riley rile...@gmail.com writes:

 I'm trying to get FF working with org again -

 http://orgmode.org/worg/org-contrib/org-protocol.php

 It says 

 ,
 |1. Type about:config into the location bar and press enter.
 |2. Click I'll be careful, I promise! to continue.
 |3. Right-click on the grid
 |4. Choose New - String from the context menu.
 |5. Enter network.protocol-handler.app.org-protocol as the properties 
 name.
 |6. Click OK.
 |7. Leave the value blank.
 |8. Next time you try to open a location org-protocol://... FF will 
 ask you for the program to use. Enter the path to emacsclient.
 `

 It doesnt prompt me for a program. Is this uptodate or is there a better
 step by step guide? 


 Despite having 3.5, the instructions for getting the app registered
 didnt work for some reason (iceweasel?). Anyway, the gconftool method
 worked.
You can use firefox-protocol.el from
http://mercurial.intuxication.org/hg/emacs-bookmark-extension/

M-x firefox-protocol-installer-install

Don't know if it work with iceweasel, but i have set many protocols here
in firefox without any failures.

You will find a documentation file bookmark-extensions-documentation.rst.
 
-- 
Thierry Volpiatto
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 


___
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] [BUG] org remember broken

2010-07-15 Thread Thierry Volpiatto
Hi Carsten,

Carsten Dominik carsten.domi...@gmail.com writes:

 Hi Thierry,


 I cannot easily see why org-decrypt-entry is being called, and if it
 is being called in
 the remember buffer or where?

I don't know, i didn't have time to look carefuly, just sent the
backtrace.

 Anyway, most of us are moving to org-capture, so I would be more
 inclined
 to look into this if this is still an issue in org-capture

This is working fine and is very nice, like the facility to export my
remember templates :-).

Thanks.

-- 
Thierry Volpiatto
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997 

___
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


[Orgmode] [BUG] org remember broken

2010-07-10 Thread Thierry Volpiatto
Hi,
org remember used with refile to (C-1 C-c C-c) and with org-crypt loaded
fail leaving an empty *remember* buffer with error: (Appear on Emacs24,
not on Emacs23.2)

,
| Use C-c C-c to remember the data.
| Getting targets...done
| Copied: Subtree(s) with 186 characters
| Cut: Subtree(s) with 186 characters
| Refiled to Emacs development (agenda.org)
| Entering debugger...
`

Here the backtrace

,
| Debugger entered--Lisp error: (error Before first headline at position 1 in 
buffer *Remember*)
|   signal(error (Before first headline at position 1 in buffer *Remember*))
|   error(Before first headline at position %d in buffer %s 1 #buffer 
*Remember*)
|   byte-code(\300\301`p#\207 [error Before first headline at position %d in 
buffer %s] 4)
|   org-back-to-heading(t)
|   org-decrypt-entry()
|   run-hooks(org-reveal-start-hook)
|   org-reveal()
|   org-refile(nil #buffer agenda.org)
|   byte-code(
| [...]
| 
|  [org-note-abort org-jump-to-target-location visitp buffer-file-name
| org-remember-backup-directory backup-file throw quit t boundp
| file-name-directory file-name-as-directory expand-file-name string-match
| ^remember-[0-9]\\{4\\} file-name-nondirectory \\S- buffer-string
| message Nothing to remember nil (byte-code  [...]
| 
|  [backup-file delete-file ~] 3) ((error)) set-buffer-modified-p ((16)
|   0) 2 3 org-xor 1 refile org-get-org-file org-find-base-buffer-visiting
|   (4) marker-buffer re-search-forward [ \n]+\\' replace-match 
|   looking-at *  current-time-string  ( remember-buffer-desc )\n -1
|   ^   \n[ ]*\n[ \n]*\\' \n\n [ \n]*\\' ...] 6)
|   org-remember-handler()
|   run-hook-with-args-until-success(org-remember-handler)
|   remember-region(1 545) remember-finalize() org-remember-finalize()
|   call-interactively(org-remember-finalize nil nil)
`

-- 
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/



___
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


[Orgmode] Re: Getting a Google Maps' map for an entry

2010-06-29 Thread Thierry Volpiatto
Julien Danjou jul...@danjou.info writes:

 Hi there,

 I've recently wrote a Google Maps extension for Emacs[1].

 Therefore, I've extended org-mode to display a Google Maps' map for an
 event location. The extension, which is very simple, is available
 here[2] and I wanted you to know about it.

 I'd be glad to have feedback. patches or ideas. ;)

Just have a quick try, work very well, thanks for this ;-).

-- 
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/


___
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


[Orgmode] Re: Getting a Google Maps' map for an entry

2010-06-29 Thread Thierry Volpiatto
Julien Danjou jul...@danjou.info writes:

 On Tue, Jun 29 2010, Memnon Anon wrote:

 It would be nice the initial zoom level of a map would be set right at
 the beginning.

 The problem is that this is not possible. The zoom level, if not
 specified, is determined automatically by Google Maps, and we have no
 clue about its value.

 Therefore you need to press 'w' (with an eventual prefix) to set a first
 zoom level.

You mean 'z' maybe?
I bind google-maps in addressbook-bookmark.el, that allow to jump on
gmap from a contact in addressbook (C-c g m).
addressbook is part of bookmark-extensions:
http://mercurial.intuxication.org/hg/emacs-bookmark-extension
 
-- 
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/


___
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


[Orgmode] Re: org-remember and anything

2010-06-14 Thread Thierry Volpiatto
Glauber Alex Dias Prado sma...@gmail.com writes:

 i thought i was explicity enough when i said when calling org-remember
 :), this happens after i select a template and it prompts for completion
 which is being handled by anything, that is when the backtrace happens,
 this only happens with org-mode so i thought it was more a org thing
 than anything.

I understood you were using org-remember ;-)
What i still don't know is in what org-remember envolve anything.
Anything should not be called for template completion.
The config you sent me in other mail is not clear enough.
My guess is you are using anything-complete.el somewhere and maybe
something like this in your .emacs:

,
| (anything-read-string-mode 1)
`
That's replace normal completing-read and read-file-name by the one from
anything-complete.el that are experimentals and not working everywhere.

You will find stable replacement of these functions in
anything-config.el called:
anything-comp-read
anything-c-read-file-name


So, please try to invoke anything with ONLY this config:

,
| (add-to-list 'load-path path/to/anything)
| (require 'anything-config)
`

You need only two files for this:
anything.el
anything-config.el

You can get the latest files here:
http://repo.or.cz/w/anything-config.git

And remove all personal anything configs you may have in .emacs or
somewhere else. (or use emacs -Q)

Then call org-remember and tell me if problem appear.

-- 
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/


___
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


[Orgmode] Re: org-remember and anything

2010-06-12 Thread Thierry Volpiatto
 #(Brief Description:  0 17 (fontified nil)) noresume nil 
 *anything complete*)
   anything-noresumename . Default) (default-value . ) (action . 
 identity) (accept-empty)) ((name . Completions) (candidates) (action . 
 identity) nil nil) ((name . History) (candidates . 
 org-remember-template-prompt-history::Brief\ Description) nil (action . 
 identity)) ((name . #(Brief Description:  0 17 ...)) (dummy) (action . 
 identity))) nil #(Brief Description:  0 17 (fontified nil)) nil nil 
 *anything complete*)
   ad-Orig-completing-read(#(Brief Description:  0 17 (fontified nil)) nil 
 nil nil nil org-remember-template-prompt-history::Brief\ Description nil nil)
   completing-read(#(Brief Description:  0 17 (fontified nil)) nil nil nil 
 nil org-remember-template-prompt-history::Brief\ Description nil)
   apply(completing-read (#(Brief Description:  0 17 (fontified nil)) nil 
 nil nil nil org-remember-template-prompt-history::Brief\ Description nil))
   org-icompleting-read(#(Brief Description:  0 17 (fontified nil)) nil nil 
 nil nil org-remember-template-prompt-history::Brief\ Description nil)
   apply(org-icompleting-read (#(Brief Description:  0 17 (fontified nil)) 
 nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil))
   org-completing-read(#(Brief Description:  0 17 (fontified nil)) nil nil 
 nil nil org-remember-template-prompt-history::Brief\ Description nil)
   apply(org-completing-read (#(Brief Description:  0 17 (fontified nil)) 
 nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil))
   org-completing-read-no-i(#(Brief Description:  0 17 (fontified nil)) nil 
 nil nil nil org-remember-template-prompt-history::Brief\ Description nil)
   org-remember-apply-template()
   run-hooks(fundamental-mode-hook text-mode-hook remember-mode-hook)
   apply(run-hooks (fundamental-mode-hook text-mode-hook remember-mode-hook))
   run-mode-hooks(remember-mode-hook)
   remember-mode()
   remember(nil)
   org-do-remember()
   org-remember(nil)
   call-interactively(org-remember nil nil)

 ___
 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


-- 
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/


___
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


[Orgmode] Re: visiting the last node filed from Remember buffer

2010-06-11 Thread Thierry Volpiatto
Bastien bastien.gue...@wikimedia.fr writes:

 Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 This could go in Worg:

 This is automatically done. Did not know about this, but yes it's there (in
 the bookmark list, when `C-x r l'), without having set anything special.

 Aaarrgh!   I *love* Org.

Very nice, i have just added a key O to filter only these two
bookmarks in bookmark-extensions.el
http://mercurial.intuxication.org/hg/emacs-bookmark-extension/

So when you hit O from the bookmark list (C-x r l) you have that:

,
| % Bookmark Last Org Stored
| - 
|   org-refile-last-stored
|   org-remember-last-stored
`

-- 
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/


___
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


[Orgmode] Re: feature-request: colorize diary entries in agenda

2010-01-04 Thread Thierry Volpiatto
Carsten Dominik carsten.domi...@gmail.com writes:

 On Jan 4, 2010, at 3:57 PM, Thierry Volpiatto wrote:

 Hi Carsten,

 Carsten Dominik carsten.domi...@gmail.com writes:

 Hi Thierry,

 there is now a new face, org-agenda-diary, for this purpose.

 Nice, thank you, i will have a look.
 How do you enable it?


 It is already implemented - all you need to do is to customize the
 face - right now all it does is inheriting from `default'.

 The code you show below is no longer needed.

Great, thank you. ;-)

 - Carsten

 I use that actually:

 ,
 | (defun tv-org-propertize-diary-entries ()
 |   (save-excursion
 | (let ((inhibit-read-only t))
 |   (goto-char (point-min))
 |   (while
 |   (re-search-forward ^ *[Dd]iary nil t)
 | (add-text-properties
 |  (point-at-bol) (point-at-eol) '(face tv-org-diary))
 | (add-hook 'org-finalize-agenda-hook 'tv-org-propertize-diary-
 entries)
 `

 HTH

 - Carsten

 On Dec 17, 2009, at 10:25 AM, Thierry Volpiatto wrote:

 Hi, should be great to be able to colorize diary entries in agenda.
 I didn't find customisation for that apart modifying:
 ,
 | (defun org-get-entries-from-diary (date)
 |   Get the (Emacs Calendar) diary entries for DATE.
 |
 | [...]
 |
 | (org-add-props x (text-properties-at (1- (length x)) x)
 |   'type diary 'date date 'face 'tv-org-diary))
 |   entries)
 `
 Did i miss something?
 --
 A + Thierry Volpiatto
 Location: Saint-Cyr-Sur-Mer - France




 ___
 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

 - Carsten




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

 - Carsten





 ___
 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


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



___
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] feature-request: colorize diary entries in agenda

2010-01-04 Thread Thierry Volpiatto
Hi Carsten,

Carsten Dominik carsten.domi...@gmail.com writes:

 Hi Thierry,

 there is now a new face, org-agenda-diary, for this purpose.

Nice, thank you, i will have a look.
How do you enable it?
I use that actually:

,
| (defun tv-org-propertize-diary-entries ()
|   (save-excursion
| (let ((inhibit-read-only t))
|   (goto-char (point-min))
|   (while
|   (re-search-forward ^ *[Dd]iary nil t)
| (add-text-properties
|  (point-at-bol) (point-at-eol) '(face tv-org-diary))
| (add-hook 'org-finalize-agenda-hook 'tv-org-propertize-diary-entries)
`

 HTH

 - Carsten

 On Dec 17, 2009, at 10:25 AM, Thierry Volpiatto wrote:

 Hi, should be great to be able to colorize diary entries in agenda.
 I didn't find customisation for that apart modifying:
 ,
 | (defun org-get-entries-from-diary (date)
 |   Get the (Emacs Calendar) diary entries for DATE.
 |
 | [...]
 |
 |   (org-add-props x (text-properties-at (1- (length x)) x)
 | 'type diary 'date date 'face 'tv-org-diary))
 | entries)
 `
 Did i miss something?
 -- 
 A + Thierry Volpiatto
 Location: Saint-Cyr-Sur-Mer - France




 ___
 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

 - Carsten




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


___
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


[Orgmode] feature-request: colorize diary entries in agenda

2009-12-17 Thread Thierry Volpiatto
Hi, should be great to be able to colorize diary entries in agenda.
I didn't find customisation for that apart modifying:
,
| (defun org-get-entries-from-diary (date)
|   Get the (Emacs Calendar) diary entries for DATE.
| 
| [...]
| 
|  (org-add-props x (text-properties-at (1- (length x)) x)
|'type diary 'date date 'face 'tv-org-diary))
|entries)
`
Did i miss something?
-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France




___
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


[Orgmode] Re: Again on bookmarks

2009-11-28 Thread Thierry Volpiatto
Thierry Volpiatto thierry.volpia...@gmail.com writes:

 Samuel Wales samolog...@gmail.com writes:

 On 2009-11-26, Thierry Volpiatto thierry.volpia...@gmail.com wrote:
 reimport back to
 org without losing the annotations (new browser tabs (web pages) that
 org does not know about yet end up in a special place in the org
 hierarchy while existing ones sync with existing headlines).

 You can actually store all Firefox bookmarks to a org file.
 Not a specific Firefox bookmark folder (that can be done though).

 If the link is already in an org file, will it update the dates and
 avoid adding it to org elsewhere?  Otherwise every time you store to
 an org file, you add duplicate entries.

 Yes.

When i said yes, i misunderstand what you wrote above, maybe i read too
quickly.
What you asked for was not done at this time.

But now it is. ;-)

You can have now in one org file all your firefox and w3m bookmarks and
synchronize this file with firefox or w3m without duplicating and
without loosing eventual notes you write in your bookmarks entries.

Example of file:

,
| * Firefox Bookmarks
| 
| ** bookmark1
|some notes about this bookmark
| ** bookmark2
| 
| * W3m Bookmarks
| 
| ** bookmark1
| ** bookmark2
|with notes
| ** bookmark3
| 
| etc
`


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



___
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


[Orgmode] Re: Again on bookmarks

2009-11-26 Thread Thierry Volpiatto
andrea andrea.crott...@gmail.com writes:

 Samuel Wales samolog...@gmail.com writes:

 On 2009-11-25, andrea andrea.crott...@gmail.com wrote:

 That can be done with existing features, IIUC.

 I don't know if this is what you're considering, but I'd like to use
 org as the central place to store all bookmarks, for all browsers, and
 sync.  What needs to be done to make that happen, do you suppose?

 I agree with you.
 Exporting automatically all the files in the org-agenda to a very big
 html file with all the links it's not a big deal.

 The problems than for me are
 - organization of bookmarks:
   If they are all together it's not so useful, I would like subdiretories

 - integration with browsers and automatic importing:
   Without automatic importing/synchronization it's not so useful, we
   should find a common way to collect bookmarks and set the different
   browsers to fetch from it.

See BookmarkExtension:
http://www.emacswiki.org/cgi-bin/emacs/BookmarkExtension

It support now nearly all:
emacs-w3m bookmarks, Firefox bookmarks, Delicious bookmarks, Gnus
bookmarks, Man pages etc...

You can jump to url bookmarks either to w3m or Firefox.

 Any other thoughts?
 If someone uses quicksilver by the way I think an org-mode plugin would
 be wonderful, it would be a nice way to experiment with objective C... 



 ___
 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


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



___
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


[Orgmode] Re: Again on bookmarks

2009-11-26 Thread Thierry Volpiatto
andrea andrea.crott...@gmail.com writes:

 Thierry Volpiatto thierry.volpia...@gmail.com writes:

 andrea andrea.crott...@gmail.com writes:

 See BookmarkExtension:
 http://www.emacswiki.org/cgi-bin/emacs/BookmarkExtension

 It support now nearly all:
 emacs-w3m bookmarks, Firefox bookmarks, Delicious bookmarks, Gnus
 bookmarks, Man pages etc...

 You can jump to url bookmarks either to w3m or Firefox.


 I installed it but it has no kind of documentation and I don't see any
 way to export/use from an external browser...

 It looks like just a replacement for bookmark in emacs, is there any doc
 somewhere?
Yes it is enhancement of standard Emacs bookmarks.

I wrote a little doc only to setup Firefox protocols, you will find it
in the directory you get with mercurial.

Before all, you have to setup Firefox.
Read the doc on Emacswiki and the file
bookmark-extensions-documentation.rst.

When done use as standard Emacs bookmarks:
C-x r l
Then for firefox bookmarks just hit P.

If that work, you can export to an org file with
M-x bmkext-firefox2org

For Delicious bookmarks, you need the library anything-delicious.el.
You will find it on emacswiki also.
or here:(get it with hg clone)

http://mercurial.intuxication.org/hg/anything-delicious

Read inside the file instruction to setup, specially for the
authentification side.

When done, hit D from bookmark menu list (C-x r l)
C-u D will refresh the list from Delicious server.



 ___
 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


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



___
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] Re: Again on bookmarks

2009-11-26 Thread Thierry Volpiatto
Samuel Wales samolog...@gmail.com writes:

 Hi Thierry,

 On 2009-11-26, Thierry Volpiatto thierry.volpia...@gmail.com wrote:
 See BookmarkExtension:
 http://www.emacswiki.org/cgi-bin/emacs/BookmarkExtension

 It support now nearly all:
 emacs-w3m bookmarks, Firefox bookmarks, Delicious bookmarks, Gnus
 bookmarks, Man pages etc...

 The reason I like the idea of using org as the central store is that
 it holds a lot of information, including annotations (headline body
 text), subheadings, tags, properties, etc.  Possibly even
 last-modified date of the web page and last-synced.  It can also be
 subsetted using the agenda.

The both are complementary i think.
For Gnus, i use bookmark to quickly save a mail with (C-x r m), but i
also use Org with remember when i want to store more info (TODOS, notes
etc...)

 The idea would be that when you, say, save all Firefox tabs that are
 currently open to a Firefox bookmark folder, you can export that whole
 folder to org.  Then, you can add annotations, move the headlines
 anywhere in the agenda files hierarchy, export from org to w3m or
 Firefox or Safari (using the agenda to subset), and reimport back to
 org without losing the annotations (new browser tabs (web pages) that
 org does not know about yet end up in a special place in the org
 hierarchy while existing ones sync with existing headlines).

You can actually store all Firefox bookmarks to a org file.
Not a specific Firefox bookmark folder (that can be done though).

 Can the emacs bookmark mechanism serialize all that org data?  If not,
 perhaps org would be a good place to store everything.

For the moment, from firefox, i record only the title and url of
bookmarks.
however,i can record more infos if needed:
All infos that are provided by the firefox bookmarks.

 Maybe we have different ideas, which deserve different implementations?


 Samuel

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


___
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] Re: Again on bookmarks

2009-11-26 Thread Thierry Volpiatto
Samuel Wales samolog...@gmail.com writes:

 On 2009-11-26, Thierry Volpiatto thierry.volpia...@gmail.com wrote:
 reimport back to
 org without losing the annotations (new browser tabs (web pages) that
 org does not know about yet end up in a special place in the org
 hierarchy while existing ones sync with existing headlines).

 You can actually store all Firefox bookmarks to a org file.
 Not a specific Firefox bookmark folder (that can be done though).

 If the link is already in an org file, will it update the dates and
 avoid adding it to org elsewhere?  Otherwise every time you store to
 an org file, you add duplicate entries.

Yes.

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


___
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


[Orgmode] Re: adding new protocol handler in firefox

2009-11-21 Thread Thierry Volpiatto
Sebastian Rose sebastian_r...@gmx.de writes:

 Robin Green gree...@greenrd.org writes:
 At Thu, 19 Nov 2009 21:09:21 +0100,
 Sebastian Rose wrote:
 Well, anyway, editing RDF files by hand is not the way to go.

 Indeed. This was the method that worked for me (thanks to goncheff
 for discovering it):

 1. In about:config, create a boolean key
 network.protocol-handler.expose.org-protocol and set it to False
 2. Create a simple web page containing a link to the URL org-protocol://test
 3. Open the web page you just created
 4. Click on the link
 5. Choose emacsclient as the associated application in the dialog box
 that appears

 and no other method worked (although I didn't know about the edit the RDF
 file method).


 I guess you use a HG version of FF? Or 3.6?

 Please, detailed information is necessary. Browser brand and version,
 operating system, version, Org-mode version. Just saying It did just
 work like that does not help - neither you nor us.

 You know, it's quite a bit of work to verify the installations. I have
 to remove the handlers, and add them again. I wanted to this, but it's
 not possible in FF 3.5 on Ubuntu without research, which I will postpone
 now in favor of finding a general solution.

 Since there were no complaints about the installation procedure on worg,
 I guess that it still is up to date for FF up to 3.5. At least it worked
 for me on Debian testing and Ubuntu, with different FF versions up to
 3.5.



 It isn't, of course, necessary to create a web page - you can use an
 existing one with such a link - but it *is* necessary to click on a
 link in a web page - selecting a bookmarklet no longer works in the
 latest Firefox release, at least on Ubuntu 9.10 and on Mac OS X, and
 probably elsewhere too.

 Is it?
 Well, there are two links for testing on worg:
 http://orgmode.org/worg/org-contrib/org-protocol.php#test-org-protocol

 Could be more prominent I guess


 -- cut here --

 I guess I should create a patch to worg to include the above
 instructions for newer versions of Firefox. Unless people think the
 RDF editing method is better?

 Instead, we should link to descriptions on how install the handlers
 system wide.

 Nice idea, but unfortunately on Linux (as far as I know) there is no
 standard way to do that.

 As for Mime types,
 http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec?action=showredirect=Standards%2Fshared-mime-info-spec
 states:

The specification is now quite stable and not expected to change in
incompatible ways. Integration with icon themes has not been
finalized (and is not currently part of the specification).

 * ROX has used the system since ROX-Filer 1.3.3 (July 2002).
 * GTK has support since version 2.4 (Mar 2004).
 * GNOME uses the system since version 2.8 (Sep 2004).
 * XFCE uses the system since version 4.2.0 (Jan 2005).
 * KDE uses the system since version 4.0 (Jan 2007).
 * LXDE has used the system since the initial release of PCManFM (2005).
 * EDE uses the system since version 2.0-alpha (Apr 2009, but implemented 
 in May 2007). 


 Sounds general and standard enough. Hackers will help themselves (and
 hopefully publish the solution on this list or worg).

 Applications since years install themselves as handlers for certain Mime
 types (e.g. the annoying Adobe products - sorry, product. They did not
 manage to port more than the Reader to Linux yet). Something like this
 should be possible for protocols, too.

 What we need here is a general solution. The general solution, the
 Mozilla people are willing to go, obviously. And I guess the solution
 can be found at the X Desktop Group, e.g. on freedesktop.org, or simply
 by asking the Mozilla guys. Not sure yet how Mime relates to protocols,
 but I'm sure we will find a solution that works for 99% of GNU/Linux
 users.

I agree that the solution come from the mozilla side.
Waiting a change in firefox,
i start writing code to add protocol handler from emacs.
It work fine here now.
I need to write the uninstaller also.
Have a look at:

http://mercurial.intuxication.org/hg/emacs-bookmark-extension

It install protocol if it not already exists or modify it as needed if
it exists.

To test it, save your ~/.mozilla somewhere.
(Re)Start firefox to recreate a new directory.
Stop it.
Now launch:

M-x firefox-protocol-installer-install

Add the protocol name (e.g org-protocol) and the path of file linked to
protocol.

Start firefox, your protocol should be now in preferences--applications



   Sebastian


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


-- 
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@gnu.org
http

[Orgmode] adding new protocol handler in firefox

2009-11-19 Thread Thierry Volpiatto
Hi,
if you use org-annotation-helper from firefox since a long time now, you
probably didn't notice that adding a new protocol handler in firefox as
it is described in org-annotation-helper.el is now impossible.

See https://bugzilla.mozilla.org/show_bug.cgi?id=529511

In addition to what is described in org-annotation-helper, you will need
to modify the file mimeTypes.rdf as described here:

http://tinyurl.com/yf37ukw

The example is for bookmarking from firefox to emacs bookmarks, but it
is the same for org. Just change emacsbookmark to remember and/or annotation.

-- 
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@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] adding new protocol handler in firefox

2009-11-19 Thread Thierry Volpiatto
Hi Sebastian,
thanks for your answer.

Sebastian Rose sebastian_r...@gmx.de writes:

 Hi Thierry,


 me again.

 It seems they really want to remove the possibility to install protocol
 handlers in FF directly. I wonder, why it still works here for FF 3.5,
 but the bug-report is for FF 3.4.3 ??

Yes, it seem they don't like users install protocols.
But as the removal of this feature create problems with thunderbird,
maybe they will do something for that.


 Is that a development branch?


 Well, anyway, editing RDF files by hand is not the way to go.

Agree, but i didn't find a better way to do.
I know nothing about the gnome stuff as i don't use it.
(i use gentoo with a stumpwm window manager)

We can easily setup a script that write config to this file (rdf) for a given
protocol.
What do you think?

 Instead, we should link to descriptions on how install the handlers
 system wide. Some people reported they could use org-protocol from other
 applications that way.

I recently used picasa and saw it have installed a picasa protocol
alone. How did it write to rdf file? i don't know.
I will have a look.


 We already have an Windows installer on
 http://orgmode.org/worg/org-contrib/org-protocol.php#sec-3.4
 and we should add install scripts for other desktop environments, too.

The problem of mime setting is not described here.
The protocol will fail with something  like:
the protocol have no associated program ...
I don't understand why firefox do not read a mailcap file on the user system
or something similar (e.g /etc/mime.types)

 It's trivial to do so for gnome (gconf, just two three lines of code)
 but I'm not sure, if there's a better way. I think of freedesktop.org,
 mime or something ?

Setting things for firefox from desktop, gnome or whatever is no good
IMHO.
Firefox should have the old behavior of having the ability to setup a
protocol from firefox itself.

 I will check.

Me too, i will keep you informed on this list.


 Thanks for the hint!


   Sebastian


 Sebastian Rose sebastian_r...@gmx.de writes:
 Thierry Volpiatto thierry.volpia...@gmail.com writes:
 Hi,
 if you use org-annotation-helper from firefox since a long time now, you
 probably didn't notice that adding a new protocol handler in firefox as
 it is described in org-annotation-helper.el is now impossible.

 See https://bugzilla.mozilla.org/show_bug.cgi?id=529511

 In addition to what is described in org-annotation-helper, you will need
 to modify the file mimeTypes.rdf as described here:

 http://tinyurl.com/yf37ukw

 The example is for bookmarking from firefox to emacs bookmarks, but it
 is the same for org. Just change emacsbookmark to remember and/or 
 annotation.


 Hi Thierry,


 org-annotation-helper.el is abandoned since quite a while. It is part
 (and basis) of org-protocol.el and not delivered with Org-mode anymore.

 The way to install it is very similar to the way org-annotation-helper
 was installed and is described here:

   http://orgmode.org/worg/org-contrib/org-protocol.php

 The install works that way for me. If you use the Gnome desktop and have
 firefox-gnome-integration (not sure if name is correct for all distros)
 installed, you should install new protocol handlers using gconf-editor.

 Please report any problems you encounter.



 Best wishes


Sebastian


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

-- 
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@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Fast traversing directories

2009-10-31 Thread Thierry Volpiatto
Hi,
if you have traverselisp.el, you can use:

,
| (dolist (d org-directories)
|   (traverse-walk-directory d :file-fn #'(lambda (x)
|   (when (string= (file-name-extension 
x) org)
| (push x org-agenda-files)
`

you can get traverselisp.el here:
http://www.emacswiki.org/cgi-bin/emacs/traverselisp.el

or here: (hg clone)
http://mercurial.intuxication.org/hg/traverselisp

Nick Dokos nicholas.do...@hp.com writes:

 andrea Crotti andrea.crott...@gmail.com wrote:

 
 I tried this because I have more base directories.
 (setq org-directories '(~/org ~/uni))
 (setq org-agenda-files ())
 (dolist ((d org-directories))
   (setq org-agenda-files
  (append org-agenda-files (find-lisp-find-files d \.org$
 
 
 But it sets org-agenda-files to nil...

 Too many parens: try

 (dolist (d org-directories)
(setq org-agenda-files
   (append org-agenda-files (find-lisp-find-files d \.org$

 Nick



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


-- 
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@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-annotation-helper

2009-05-04 Thread thierry . volpiatto
Hi Sebastian!
Thank you for your answer.

Sebastian Rose sebastian_r...@gmx.de writes:

 Hi Thiery,


 this is a problem of HTML. HTML has no linebreaks (or better: they are
 ignored). Since the browser doesn't know about the linebreaks, you
 simple get one line of text.

Yes i see now.

 Only lists are send with linebreaks it seems.

Which kind of lists?


 For normal text this is no problem, just press `M-q' and everything is
 fine (still anoying when copying source code though).

Yes the problem is for source code.




Sebastian


 thierry.volpia...@gmail.com writes:
 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.


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


-- 
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@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] org-annotation-helper

2009-05-03 Thread thierry . volpiatto
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@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: syncing org-mode files on three unconnected machines?

2009-02-08 Thread Thierry Volpiatto
Hi,
You can use git or mercurial (or other decentralized VC) to do that.
I use hg (mercurial).
To achieve that, you can do like that:
1) Initialize a repo in org-tree1
2) Clone org-tree1 to org-tree2 and org-tree3 (on the machine1)
2) Put these three org-tree on your usb-key
3) Put these three org-tree on the machine 2 and 3.

Thats all!

Now on any machine you can edit org-tree1, make changes, and just pull
changes from org-tree2 and 3. If you have your usb-key with you, pull
the change from the key, if not, you will do it later and synchronize
with the key on other machines.

For a better experience, use DVC with hg or git.


Alan E. Davis lngn...@gmail.com writes:

 I am studying and using git in several ways at work and at home, and hope to
 dive further into the agenda possibilities.  I have been using org-mode at
 work, on two machines, as well as at home, on my preferred main machine.  I
 also would like to run emacs and org-mode sometimes on a laptop.  I am not
 currently able to network or internetwork between them, due to various
 firewall and wireless router issues that are beyond my level.

 My question is basically how to keep the files consistent among the various
 machines.  I have thought of at least two ways, but don't understand whether
 either of them will work:

 1.  I am now carrying around a USB flash drive with three ~/org trees from
 three machines.  I have been trying to maintain important files by hand:
 cutting and pasting headlines and their subtrees, then sorting the entire
 target file.  Is there a canonical method for merging two files (basically
 the same file on two different machines, edited at different times, with
 some overlaps)?

 2.  I am thinking git.  I'm uncertain about git at the best, so I don't know
 how to implement this.  Is this reasonable?  A git archive is kept on a
 flash drive.  It is updated from the drive of the current machine.  ~/org on
 the current machine is also updated  from the git archive on the flash
 drive.

 I am currently struggling to get git working on all my ~/org trees.  Also, I
 have set some files outside that tree as remember targets or with links to
 be access from git files.  Somehow, those files will have to be hardlinked
 on both or all three machines, meaning the machines will have to mirror each
 other.

 Somehow, any solution to this problem will need to be robust when I forget
 my flash drive.

 Am I dreaming?

 Thank you,

 Alan

-- 
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@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode