branch: elpa/pdf-tools commit e55e2ceca7a6091265eadec254c7fad98851a886 Author: Vedang Manerikar <ved.maneri...@gmail.com> Commit: Vedang Manerikar <ved.maneri...@gmail.com>
Change the default selection-style to word Thanks to the stellar work by @hrdl-github in #73, we can now change the default unit of selection from `glyph` to `word`. This speeds up selection significantly. Look at the documentation of `pdf-view-selection-style` for more information. Closes: #87 --- NEWS | 10 +++++++++- lisp/pdf-view.el | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 1ff8c77045..a4bec6d4d8 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,14 @@ -*- org -*- +* Version 1.1.0 (Under Development) +** Improve overall user experience +- Make ~selection-style~ configurable when selecting text, via ~pdf-view-selection-style~ @hrdl-github #73 + + This feature enabled us to change the default ~selection-style~ used in ~pdf-tools~ from =GLYPH= to =WORD=. + + The change makes highlighting / selecting text *much* snappier. If you want to go back to the old behaviour of selecting by glyph instead of word, or if you want to select a whole line instead, customize ~pdf-view-selection-style~ + +** Functionality fixes and improvements +- Fix: Saving a PDF when ~buffer-file-name~ is missing will now prompt for a filename (eg: in EWW) @akater #178 -* Version 1.0.0 (Under Development) +* Version 1.0.0 From this version onward, we will follow Semantic Versioning for new ~pdf-tools~ releases. ** Breaking changes: diff --git a/lisp/pdf-view.el b/lisp/pdf-view.el index 9532162403..454effa283 100644 --- a/lisp/pdf-view.el +++ b/lisp/pdf-view.el @@ -188,7 +188,7 @@ Issue a warning, if one of them is active in a PDF buffer." :group 'pdf-view :type '(repeat symbol)) -(defcustom pdf-view-selection-style 'glyph +(defcustom pdf-view-selection-style 'word "The current default selection style. Must be one of `glyph', `word', or `line'."