all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Bug: columns in tables with fixed length affected by folded links
@ 2015-03-17  5:20 Randomcoder
  0 siblings, 0 replies; 3+ messages in thread
From: Randomcoder @ 2015-03-17  5:20 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I've noticed that if I have a table like this:

| <l30>                          | <l85>                                             |
|--------------------------------+---------------------------------------------------|
| Question                       | Answer                                            |
|--------------------------------+---------------------------------------------------|
|Stuff                           |                                                   |
|                                | [[http://very-long-link/][text that would fit the column fixed width]] |
|                                |                                                   |

And I do  C-c C-c (or M-x org-table-align) and 
org-toggle-link-display to fold the link, it still shows up as "=>" which means
that Org-Mode has taken into consideration the actual length of the entire link
when it did the folding. Instead, I propose that it only takes
into consideration the length of the link text.

I'm not sure what part of the code is responsible for this.

I am reporting this as a bug here on the mailing list.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Bug: columns in tables with fixed length affected by folded links
@ 2015-03-17  5:27 Randomcoder
  2015-03-17 15:04 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Randomcoder @ 2015-03-17  5:27 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I've noticed that if I have a table like this:

| <l30>                          | <l85>                                             |
|--------------------------------+---------------------------------------------------|
| Question                       | Answer                                            |
|--------------------------------+---------------------------------------------------|
|Stuff                           |                                                   |
|                                | [[http://very-long-link/][text that would fit the column fixed width]] |
|                                |                                                   |

And I do  C-c C-c (or M-x org-table-align) and 
org-toggle-link-display to fold the link, it still shows up as "=>" which means
that Org-Mode has taken into consideration the actual length of the entire link
when it did the folding. Instead, I propose that it only takes
into consideration the length of the link text.

I'm not sure what part of the code is responsible for this.

I am reporting this as a bug here on the mailing list.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug: columns in tables with fixed length affected by folded links
  2015-03-17  5:27 Bug: columns in tables with fixed length affected by folded links Randomcoder
@ 2015-03-17 15:04 ` Nicolas Goaziou
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2015-03-17 15:04 UTC (permalink / raw)
  To: Randomcoder; +Cc: emacs-orgmode

Hello,

Randomcoder <randomcoder1@gmail.com> writes:

> I've noticed that if I have a table like this:
>
> | <l30>                          | <l85>                                             |
> |--------------------------------+---------------------------------------------------|
> | Question                       | Answer                                            |
> |--------------------------------+---------------------------------------------------|
> |Stuff                           |                                                   |
> |                                | [[http://very-long-link/][text that would fit the column fixed width]] |
> |                                |                                                   |
>
> And I do  C-c C-c (or M-x org-table-align) and 
> org-toggle-link-display to fold the link, it still shows up as "=>" which means
> that Org-Mode has taken into consideration the actual length of the entire link
> when it did the folding. Instead, I propose that it only takes
> into consideration the length of the link text.

I get an error when trying to align this table (with a lower value than
85). What Org version are you using?

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-17 15:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-17  5:27 Bug: columns in tables with fixed length affected by folded links Randomcoder
2015-03-17 15:04 ` Nicolas Goaziou
  -- strict thread matches above, loose matches on Subject: below --
2015-03-17  5:20 Randomcoder

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.