unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#17867: 24.3.90; Printing of overlayed text not reagarding overlays anymore
@ 2014-06-28  6:39 Stefan-W. Hahn
  2014-07-01  2:25 ` Stefan Monnier
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan-W. Hahn @ 2014-06-28  6:39 UTC (permalink / raw)
  To: 17867

Good morning,

I'm using emacs heavily with org-mode on windows and be used
to print parts of org-mode files from within emacs as postscript.

With the change

,----
| commit a019de041b837fe23372078870a6eca8a08fbdf9
| Author: Stefan Monnier <monnier@iro.umontreal.ca>
| Date:   Tue Apr 15 09:21:18 2014 -0400
| 
|     * src/buffer.c (Foverlays_at): Add argument `sorted'.
|     * doc/lispref/display.texi (Overlay Properties): Reword the doc of `priority'.
|     (Finding Overlays): Document new arg of `overlays-at'.
|     * lisp/obsolete/lucid.el (extent-at):
|     * lisp/htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
|     overlays-at.
|     (hfy-fontify-buffer): Remove unused var `orig-ovls'.
|     * lisp/ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
|     arg of overlays-at.  Use `invisible-p'.
`----

in lisp/ps-def.el the interpretation of overlays was removed.

Example:
In org-mode you can have links like this

   [[file:private.org][My special file]]

this is overlayed and you see (in emacs)

   My special file

with face.

Before the mentioned change this will be printed also in this way. After the
change it will be printed as in the shown in the first line

This means that printing org-mode tables is not fulfilling anymore.

Is there anything I misunterstood? Perhaps another possibility to
print overlayed text? If not I think this is a bug.

With kind regards
Stefan

-- 
Stefan-W. Hahn                          It is easy to make things.
                                        It is hard to make things simple.





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

* bug#17867: 24.3.90; Printing of overlayed text not reagarding overlays anymore
  2014-06-28  6:39 bug#17867: 24.3.90; Printing of overlayed text not reagarding overlays anymore Stefan-W. Hahn
@ 2014-07-01  2:25 ` Stefan Monnier
  2014-07-01 16:10   ` Stefan-W. Hahn
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2014-07-01  2:25 UTC (permalink / raw)
  To: Stefan-W. Hahn; +Cc: 17867-done

[ Please don't Cc: me (or anyone else for that matter) when sending mail
  to bug-gnu-emacs, otherwise they receive the mail before it gets
  assigned a bug-tracking number.  For me, just leave me out since
  I receive a copy of all bug reports anyway, for other people use
  "X-Debbugs-Cc:" instead.  ]

> In org-mode you can have links like this
>    [[file:private.org][My special file]]
> this is overlayed and you see (in emacs)
>    My special file
> with face.
> Before the mentioned change this will be printed also in this way. After the
> change it will be printed as in the shown in the first line

Indeed, thanks.  I installed the patch below which seems to fix
the problem.


        Stefan


=== modified file 'lisp/ps-def.el'
--- lisp/ps-def.el	2014-04-15 13:21:18 +0000
+++ lisp/ps-def.el	2014-07-01 02:19:40 +0000
@@ -325,8 +325,6 @@
 	  ;; Emacs
 	  (property-change from)
 	  (overlay-change from)
-	  (save-buffer-invisibility-spec buffer-invisibility-spec)
-	  (buffer-invisibility-spec nil)
 	  before-string after-string)
       (while (< from to)
 	(and (< property-change to)	; Don't search for property change






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

* bug#17867: 24.3.90; Printing of overlayed text not reagarding overlays anymore
  2014-07-01  2:25 ` Stefan Monnier
@ 2014-07-01 16:10   ` Stefan-W. Hahn
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan-W. Hahn @ 2014-07-01 16:10 UTC (permalink / raw)
  To: 17867

Mail von Stefan Monnier, Mon, 30 Jun 2014 at 22:25:55 -0400:

> Indeed, thanks.  I installed the patch below which seems to fix
> the problem.

It works. Thanks.

With kind regards
Stefan

-- 
Stefan-W. Hahn                          It is easy to make things.
                                        It is hard to make things simple.





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

end of thread, other threads:[~2014-07-01 16:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-28  6:39 bug#17867: 24.3.90; Printing of overlayed text not reagarding overlays anymore Stefan-W. Hahn
2014-07-01  2:25 ` Stefan Monnier
2014-07-01 16:10   ` Stefan-W. Hahn

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).