emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* C-c C-v C-d does not preserve capitalization
@ 2024-08-12  8:24 Rudolf Adamkovič
  2024-08-14  9:06 ` Ihor Radchenko
  0 siblings, 1 reply; 3+ messages in thread
From: Rudolf Adamkovič @ 2024-08-12  8:24 UTC (permalink / raw)
  To: emacs-orgmode

REPRODUCTION STEPS:

   1. Write
   
      #+BEGIN_SRC scheme
      "A"
      "B"
      #+END_SRC
   
   2. Place the cursor after the "A".
   
   3. Type C-c C-v C-d.

EXPECTED:

   #+BEGIN_SRC scheme
   "A"
   #+END_SRC
   
   #+BEGIN_SRC scheme
   "B"
   #+END_SRC

ACTUAL:

   #+begin_src scheme
   "A"
   #+end_src
   
   #+begin_src scheme
   
   "B"
   #+end_src

NOTES:

   1. Capitalization is not preserved.
   2. A superfluous newline is added.

   If I remember correctly, #1 used to work in the past, about a year or
   two ago.  As for #2, I am not sure if that is a feature or a bug.

Rudy
-- 
"It is far better to have a question that can't be answered than an
answer that can't be questioned."  --- Carl Sagan

Rudolf Adamkovič <rudolf@adamkovic.org> [he/him]
http://adamkovic.org


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

* Re: C-c C-v C-d does not preserve capitalization
  2024-08-12  8:24 C-c C-v C-d does not preserve capitalization Rudolf Adamkovič
@ 2024-08-14  9:06 ` Ihor Radchenko
  2024-08-21 20:06   ` Rudolf Adamkovič
  0 siblings, 1 reply; 3+ messages in thread
From: Ihor Radchenko @ 2024-08-14  9:06 UTC (permalink / raw)
  To: Rudolf Adamkovič; +Cc: emacs-orgmode

Rudolf Adamkovič <rudolf@adamkovic.org> writes:

> REPRODUCTION STEPS:
> ...
>    1. Capitalization is not preserved.

Fixed, on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=482bc31565

>    2. A superfluous newline is added.
>
>    If I remember correctly, #1 used to work in the past, about a year or
>    two ago.  As for #2, I am not sure if that is a feature or a bug.

It is a feature - we retain the tailing blank lines in the blocks.
See https://list.orgmode.org/7e41f9b6e9026a404e256f33371e974c@posteo.net/

-- 
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] 3+ messages in thread

* Re: C-c C-v C-d does not preserve capitalization
  2024-08-14  9:06 ` Ihor Radchenko
@ 2024-08-21 20:06   ` Rudolf Adamkovič
  0 siblings, 0 replies; 3+ messages in thread
From: Rudolf Adamkovič @ 2024-08-21 20:06 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode

Ihor Radchenko <yantar92@posteo.net> writes:

> Fixed, on main.
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=Finally

I have just tested it, and all works well now!

Thanks, Ihor!

Rudy
-- 
"I love deadlines.  I love the whooshing noise they make as they go by."
--- Douglas Adams, The Salmon of Doubt, 2002

Rudolf Adamkovič <rudolf@adamkovic.org> [he/him]
http://adamkovic.org


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

end of thread, other threads:[~2024-08-21 20:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-12  8:24 C-c C-v C-d does not preserve capitalization Rudolf Adamkovič
2024-08-14  9:06 ` Ihor Radchenko
2024-08-21 20:06   ` Rudolf Adamkovič

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