emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* What about a space when inserting a src-block?
@ 2017-11-29 18:28 Marco Wahl
  2017-12-01 18:47 ` Matt Lundin
  0 siblings, 1 reply; 3+ messages in thread
From: Marco Wahl @ 2017-11-29 18:28 UTC (permalink / raw)
  To: emacs-orgmode

Hi!

My impression is that one always types a blank after calling
`org-insert-structure-template' {C-c C-x w s} for creating a src block.

Suggestion: Realize the insert of a space after "#+begin_src" in
`org-insert-structure-template'.

WDYT?


Best regards,
             Marco

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

* Re: What about a space when inserting a src-block?
  2017-11-29 18:28 What about a space when inserting a src-block? Marco Wahl
@ 2017-12-01 18:47 ` Matt Lundin
  2017-12-02  5:56   ` numbchild
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Lundin @ 2017-12-01 18:47 UTC (permalink / raw)
  To: Marco Wahl; +Cc: emacs-orgmode

Marco Wahl <marcowahlsoft@gmail.com> writes:

> My impression is that one always types a blank after calling
> `org-insert-structure-template' {C-c C-x w s} for creating a src block.
>
> Suggestion: Realize the insert of a space after "#+begin_src" in
> `org-insert-structure-template'.
>
> WDYT?

+1

Also, before this becomes part of an official release, might I also
suggest that we consider changing the default keybinding. I am finding
the "C-c C-x w" binding a bit too close to "C-c C-x C-w," which calls
org-cut-special. I've accidentally lost a couple of subtrees without
noticing.

Matt

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

* Re: What about a space when inserting a src-block?
  2017-12-01 18:47 ` Matt Lundin
@ 2017-12-02  5:56   ` numbchild
  0 siblings, 0 replies; 3+ messages in thread
From: numbchild @ 2017-12-02  5:56 UTC (permalink / raw)
  To: Marco Wahl, Org-mode

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

+1, aggreed, I wish a better keybinding too.

[stardiviner]           <Hack this world!>      GPG key ID: 47C32433
IRC(freeenode): stardiviner                     Twitter:  @numbchild
Key fingerprint = 9BAA 92BC CDDD B9EF 3B36  CB99 B8C4 B8E5 47C3 2433
Blog: http://stardiviner.github.io/

On Sat, Dec 2, 2017 at 2:47 AM, Matt Lundin <mdl@imapmail.org> wrote:

> Marco Wahl <marcowahlsoft@gmail.com> writes:
>
> > My impression is that one always types a blank after calling
> > `org-insert-structure-template' {C-c C-x w s} for creating a src block.
> >
> > Suggestion: Realize the insert of a space after "#+begin_src" in
> > `org-insert-structure-template'.
> >
> > WDYT?
>
> +1
>
> Also, before this becomes part of an official release, might I also
> suggest that we consider changing the default keybinding. I am finding
> the "C-c C-x w" binding a bit too close to "C-c C-x C-w," which calls
> org-cut-special. I've accidentally lost a couple of subtrees without
> noticing.
>
> Matt
>
>
>

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

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

end of thread, other threads:[~2017-12-02  5:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-29 18:28 What about a space when inserting a src-block? Marco Wahl
2017-12-01 18:47 ` Matt Lundin
2017-12-02  5:56   ` numbchild

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