emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: Sebastien Vauban <wxhgmqzgwmuf@spammotel.com>
Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org
Subject: Re: BABEL --> PROPERTY?
Date: Wed, 16 Nov 2011 17:17:01 -0500	[thread overview]
Message-ID: <10257.1321481821@alphaville.dokosmarshall.org> (raw)
In-Reply-To: Message from "Sebastien Vauban" <wxhgmqzgwmuf@spammotel.com> of "Wed\, 16 Nov 2011 21\:40\:03 +0100." <80vcqj94yk.fsf@somewhere.org>

Sebastien Vauban <wxhgmqzgwmuf@spammotel.com> wrote:

> Hi Michael,
> 
> Michael Hannon wrote:
> >>> (2) I typically use the following BABEL line:
> >>>
> >>> #+BABEL: :session *R* :cache yes :results output verbatim :exports both
> >>> :tangle
> >>>
> >>> How would I express that using the PROPERTY syntax?
> >>
> >> #+PROPERTY:  tangle yes
> >>
> >> Note that I added a "yes" value for the "tangle" property. That was missing
> >> from your BABEL line.
> >
> > Interesting.  This is a digression, but in my version of Emacs (23.2.1,
> > linux, 64-bit) if I try to copy a long line -- one that extends beyond the
> > border of the window -- by doing, say:
> >
> >     C-a C-<SPACE> C-e M-w
> >
> > I don't get the whole line.  The copied text doesn't stop at the visible
> > border of the window, but neither does it get all the way to the end of the
> > line.
> 
> Following up your digression...
> 
> I've seen the same funny root problem when doing `C-e' on long lines on my
> Windows Emacs (23.3, I think -- I run different versions at different
> moments).
> 
> Indeed, `C-e' sometimes does go further than the visible screen limit, but
> doesn't land at the end of the physical line. I thought it could be something
> in my (very) long .emacs file. Thanks for showing me it's not my config that's
> in cause!
> 

C-e is bound to org-end-of-line which does the stutter step when you
have a wide buffer in a narrow window: it stops at the first previously
invisible character[fn:1]. If you have a very wide screen (e.g. a table
with a hundred columns or something like that) it might take a few steps
before you get to the end of the line.

But the main reason for org-end-of-line's existence is its behavior on
headlines (and the setting of org-special-ctrl-a/e is very relevant).
C-h f org-end-of-line RET and C-h v org-special-ctrl-a/e RET make
for enlightening reading.

Nick

Footnotes:

[fn:1] well, it's invisible if truncate-lines is t - part of the problem
of describing the bahavior is the settings of all these flags. Tables look
ugly if wrapped, so you probably want truncate-lines set to t anyway.

  reply	other threads:[~2011-11-16 22:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-16  8:21 BABEL --> PROPERTY? Michael Hannon
2011-11-16  9:19 ` Christian Moe
2011-11-16 19:48   ` Michael Hannon
2011-11-16 19:58     ` Eric Schulte
2011-11-16 20:18       ` Michael Hannon
2011-11-16  9:31 ` Sebastien Vauban
2011-11-16 13:54   ` Nick Dokos
2011-11-16 20:10     ` Michael Hannon
2011-11-16 20:03   ` Michael Hannon
2011-11-16 20:40     ` Sebastien Vauban
2011-11-16 22:17       ` Nick Dokos [this message]
2011-11-17  1:22         ` Michael Hannon
2011-11-17  9:02         ` Sebastien Vauban

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=10257.1321481821@alphaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=wxhgmqzgwmuf@spammotel.com \
    /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).