emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Right click on link bug
@ 2007-03-16 17:38 Leo
  2007-03-18 20:40 ` Carsten Dominik
  0 siblings, 1 reply; 10+ messages in thread
From: Leo @ 2007-03-16 17:38 UTC (permalink / raw)
  To: emacs-orgmode

Dear all,

Put the following line in a buffer:
  [[http://www.google.com][Musick is wrong]]

then enable org-mode and flyspell-mode. Now right click on the word
"Musick" and you can see the behavior of mouse1 has be changed to yank
instead of opening the link.

Regards,
-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

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

* Re: Right click on link bug
  2007-03-16 17:38 Right click on link bug Leo
@ 2007-03-18 20:40 ` Carsten Dominik
  2007-03-18 21:46   ` Leo
  0 siblings, 1 reply; 10+ messages in thread
From: Carsten Dominik @ 2007-03-18 20:40 UTC (permalink / raw)
  To: Leo; +Cc: emacs-orgmode


On Mar 16, 2007, at 18:38, Leo wrote:

> Dear all,
>
> Put the following line in a buffer:
>   [[http://www.google.com][Musick is wrong]]
>
> then enable org-mode and flyspell-mode. Now right click on the word
> "Musick" and you can see the behavior of mouse1 has be changed to yank
> instead of opening the link.

That will teach you!
Don't misspell your links!!!!!  :-)


Well, competing overlays with competing keymaps, I  really would
not know how to fix this on my side.  I know that ispell (and
therefore flyspell) has some ways to not check TeX command names,
for example.  But I am not sure if this is extensible so that
we could use it for org-mode, making it skip links.  And I am
not even sure if this is what you would want, because it is
actually nice to have the description part of a link spell-checked!

Summary:

If you use flyspell, do actually use it to correct your typos :-)

Cheers.

- Carsten

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

* Re: Right click on link bug
  2007-03-18 20:40 ` Carsten Dominik
@ 2007-03-18 21:46   ` Leo
  2007-03-18 22:55     ` Carsten Dominik
  0 siblings, 1 reply; 10+ messages in thread
From: Leo @ 2007-03-18 21:46 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

On 2007-03-18, Carsten Dominik said:

> On Mar 16, 2007, at 18:38, Leo wrote:
>
>> Dear all,
>>
>> Put the following line in a buffer:
>>   [[http://www.google.com][Musick is wrong]]
>>
>> then enable org-mode and flyspell-mode. Now right click on the word
>> "Musick" and you can see the behavior of mouse1 has be changed to yank
>> instead of opening the link.
>
> That will teach you!
> Don't misspell your links!!!!!  :-)
>
>
> Well, competing overlays with competing keymaps, I  really would
> not know how to fix this on my side.  I know that ispell (and
> therefore flyspell) has some ways to not check TeX command names,
> for example.  But I am not sure if this is extensible so that
> we could use it for org-mode, making it skip links.  And I am
> not even sure if this is what you would want, because it is
> actually nice to have the description part of a link spell-checked!
>
> Summary:
>
> If you use flyspell, do actually use it to correct your typos :-)
>
> Cheers.
>
> - Carsten

For example, if I have an internal link [[* MFE][MFE]], mouse1 won't
bring it to the right place. This is when it is rather inconvenient.

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

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

* Re: Right click on link bug
  2007-03-18 21:46   ` Leo
@ 2007-03-18 22:55     ` Carsten Dominik
  2007-03-20 12:52       ` Leo
  0 siblings, 1 reply; 10+ messages in thread
From: Carsten Dominik @ 2007-03-18 22:55 UTC (permalink / raw)
  To: Leo; +Cc: emacs-orgmode


On Mar 18, 2007, at 22:46, Leo wrote:
>
> For example, if I have an internal link [[* MFE][MFE]], mouse1 won't
> bring it to the right place. This is when it is rather inconvenient.

I guess this could be a start:

(defun org-flyspell-predicate ()
        (not (org-at-regexp-p org-bracket-link-regexp)))
(add-hook 'org-mode-hook
   (lambda () (setq flyspell-generic-check-word-predicate
                    'org-flyspell-predicate)))

- Carsten

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

* Re: Right click on link bug
  2007-03-18 22:55     ` Carsten Dominik
@ 2007-03-20 12:52       ` Leo
  2007-03-20 16:18         ` Carsten Dominik
  0 siblings, 1 reply; 10+ messages in thread
From: Leo @ 2007-03-20 12:52 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

On 2007-03-18, Carsten Dominik said:

> On Mar 18, 2007, at 22:46, Leo wrote:
>>
>> For example, if I have an internal link [[* MFE][MFE]], mouse1 won't
>> bring it to the right place. This is when it is rather inconvenient.
>
> I guess this could be a start:
>
> (defun org-flyspell-predicate ()
>        (not (org-at-regexp-p org-bracket-link-regexp)))
> (add-hook 'org-mode-hook
>   (lambda () (setq flyspell-generic-check-word-predicate
>                    'org-flyspell-predicate)))
>
> - Carsten

This fixed the internal link problem mentioned above. Thanks.

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

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

* Re: Right click on link bug
  2007-03-20 12:52       ` Leo
@ 2007-03-20 16:18         ` Carsten Dominik
  2007-03-20 17:52           ` Leo
  2007-03-21  9:33           ` Leo
  0 siblings, 2 replies; 10+ messages in thread
From: Carsten Dominik @ 2007-03-20 16:18 UTC (permalink / raw)
  To: Leo; +Cc: emacs-orgmode

Org-mode 4.69 will have a modified version built-in,
so please remove this setup when switching to the next version.

- Carsten

On Mar 20, 2007, at 13:52, Leo wrote:

> On 2007-03-18, Carsten Dominik said:
>
>> On Mar 18, 2007, at 22:46, Leo wrote:
>>>
>>> For example, if I have an internal link [[* MFE][MFE]], mouse1 won't
>>> bring it to the right place. This is when it is rather inconvenient.
>>
>> I guess this could be a start:
>>
>> (defun org-flyspell-predicate ()
>>        (not (org-at-regexp-p org-bracket-link-regexp)))
>> (add-hook 'org-mode-hook
>>   (lambda () (setq flyspell-generic-check-word-predicate
>>                    'org-flyspell-predicate)))
>>
>> - Carsten
>
> This fixed the internal link problem mentioned above. Thanks.

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

* Re: Right click on link bug
  2007-03-20 16:18         ` Carsten Dominik
@ 2007-03-20 17:52           ` Leo
  2007-03-21  9:33           ` Leo
  1 sibling, 0 replies; 10+ messages in thread
From: Leo @ 2007-03-20 17:52 UTC (permalink / raw)
  To: emacs-orgmode

On 2007-03-20, Carsten Dominik said:

> Org-mode 4.69 will have a modified version built-in,
> so please remove this setup when switching to the next version.
>
> - Carsten

Thank you for the heads up!

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

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

* Re: Right click on link bug
  2007-03-20 16:18         ` Carsten Dominik
  2007-03-20 17:52           ` Leo
@ 2007-03-21  9:33           ` Leo
  2007-03-21  9:53             ` Carsten Dominik
  1 sibling, 1 reply; 10+ messages in thread
From: Leo @ 2007-03-21  9:33 UTC (permalink / raw)
  To: emacs-orgmode

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

On 2007-03-20, Carsten Dominik said:

> Org-mode 4.69 will have a modified version built-in,
> so please remove this setup when switching to the next version.

It is not fixed in 4.69.

First click:

[-- Attachment #2: org-i.png --]
[-- Type: image/png, Size: 2004 bytes --]

[-- Attachment #3: Type: text/plain, Size: 13 bytes --]


After C-x u

[-- Attachment #4: org.png --]
[-- Type: image/png, Size: 1005 bytes --]

[-- Attachment #5: Type: text/plain, Size: 120 bytes --]


Sequent clicks won't do anything.

Regards,
-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

[-- Attachment #6: Type: text/plain, Size: 149 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: Re: Right click on link bug
  2007-03-21  9:33           ` Leo
@ 2007-03-21  9:53             ` Carsten Dominik
  2007-03-21 10:13               ` Leo
  0 siblings, 1 reply; 10+ messages in thread
From: Carsten Dominik @ 2007-03-21  9:53 UTC (permalink / raw)
  To: Leo; +Cc: emacs-orgmode

Please download 4.69 again (org-version should be 4.69a now),
I forgot to uncomment a line I had commented for testing...

- Carsten

On Mar 21, 2007, at 10:33, Leo wrote:

> On 2007-03-20, Carsten Dominik said:
>
>> Org-mode 4.69 will have a modified version built-in,
>> so please remove this setup when switching to the next version.
>
> It is not fixed in 4.69.
>
> First click:
> <org-i.png>
> After C-x u
> <org.png>
> Sequent clicks won't do anything.
>
> Regards,
> -- 
> Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

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

* Re: Right click on link bug
  2007-03-21  9:53             ` Carsten Dominik
@ 2007-03-21 10:13               ` Leo
  0 siblings, 0 replies; 10+ messages in thread
From: Leo @ 2007-03-21 10:13 UTC (permalink / raw)
  To: emacs-orgmode

On 2007-03-21, Carsten Dominik said:

> Please download 4.69 again (org-version should be 4.69a now),
> I forgot to uncomment a line I had commented for testing...
>
> - Carsten

Now fixed. Thanks.
-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

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

end of thread, other threads:[~2007-03-21 10:15 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-16 17:38 Right click on link bug Leo
2007-03-18 20:40 ` Carsten Dominik
2007-03-18 21:46   ` Leo
2007-03-18 22:55     ` Carsten Dominik
2007-03-20 12:52       ` Leo
2007-03-20 16:18         ` Carsten Dominik
2007-03-20 17:52           ` Leo
2007-03-21  9:33           ` Leo
2007-03-21  9:53             ` Carsten Dominik
2007-03-21 10:13               ` Leo

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