emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/pdf-tools e55e2ceca7 1/2: Change the default selection-sty


From: ELPA Syncer
Subject: [nongnu] elpa/pdf-tools e55e2ceca7 1/2: Change the default selection-style to word
Date: Mon, 16 Jan 2023 22:59:47 -0500 (EST)

branch: elpa/pdf-tools
commit e55e2ceca7a6091265eadec254c7fad98851a886
Author: Vedang Manerikar <ved.manerikar@gmail.com>
Commit: Vedang Manerikar <ved.manerikar@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'."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]