summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorVisuwesh <visuweshm@gmail.com>2022-10-24 17:10:58 +0530
committerVedang Manerikar <ved.manerikar@gmail.com>2023-01-17 09:02:15 +0530
commit2037c52f127f3971e8f8bcd1a8874bcaa4c8f5ba (patch)
tree6e0cb6933160d39aa45c3f5ea6408a8664b9e4ec /NEWS
parente55e2ceca7a6091265eadec254c7fad98851a886 (diff)
Add a dedicated rotation command and keybinding
We need a dedicated command for rotation since when `pdf-tools` redisplays the image, the `:rotation` image-property is lost. Pdf-tools redisplays the images when changing pages, zooming in/out, setting the slice, etc. so this is essential to have. A variable is used simply because `pdf-tools` already uses a variable to keep track of the current scaling. * lisp/pdf-view.el (pdf-view--current-rotation): Add new variable to keep track of angle. (pdf-view-create-page): Account for above. (pdf-view-mode-map): Add the new command under "R". (pdf-view-rotate): Add new command. Fixes: #152 Closes: #165
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index a4bec6d..5abb815 100644
--- a/NEWS
+++ b/NEWS
@@ -5,6 +5,9 @@
+ 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~
+- Track rotation of pages and add a command to make rotation of pages easy @vizs #165
+ + The new command is bound to =R= in `pdf-view-mode-map`.
+
** 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