From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Lewis Subject: Bug: shift-enter in org tables leaves cursor in wrong position [8.2.5h (8.2.5h-6-g8e1386-elpa @ /cygdrive/c/Users/jason/.emacs.d/elpa/org-20140203/)] Date: Thu, 06 Feb 2014 13:30:31 +1100 Message-ID: <52F2F3C7.6060609@dickson.st> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="S9EbDESMdO0o8D8Xlk6HhAWrM60MHsvuD" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBEkJ-0005FP-QH for emacs-orgmode@gnu.org; Wed, 05 Feb 2014 21:31:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WBEkC-0003GE-7s for emacs-orgmode@gnu.org; Wed, 05 Feb 2014 21:31:19 -0500 Received: from ipmail06.adl6.internode.on.net ([2001:44b8:8060:ff02:300:1:6:6]:11052) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WBEkB-0003EN-IN for emacs-orgmode@gnu.org; Wed, 05 Feb 2014 21:31:12 -0500 Received: from [10.0.2.240] (unknown [10.0.2.240]) by debian.organictrader.com.au (Postfix) with ESMTPSA id 1C66B11A0224 for ; Thu, 6 Feb 2014 13:30:36 +1100 (EST) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org mode This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --S9EbDESMdO0o8D8Xlk6HhAWrM60MHsvuD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi, when using the Shift- feature in a table to copy values down, it fails to place the cursor where you expect it to if the previous column has a fixed width and the contents of the cell is truncated. Steps to reproduce: enter the following org table: | | <7> | | |---+---------+---| | 4 | podsdfsfsadastatoes | 1 | | 5 | podsdfsfsadastatoes | 2 | | 6 | | | press C-c C-c to ensure the second column is showing abbreviated. place cursor on the number 1, Shift- copies values to the next line but leaves the cursor in the wrong position, at the end of the string in the row that starts with = 5 if you remove the <7> and repeat the experiment, the cursor moves down the third column as you expect it to. I expect it should work the same whether or not the previous column has truncated contents. Emacs : GNU Emacs 24.3.50.2 (i686-pc-cygwin) of 2014-01-15 on jade Package: Org-mode version 8.2.5h (8.2.5h-6-g8e1386-elpa @ /cygdrive/c/Users/jason/.emacs.d/elpa/org-20140203/) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-latex-format-headline-function 'org-latex-format-headline-default-function org-html-format-inlinetask-function 'ignore outline-minor-mode-hook '(mediawiki-outline-magic-keys) org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-refile-targets '((nil :maxlevel . 9) (org-agenda-files :maxlevel . 9= )) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers= org-cycle-hide-inline-tasks org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-defaul= t org-babel-pre-tangle-hook '(save-buffer) org-occur-hook '(org-first-headline-recenter) org-html-format-headline-function 'ignore org-metaup-hook '(org-babel-load-in-session-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-default-notes-file "~/Dropbox/org/todo.org" org-latex-format-drawer-function '(lambda (name contents) contents) org-blank-before-new-entry nil org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes (lambda nil (flyspell-mode -1))) org-ascii-format-drawer-function '(lambda (name contents width) contents= ) org-directory "~/Dropbox/org" org-from-is-user-regexp "\\" org-html-format-drawer-function '(lambda (name contents) contents) org-metadown-hook '(org-babel-pop-to-session-maybe) org-agenda-files '("~/Dropbox/org/todo.org" "~/Dropbox/org" "~/Dropbox/org/todo.org") org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-after-todo-state-change-hook '(org-clock-out-if-current) org-latex-format-inlinetask-function 'ignore org-M-RET-may-split-line '((default)) org-confirm-shell-link-function 'yes-or-no-p ) --S9EbDESMdO0o8D8Xlk6HhAWrM60MHsvuD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (MingW32) iQIcBAEBCAAGBQJS8vPLAAoJEPpXHsdQXnZOQpMP/2fnvgircN+8XAyDqoZOnZv/ MLhYmrfuLY+rVNSQ3E4+O+6+Ho3LqLgt1cIKM4wJQ1vC3RfNMRqlca0GpMEEq8Vb iB6oIibcxNsJyFiFbWctXFg+S9BHg+JokcwiFEhfIqGYRHbmObpADuv3tFjzeso/ kW/4xpz9qaYEIyu/ognzD2LXUWCDuw8gBBz+LwBz+FV8A44r5ILWC2ecJjJICKDv TEXy8O45xkVt3HECkY0miZipbCYOYyjDvvgiBsZERjT8sjz9nPEwh9IhCp3kOkc/ dxHQLRgdI2RSqdSH8SwME07T/EC7gX442bURelyOsNfAwn+wa44ERNUqmoxId23E gkx7ImwVUKFqGvArJlSh0PaMJvjnYh7bfAX6x6Y2Jl4Jd6hQl69gk2n12Sj152kZ KMUkkJb7QZS6HLq6kW615AtDizkW4oi3F1sffAuIbvWLp94VvgOAgLAEHQ7M+wBr Sjwg4hiJsPf0yw63Z+XFcCW9NOpArwzHY0YW/KDaBMVYonUZqZW1fwoXevlKDd20 tFwMqlZnGxBczEf15aPkbcm1s8+9TAASl0SadrwsknwTs3IHbmbB4n84rEUw2wve NPcU98aYUKSiZta2V4RY7uZYIwT3jC5m/i5N/PBTiZghiI+GqA3EsN2LozzTgJQI +bkdVghX9FjvVIP0QLmi =CHuL -----END PGP SIGNATURE----- --S9EbDESMdO0o8D8Xlk6HhAWrM60MHsvuD--