emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Brand <michael.ch.brand@gmail.com>
To: Johnny <yggdrasil@gmx.co.uk>
Cc: Juan Pechiar <juan@pechiar.com>, emacs-orgmode@gnu.org
Subject: Re: Org table with long lines visibility
Date: Thu, 5 May 2011 07:53:01 +0200	[thread overview]
Message-ID: <BANLkTik66qV14Em4XVuhP5faX8tjb82YwQ@mail.gmail.com> (raw)
In-Reply-To: <87r58ew5xs.fsf@gmx.co.uk>

Hi Juan

You might want to try out also "C-u C-c `" or to toggle "M-x
visible-mode RET". More comfortable would be to reuse this part from
org-table-edit-field

#+begin_src emacs-lisp
(let ((b (save-excursion (skip-chars-backward "^|") (point)))
	    (e (save-excursion (skip-chars-forward "^|\r\n") (point))))
	(remove-text-properties b e '(org-cwidth t invisible t
						 display t intangible t))
	(if (and (boundp 'font-lock-mode) font-lock-mode)
	    (font-lock-fontify-block)))
#+end_src

that shows the whole content of the current cell until the next
"org-table-align" from e. g. TAB. It should be relatively easy to
combine this with "org-table-next-field" and parts of it for other
moving directions and to assign that to keys for moving around.

Michael

On Wed, May 4, 2011 at 22:45, Johnny <yggdrasil@gmx.co.uk> wrote:
> Juan Pechiar <juan@pechiar.com> writes:
>> If you're running Emacs on a graphic environment, there is a mouse
>> tooltip showing the whole cell contentes when you hover over a
>> truncated cell.
>
> Thanks, but I don't like using the mouse as it is too inefficient when
> moving in buffers. Is there any way not involving the mouse?

  reply	other threads:[~2011-05-05  5:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-04 17:48 Org table with long lines visibility Johnny
2011-05-04 18:07 ` Juan Pechiar
2011-05-04 20:45   ` Johnny
2011-05-05  5:53     ` Michael Brand [this message]
2011-05-05  6:57 ` Michael Brand
2011-05-07 11:50   ` Johnny
2011-05-09  5:10     ` Michael Brand
2011-05-09 18:34       ` Johnny
2011-05-09 20:54         ` Michael Brand
2011-05-11  8:29 ` Carsten Dominik
2011-05-11  9:16   ` Michael Brand
2011-05-12  7:07   ` Eric S Fraga
2011-05-14 15:14   ` Johnny
2011-05-26  6:40     ` 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=BANLkTik66qV14Em4XVuhP5faX8tjb82YwQ@mail.gmail.com \
    --to=michael.ch.brand@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=juan@pechiar.com \
    --cc=yggdrasil@gmx.co.uk \
    /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).