emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andreas Leha <andreas.leha@med.uni-goettingen.de>
To: emacs-orgmode@gnu.org
Subject: Re: Org-edit-special and C-x C-s strange behavior
Date: Thu, 12 Jan 2012 11:14:07 +0100	[thread overview]
Message-ID: <87vcohgrdc.fsf@med.uni-goettingen.de> (raw)
In-Reply-To: 87zkdtuwc3.fsf@ucl.ac.uk

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> Leo Alekseyev <dnquark@gmail.com> writes:
>
>>> Eric S Fraga <e.fraga@ucl.ac.uk> writes:
>>>>
>>>> What version of org are you using?  I ask because I used to experience
>>
>>>> the annoyance you describe a while back; more recently (since at least a
>>>> few months ago), hitting C-x C-s no longer has any negative impact: it
>>>> saves the file, or at least appears to.
>>>>
>>>> You still have to C-c ' to get back to the full buffer, mind you, but
>>>> that's better, IMO, than changing the behaviour of such a fundamental
>>>> key binding as C-x C-s.
>>
>> It appears that this bug is Emacs-version dependent: it functions as
>> you describe with 23.2, but the buffer gets buried (with an error
>> message "basic-save-buffer: Wrong type argument: stringp, nil") in
>> 24.0.92.  Org mode is the current git HEAD.  I tried to step through
>> basic-save-buffer in edebug, but I couldn't catch the error (I'm not
>> very experienced with edebug).  Can someone test this on Emacs 24 and
>> confirm what I'm seeing?
>
> I am using 24.0.92 and I have no problems at all (just tried right
> now).  
>
> One difference, however, could be the window configurations we
> use.  Specifically, I have
>
>       (setq org-src-window-setup (quote current-window))
>       
> in my configuration: the special editing window replaces the current
> window entirely.  When I hit C-x C-s, the buffer is saved but nothing
> changes (nothing is buried, etc.).  Maybe you have the default
> configuration which is to reorganize-frame and maybe that is where the
> problem is?

Thanks for this Eric!
I can confirm, that the problem does not occur with this setting here,
too (emacs 24.0.92 as well).

  reply	other threads:[~2012-01-12 10:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-11  6:40 Org-edit-special and C-x C-s strange behavior Leo Alekseyev
2012-01-11 15:16 ` Eric S Fraga
2012-01-11 20:56   ` Andreas Leha
2012-01-12  1:40     ` Leo Alekseyev
2012-01-12  4:56       ` Leo Alekseyev
2012-01-12  9:03       ` Eric S Fraga
2012-01-12 10:14         ` Andreas Leha [this message]
2012-01-12 13:55           ` Leo Alekseyev
     [not found]             ` <30ae09b29d262e6156ec9818df085441@mail.rickster.com>
2012-01-13 20:58               ` Leo Alekseyev
2012-01-24 15:25                 ` Bastien
2012-02-08 21:50                   ` Leo Alekseyev
2012-02-14 22:37                     ` Andreas Leha
2012-02-14 23:02                       ` Andreas Leha

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=87vcohgrdc.fsf@med.uni-goettingen.de \
    --to=andreas.leha@med.uni-goettingen.de \
    --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).