emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: post@mgrebenstein.de
To: emacs-orgmode@gnu.org
Subject: Re: Emacs-orgmode Digest, Vol 68, Issue 23
Date: Mon,  7 Nov 2011 23:20:06 +0100	[thread overview]
Message-ID: <4HdqNcNKqfw5.LdfndMp2@smtp.df.eu> (raw)



-Urspr. Mitteilung-
Betreff: Emacs-orgmode Digest, Vol 68, Issue 23
Von: emacs-orgmode-request@gnu.org
Datum: 21.10.2011 18:01

Send Emacs-orgmode mailing list submissions to
	emacs-orgmode@gnu.org

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.gnu.org/mailman/listinfo/emacs-orgmode
or, via email, send a message with subject or body 'help' to
	emacs-orgmode-request@gnu.org

You can reach the person managing the list at
	emacs-orgmode-owner@gnu.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Emacs-orgmode digest..."


Today's Topics:

   1. Re: outline-demote incorrectly demotes leaf nodes
      (Carsten Dominik)
   2. Re: Cannot display images inline any more => solved
      (Rainer Stengele)
   3. Re: Cannot display images inline any more => solved
      (Rainer Stengele)


----------------------------------------------------------------------

Message: 1
Date: Fri, 21 Oct 2011 16:40:22 +0200
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Michael Brand <michael.ch.brand@gmail.com>
Cc: emacs-orgmode@gnu.org, S?bastien Delafond <sdelafond@gmail.com>,
	Sanjoy Mahajan <sanjoy@olin.edu>
Subject: Re: [O] outline-demote incorrectly demotes leaf nodes
Message-ID: <D5805C42-25CD-4BA9-A4C1-B47A0837C05E@gmail.com>
Content-Type: text/plain; charset=us-ascii


On Oct 19, 2011, at 5:39 PM, Michael Brand wrote:

> Hi Carsten
> 
> On 18.10.2011, at 20:03, Sanjoy Mahajan wrote:
>> I do worry about one point, namely that C-c C-> (outline-demote) should still
>> work.  And it does work in regular outline mode.  For example, if I rename my
>> test file to c.otl and then use C-c C-> on the main heading, all the subtrees
>> are demoted as I expected.  Whereas in org mode the leaf subtree gets a space
>> instead of a * when it is being demoted.
> 
> On Wed, Oct 19, 2011 at 09:14, Carsten Dominik
> <carsten.dominik@gmail.com> wrote:
>> Another option, if you prefer the C-> and C-< bindings is this:
>> 
>> (add-hook 'org-mode-hook
>>  (lambda ()
>>    (define-key org-mode-map [(control ?<)] 'org-promote-subtree)
>>    (define-key org-mode-map [(control ?>)] 'org-demote-subtree)))
> 
> My suggestion is something like
> 
> (define-key org-mode-map [remap outline-promote] 'org-promote-subtree)
> (define-key org-mode-map [remap outline-demote] 'org-demote-subtree)
> [...]
> 
> permanently built into Org mode (not in org-mode-hook) for these and
> maybe even a few more outline-* bindings to get the incompatible
> outline-* bindings out of the way from within Org mode.
> 
> This remap does not affect the bindings in Outline mode and resolves
> the issue of the OP in Org mode, independent of, to which key any user
> might have mapped outline-*mote.

Would you like to carefully think about which other functions you might want to have remapped, and then prepare a patch?

- Carsten


------------------------------

Message: 2
Date: Fri, 21 Oct 2011 16:46:08 +0200
From: Rainer Stengele <rainer.stengele@online.de>
To: emacs-orgmode@gnu.org,
	public-emacs-orgmode-mXXj517/zsQ@lo.gmane.org
Subject: Re: [O] Cannot display images inline any more => solved
Message-ID: <4EA185B0.4090801@online.de>
Content-Type: text/plain; charset=ISO-8859-15

Am 21.10.2011 16:19, schrieb Jambunathan K:
> Rainer Stengele <rainer.stengele@online.de> writes:
> 
>> Am 21.10.2011 15:33, schrieb Sebastien Vauban:
>>> Hi Suvayu and Rainer,
>>>
>>> suvayu ali wrote:
>>>> On Fri, Oct 21, 2011 at 2:39 PM, Rainer Stengele
>>>> <rainer.stengele@online.de> wrote:
>>>>>
>>>>> I have for example
>>>>>
>>>>> [[file:c:/img.jpg]]
>>>>>
>>>>> which is exported correctly as html.
>>>>>
>>>>> In Emacs, after "C-c C-x v" Org says: "No images to display inline".
>>>>>
>>>>> Does anybody use Emacs 24.0.90.1 and is able to display images inline?
>>>>
>>>> My Emacs is 2 days older than yours and it works fine.
>>>
>>> I wonder if it's not related to some types of images (PNG, JPG) and Emacs 24
>>> under Windows. Have read such things, IIRC.
>>>
>>> Best regards,
>>>   Seb
>>>
>>
>> Well, who is telling me "No images to display inline"? Is it Emacs or Org?
>> How could I debug the funtion?
> 
> C-h v dynamic-library-alist
> C-h v image-library-alist
> 
> You can copy the required dll to bin if you are on Windows.
> 
>> Anybody?
>> Rainer
>>
>>
>>
> 

Ok, that was it.
I copied the libs from my old emacs w32 installation to my emacs bin folder and that did it.
I never knew that Lennard Borgman did the nice job packaging these libs in his emacsw32 (which is out of date unfortunately - thanks Lennard
anyway).

Thank you for the hint Jambunathan, helped me to understand a bit more of how emacs is working.

Rainer



------------------------------

Message: 3
Date: Fri, 21 Oct 2011 16:46:08 +0200
From: Rainer Stengele <rainer.stengele@online.de>
To: emacs-orgmode@gnu.org
Subject: Re: [O] Cannot display images inline any more => solved
Message-ID: <4EA185B0.4090801@online.de>
Content-Type: text/plain; charset=ISO-8859-15

Am 21.10.2011 16:19, schrieb Jambunathan K:
> Rainer Stengele <rainer.stengele@online.de> writes:
> 
>> Am 21.10.2011 15:33, schrieb Sebastien Vauban:
>>> Hi Suvayu and Rainer,
>>>
>>> suvayu ali wrote:
>>>> On Fri, Oct 21, 2011 at 2:39 PM, Rainer Stengele
>>>> <rainer.stengele@online.de> wrote:
>>>>>
>>>>> I have for example
>>>>>
>>>>> [[file:c:/img.jpg]]
>>>>>
>>>>> which is exported correctly as html.
>>>>>
>>>>> In Emacs, after "C-c C-x v" Org says: "No images to display inline".
>>>>>
>>>>> Does anybody use Emacs 24.0.90.1 and is able to display images inline?
>>>>
>>>> My Emacs is 2 days older than yours and it works fine.
>>>
>>> I wonder if it's not related to some types of images (PNG, JPG) and Emacs 24
>>> under Windows. Have read such things, IIRC.
>>>
>>> Best regards,
>>>   Seb
>>>
>>
>> Well, who is telling me "No images to display inline"? Is it Emacs or Org?
>> How could I debug the funtion?
> 
> C-h v dynamic-library-alist
> C-h v image-library-alist
> 
> You can copy the required dll to bin if you are on Windows.
> 
>> Anybody?
>> Rainer
>>
>>
>>
> 

Ok, that was it.
I copied the libs from my old emacs w32 installation to my emacs bin folder and that did it.
I never knew that Lennard Borgman did the nice job packaging these libs in his emacsw32 (which is out of date unfortunately - thanks Lennard
anyway).

Thank you for the hint Jambunathan, helped me to understand a bit more of how emacs is working.

Rainer




End of Emacs-orgmode Digest, Vol 68, Issue 23
*********************************************

                 reply	other threads:[~2011-11-07 22:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4HdqNcNKqfw5.LdfndMp2@smtp.df.eu \
    --to=post@mgrebenstein.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).