emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Jose Robins <jorobins@yahoo.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Abbrevs and Org Tables
Date: Mon, 21 Apr 2008 15:15:40 +0200	[thread overview]
Message-ID: <A78B2EF4-D60A-46DC-89C1-A4D69C7770EE@science.uva.nl> (raw)
In-Reply-To: <480B4E80.1030308@yahoo.com>


[-- Attachment #1.1: Type: text/plain, Size: 2278 bytes --]


On Apr 20, 2008, at 4:09 PM, Jose Robins wrote:

> On a related note, I have some emphasis formatting/cell width  
> problems within tables.
> I have some custom emphasis alist along with hiding the emphasis  
> markers defined so...
>
> '(org-emphasis-alist (quote (("*" bold "<b>" "</b>") ("/" italic  
> "<i>" "</i>") ("_" underline "<u>" "</u>") ("=" org-code "<code>" "</ 
> code>" verbatim) ("~" org-verbatim "" "" verbatim) ("+" (:strike- 
> through t) "<del>" "</del>") ("&" font-lock-keyword-face "" "") ("#"  
> j-green-face "" "") ("^" j-highlight-face "" ""))))
>
>  '(org-hide-emphasis-markers t)
>
> where j-green-face or essentially the default face with the color  
> green etc.
>
> When I do an emphasis inside a table, the emphasis special  
> characters would disappear and the correct formatting would appear  
> on the word, however the right cell vertical divider character would  
> get pulled in by 1 character. <tab> does not resize the table cell  
> properly. I need to manually insert a space to move the divider to  
> the right and then everything would work as expected.  Just a minor  
> annoyance..
>
> Not sure if I explained the issue correctly...

Hi Jose,

does C-c C-c fix the alignment, or not?

- Carsten

>
>
> Jose
>
> Chris Randle wrote:
>>
>> Hi
>>
>> I define an Emacs abbrev of, say, "hnbc" to exapand to "how now brown
>> cow", and then type "hnbc[space]" inside an org table cell. After  
>> it has
>> expanded it pushes the trailing cell divider away, even though the  
>> cell
>> width was adequate. Tabbing out of the cell doesn't re-fit the cell
>> divider - it stays "stuck" where it was after the expansion.
>>
>> It's slightly odd, because if I type lots of leading spaces before  
>> the
>> abbrev and then tab, org happily moves the expanded text back to the
>> beginning of the cell, but still doesn't move the trailing divider.
>>
>> C-c C-c fixes it, and also moving the cursor over to the trailing  
>> cell
>> divider and backspace one char and tab.
>>
>> Any other workarounds or suggestions?
>>
>>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[-- Attachment #1.2: Type: text/html, Size: 3018 bytes --]

[-- Attachment #2: Type: text/plain, Size: 204 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2008-04-21 13:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-20  9:44 Abbrevs and Org Tables Chris Randle
2008-04-20 14:09 ` Jose Robins
2008-04-21 13:15   ` Carsten Dominik [this message]
2008-04-21 14:09     ` Jose Robins
2008-04-22  3:32 ` 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=A78B2EF4-D60A-46DC-89C1-A4D69C7770EE@science.uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=jorobins@yahoo.com \
    /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).