emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: "François Pinard" <pinard@iro.umontreal.ca>, emacs-orgmode@gnu.org
Subject: Re: C-c ^ not fully useful
Date: Mon, 25 Feb 2013 11:22:42 +0100	[thread overview]
Message-ID: <87sj4kn159.fsf@bzg.ath.cx> (raw)
In-Reply-To: <DEA6D719-0CD3-476F-AAB5-E181C34D8F4A@gmail.com> (Carsten Dominik's message of "Mon, 25 Feb 2013 10:35:47 +0100")

Hi Carsten,

Carsten Dominik <carsten.dominik@gmail.com> writes:

> are you sure it removes emphasis markers as well?  Looks to me that
> org-sort-remove-invisible only removes links.  I guess it could be
> rewritten looking at invisibility properties, but that might be problematic
> when sorting includes a part of the buffer that has not yet been visible in
> a window and therefore might not be propertized properly.

You are right, the version that removes emphasis markers based on the
visibility[1] specs is buggy.  I tweaked `org-sort-remove-invisible'
so that it removes emphasis markers for good[2].  I did some testing
and it works okay, let me know if you anticipate any other problem.

Thanks,

[1] http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=30d6dc
[2] http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=662cb9

-- 
 Bastien

  reply	other threads:[~2013-02-25 10:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-18 19:36 C-c ^ not fully useful François Pinard
2013-02-21  9:59 ` Suvayu Ali
2013-02-25  9:28 ` Bastien
2013-02-25  9:35   ` Carsten Dominik
2013-02-25 10:22     ` Bastien [this message]
2013-02-25 14:46       ` François Pinard
2013-02-26  9:47         ` Bastien

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=87sj4kn159.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=pinard@iro.umontreal.ca \
    /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).