GNU bug report logs -
#13134
24.3.50; Box has no right border
Previous Next
Full log
Message #8 received at 13134 <at> debbugs.gnu.org (full text, mbox):
> From: "Fabrice Niessen" <fni <at> missioncriticalit.com>
> Date: Mon, 10 Dec 2012 10:54:22 +0100
>
> Some boxes are drawn OK, some aren't. Here a .org example file:
>
> --8<---------------cut here---------------start------------->8---
> * TODO This box around the Org TODO keyword is OK
>
> A box around the error work is OK as well, with the following code:
>
> #+begin_src emacs-lisp
> ;; highlight FIXME notes
> (defvar lvn/highlight-regexps
> "\\(TODO\\|FIXME\\|BUG\\|XXX\\|[Ee]rror\\|ERROR\\|[Ww]arning\\|WARNING\\)"
> "Patterns to highlight.")
>
> (defface lvn/highlight-face
> '((t (:weight normal :slant normal :box '(:line-width 1 :color "#CC0000")
> :foreground "#CC0000" :background "#FFFF88")))
> "Face for making FIXME and other warnings stand out.")
>
> ;; set up highlighting of special patterns for proper selected major modes
> ;; only
> (dolist (mode '(fundamental-mode
> text-mode))
> (font-lock-add-keywords mode
> `((,lvn/highlight-regexps 1 'lvn/highlight-face prepend))))
> #+end_src
>
> But boxes around =org-code= or ~org-verbatim~ are not OK: they don't have the
> right border!?
> --8<---------------cut here---------------end--------------->8---
>
> See http://screencast.com/t/Tv8Yi7yKIJZD.
>
> Extract from my color theme:
>
> #+begin_src emacs-lisp
> (org-code ((t (:box (:line-width 1 :color "#DDDDDD") :foreground "#000088" :background "#FFFFE0"))))
> (org-verbatim ((t (:box (:line-width 1 :color "#DDDDDD") :foreground "#000088" :background "#E0FFE0"))))
> #+end_src
Thanks, but could you perhaps provide a recipe starting from "emacs -Q"
which doesn't require to load Org at all? That would make the job of
debugging this a lot easier.
This bug report was last modified 11 years and 271 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.