emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Rudolf Adamkovič" <rudolf@adamkovic.org>
To: emacs-orgmode@gnu.org
Subject: C-c C-v C-d does not preserve capitalization
Date: Mon, 12 Aug 2024 10:24:44 +0200	[thread overview]
Message-ID: <m2y152f8s3.fsf@adamkovic.org> (raw)

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


             reply	other threads:[~2024-08-12  8:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-12  8:24 Rudolf Adamkovič [this message]
2024-08-14  9:06 ` C-c C-v C-d does not preserve capitalization Ihor Radchenko
2024-08-21 20:06   ` Rudolf Adamkovič

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2y152f8s3.fsf@adamkovic.org \
    --to=rudolf@adamkovic.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).