Re: [O] How to force markup without spaces

2012-12-13 Thread Bastien
Hi,

Suvayu Ali fatkasuvayu+li...@gmail.com writes:

 Anyway, is there any plan to implement this feature in other way?
 Using the solution that you provides makes the org document stick to the
 unicode,
 so it can't be used in other character encodings.
 

 AFAIK, this will not be included;

   http://thread.gmane.org/gmane.emacs.orgmode/59881/focus=59971

More precisely this can be included when we decide to drop support 
of Emacs 22.

Does anyone know what is the current backward compatibility state
of major native Emacs packages (Gnus/ERC/etc) wrt Emacs 22?

Thanks,

-- 
 Bastien



Re: [O] How to force markup without spaces

2012-11-19 Thread Seong-Kook Shin
Yes, thank for the solution.

By the way, I'll prefer word joiner character (U+2060) to zero width
space character (U+200B),
because postpositions (grammar) should not be separated on line-break
policy.

Anyway, is there any plan to implement this feature in other way?
Using the solution that you provides makes the org document stick to the
unicode,
so it can't be used in other character encodings.

Thanks.

On Mon, Nov 19, 2012 at 4:11 PM, Vladimir Lomov lomov...@gmail.com wrote:

 Hello,
 ** cin...@gmail.com [2012-11-19 14:32:21 +0900]:

  Hi,

  AFAIK, if the markup syntax (=code=, *bold*, ..) is directly followed
  by non-whitespace characters, then it will not be marked-up:

 =hello=there
 /not/italic

  This may be right decision on English text, but in some languages, the
  postposition (grammar) will be postfixed without spaces into the
  previous noun, so it will be the trouble.  (Following text contains
  Korean characters in UTF-8, you may need additional korean font to
  read properly)

 =printf=는
 =bold=로
 =철수=는

  I'm sure that some other languages will have same problem
  (e.g. Japanese or Chinese).

  Is there any way to force mark-up on this situation?

  If this pattern cannot be implemented easily, how about to introduce
  new escaping character to prevent to insert whitespace between
  marked-up text and the following postfix text?  For example:

=printf=\is  = rendered in HTML: codeprintf/codeis
*bold*\asdf  = rendered in HTML: bbold/basdf
/철수/\는= rendered in HTML: i철수/i는

  I can't say the above solution is well-designed, but I'm sure that
  you'll get the point.

 May be this will help you:
 http://article.gmane.org/gmane.emacs.orgmode/46263/match=zero+width+space

 --
 Had he and I but met
 By some old ancient inn,But ranged as infantry,
 We should have sat us down to wet   And staring face to face,
 Right many a nipperkin! I shot at him as he at me,
 And killed him in his place.
 I shot him dead because --
 Because he was my foe,  He thought he'd 'list, perhaps,
 Just so: my foe of course he was;   Off-hand-like -- just as I --
 That's clear enough; although   Was out of work -- had sold his
 traps
 No other reason why.
 Yes; quaint and curious war is!
 You shoot a fellow down
 You'd treat, if met where any bar is
 Or help to half-a-crown.
 -- Thomas Hardy




-- 
C FAQs: http://c-faq.com/
Korean: http://www.cinsk.org/cfaqs/


Re: [O] How to force markup without spaces

2012-11-19 Thread Suvayu Ali
On Mon, Nov 19, 2012 at 07:06:10PM +0900, Seong-Kook Shin wrote:
 
 Anyway, is there any plan to implement this feature in other way?
 Using the solution that you provides makes the org document stick to the
 unicode,
 so it can't be used in other character encodings.
 

AFAIK, this will not be included;

  http://thread.gmane.org/gmane.emacs.orgmode/59881/focus=59971


-- 
Suvayu

Open source is the future. It sets us free.



[O] How to force markup without spaces

2012-11-18 Thread cinsky

Hi,

AFAIK, if the markup syntax (=code=, *bold*, ..) is directly followed
by non-whitespace characters, then it will not be marked-up:

   =hello=there
   /not/italic

This may be right decision on English text, but in some languages, the
postposition (grammar) will be postfixed without spaces into the
previous noun, so it will be the trouble.  (Following text contains
Korean characters in UTF-8, you may need additional korean font to
read properly)

   =printf=는
   =bold=로
   =철수=는

I'm sure that some other languages will have same problem
(e.g. Japanese or Chinese).

Is there any way to force mark-up on this situation?

If this pattern cannot be implemented easily, how about to introduce
new escaping character to prevent to insert whitespace between
marked-up text and the following postfix text?  For example:

  =printf=\is  = rendered in HTML: codeprintf/codeis
  *bold*\asdf  = rendered in HTML: bbold/basdf
  /철수/\는= rendered in HTML: i철수/i는

I can't say the above solution is well-designed, but I'm sure that
you'll get the point.

Thanks.

-- 
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
Korean Ver: http://www.cinsk.org/cfaqs/



Re: [O] How to force markup without spaces

2012-11-18 Thread Vladimir Lomov
Hello,
** cin...@gmail.com [2012-11-19 14:32:21 +0900]:

 Hi,

 AFAIK, if the markup syntax (=code=, *bold*, ..) is directly followed
 by non-whitespace characters, then it will not be marked-up:

=hello=there
/not/italic

 This may be right decision on English text, but in some languages, the
 postposition (grammar) will be postfixed without spaces into the
 previous noun, so it will be the trouble.  (Following text contains
 Korean characters in UTF-8, you may need additional korean font to
 read properly)

=printf=는
=bold=로
=철수=는

 I'm sure that some other languages will have same problem
 (e.g. Japanese or Chinese).

 Is there any way to force mark-up on this situation?

 If this pattern cannot be implemented easily, how about to introduce
 new escaping character to prevent to insert whitespace between
 marked-up text and the following postfix text?  For example:

   =printf=\is  = rendered in HTML: codeprintf/codeis
   *bold*\asdf  = rendered in HTML: bbold/basdf
   /철수/\는= rendered in HTML: i철수/i는

 I can't say the above solution is well-designed, but I'm sure that
 you'll get the point.

May be this will help you:
http://article.gmane.org/gmane.emacs.orgmode/46263/match=zero+width+space

-- 
Had he and I but met
By some old ancient inn,But ranged as infantry,
We should have sat us down to wet   And staring face to face,
Right many a nipperkin! I shot at him as he at me,
And killed him in his place.
I shot him dead because --
Because he was my foe,  He thought he'd 'list, perhaps,
Just so: my foe of course he was;   Off-hand-like -- just as I --
That's clear enough; although   Was out of work -- had sold his traps
No other reason why.
Yes; quaint and curious war is!
You shoot a fellow down
You'd treat, if met where any bar is
Or help to half-a-crown.
-- Thomas Hardy