emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dov Grobgeld <dov.grobgeld@gmail.com>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Orgmode and Unicode characters
Date: Mon, 6 Dec 2010 22:12:45 +0200	[thread overview]
Message-ID: <AANLkTi=S2_2gmx313LAh+HjBuzU4nc_Lm1Joe4fS8MET@mail.gmail.com> (raw)
In-Reply-To: <87tyiruex2.fsf@gmail.com>


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

The way I see it, within org-mode you wouldn't have to change anything in
your input, but C-c C-c or other hot keys would do the change automatically.
But I really don't mind if the underlying buffer stays the same, but only
the display changes.

Secondly, typing Unicode characters is pretty easy in emacs through its
input modes. I have recently working on a special input mode for the
key-starved N900 keyboard and it is really simple through quail. For box
characters, you may e.g. use input mode rfc1345 through C-\ rfc1345, and
then type:

&dr&hh&dl
&vv &vv
&ur&hh&ul"

which results in:
┌─┐
│ │
└─┘
Obviously the display of these fancy characters is only syntactic suger, but
so is the use of font colors in the buffer.

Regards,
Dov

On Mon, Dec 6, 2010 at 16:58, Eric Schulte <schulte.eric@gmail.com> wrote:

> My only worry on this front is that I know how to type "|" and "-" for
> tables, and how to type "*" for headings, but I don't have an easy way
> to type utf8 characters.
>
> If Org-mode starts using exotic utf8 characters which can not easily be
> typed from outside of Org-mode then it loses some of the "it's all plain
> text" appeal.
>
> I agree with Darlan that something using Emacs display functionality
> (like used by org-pretty-entities) could be preferable because it would
> preserve the underlying text.
>
> Best -- Eric
>
> Darlan Cavalcante Moreira <darcamo@gmail.com> writes:
>
> > If changing the actual character in the file is be the best option (maybe
> > it could cause problems for the exporters), then an approach similar to
> > org-pretty-entities could be used for this.
> >
> > --
> > Darlan
> >
> > At Mon, 6 Dec 2010 11:19:55 +0200,
> > Dov Grobgeld <dov.grobgeld@gmail.com> wrote:
> >>
> >> Even though this announcement looks very cool, this again reminded me of
> >> something I've been thinking off when using orgmode. And that is the use
> of
> >> unicode characters. With the latest versions of emacs that support
> unicode
> >> and with rich fonts such as DejaVu Monospace, it is as easy to use
> unicode
> >> characters as ascii. What I was thinking of is that the current ascii
> >> graphics of e.g. tables could automatically be switched to box drawing
> >> characters (http://en.wikipedia.org/wiki/Box-drawing_characters) when
> >> pressing C-c or Tab. Other characters that could be used are automatic
> >> replacement of leading asterisks to various bullets. Each indentation
> level
> >> could be given a different bullets. E.g. "*"==▸, "**"==●, etc. I'm sure
> that
> >> arrows and various brackets may also be useful for various contexts.
> >>
> >> Of course the use of these characters would be configurable and would be
> >> turned off automatically for buffers that are not UTF-8 encoded.
> >>
> >> Perhaps I'll one day learn the inner workings of org-mode sufficiently
> to do
> >> this myself, but if there is someone who meanwhile wants to pick up the
> >> idea, you're welcome!
> >>
> >> Regards,
> >> Dov
> >>
> >> On Mon, Dec 6, 2010 at 09:05, Nathan Neff <nathan.neff@gmail.com>
> wrote:
> >>
> >> > Much easier to read, and I love the nesting/indenting of
> >> > sub-headings.
> >> >
> >> > http://nateneff.com/   - Need to understand
> org-mode-clockreport-rules.html<
> http://nateneff.com/org-mode-clockreport-rules.html>
> >> >
> >> > --Nate
> >> >
> >> > _______________________________________________
> >> > Emacs-orgmode mailing list
> >> > Please use `Reply All' to send replies to the list.
> >> > Emacs-orgmode@gnu.org
> >> > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> >> >
> >
> > _______________________________________________
> > Emacs-orgmode mailing list
> > Please 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: 5771 bytes --]

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

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

  parent reply	other threads:[~2010-12-06 20:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-06  9:19 Orgmode and Unicode characters Dov Grobgeld
2010-12-06 14:32 ` Darlan Cavalcante Moreira
2010-12-06 14:58   ` Eric Schulte
2010-12-06 18:36     ` Dan Davison
2010-12-06 20:12     ` Dov Grobgeld [this message]
2010-12-07  9:41       ` Eric S Fraga
2010-12-06 14:51 ` Carsten Dominik
2010-12-06 20:14   ` Dov Grobgeld

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='AANLkTi=S2_2gmx313LAh+HjBuzU4nc_Lm1Joe4fS8MET@mail.gmail.com' \
    --to=dov.grobgeld@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=schulte.eric@gmail.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).