emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Aaron Ecay <aaronecay@gmail.com>
To: Andrea Rossetti <andrea.rossetti@gmail.com>, emacs-orgmode@gnu.org
Subject: Re: Feature request: copy cell contents into kill ring
Date: Wed, 13 Aug 2014 02:15:11 -0400	[thread overview]
Message-ID: <8761hwrk40.fsf@gmail.com> (raw)
In-Reply-To: <847g2eocvz.fsf@gmail.com>

Hi Andrea,

2014ko abuztuak 11an, Andrea Rossetti-ek idatzi zuen:
> 
> Hello everone,
> 
>   copying a table cell (C-c C-x M-w) uses a private clipboard, as stated
> by the `org-table-copy-region' docstring. Sometimes it's handy to paste
> a cell's text into something that isn't an org-table (my use case was:
> record a macro to perform some silly updates in bbdb, once per table row).
> 
>   My quick-and-dirty solution was the following:
> 
> 
>   but I believe a "copy cell to kill ring" would be a nice Org feature
> to add (maybe bound to C-u C-c C-x M-w). Before digging any further,
> may I please ask for opinions and advice: would it make sense for you
> too? not worth it? or is this already possible with some different
> keystroke?

Another option might be to create (or adapt) a keybinding to mark the
contents of the current table cell, which could then be followed with
M-w (kill-ring-save).  This would be more general (since you can also
e.g. delete the contents of the cell after marking it), and also not
require more keystrokes (as long as you can find a binding of 3 keys or
less for the mark-cell command).

-- 
Aaron Ecay

      reply	other threads:[~2014-08-13  6:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-11 22:54 Feature request: copy cell contents into kill ring Andrea Rossetti
2014-08-13  6:15 ` Aaron Ecay [this message]

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=8761hwrk40.fsf@gmail.com \
    --to=aaronecay@gmail.com \
    --cc=andrea.rossetti@gmail.com \
    --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).