Mercurial > octave
annotate .dir-locals.el @ 18958:c9f960441513
Overhaul FLTK plotting and printing
* gl2ps-renderer.cc: Force execution of GL commands before gl2psEndPage to
avoid missing primitives in output. Enable error output of gl2ps,
check return value of gl2psBeginPage for error.
* __init_fltk__.cc:
Avoid redraw of the OpenGL and the plot window if not needed.
Let FLTK do the resizing of the canvas, the menubar and the statusbar.
This was done by creating a resize_dummy and set this as resizable
for the plot_window group. Previously this was done inside draw().
Avoid timing issues with fltk_maxtime (removed) and other hacks with
multiple Fl::check and redraw () calls. You can use flush and glFlush
if you really need to force a immediate redraw.
Remove print_mode in draw () and print directly without waiting that
FLTK flushes its buffers. This fixes bug #42458 and #40215
Manually placement of the toolbar is only done once when hiding or
showing the menubar. (update_toolbar_position)
set(gcf, "position", [x, y, w, h]) is now handled by
figure::properties::ID_POSITION which calls update_position
* __add_default_menu__.m: Remove now unneeded hacks for the menubar.
author | Andreas Weber <andy.weber.aw@gmail.com> |
---|---|
date | Sat, 26 Jul 2014 10:09:48 +0200 |
parents | 9ff04de067ce |
children | df203b20cfc6 |
rev | line source |
---|---|
13105
3d7a4a2d9cef
Make .h files open in c++-mode in Emacs; make sure gnu style is set for C mode
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
9966
diff
changeset
|
1 ((nil . |
3d7a4a2d9cef
Make .h files open in c++-mode in Emacs; make sure gnu style is set for C mode
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
9966
diff
changeset
|
2 ((c-file-style . "gnu") |
3d7a4a2d9cef
Make .h files open in c++-mode in Emacs; make sure gnu style is set for C mode
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
9966
diff
changeset
|
3 (indent-tabs-mode . nil) |
3d7a4a2d9cef
Make .h files open in c++-mode in Emacs; make sure gnu style is set for C mode
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
9966
diff
changeset
|
4 (fill-column . 72) |
17588
9ff04de067ce
improve .dir-locals.el
Rüdiger Sonderfeld <ruediger@c-plusplus.de>
parents:
13114
diff
changeset
|
5 (eval . (when (and (buffer-file-name) |
9ff04de067ce
improve .dir-locals.el
Rüdiger Sonderfeld <ruediger@c-plusplus.de>
parents:
13114
diff
changeset
|
6 (string-match-p "\\.h\\'" (buffer-file-name)) |
9ff04de067ce
improve .dir-locals.el
Rüdiger Sonderfeld <ruediger@c-plusplus.de>
parents:
13114
diff
changeset
|
7 (not (string-match-p "/gnulib/" (buffer-file-name)))) |
9ff04de067ce
improve .dir-locals.el
Rüdiger Sonderfeld <ruediger@c-plusplus.de>
parents:
13114
diff
changeset
|
8 (c++-mode) |
9ff04de067ce
improve .dir-locals.el
Rüdiger Sonderfeld <ruediger@c-plusplus.de>
parents:
13114
diff
changeset
|
9 (c-set-style "gnu"))))) |
9966
d4dab9605c49
correctly set indent-tabs-mode for ChangeLogs and Makefiles in .dir-locals.el
John W. Eaton <jwe@octave.org>
parents:
9933
diff
changeset
|
10 (change-log-mode . ((indent-tabs-mode . t))) |
d4dab9605c49
correctly set indent-tabs-mode for ChangeLogs and Makefiles in .dir-locals.el
John W. Eaton <jwe@octave.org>
parents:
9933
diff
changeset
|
11 (makefile-mode . ((indent-tabs-mode . t)))) |