unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Render a buffer or string to a simpler string?
@ 2013-05-25 19:36 Dmitry Gutov
  2013-05-25 20:58 ` Eli Zaretskii
  0 siblings, 1 reply; 19+ messages in thread
From: Dmitry Gutov @ 2013-05-25 19:36 UTC (permalink / raw)
  To: help-gnu-emacs

I'm currently fixing Company's popup overlay positioning and display
interacts with org-indent-mode. The latter adds `line-prefix' text
properties everywhere in the buffer, and they influence the offset of
each line of the popup "rectangle".

Is there an easy way to convert a string with `line-prefix' and,
optionally, `prefix' and `display' properties to a string without those
properties corresponding to how the former string is going to be
displayed?

Or, instead of a string, convert a buffer?

Somewhat relatedly, is there a way to make `count-screen-lines' work in
batch mode (i.e. not return crazy numbers)? It would be nice to be able
to run code that calls it on an integration server.




^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2013-05-27 12:14 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.381.1369510626.22516.help-gnu-emacs@gnu.org>
2013-05-25 20:45 ` Render a buffer or string to a simpler string? Barry Margolin
2013-05-25 19:36 Dmitry Gutov
2013-05-25 20:58 ` Eli Zaretskii
2013-05-25 21:46   ` Dmitry Gutov
2013-05-26  2:50     ` Eli Zaretskii
2013-05-26  3:38       ` Dmitry Gutov
2013-05-26 15:11         ` Eli Zaretskii
2013-05-26 15:40           ` Dmitry Gutov
2013-05-26 16:15             ` Eli Zaretskii
2013-05-26 23:20               ` Dmitry Gutov
     [not found]             ` <mailman.418.1369584930.22516.help-gnu-emacs@gnu.org>
2013-05-26 17:08               ` esabof
2013-05-26 23:36                 ` Dmitry Gutov
2013-05-26 17:16       ` Stefan Monnier
2013-05-26 23:28         ` Dmitry Gutov
     [not found]       ` <mailman.419.1369588606.22516.help-gnu-emacs@gnu.org>
2013-05-26 17:56         ` esabof
2013-05-27  2:47           ` Eli Zaretskii
2013-05-27  2:48           ` Dmitry Gutov
     [not found]           ` <mailman.445.1369622831.22516.help-gnu-emacs@gnu.org>
2013-05-27 11:59             ` esabof
     [not found]           ` <mailman.446.1369622948.22516.help-gnu-emacs@gnu.org>
2013-05-27 12:14             ` esabof

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).