From: Manish <mailtomanish.sharma@gmail.com>
To: Carsten Dominik <dominik@uva.nl>
Cc: emacs-orgmode@gnu.org
Subject: Re: feature request: org-yank to call org-paste-subtree
Date: Tue, 28 Oct 2008 14:02:13 +0530 [thread overview]
Message-ID: <e7cdbe30810280132y683f16d7s741210a2b904ef6c@mail.gmail.com> (raw)
In-Reply-To: <53B484C4-7935-423F-85B2-BE0032E8A395@uva.nl>
Hi Carsten,
Latest update from git throws this and aborts compilation; both under
Windows+Cygwin and Debian Unstable. Do I need any pre-requisite
package?
,----[ org compile error while "make" ]
| In end of data:
| org-bibtex.el:205:1:Warning: the following functions are not known to be
| defined: bibtex-beginning-of-entry, bibtex-parse-entry,
| bibtex-generate-autokey, bibtex-url
| Wrote /home/zms/elisp/org-mode.git/lisp/org-bibtex.elc
| emacs -batch -q -eval "(progn (add-to-list (quote load-path)
(expand-file-name \"./lisp/\")) (add-to-list (quote load-path)
\"/usr/local/share/emacs/site-lisp\"))" -f batch-byte-compile
lisp/org-clock.el
|
| In toplevel form:
| lisp/org-clock.el:1045:1:Error: Cannot open load file: timestamp
| make: *** [lisp/org-clock.elc] Error 1
`----
Regards,
--
Manish
On Tue, Oct 28, 2008 at 1:46 PM, Carsten Dominik wrote:
>
> On Oct 28, 2008, at 9:10 AM, Carsten Dominik wrote:
>
>> Hi Samuel,
>>
>> this is not the default behavior in the latest git, below
>
> this is *now* the default..... might become a typist in my
> next life, but not in this one...... :-(
>
>>
>> is the preliminary documentation. Depending on the reactions I get,
>> I might still turn this off by default. However, I like it
>> and will keep it on.
>>
>> Thanks!
>>
>> - Carsten
>>
>>
>> ---------------------------------------------------------------------
>> When yanking a cut/copied subtree or a series of trees, even
>> the nomal yank key `C-y' does now adjust the level of the tree
>> to make it fit into the current outline position, without
>> loosing its identity, and without swallowing other subtrees.
>>
>> This uses the command `org-past-subtree'. An additional
>> change in that command has been implemented: Normally, this
>> command picks the right outline level from the surrounding
>> *visible* headlines, and uses the smaller on. So it the
>> cursor is between a level 4 and a level 3 headline, the tree
>> will be pasted as level 3. Now, if the cursor is actually
>> *at* the beginning of a headline, the level of that headline
>> will be used. So lets say you have a tree like this:
>>
>> * Level one
>> ** Level two
>> (1)
>> (2)* Level one again
>>
>> with (1) and (2) indicating possible cursor positions for the
>> insertion. When at (1), the tree will be pasted as level 2.
>> When at (2), it will be pasted as level 1.
>>
>> If you do not like `C-y' to behave like this, configure the
>> variable `org-yank-adjusted-subtrees'.
>> --------------------------------------------------------------------
>>
>> On Oct 26, 2008, at 5:37 AM, Samuel Wales wrote:
>>
>>> I am not up to coding this, but here is the defcustom.
>>>
>>> (defcustom org-yank-adjust nil
>>> "Non-nil means that, where possible, org-yank will call org-paste-subtree
>>> instead of yank. This adjusts the level of the yank to avoid swallowing
>>> succeeding headlines."
>>> :group 'org-edit-structure
>>> :type 'boolean)
next prev parent reply other threads:[~2008-10-28 8:32 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-26 4:37 feature request: org-yank to call org-paste-subtree Samuel Wales
2008-10-26 6:30 ` Carsten Dominik
2008-10-26 8:35 ` Samuel Wales
2008-10-28 8:10 ` Carsten Dominik
2008-10-28 8:16 ` Carsten Dominik
2008-10-28 8:32 ` Manish [this message]
2008-10-28 8:53 ` Carsten Dominik
2008-11-01 0:23 ` Samuel Wales
2008-11-13 22:32 ` Samuel Wales
2008-11-13 22:32 ` Samuel Wales
2008-11-14 6:50 ` Carsten Dominik
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=e7cdbe30810280132y683f16d7s741210a2b904ef6c@mail.gmail.com \
--to=mailtomanish.sharma@gmail.com \
--cc=dominik@uva.nl \
--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).