emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Mati <mati@electrum-bikes.pl>
To: emacs-orgmode@gnu.org
Subject: Re: [BUG] cant normally edit tables created with table-insert [9.5.2 (release_9.5.2-25-gaf6f12 @ c:/Program Files/Emacs/emacs-28.1/share/emacs/28.1/lisp/org/)]
Date: Thu, 27 Oct 2022 16:42:40 +0200	[thread overview]
Message-ID: <59493b0d-5961-d1d7-a275-68abff669706@electrum-bikes.pl> (raw)
In-Reply-To: <87zgdindie.fsf@localhost>

> Please provide more details on what you have tried.
M-x table-insert 5 columns 5 rows 15 cell width 1 height

Then enter something in first cell. press tab to go to next cell, but 
then message appears with C-c ’ (copy-pasted it from messages buffer) 
shortcut. I can edit table after pressing C-c ', in orgsrc mode, with 
very limited functionality and it just doesn't work well, table doesn't 
shrink after deleting text etc.

Also, I noticed that horizontal table lines (|-----+-----|) are not 
properly recognized too and instead of inserting new cells below line, 
they are inserted above when moving by <tab>. The funny part is that 
this works in emacs with my configuration loaded (valign-mode and 
variable pitch font might matter) so it works well when it could be 
expected to break, and is broken in pure emacs (but only horizontal 
lines, top and bottom border still breaks table even with valign). Of 
course with emacs -q I test on monospace font.

> with point at the top left cell, after C-c ', I can <TAB> across cells
> in the edit buffer.
Yes, in orgsrc mode (after clicking this shortcut, C-c ') it's possible, 
but it should work in org, also as I previously mentioned, orgsrc table 
editing is limited and doesn't work properly.

On 27.10.2022 05:36, Ihor Radchenko wrote:
> ELECTRUM BIKES <mati@electrum-bikes.pl> writes:
>
>> Hi. Tables created in org-mode by inserting manually | works fine, but
>> if I use table-insert I can't manipulate table, I get "use C-c `"
>> notification in minibuffer when I click <tab> to move to next cell.
> "C-c '", not C-c `.
>
>> If I click C-c `, I get "not a table" response. In such tables I can
>> only insert text but not use shortcuts and they're generally broken. I
>> tried it on emacs -q and it looks it's not my configuration fault,
>> same behavior.
> Please provide more details on what you have tried.
>
> I tried
>
>
>      +--------------+------+--------------------------------+
>      |              |      |                                |
>      |              |      |                                |
>      +--------------+------+--------------------------------+
>      |              |      |Text editing inside the table   |
>      |              |      |cell produces reasonably        |
>      |              |      |expected results.-!-            |
>      +--------------+------+--------------------------------+
>      |              |      |                                |
>      |              |      |                                |
>      +--------------+------+--------------------------------+
>
> with point at the top left cell, after C-c ', I can <TAB> across cells
> in the edit buffer.
>
>> Also, there seems to be problem with handling top and bottom borders,
>> if I insert
>> (for example, 3 column table) +-+-+ at the top or bottom of a working table,
>> it breaks to exactly same state as command-inserted tables, so probably
>> top and bottom border handling breaks tables (command created tables
>> does have this borders).
> Sorry, I do not understand what you are referring two. Detailed steps
> explaining what text you inserted and what key bindings you pressed
> would help a lot.
>


  reply	other threads:[~2022-10-27 14:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-25 11:50 [BUG] cant normally edit tables created with table-insert [9.5.2 (release_9.5.2-25-gaf6f12 @ c:/Program Files/Emacs/emacs-28.1/share/emacs/28.1/lisp/org/)] ELECTRUM BIKES
2022-10-27  3:36 ` Ihor Radchenko
2022-10-27 14:42   ` Mati [this message]
2022-10-28  4:13     ` Ihor Radchenko
2022-10-30  7:42       ` Mati
2022-10-30  7:47         ` Ihor Radchenko
2022-10-30  7:58           ` Mati
2022-10-30  8:07             ` Ihor Radchenko
2022-10-30  8:11               ` Mati
2022-10-30  8:55                 ` Ihor Radchenko
     [not found]                   ` <a88fe7e0-2374-bf4d-bab1-c897a15893d4@electrum-bikes.pl>
     [not found]                     ` <87v8o1oexx.fsf@localhost>
2022-10-30  9:35                       ` Mati

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=59493b0d-5961-d1d7-a275-68abff669706@electrum-bikes.pl \
    --to=mati@electrum-bikes.pl \
    --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).