From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Stansell Subject: Bug: Explicit <6> table column width [9.0.9 (release_9.0.9-754-g940c90)] Date: Sun, 13 Aug 2017 19:54:25 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c11b034a393e70556a71564" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dgy2X-00050F-LT for emacs-orgmode@gnu.org; Sun, 13 Aug 2017 14:55:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dgy2V-00008a-VT for emacs-orgmode@gnu.org; Sun, 13 Aug 2017 14:55:09 -0400 Received: from mail-pg0-x22c.google.com ([2607:f8b0:400e:c05::22c]:35708) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dgy2V-00006k-N4 for emacs-orgmode@gnu.org; Sun, 13 Aug 2017 14:55:07 -0400 Received: by mail-pg0-x22c.google.com with SMTP id v189so33456839pgd.2 for ; Sun, 13 Aug 2017 11:55:07 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --94eb2c11b034a393e70556a71564 Content-Type: text/plain; charset="UTF-8" Hello, I think there might be a something wrong when explicitly setting a width of a table column. For example, for this table |---+------------------------------| | | <6> | | 1 | one | | 2 | This is a long chunk of text | | 3 | three | |---+------------------------------| when I press in the table the view changes to |---+------------------------------| | | <6> | | 1 | one | | 2 | This i | | 3 | three | |---+------------------------------| and when I press C-c the view toggles between |---+--------| | | <6> | | 1 | one | | 2 | This is a long chunk of text | | 3 | three | |---+--------| and |---+------------------------------| | | <6> | | 1 | one | | 2 | This is a long chunk of text | | 3 | three | |---+------------------------------| Based on previous versions of org mode, I expect to see |---+--------| | | <6> | | 1 | one | | 2 | This=> | | 3 | three | |---+--------| and |---+------------------------------| | | <6> | | 1 | one | | 2 | This is a long chunk of text | | 3 | three | |---+------------------------------| Thanks, Paul Emacs : GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.24.23) of 2015-08-26 on localhost.localdomain Package: Org mode version 9.0.9 (release_9.0.9-754-g940c90) current state: ============== (setq org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-shell-link-function 'yes-or-no-p org-after-todo-state-change-hook '(org-clock-out-if-current) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-babel-pre-tangle-hook '(save-buffer) org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-block-all append local] 5 "\n\n(fn)"] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5 "\n\n(fn)"] org-babel-result-hide-spec org-babel-hide-all-hashes) org-bibtex-headline-format-function #[257 "\300 \236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-archive-hook '(org-attach-archive-delete-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-confirm-elisp-link-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-link-parameters '(("id" :follow org-id-open) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("file+sys") ("file+emacs") ("doi" :follow org--open-doi-link) ("elisp" :follow org--open-elisp-link) ("file" :complete org-file-complete-link) ("ftp" :follow (lambda (path) (browse-url (concat "ftp:" path)))) ("help" :follow org--open-help-link) ("http" :follow (lambda (path) (browse-url (concat "http:" path)))) ("https" :follow (lambda (path) (browse-url (concat "https:" path)))) ("mailto" :follow (lambda (path) (browse-url (concat "mailto:" path)))) ("news" :follow (lambda (path) (browse-url (concat "news:" path)))) ("shell" :follow org--open-shell-link)) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) ) --94eb2c11b034a393e70556a71564 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,
=
I think there might be a something wrong when explicitly setting a widt= h
of a table column.

For example, for this table

=C2=A0 |-= --+------------------------------|
=C2=A0 | =C2=A0 | <6> =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0|
=C2=A0 | 1 | one =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|
=C2=A0 | 2 | This is a= long chunk of text |
=C2=A0 | 3 | three =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|
=C2=A0 |---+------= ------------------------|

when I press <TAB> in the table the = view changes to

=C2=A0 |---+------------------------------|
=C2= =A0 | =C2=A0 | <6> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|
=C2=A0 | 1 | one =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0|
=C2=A0 | 2 | This i |
=C2=A0 | 3 | three =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|
=C2=A0 = |---+------------------------------|

and when I press C-c the view t= oggles between

=C2=A0 |---+--------|
=C2=A0 | =C2=A0 | <6> = =C2=A0 =C2=A0|
=C2=A0 | 1 | one =C2=A0 =C2=A0|
=C2=A0 | 2 | This is a= long chunk of text |
=C2=A0 | 3 | three =C2=A0|
=C2=A0 |---+--------= |

and

=C2=A0 |---+------------------------------|
=C2=A0 |= =C2=A0 | <6> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|
=C2=A0 | 1 | one =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|<= br>=C2=A0 | 2 | This is a long chunk of text |
=C2=A0 | 3 | three =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0|
=C2=A0 |---+------------------------------|


Based on pre= vious versions of org mode, I expect to see

=C2=A0 |---+--------|=C2=A0 | =C2=A0 | <6> =C2=A0 =C2=A0|
=C2=A0 | 1 | one =C2=A0 =C2= =A0|
=C2=A0 | 2 | This=3D> |
=C2=A0 | 3 | three =C2=A0|
=C2=A0 = |---+--------|

and

=C2=A0 |---+------------------------------= |
=C2=A0 | =C2=A0 | <6> =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|
=C2=A0 | 1 | one =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0|
=C2=A0 | 2 | This is a long chunk of text |
=C2=A0 | 3= | three =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0|
=C2=A0 |---+------------------------------|

Thanks,

Paul



Emacs =C2=A0: GNU Emacs 24.5.1 (x86_64= -redhat-linux-gnu, GTK+ Version 2.24.23)
=C2=A0of 2015-08-26 on localhos= t.localdomain
Package: Org mode version 9.0.9 (release_9.0.9-754-g940c90= )

current state:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
(s= etq
=C2=A0org-tab-first-hook '(org-babel-hide-result-toggle-maybe or= g-babel-header-arg-expand)
=C2=A0org-speed-command-hook '(org-speed-= command-activate org-babel-speed-command-activate)
=C2=A0org-occur-hook = '(org-first-headline-recenter)
=C2=A0org-metaup-hook '(org-babel= -load-in-session-maybe)
=C2=A0org-confirm-shell-link-function 'yes-o= r-no-p
=C2=A0org-after-todo-state-change-hook '(org-clock-out-if-cur= rent)
=C2=A0org-src-mode-hook '(org-src-babel-configure-edit-buffer = org-src-mode-configure-edit-buffer)
=C2=A0org-agenda-before-write-hook &= #39;(org-agenda-add-entry-text)
=C2=A0org-babel-pre-tangle-hook '(sa= ve-buffer)
=C2=A0org-mode-hook '(#[0 "\300\301\302\303\304$\207= "
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0[add-hook change-major-m= ode-hook org-show-block-all append local] 5
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0"\n\n(fn)"]
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0#[0= "\300\301\302\303\304$\207"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0[add-hook change-major-mode-hook org-babel-show-result-all append= local] 5
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"\n\n(fn)"]=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0org-babel-result-hide-spec org-babel-= hide-all-hashes)
=C2=A0org-bibtex-headline-format-function #[257 "\= 300 \236A\207" [:title] 3 "\n\n(fn ENTRY)"]
=C2=A0org-arc= hive-hook '(org-attach-archive-delete-maybe)
=C2=A0org-cycle-hook &#= 39;(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 org-cycle-show-empty-lines org-optimize-window-aft= er-visibility-change)
=C2=A0org-confirm-elisp-link-function 'yes-or-= no-p
=C2=A0org-metadown-hook '(org-babel-pop-to-session-maybe)
= =C2=A0org-link-parameters '(("id" :follow org-id-open)
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("rmail" :fol= low org-rmail-open :store org-rmail-store-link)
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("mhe" :follow org-mhe-open :store= org-mhe-store-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0("irc" :follow org-irc-visit :store org-irc-store-link)
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("info" :f= ollow org-info-open :export org-info-export :store
=C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 org-info-store-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0("gnus" :follow org-gnus-open :store o= rg-gnus-store-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0("docview" :follow org-docview-open :export org-docview-export= :store
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 org-docview-store-link= )
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("bibtex&q= uot; :follow org-bibtex-open :store org-bibtex-store-link)
=C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("bbdb" :follow org-bbd= b-open :export org-bbdb-export :complete
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 org-bbdb-complete-link :store org-bbdb-store-link)
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("w3m" :store org-w3= m-store-link) ("file+sys") ("file+emacs")
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("doi" :follow org--= open-doi-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(&= quot;elisp" :follow org--open-elisp-link)
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("file" :complete org-file-complet= e-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("ft= p" :follow (lambda (path) (browse-url (concat "ftp:" path)))= )
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0("help&quo= t; :follow org--open-help-link)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0("http" :follow (lambda (path) (browse-url (conc= at "http:" path))))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0("https" :follow (lambda (path) (browse-url (concat = "https:" path))))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0("mailto" :follow (lambda (path) (browse-url (concat= "mailto:" path))))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0("news" :follow (lambda (path) (browse-url (concat &= quot;news:" path))))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0("shell" :follow org--open-shell-link))
=C2=A0org-cl= ock-out-hook '(org-clock-remove-empty-clock-drawer)
=C2=A0)
--94eb2c11b034a393e70556a71564--