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

2010-07-02 Thread d . tchin
 d.tchin writes:

 
 Julien Danjou julien at 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. ;)
  
  Happy hacking.
  
  [1]  http://julien.danjou.info/google-maps-el.html
  
  [2]  http://git.naquadah.org/?p=~jd/jd-el.git;a=blob;f=org-location-google-
 maps.el;hb=HEAD
  
 
 Dear Julien
 
 I tried to use Google Maps extension. When I tried to load it, I found out 
 that json.el was required. It seems that this package is included 
in recent 
 emacs version (?).  My version is GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) 
of 
 2008-09-06. I loaded it but then I have another error telling that the 
function
 use-region-p doesn't exist. It seems that this function appears with emacs 
23.
 So this mail just to tell that it seems necessary to have at emacs 23 
 to make this function work.

Just one comment following previous mail.
Just tried with emacs 23.2. It works very well on this version and it is 
really great.

The bad thing is that this version of emacs is quite slow on Windows system. 
As far I understood it seems to be related to font handling. There is a lot of 
lag, the system freeze. 

So sadly I have to return to release 22.3.1 which is more robust.


d.tchin




___
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 Memnon Anon
Hi,

cool stuff :)!

Julien Danjou jul...@danjou.info writes:

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

I found a minor problem:

* Summary 
  Zooming on map fails if not 'initialized' with z

* Steps to reproduce
  - `M-x google-maps'
  - Location: `Statue of Liberty New York'
Buffer Google-Maps is created, Statue of Liberty is displayed.
  - Press `+'
  - Message: `Current zoom level is unknown, cannot zoom in.'
  - Set a level with z: `M-1 M-5 z'
  - Zooms to level 15, `+' and `-' work as expected.

* System
  - GNU Emacs 24.0.50.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1) of
2010-06-19 on elegiac, modified by Debian
  -  git show google-maps.el
 commit d4f4916b5c9bb37025e86fef079292bf1604cfb5
 Author: Joseph Gay gilley...@gmail.com
 Date:   Mon Jun 28 15:44:13 2010 -0500

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

Memnon

___
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 Julien Danjou
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.

-- 
Julien Danjou
// ᐰ jul...@danjou.info   http://julien.danjou.info


pgpLRyf3GUMml.pgp
Description: PGP signature
___
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