all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [BUG] Speed command for rot13-region
@ 2024-09-06 21:24 Kepa
  2024-09-09 18:12 ` Ihor Radchenko
  0 siblings, 1 reply; 5+ messages in thread
From: Kepa @ 2024-09-06 21:24 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

Hi,

Something strange happens when trying to set the following as a speed command:
("c" . rot13-region)

In my customized Emacs, a warning appears.

In Emacs -q, first it doesn't do anything if no region is active. Then, it affects a headline where there is not the point, and this happens without needing to have a region active.

Best regards.

NB: I liked to read the SUMMARY of the last meet up, thanks!
https://lists.gnu.org/archive/html/emacs-orgmode/2024-09/msg00002.html

[-- Attachment #2: Type: text/html, Size: 2835 bytes --]

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

* Re: [BUG] Speed command for rot13-region
  2024-09-06 21:24 [BUG] Speed command for rot13-region Kepa
@ 2024-09-09 18:12 ` Ihor Radchenko
  2024-10-13  8:38   ` Ihor Radchenko
  0 siblings, 1 reply; 5+ messages in thread
From: Ihor Radchenko @ 2024-09-09 18:12 UTC (permalink / raw)
  To: Kepa; +Cc: emacs-orgmode@gnu.org

Kepa <gnu.cognition199@slmails.com> writes:

> Something strange happens when trying to set the following as a speed command:
> ("c" . rot13-region)
>
> In my customized Emacs, a warning appears.
>
> In Emacs -q, first it doesn't do anything if no region is active. Then, it affects a headline where there is not the point, and this happens without needing to have a region active.

If you can reproduce from emacs -Q, may your please share more detailed
instructions on how to trigger the problem you are seeing?

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


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

* Re: [BUG] Speed command for rot13-region
@ 2024-09-10 20:43 Kepa
  2024-09-15 11:57 ` Ihor Radchenko
  0 siblings, 1 reply; 5+ messages in thread
From: Kepa @ 2024-09-10 20:43 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

> From:     Ihor Radchenko
> Subject:     Re: [BUG] Speed command for rot13-region
> Date:     Mon, 09 Sep 2024 18:12:44 +0000
> If you can reproduce from emacs -Q, may your please share more detailed
> instructions on how to trigger the problem you are seeing?

Emacs -Q

Create org file with:

* 1
aaa
* 2
bbb
* 3
ccc


Eval this:

(setq org-use-speed-commands t)

(setq org-speed-commands '(("c" . rot13-region)))

Try "c" speed command on * 2 headline: * 1 headline is encrypted.

Try "c" speed command on * 3 headline: * 1 and * 2 headlines are encrypted.

[-- Attachment #2: Type: text/html, Size: 1120 bytes --]

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

* Re: [BUG] Speed command for rot13-region
  2024-09-10 20:43 Kepa
@ 2024-09-15 11:57 ` Ihor Radchenko
  0 siblings, 0 replies; 5+ messages in thread
From: Ihor Radchenko @ 2024-09-15 11:57 UTC (permalink / raw)
  To: Kepa; +Cc: emacs-orgmode@gnu.org

Kepa <gnu.cognition199@slmails.com> writes:

> Emacs -Q
>
> Create org file with:
>
> * 1
> aaa
> * 2
> bbb
> * 3
> ccc
>
>
> Eval this:
>
> (setq org-use-speed-commands t)
>
> (setq org-speed-commands '(("c" . rot13-region)))
>
> Try "c" speed command on * 2 headline: * 1 headline is encrypted.
>
> Try "c" speed command on * 3 headline: * 1 and * 2 headlines are encrypted.

I can reproduce what you are seeing, but I do not see any bug here.
rot13-region encrypts region between point and mark, as expected.

Canceled.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


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

* Re: [BUG] Speed command for rot13-region
  2024-09-09 18:12 ` Ihor Radchenko
@ 2024-10-13  8:38   ` Ihor Radchenko
  0 siblings, 0 replies; 5+ messages in thread
From: Ihor Radchenko @ 2024-10-13  8:38 UTC (permalink / raw)
  To: Kepa; +Cc: emacs-orgmode@gnu.org

Ihor Radchenko <yantar92@posteo.net> writes:

> If you can reproduce from emacs -Q, may your please share more detailed
> instructions on how to trigger the problem you are seeing?

No response for over a month.
Closing.
Canceled.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


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

end of thread, other threads:[~2024-10-13  8:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-06 21:24 [BUG] Speed command for rot13-region Kepa
2024-09-09 18:12 ` Ihor Radchenko
2024-10-13  8:38   ` Ihor Radchenko
  -- strict thread matches above, loose matches on Subject: below --
2024-09-10 20:43 Kepa
2024-09-15 11:57 ` Ihor Radchenko

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.