all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#13634: 24.2; trailing whitespace in calendar (enhancement)
@ 2013-02-06  2:54 Arun Persaud
  2013-02-06 16:41 ` Bastien
  0 siblings, 1 reply; 15+ messages in thread
From: Arun Persaud @ 2013-02-06  2:54 UTC (permalink / raw
  To: 13634

Hi

I like to show trailing white spaces in my buffers using

(setq-default show-trailing-whitespace t)

in my .emacs file. Since I have this enabled, I noticed
that the calendar (M-x calendar) has a lot of empty white space at the
end of the line. It would be nice if those could be removed before
displaying the calendar.

Thanks

Arun

In GNU Emacs 24.2.1 (x86_64-suse-linux-gnu, GTK+ Version 3.4.4)
 of 2012-10-10 on build20
Windowing system distributor `The X.Org Foundation', version 11.0.11203000
Configured using:
 `configure '--with-pop' '--without-hesiod' '--with-kerberos'
 '--with-kerberos5' '--with-xim' '--with-wide-int' '--enable-autodepend'
 '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info'
 '--datadir=/usr/share' '--localstatedir=/var'
 '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--with-x'
 '--with-sound' '--with-sync-input' '--with-xpm' '--with-jpeg'
 '--with-tiff' '--with-gif' '--with-png' '--with-rsvg' '--with-dbus'
 '--without-gpm' '--with-x-toolkit=gtk3' '--x-includes=/usr/include'
 '--x-libraries=/usr/lib64:/usr/share/X11' '--with-xft' '--with-libotf'
 '--with-m17n-flt' '--build=x86_64-suse-linux'
 'build_alias=x86_64-suse-linux' 'CFLAGS=-fmessage-length=0 -O2 -Wall
 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
 -fasynchronous-unwind-tables -g -D_GNU_SOURCE -std=gnu89 -pipe
 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-label
 -Wno-unprototyped-calls -fno-optimize-sibling-calls
 -DSYSTEM_PURESIZE_EXTRA=55000 -DSITELOAD_PURESIZE_EXTRA=10000 '
 'LDFLAGS=-Wl,-O2 -Wl,--hash-size=65521''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: POSIX
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  shell-dirtrack-mode: t
  ido-everywhere: t
  global-smart-tab-mode: t
  smart-tab-mode: t
  yas/global-mode: t
  show-paren-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:

Recent messages:
(No files need saving)
Saving all Org-mode buffers... done
Reverted 1 buffer.
Saving all Org-mode buffers...
(No files need saving)
Saving all Org-mode buffers... done
Reverted 1 buffer.
Symbolic link to Git-controlled source file; follow link? (y or n)  y
Followed link to /home/arun/mydotfiles/emacs
Mark saved where search started
Quit

Load-path shadows:
/usr/local/share/emacs/site-lisp/gnuplot hides
/usr/share/emacs/site-lisp/gnuplot
/usr/local/share/emacs/site-lisp/gnuplot-gui hides
/usr/share/emacs/site-lisp/gnuplot-gui
/usr/share/emacs/site-lisp/ob-tangle hides
/usr/share/emacs/site-lisp/babel/ob-tangle
/usr/share/emacs/site-lisp/ob-comint hides
/usr/share/emacs/site-lisp/babel/ob-comint
/usr/share/emacs/site-lisp/ob hides /usr/share/emacs/site-lisp/babel/ob
/usr/share/emacs/site-lisp/ob-lob hides
/usr/share/emacs/site-lisp/babel/ob-lob
/usr/share/emacs/site-lisp/ob-ref hides
/usr/share/emacs/site-lisp/babel/ob-ref
/usr/share/emacs/site-lisp/ob-exp hides
/usr/share/emacs/site-lisp/babel/ob-exp
/usr/share/emacs/site-lisp/ob-table hides
/usr/share/emacs/site-lisp/babel/ob-table
/usr/share/emacs/site-lisp/ob-keys hides
/usr/share/emacs/site-lisp/babel/ob-keys
/usr/share/emacs/site-lisp/ob-matlab hides
/usr/share/emacs/site-lisp/org/ob-matlab
/usr/share/emacs/site-lisp/ob-tangle hides
/usr/share/emacs/site-lisp/org/ob-tangle
/usr/share/emacs/site-lisp/ob-awk hides
/usr/share/emacs/site-lisp/org/ob-awk
/usr/share/emacs/site-lisp/ob-python hides
/usr/share/emacs/site-lisp/org/ob-python
/usr/share/emacs/site-lisp/ob-haskell hides
/usr/share/emacs/site-lisp/org/ob-haskell
/usr/share/emacs/site-lisp/ob-octave hides
/usr/share/emacs/site-lisp/org/ob-octave
/usr/share/emacs/site-lisp/ob-scala hides
/usr/share/emacs/site-lisp/org/ob-scala
/usr/share/emacs/site-lisp/ob-comint hides
/usr/share/emacs/site-lisp/org/ob-comint
/usr/share/emacs/site-lisp/ob-dot hides
/usr/share/emacs/site-lisp/org/ob-dot
/usr/share/emacs/site-lisp/ob-gnuplot hides
/usr/share/emacs/site-lisp/org/ob-gnuplot
/usr/share/emacs/site-lisp/ob-clojure hides
/usr/share/emacs/site-lisp/org/ob-clojure
/usr/share/emacs/site-lisp/ob-asymptote hides
/usr/share/emacs/site-lisp/org/ob-asymptote
/usr/share/emacs/site-lisp/ob-latex hides
/usr/share/emacs/site-lisp/org/ob-latex
/usr/share/emacs/site-lisp/ob-ruby hides
/usr/share/emacs/site-lisp/org/ob-ruby
/usr/share/emacs/site-lisp/ob-lilypond hides
/usr/share/emacs/site-lisp/org/ob-lilypond
/usr/share/emacs/site-lisp/ob-io hides /usr/share/emacs/site-lisp/org/ob-io
/usr/share/emacs/site-lisp/ob-css hides
/usr/share/emacs/site-lisp/org/ob-css
/usr/share/emacs/site-lisp/ob hides /usr/share/emacs/site-lisp/org/ob
/usr/share/emacs/site-lisp/ob-screen hides
/usr/share/emacs/site-lisp/org/ob-screen
/usr/share/emacs/site-lisp/ob-lob hides
/usr/share/emacs/site-lisp/org/ob-lob
/usr/share/emacs/site-lisp/ob-java hides
/usr/share/emacs/site-lisp/org/ob-java
/usr/share/emacs/site-lisp/ob-eval hides
/usr/share/emacs/site-lisp/org/ob-eval
/usr/share/emacs/site-lisp/ob-sql hides
/usr/share/emacs/site-lisp/org/ob-sql
/usr/share/emacs/site-lisp/ob-scheme hides
/usr/share/emacs/site-lisp/org/ob-scheme
/usr/share/emacs/site-lisp/ob-shen hides
/usr/share/emacs/site-lisp/org/ob-shen
/usr/share/emacs/site-lisp/ob-sh hides /usr/share/emacs/site-lisp/org/ob-sh
/usr/share/emacs/site-lisp/ob-lisp hides
/usr/share/emacs/site-lisp/org/ob-lisp
/usr/share/emacs/site-lisp/ob-R hides /usr/share/emacs/site-lisp/org/ob-R
/usr/share/emacs/site-lisp/ob-sass hides
/usr/share/emacs/site-lisp/org/ob-sass
/usr/share/emacs/site-lisp/ob-picolisp hides
/usr/share/emacs/site-lisp/org/ob-picolisp
/usr/share/emacs/site-lisp/ob-sqlite hides
/usr/share/emacs/site-lisp/org/ob-sqlite
/usr/share/emacs/site-lisp/ob-ref hides
/usr/share/emacs/site-lisp/org/ob-ref
/usr/share/emacs/site-lisp/ob-js hides /usr/share/emacs/site-lisp/org/ob-js
/usr/share/emacs/site-lisp/ob-ditaa hides
/usr/share/emacs/site-lisp/org/ob-ditaa
/usr/share/emacs/site-lisp/ob-fortran hides
/usr/share/emacs/site-lisp/org/ob-fortran
/usr/share/emacs/site-lisp/ob-org hides
/usr/share/emacs/site-lisp/org/ob-org
/usr/share/emacs/site-lisp/ob-plantuml hides
/usr/share/emacs/site-lisp/org/ob-plantuml
/usr/share/emacs/site-lisp/ob-mscgen hides
/usr/share/emacs/site-lisp/org/ob-mscgen
/usr/share/emacs/site-lisp/ob-exp hides
/usr/share/emacs/site-lisp/org/ob-exp
/usr/share/emacs/site-lisp/ob-C hides /usr/share/emacs/site-lisp/org/ob-C
/usr/share/emacs/site-lisp/ob-maxima hides
/usr/share/emacs/site-lisp/org/ob-maxima
/usr/share/emacs/site-lisp/ob-emacs-lisp hides
/usr/share/emacs/site-lisp/org/ob-emacs-lisp
/usr/share/emacs/site-lisp/ob-table hides
/usr/share/emacs/site-lisp/org/ob-table
/usr/share/emacs/site-lisp/ob-keys hides
/usr/share/emacs/site-lisp/org/ob-keys
/usr/share/emacs/site-lisp/ob-calc hides
/usr/share/emacs/site-lisp/org/ob-calc
/usr/share/emacs/site-lisp/ob-perl hides
/usr/share/emacs/site-lisp/org/ob-perl
/usr/share/emacs/site-lisp/ob-ocaml hides
/usr/share/emacs/site-lisp/org/ob-ocaml
/usr/share/emacs/site-lisp/ob-ledger hides
/usr/share/emacs/site-lisp/org/ob-ledger
/usr/share/emacs/site-lisp/ob-matlab hides
/usr/share/emacs/site-lisp/babel/langs/ob-matlab
/usr/share/emacs/site-lisp/ob-haskell hides
/usr/share/emacs/site-lisp/babel/langs/ob-haskell
/usr/share/emacs/site-lisp/ob-octave hides
/usr/share/emacs/site-lisp/babel/langs/ob-octave
/usr/share/emacs/site-lisp/ob-dot hides
/usr/share/emacs/site-lisp/babel/langs/ob-dot
/usr/share/emacs/site-lisp/ob-gnuplot hides
/usr/share/emacs/site-lisp/babel/langs/ob-gnuplot
/usr/share/emacs/site-lisp/ob-clojure hides
/usr/share/emacs/site-lisp/babel/langs/ob-clojure
/usr/share/emacs/site-lisp/ob-latex hides
/usr/share/emacs/site-lisp/babel/langs/ob-latex
/usr/share/emacs/site-lisp/ob-screen hides
/usr/share/emacs/site-lisp/babel/langs/ob-screen
/usr/share/emacs/site-lisp/ob-ruby hides
/usr/share/emacs/site-lisp/babel/langs/ob-ruby
/usr/share/emacs/site-lisp/ob-sh hides
/usr/share/emacs/site-lisp/babel/langs/ob-sh
/usr/share/emacs/site-lisp/ob-R hides
/usr/share/emacs/site-lisp/babel/langs/ob-R
/usr/share/emacs/site-lisp/ob-emacs-lisp hides
/usr/share/emacs/site-lisp/babel/langs/ob-emacs-lisp
/usr/share/emacs/site-lisp/ob-python hides
/usr/share/emacs/site-lisp/babel/langs/ob-python
/usr/share/emacs/site-lisp/ob-C hides
/usr/share/emacs/site-lisp/babel/langs/ob-C
/usr/share/emacs/site-lisp/ob-perl hides
/usr/share/emacs/site-lisp/babel/langs/ob-perl
/usr/share/emacs/site-lisp/ob-css hides
/usr/share/emacs/site-lisp/babel/langs/ob-css
/usr/share/emacs/site-lisp/ob-sqlite hides
/usr/share/emacs/site-lisp/babel/langs/ob-sqlite
/usr/share/emacs/site-lisp/ob-sass hides
/usr/share/emacs/site-lisp/babel/langs/ob-sass
/usr/share/emacs/site-lisp/ob-ocaml hides
/usr/share/emacs/site-lisp/babel/langs/ob-ocaml
/usr/share/emacs/site-lisp/ob-asymptote hides
/usr/share/emacs/site-lisp/babel/langs/ob-asymptote
/usr/share/emacs/site-lisp/ob-sql hides
/usr/share/emacs/site-lisp/babel/langs/ob-sql
/usr/share/emacs/site-lisp/ob-ditaa hides
/usr/share/emacs/site-lisp/babel/langs/ob-ditaa
/usr/share/emacs/site-lisp/color-theme-el/color-theme-example hides
/usr/share/emacs/site-lisp/color-theme-el/themes/color-theme-example
/usr/share/emacs/site-lisp/color-theme-el/color-theme hides
/usr/share/emacs/site-lisp/color-theme-el/themes/color-theme
/usr/share/emacs/site-lisp/color-theme-el/color-theme-library hides
/usr/share/emacs/site-lisp/color-theme-el/themes/color-theme-library
/usr/share/emacs/site-lisp/color-theme-el/color-theme-autoloads hides
/usr/share/emacs/site-lisp/color-theme-el/themes/color-theme-autoloads
/usr/share/emacs/site-lisp/remember/remember hides
/usr/share/emacs/24.2/lisp/textmodes/remember
/usr/share/emacs/site-lisp/org/org-xoxo hides
/usr/share/emacs/24.2/lisp/org/org-xoxo
/usr/share/emacs/site-lisp/ob-org hides
/usr/share/emacs/24.2/lisp/org/ob-org
/usr/share/emacs/site-lisp/ob-sh hides /usr/share/emacs/24.2/lisp/org/ob-sh
/usr/share/emacs/site-lisp/org/org-remember hides
/usr/share/emacs/24.2/lisp/org/org-remember
/usr/share/emacs/site-lisp/ob-mscgen hides
/usr/share/emacs/24.2/lisp/org/ob-mscgen
/usr/share/emacs/site-lisp/org/org-info hides
/usr/share/emacs/24.2/lisp/org/org-info
/usr/share/emacs/site-lisp/org/org-colview hides
/usr/share/emacs/24.2/lisp/org/org-colview
/usr/share/emacs/site-lisp/org/org-list hides
/usr/share/emacs/24.2/lisp/org/org-list
/usr/share/emacs/site-lisp/ob-css hides
/usr/share/emacs/24.2/lisp/org/ob-css
/usr/share/emacs/site-lisp/org/org-w3m hides
/usr/share/emacs/24.2/lisp/org/org-w3m
/usr/share/emacs/site-lisp/org/org-html hides
/usr/share/emacs/24.2/lisp/org/org-html
/usr/share/emacs/site-lisp/ob-tangle hides
/usr/share/emacs/24.2/lisp/org/ob-tangle
/usr/share/emacs/site-lisp/org/org-datetree hides
/usr/share/emacs/24.2/lisp/org/org-datetree
/usr/share/emacs/site-lisp/ob-python hides
/usr/share/emacs/24.2/lisp/org/ob-python
/usr/share/emacs/site-lisp/org/org-beamer hides
/usr/share/emacs/24.2/lisp/org/org-beamer
/usr/share/emacs/site-lisp/ob-comint hides
/usr/share/emacs/24.2/lisp/org/ob-comint
/usr/share/emacs/site-lisp/org/org-bibtex hides
/usr/share/emacs/24.2/lisp/org/org-bibtex
/usr/share/emacs/site-lisp/org/org-crypt hides
/usr/share/emacs/24.2/lisp/org/org-crypt
/usr/share/emacs/site-lisp/org/org-icalendar hides
/usr/share/emacs/24.2/lisp/org/org-icalendar
/usr/share/emacs/site-lisp/org/org-install hides
/usr/share/emacs/24.2/lisp/org/org-install
/usr/share/emacs/site-lisp/org/org-mhe hides
/usr/share/emacs/24.2/lisp/org/org-mhe
/usr/share/emacs/site-lisp/org/org-src hides
/usr/share/emacs/24.2/lisp/org/org-src
/usr/share/emacs/site-lisp/ob-asymptote hides
/usr/share/emacs/24.2/lisp/org/ob-asymptote
/usr/share/emacs/site-lisp/ob-ref hides
/usr/share/emacs/24.2/lisp/org/ob-ref
/usr/share/emacs/site-lisp/org/org-freemind hides
/usr/share/emacs/24.2/lisp/org/org-freemind
/usr/share/emacs/site-lisp/ob-table hides
/usr/share/emacs/24.2/lisp/org/ob-table
/usr/share/emacs/site-lisp/org/org-mew hides
/usr/share/emacs/24.2/lisp/org/org-mew
/usr/share/emacs/site-lisp/org/org-mks hides
/usr/share/emacs/24.2/lisp/org/org-mks
/usr/share/emacs/site-lisp/org/org-feed hides
/usr/share/emacs/24.2/lisp/org/org-feed
/usr/share/emacs/site-lisp/ob-ruby hides
/usr/share/emacs/24.2/lisp/org/ob-ruby
/usr/share/emacs/site-lisp/org/org-macs hides
/usr/share/emacs/24.2/lisp/org/org-macs
/usr/share/emacs/site-lisp/org/org-eshell hides
/usr/share/emacs/24.2/lisp/org/org-eshell
/usr/share/emacs/site-lisp/org/org-indent hides
/usr/share/emacs/24.2/lisp/org/org-indent
/usr/share/emacs/site-lisp/ob-shen hides
/usr/share/emacs/24.2/lisp/org/ob-shen
/usr/share/emacs/site-lisp/org/org-jsinfo hides
/usr/share/emacs/24.2/lisp/org/org-jsinfo
/usr/share/emacs/site-lisp/ob-dot hides
/usr/share/emacs/24.2/lisp/org/ob-dot
/usr/share/emacs/site-lisp/org/org-latex hides
/usr/share/emacs/24.2/lisp/org/org-latex
/usr/share/emacs/site-lisp/ob-sass hides
/usr/share/emacs/24.2/lisp/org/ob-sass
/usr/share/emacs/site-lisp/org/org-id hides
/usr/share/emacs/24.2/lisp/org/org-id
/usr/share/emacs/site-lisp/org/org-plot hides
/usr/share/emacs/24.2/lisp/org/org-plot
/usr/share/emacs/site-lisp/ob-C hides /usr/share/emacs/24.2/lisp/org/ob-C
/usr/share/emacs/site-lisp/ob-lob hides
/usr/share/emacs/24.2/lisp/org/ob-lob
/usr/share/emacs/site-lisp/ob-java hides
/usr/share/emacs/24.2/lisp/org/ob-java
/usr/share/emacs/site-lisp/ob-octave hides
/usr/share/emacs/24.2/lisp/org/ob-octave
/usr/share/emacs/site-lisp/ob-R hides /usr/share/emacs/24.2/lisp/org/ob-R
/usr/share/emacs/site-lisp/ob-fortran hides
/usr/share/emacs/24.2/lisp/org/ob-fortran
/usr/share/emacs/site-lisp/ob-eval hides
/usr/share/emacs/24.2/lisp/org/ob-eval
/usr/share/emacs/site-lisp/org/org-mobile hides
/usr/share/emacs/24.2/lisp/org/org-mobile
/usr/share/emacs/site-lisp/ob-sql hides
/usr/share/emacs/24.2/lisp/org/ob-sql
/usr/share/emacs/site-lisp/org/org-table hides
/usr/share/emacs/24.2/lisp/org/org-table
/usr/share/emacs/site-lisp/ob-plantuml hides
/usr/share/emacs/24.2/lisp/org/ob-plantuml
/usr/share/emacs/site-lisp/ob-scheme hides
/usr/share/emacs/24.2/lisp/org/ob-scheme
/usr/share/emacs/site-lisp/org/org-vm hides
/usr/share/emacs/24.2/lisp/org/org-vm
/usr/share/emacs/site-lisp/ob-ledger hides
/usr/share/emacs/24.2/lisp/org/ob-ledger
/usr/share/emacs/site-lisp/org/org-capture hides
/usr/share/emacs/24.2/lisp/org/org-capture
/usr/share/emacs/site-lisp/org/org-faces hides
/usr/share/emacs/24.2/lisp/org/org-faces
/usr/share/emacs/site-lisp/org/org-lparse hides
/usr/share/emacs/24.2/lisp/org/org-lparse
/usr/share/emacs/site-lisp/ob-matlab hides
/usr/share/emacs/24.2/lisp/org/ob-matlab
/usr/share/emacs/site-lisp/org/org-agenda hides
/usr/share/emacs/24.2/lisp/org/org-agenda
/usr/share/emacs/site-lisp/ob-lisp hides
/usr/share/emacs/24.2/lisp/org/ob-lisp
/usr/share/emacs/site-lisp/ob-maxima hides
/usr/share/emacs/24.2/lisp/org/ob-maxima
/usr/share/emacs/site-lisp/org/org-exp hides
/usr/share/emacs/24.2/lisp/org/org-exp
/usr/share/emacs/site-lisp/org/org hides /usr/share/emacs/24.2/lisp/org/org
/usr/share/emacs/site-lisp/org/org-clock hides
/usr/share/emacs/24.2/lisp/org/org-clock
/usr/share/emacs/site-lisp/org/org-taskjuggler hides
/usr/share/emacs/24.2/lisp/org/org-taskjuggler
/usr/share/emacs/site-lisp/ob-picolisp hides
/usr/share/emacs/24.2/lisp/org/ob-picolisp
/usr/share/emacs/site-lisp/org/org-footnote hides
/usr/share/emacs/24.2/lisp/org/org-footnote
/usr/share/emacs/site-lisp/ob-sqlite hides
/usr/share/emacs/24.2/lisp/org/ob-sqlite
/usr/share/emacs/site-lisp/org/org-pcomplete hides
/usr/share/emacs/24.2/lisp/org/org-pcomplete
/usr/share/emacs/site-lisp/org/org-ctags hides
/usr/share/emacs/24.2/lisp/org/org-ctags
/usr/share/emacs/site-lisp/ob-screen hides
/usr/share/emacs/24.2/lisp/org/ob-screen
/usr/share/emacs/site-lisp/ob-awk hides
/usr/share/emacs/24.2/lisp/org/ob-awk
/usr/share/emacs/site-lisp/org/org-timer hides
/usr/share/emacs/24.2/lisp/org/org-timer
/usr/share/emacs/site-lisp/ob-lilypond hides
/usr/share/emacs/24.2/lisp/org/ob-lilypond
/usr/share/emacs/site-lisp/org/org-odt hides
/usr/share/emacs/24.2/lisp/org/org-odt
/usr/share/emacs/site-lisp/ob-js hides /usr/share/emacs/24.2/lisp/org/ob-js
/usr/share/emacs/site-lisp/org/org-inlinetask hides
/usr/share/emacs/24.2/lisp/org/org-inlinetask
/usr/share/emacs/site-lisp/ob-ditaa hides
/usr/share/emacs/24.2/lisp/org/ob-ditaa
/usr/share/emacs/site-lisp/org/org-attach hides
/usr/share/emacs/24.2/lisp/org/org-attach
/usr/share/emacs/site-lisp/org/org-wl hides
/usr/share/emacs/24.2/lisp/org/org-wl
/usr/share/emacs/site-lisp/ob-haskell hides
/usr/share/emacs/24.2/lisp/org/ob-haskell
/usr/share/emacs/site-lisp/ob-emacs-lisp hides
/usr/share/emacs/24.2/lisp/org/ob-emacs-lisp
/usr/share/emacs/site-lisp/ob-calc hides
/usr/share/emacs/24.2/lisp/org/ob-calc
/usr/share/emacs/site-lisp/org/org-entities hides
/usr/share/emacs/24.2/lisp/org/org-entities
/usr/share/emacs/site-lisp/org/org-protocol hides
/usr/share/emacs/24.2/lisp/org/org-protocol
/usr/share/emacs/site-lisp/ob-latex hides
/usr/share/emacs/24.2/lisp/org/ob-latex
/usr/share/emacs/site-lisp/org/org-compat hides
/usr/share/emacs/24.2/lisp/org/org-compat
/usr/share/emacs/site-lisp/ob-exp hides
/usr/share/emacs/24.2/lisp/org/ob-exp
/usr/share/emacs/site-lisp/org/org-docbook hides
/usr/share/emacs/24.2/lisp/org/org-docbook
/usr/share/emacs/site-lisp/ob-keys hides
/usr/share/emacs/24.2/lisp/org/ob-keys
/usr/share/emacs/site-lisp/ob hides /usr/share/emacs/24.2/lisp/org/ob
/usr/share/emacs/site-lisp/org/org-habit hides
/usr/share/emacs/24.2/lisp/org/org-habit
/usr/share/emacs/site-lisp/ob-perl hides
/usr/share/emacs/24.2/lisp/org/ob-perl
/usr/share/emacs/site-lisp/ob-clojure hides
/usr/share/emacs/24.2/lisp/org/ob-clojure
/usr/share/emacs/site-lisp/org/org-rmail hides
/usr/share/emacs/24.2/lisp/org/org-rmail
/usr/share/emacs/site-lisp/org/org-irc hides
/usr/share/emacs/24.2/lisp/org/org-irc
/usr/share/emacs/site-lisp/ob-gnuplot hides
/usr/share/emacs/24.2/lisp/org/ob-gnuplot
/usr/share/emacs/site-lisp/org/org-gnus hides
/usr/share/emacs/24.2/lisp/org/org-gnus
/usr/share/emacs/site-lisp/org/org-publish hides
/usr/share/emacs/24.2/lisp/org/org-publish
/usr/share/emacs/site-lisp/org/org-mouse hides
/usr/share/emacs/24.2/lisp/org/org-mouse
/usr/share/emacs/site-lisp/org/org-docview hides
/usr/share/emacs/24.2/lisp/org/org-docview
/usr/share/emacs/site-lisp/ob-ocaml hides
/usr/share/emacs/24.2/lisp/org/ob-ocaml
/usr/share/emacs/site-lisp/org/org-mac-message hides
/usr/share/emacs/24.2/lisp/org/org-mac-message
/usr/share/emacs/site-lisp/org/org-archive hides
/usr/share/emacs/24.2/lisp/org/org-archive
/usr/share/emacs/site-lisp/org/org-special-blocks hides
/usr/share/emacs/24.2/lisp/org/org-special-blocks
/usr/share/emacs/site-lisp/org/org-ascii hides
/usr/share/emacs/24.2/lisp/org/org-ascii
/usr/share/emacs/site-lisp/org/org-bbdb hides
/usr/share/emacs/24.2/lisp/org/org-bbdb
/usr/share/emacs/site-lisp/org/org-exp-blocks hides
/usr/share/emacs/24.2/lisp/org/org-exp-blocks

Features:
(shadow sort mail-extr emacsbug message idna rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils
mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr
mail-utils mule-util cal-move css-mode js json imenu php-mode etags
speedbar sb-image ezimage dframe image-file org-element doc-view
jka-compr image-mode dired dabbrev newcomment texmathp font-latex
latexenc python-21 python org-archive bookmark tabify parse-time
org-capture org-mks org-clock org-table epa-file epa epg epg-config
misearch multi-isearch cus-edit cus-start cus-load pp help-mode view
diary-lib diary-loaddefs cal-iso vc-git flyspell org-w3m org-wl org-vm
org-rmail org-mhe org-mew org-irc org-habit org-jsinfo org-infojs
org-html org-info org-gnus gnus-util org-bibtex bibtex org-bbdb dbus xml
color-theme wid-edit color-theme-autoloads server ob-sqlite ob-sql ob-sh
shell ob-screen ob-python ob-latex ob-gnuplot ob-ref ob-css ob-C cc-mode
cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
cc-defs ido org-icalendar org-latex org-export-latex org-beamer org-exp
ob-exp org-exp-blocks org-agenda footnote org byte-opt warnings bytecomp
byte-compile cconv macroexp org-footnote org-src ob-comint ob-keys
org-pcomplete pcomplete comint ansi-color ring org-list org-faces
org-entities noutline outline org-version ob-emacs-lisp ob ob-eval
org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar
cal-loaddefs preview prv-emacs latex tex-style tex-buf tex regexp-opt
smart-tab advice advice-preload yasnippet dropdown-list help-fns derived
easy-mmode edmacro kmacro easymenu assoc cl revbufs paren mouse-sel
thingatpt preview-latex tex-site auto-loads ispell time-date delsel lpr
disp-table tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win
x-dnd tool-bar dnd fontset image fringe lisp-mode register page menu-bar
rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak
czech european ethiopic indian cyrillic chinese case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces
cus-face files text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
make-network-process dbusbind dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)





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

* bug#13634: 24.2; trailing whitespace in calendar (enhancement)
  2013-02-06  2:54 bug#13634: 24.2; trailing whitespace in calendar (enhancement) Arun Persaud
@ 2013-02-06 16:41 ` Bastien
  2013-02-06 16:56   ` Glenn Morris
  2013-02-06 18:43   ` Arun Persaud
  0 siblings, 2 replies; 15+ messages in thread
From: Bastien @ 2013-02-06 16:41 UTC (permalink / raw
  To: Arun Persaud; +Cc: 13634

Hi Arun,

Arun Persaud <apersaud@lbl.gov> writes:

> I like to show trailing white spaces in my buffers using
>
> (setq-default show-trailing-whitespace t)
>
> in my .emacs file. Since I have this enabled, I noticed
> that the calendar (M-x calendar) has a lot of empty white space at the
> end of the line. It would be nice if those could be removed before
> displaying the calendar.

Can you make a patch for this?  It should be small enough so that we
can apply it quickly.

Thanks,

-- 
 Bastien





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

* bug#13634: 24.2; trailing whitespace in calendar (enhancement)
  2013-02-06 16:41 ` Bastien
@ 2013-02-06 16:56   ` Glenn Morris
  2013-02-06 17:37     ` Bastien
  2013-02-06 18:43   ` Arun Persaud
  1 sibling, 1 reply; 15+ messages in thread
From: Glenn Morris @ 2013-02-06 16:56 UTC (permalink / raw
  To: Bastien; +Cc: 13634, Arun Persaud

Bastien wrote:

>> that the calendar (M-x calendar) has a lot of empty white space at the
>> end of the line. It would be nice if those could be removed before
>> displaying the calendar.
>
> Can you make a patch for this?  It should be small enough so that we
> can apply it quickly.

I don't see the point.
Don't enable whitespace-mode if you don't like seeing it.





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

* bug#13634: 24.2; trailing whitespace in calendar (enhancement)
  2013-02-06 16:56   ` Glenn Morris
@ 2013-02-06 17:37     ` Bastien
  2013-02-06 17:56       ` Drew Adams
                         ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Bastien @ 2013-02-06 17:37 UTC (permalink / raw
  To: Glenn Morris; +Cc: 13634, Arun Persaud

Glenn Morris <rgm@gnu.org> writes:

> Bastien wrote:
>
>>> that the calendar (M-x calendar) has a lot of empty white space at the
>>> end of the line. It would be nice if those could be removed before
>>> displaying the calendar.
>>
>> Can you make a patch for this?  It should be small enough so that we
>> can apply it quickly.
>
> I don't see the point.
> Don't enable whitespace-mode if you don't like seeing it.

FWIW The OP did not enable whitespace-mode, he set
`show-trailing-whitespace' globally to t.

If the patch removes the whitespaces in calendar, there is
no point in refusing it.

-- 
 Bastien





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

* bug#13634: 24.2; trailing whitespace in calendar (enhancement)
  2013-02-06 17:37     ` Bastien
@ 2013-02-06 17:56       ` Drew Adams
  2013-02-06 18:03       ` Glenn Morris
  2013-02-06 19:19       ` Stefan Monnier
  2 siblings, 0 replies; 15+ messages in thread
From: Drew Adams @ 2013-02-06 17:56 UTC (permalink / raw
  To: 'Bastien', 'Glenn Morris'; +Cc: 13634, 'Arun Persaud'

> > I don't see the point.
> > Don't enable whitespace-mode if you don't like seeing it.
> 
> FWIW The OP did not enable whitespace-mode, he set
> `show-trailing-whitespace' globally to t.
> 
> If the patch removes the whitespaces in calendar, there is
> no point in refusing it.

+1






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

* bug#13634: 24.2; trailing whitespace in calendar (enhancement)
  2013-02-06 17:37     ` Bastien
  2013-02-06 17:56       ` Drew Adams
@ 2013-02-06 18:03       ` Glenn Morris
  2013-02-06 18:38         ` Eli Zaretskii
  2013-02-06 18:49         ` Bastien
  2013-02-06 19:19       ` Stefan Monnier
  2 siblings, 2 replies; 15+ messages in thread
From: Glenn Morris @ 2013-02-06 18:03 UTC (permalink / raw
  To: Bastien; +Cc: 13634, Arun Persaud

Bastien wrote:

> `show-trailing-whitespace' globally to t.

So don't do that then. Set it locally in find-file-hook, or unset it in
a calendar hook.





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

* bug#13634: 24.2; trailing whitespace in calendar (enhancement)
  2013-02-06 18:03       ` Glenn Morris
@ 2013-02-06 18:38         ` Eli Zaretskii
  2013-02-06 18:52           ` Arun Persaud
  2013-02-06 19:06           ` Drew Adams
  2013-02-06 18:49         ` Bastien
  1 sibling, 2 replies; 15+ messages in thread
From: Eli Zaretskii @ 2013-02-06 18:38 UTC (permalink / raw
  To: Glenn Morris; +Cc: 13634, bzg, apersaud

> From: Glenn Morris <rgm@gnu.org>
> Date: Wed, 06 Feb 2013 13:03:36 -0500
> Cc: 13634@debbugs.gnu.org, Arun Persaud <apersaud@lbl.gov>
> 
> Bastien wrote:
> 
> > `show-trailing-whitespace' globally to t.
> 
> So don't do that then. Set it locally in find-file-hook, or unset it in
> a calendar hook.

I agree.  Using show-trailing-whitespace in calendar doesn't make
sense, since the buffer text there is generated by a program.





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

* bug#13634: 24.2; trailing whitespace in calendar (enhancement)
  2013-02-06 16:41 ` Bastien
  2013-02-06 16:56   ` Glenn Morris
@ 2013-02-06 18:43   ` Arun Persaud
  1 sibling, 0 replies; 15+ messages in thread
From: Arun Persaud @ 2013-02-06 18:43 UTC (permalink / raw
  To: Bastien; +Cc: 13634

[-- Attachment #1: Type: text/plain, Size: 1161 bytes --]

On 02/06/2013 08:41 AM, Bastien wrote:
> Hi Arun,
> 
> Arun Persaud <apersaud@lbl.gov> writes:
> 
>> I like to show trailing white spaces in my buffers using
>>
>> (setq-default show-trailing-whitespace t)
>>
>> in my .emacs file. Since I have this enabled, I noticed
>> that the calendar (M-x calendar) has a lot of empty white space at the
>> end of the line. It would be nice if those could be removed before
>> displaying the calendar.
> 
> Can you make a patch for this?  It should be small enough so that we
> can apply it quickly.
> 
> Thanks,
> 

Here is a simple patch that seems to run on my computer, but I never
really looked at the calendar code before, so I'm not sure if this is
the right way of doing this.

The patch calls delete-trailing-whitespace for the current line when
advancing a line (via calendar-ensure-newline) and also removes the
whitespace for the last line when inserting a month into the buffer.
Removing the trailing whitespace doesn't seem to mess up the formatting,
since calendar-insert-at-column seems to be used when adding text which
fills the line with spaces in case it's needed before adding the text.

cheers
	
Arun

[-- Attachment #2: remove-trailing-whitespace-in-calendar.diff --]
[-- Type: text/x-patch, Size: 846 bytes --]

--- calendar.el	2013-02-06 10:28:54.679401343 -0800
+++ calendar.el.new	2013-02-06 10:28:25.738455568 -0800
@@ -1417,6 +1417,7 @@
 
 (defun calendar-ensure-newline ()
   "Move to the next line, adding a newline if necessary."
+  (delete-trailing-whitespace  (line-beginning-position) (line-end-position) )
   (or (zerop (forward-line 1))
       (insert "\n")))
 
@@ -1499,7 +1500,8 @@
                 (/= day last))
        (calendar-ensure-newline)
        (setq day (1+ day))              ; first day of next week
-       (calendar-insert-at-column indent calendar-intermonth-text trunc)))))
+       (calendar-insert-at-column indent calendar-intermonth-text trunc)))
+   (delete-trailing-whitespace  (line-beginning-position) (line-end-position))))
 
 (defun calendar-redraw ()
   "Redraw the calendar display, if `calendar-buffer' is live."

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

* bug#13634: 24.2; trailing whitespace in calendar (enhancement)
  2013-02-06 18:03       ` Glenn Morris
  2013-02-06 18:38         ` Eli Zaretskii
@ 2013-02-06 18:49         ` Bastien
  1 sibling, 0 replies; 15+ messages in thread
From: Bastien @ 2013-02-06 18:49 UTC (permalink / raw
  To: Glenn Morris; +Cc: 13634, Arun Persaud

Glenn Morris <rgm@gnu.org> writes:

> Bastien wrote:
>
>> `show-trailing-whitespace' globally to t.
>
> So don't do that then. 

I'm not doing anything.

-- 
 Bastien





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

* bug#13634: 24.2; trailing whitespace in calendar (enhancement)
  2013-02-06 18:38         ` Eli Zaretskii
@ 2013-02-06 18:52           ` Arun Persaud
  2013-02-06 19:06             ` Drew Adams
  2013-02-06 19:06           ` Drew Adams
  1 sibling, 1 reply; 15+ messages in thread
From: Arun Persaud @ 2013-02-06 18:52 UTC (permalink / raw
  To: Eli Zaretskii; +Cc: 13634, bzg

On 02/06/2013 10:38 AM, Eli Zaretskii wrote:
>> From: Glenn Morris <rgm@gnu.org>
>> Date: Wed, 06 Feb 2013 13:03:36 -0500
>> Cc: 13634@debbugs.gnu.org, Arun Persaud <apersaud@lbl.gov>
>>
>> Bastien wrote:
>>
>>> `show-trailing-whitespace' globally to t.
>>
>> So don't do that then. Set it locally in find-file-hook, or unset it in
>> a calendar hook.
> 
> I agree.  Using show-trailing-whitespace in calendar doesn't make
> sense, since the buffer text there is generated by a program.

I agree that it doesn't make sense in principle, but it's also annoying
to have to add special hooks for special buffers and since the calendar
is generated, why not fix it there?

For all files that I use in emacs setting show-trailing-whitespace
globally makes sense (but that might just be me). The only buffer that
shows extra white space in my setting is the calendar, so I thought I
bring it up.

Arun





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

* bug#13634: 24.2; trailing whitespace in calendar (enhancement)
  2013-02-06 18:38         ` Eli Zaretskii
  2013-02-06 18:52           ` Arun Persaud
@ 2013-02-06 19:06           ` Drew Adams
  1 sibling, 0 replies; 15+ messages in thread
From: Drew Adams @ 2013-02-06 19:06 UTC (permalink / raw
  To: 'Eli Zaretskii', 'Glenn Morris'; +Cc: 13634, bzg, apersaud

> > > `show-trailing-whitespace' globally to t.
> > 
> > So don't do that then. Set it locally in find-file-hook, or 
> > unset it in a calendar hook.
> 
> I agree.  Using show-trailing-whitespace in calendar doesn't make
> sense, since the buffer text there is generated by a program.

It doesn't make sense either for the code to add trailing whitespace here in the
first place.  The fact that it is generated by a program is no good reason to
keep it.  People are responsible for programs.

And if for some reason the code must add it temporarily, it still doesn't make
sense for the code not to then remove it before displaying.

Trailing whitespace serves no purpose here for anyone, does it?






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

* bug#13634: 24.2; trailing whitespace in calendar (enhancement)
  2013-02-06 18:52           ` Arun Persaud
@ 2013-02-06 19:06             ` Drew Adams
  0 siblings, 0 replies; 15+ messages in thread
From: Drew Adams @ 2013-02-06 19:06 UTC (permalink / raw
  To: 'Arun Persaud', 'Eli Zaretskii'; +Cc: 13634, bzg

> >>> `show-trailing-whitespace' globally to t.
> >>
> >> So don't do that then. Set it locally in find-file-hook, 
> >> or unset it in a calendar hook.
> > 
> > I agree.  Using show-trailing-whitespace in calendar doesn't make
> > sense, since the buffer text there is generated by a program.
> 
> I agree that it doesn't make sense in principle, but it's 
> also annoying to have to add special hooks for special buffers
> and since the calendar is generated, why not fix it there?

Thank you.  That's the point.  Why inconvenience users unnecessarily?

Not adding (or removing if added) trailing whitespace is the kind of thing that
computers are good at.  And the kind of thing that users should not be bothered
with.

Pretty amazing that two of the main Emacs developers take the attitude that this
should be an individual user problem, not just a problem that the code should
simply obviate.

> For all files that I use in emacs setting show-trailing-whitespace
> globally makes sense (but that might just be me). The only buffer that
> shows extra white space in my setting is the calendar, so I thought I
> bring it up.

You did the right thing.  Too bad if your request falls on deaf ears.






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

* bug#13634: 24.2; trailing whitespace in calendar (enhancement)
  2013-02-06 17:37     ` Bastien
  2013-02-06 17:56       ` Drew Adams
  2013-02-06 18:03       ` Glenn Morris
@ 2013-02-06 19:19       ` Stefan Monnier
  2013-02-06 19:22         ` Drew Adams
  2 siblings, 1 reply; 15+ messages in thread
From: Stefan Monnier @ 2013-02-06 19:19 UTC (permalink / raw
  To: Bastien; +Cc: 13634, Arun Persaud

> If the patch removes the whitespaces in calendar, there is
> no point in refusing it.

It's a minor issue, so it's only OK to accept it if the change is very
straightforward (and if there isn't much risk that some user will then
complain that his background face highlighting suddenly becomes jagged).


        Stefan





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

* bug#13634: 24.2; trailing whitespace in calendar (enhancement)
  2013-02-06 19:19       ` Stefan Monnier
@ 2013-02-06 19:22         ` Drew Adams
  2013-02-06 19:32           ` Drew Adams
  0 siblings, 1 reply; 15+ messages in thread
From: Drew Adams @ 2013-02-06 19:22 UTC (permalink / raw
  To: 'Stefan Monnier', 'Bastien'; +Cc: 13634, 'Arun Persaud'

> It's a minor issue, so it's only OK to accept it if the change is very
> straightforward (and if there isn't much risk that some user will then
> complain that his background face highlighting suddenly 
> becomes jagged).

The parenthetical remark is a good point, a priori.
Is that really the effect?






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

* bug#13634: 24.2; trailing whitespace in calendar (enhancement)
  2013-02-06 19:22         ` Drew Adams
@ 2013-02-06 19:32           ` Drew Adams
  0 siblings, 0 replies; 15+ messages in thread
From: Drew Adams @ 2013-02-06 19:32 UTC (permalink / raw
  To: 'Stefan Monnier', 'Bastien'; +Cc: 13634, 'Arun Persaud'

> > (and if there isn't much risk that some user will then
> > complain that his background face highlighting suddenly 
> > becomes jagged).
> 
> The parenthetical remark is a good point, a priori.
> Is that really the effect?

A quick check from emacs -Q indicates that even without the removal of trailing
whitespace the rightmost column is not constant, i.e., there is no right-padding
with whitespace to the rightmost calendar column.

The month name seems to be padded, but one eolumn less than what full weeks are
padded.  And both a partial week and a full week are followed by only one space
(i.e., no padding here to the rightmost column either).

So any potential jagged background problem would seem to be present with or
without trailing whitespace removal.






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

end of thread, other threads:[~2013-02-06 19:32 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-06  2:54 bug#13634: 24.2; trailing whitespace in calendar (enhancement) Arun Persaud
2013-02-06 16:41 ` Bastien
2013-02-06 16:56   ` Glenn Morris
2013-02-06 17:37     ` Bastien
2013-02-06 17:56       ` Drew Adams
2013-02-06 18:03       ` Glenn Morris
2013-02-06 18:38         ` Eli Zaretskii
2013-02-06 18:52           ` Arun Persaud
2013-02-06 19:06             ` Drew Adams
2013-02-06 19:06           ` Drew Adams
2013-02-06 18:49         ` Bastien
2013-02-06 19:19       ` Stefan Monnier
2013-02-06 19:22         ` Drew Adams
2013-02-06 19:32           ` Drew Adams
2013-02-06 18:43   ` Arun Persaud

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.