forked from emacs-w3m/emacs-w3m
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
14658 lines (10172 loc) · 511 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2024-12-20 Katsumi Yamaoka <[email protected]>
* w3m.el (w3m-anchor, w3m-arrived-anchor): Modernize face definitions.
2024-07-12 Katsumi Yamaoka <[email protected]>
* w3m-filter.el (w3m-filter-regard-srcset=-as-src=): New filter.
2023-10-03 Katsumi Yamaoka <[email protected]>
* w3m.el (w3m-fontify-anchors): Improve the way to find unsafe links.
2023-09-21 Katsumi Yamaoka <[email protected]>
* w3m.el (w3m-add-referer, w3m-puny-utf-16be): Fix custom types.
2023-09-20 Katsumi Yamaoka <[email protected]>
* w3mhack.el (w3mhack-insert-git-revision, w3mhack-generate-load-file):
Fix so to generate emacs-w3m-git-revision on Emacs 29 and up as well.
2023-08-18 Katsumi Yamaoka <[email protected]>
* mime-w3m.el (mime-display-message, kill-new): Use advice-add instead
of defadvice that's been marked obsolete in Emacs 30.
2022-12-07 Katsumi Yamaoka <[email protected]>
Silence warnings when compiling w3m.el individually ([emacs-w3m:13914])
* w3m.el (toplevel): Always require tab-line for tab-line-exclude-modes;
require w3m-fb-mode before it is referenced.
2022-11-29 Katsumi Yamaoka <[email protected]>
Support Emacs 30
* aclocal.m4 (AC_PATH_EMACS): Support Emacs 30.
2022-11-17 Tatsuya Kinoshita <[email protected]>
Avoid non-lexbind dotimes (PR#116)
* w3m-util.el (w3m-puny-encode1): Avoid non-lexbind dotimes.
cf. <https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=c6c9dfc8670f5698634a8d5853853056ff928974>
2022-11-16 Katsumi Yamaoka <[email protected]>
Make unsafe url warning text customizable (issue #115)
* w3m.el (w3m-unsafe-url-warning-default-function): New function.
(w3m-unsafe-url-warning): New user option and face.
(w3m-fontify-anchors): Use them.
2022-11-08 Katsumi Yamaoka <[email protected]>
Remove let-binding of inhibit-point-motion-hooks that's been obsoleted
* w3m-bug.el (report-emacs-w3m-bug):
* w3m.el (w3m-horizontal-scroll, w3m-horizontal-recenter)
(w3m-end-of-line): Remove let-binding of inhibit-point-motion-hooks.
2022-11-07 Katsumi Yamaoka <[email protected]>
Work for pages compressed by brotli reported by chipschap (issue #112)
* w3m.el (w3m-decoder-alist, w3m-encoding-alist): Add brotli.
2022-10-27 Katsumi Yamaoka <[email protected]>
* aclocal.m4, configure.ac: Use `grep -E' instead of egrep.
2022-09-02 Katsumi Yamaoka <[email protected]>
Silence the byte compiler
* w3mhack.el (w3mhack-generate-load-file): Use loaddefs-gen.el rather
than autoload.el that has been marked obsolete in Emacs 29.
* mew-w3m.el (mew-mime-text/html-w3m): Silence Emacs 29's byte compiler.
([emacs-w3m:13880]).
2022-08-23 Katsumi Yamaoka <[email protected]>
* w3m-bookmark.el, w3m-form.el, w3m-hist.el, w3m-search.el, w3m.el:
* w3mhack.el: Use line-beginning-position and line-end-position instead
of point-at-bol and point-at-eol marked obsolete in Emacs 29.1.
2022-08-05 Katsumi Yamaoka <[email protected]>
* w3m.el (w3m-fontify-anchors): Warn suspicious links (as shr does).
2022-07-29 Katsumi Yamaoka <[email protected]>
Simplify tab-line stuff
* w3m.el (w3m-use-tab, w3m-use-tab-line, w3m-restore-tab-line)
(w3m-display-mode): Simplify them as tab-line-format is always existent
and tab-line.el provides tab-line-exclude-modes.
2022-07-21 Michael Heerdegen <[email protected]>
* w3m-search.el (w3m-search-engine-alist): Update wikipedia search urls
([emacs-w3m:13872]).
2022-06-06 Katsumi Yamaoka <[email protected]>
Fix unquoted single quotation marks in docstrings
* w3m-dtree.el, w3m-mail.el, w3m-session.el, w3m.el
2022-05-06 Thierry Volpiatto <[email protected]>
* w3m-form.el (w3m-form-p): Correct argument order in call to aref
(issue #110).
2022-04-26 Katsumi Yamaoka <[email protected]>
Work for Emacs 29.1 that implemented new timestamp format
* w3m-antenna.el (w3m-antenna-check-rss, w3m-antenna-site-update):
* w3m-form.el (w3m-form-make-form-data):
* w3m-session.el (w3m-session-save, w3m-session-automatic-save)
(w3m-session-deleted-save, w3m-session-crash-recovery-save)
(w3m-session-select-copy):
* w3m.el (w3m--retrieve-and-render--handler-function)
(w3m-retrieve-and-render): Use old timestamp format.
* w3m-util.el (w3m-time-newer-p, w3m-time-lapse-seconds): Refactor.
2022-04-05 Katsumi Yamaoka <[email protected]>
Make the builder work for autoconf 2.70 and up as well
* aclocal.m4 (AC_CACHE_VAL): Replace AC_FD_CC with AS_MESSAGE_LOG_FD.
* configure.ac: Rename from configure.in; run autoupdate.
* Makefile.in (configure): Replace configure.in with configure.ac.
2022-04-05 Katsumi Yamaoka <[email protected]>
Drop Emacs 26 support
* aclocal.m4, mime-w3m.el, w3m-util.el, w3m.el, shimbun/shimbun.el
Drop Emacs 26 support because of Emacs 28.1 having been released.
2021-11-22 Katsumi Yamaoka <[email protected]>
Conceal warnings for the case SEMI is absent (issue #108)
* mime-w3m.el: Silence the byte compiler.
2021-10-09 Katsumi Yamaoka <[email protected]>
Use rfc6068.el if possible instead of rfc2368.el (issue #109)
* w3m.el (w3m-goto-mailto-url): Use rfc6068.el for newer Emacsen.
2021-09-22 Katsumi Yamaoka <[email protected]>
* w3m-filter.el (w3m-filter-configuration): Make Custom-set work.
* w3m-bookmark.el (w3m-bookmark-menubar-update): Add a workaround
to avoid a miscellaneous error.
2021-09-17 Katsumi Yamaoka <[email protected]>
Treat application/emacs-lisp as text/plain ([emacs-w3m:13845])
* w3m.el (w3m-content-type-alist): Add application/emacs-lisp so to be
treated as text/plain.
2021-09-03 Boruch Baum <[email protected]>
user-agents: bugfix, update, improve friendliness (PR#106)
* w3m.el (w3m-user-agent-alist): Update values.
(w3m-user-agent-site-specific): New feature: Allow referencing to
elements in variable w3m-user-agent-alist.
(w3m-user-agent-site-specific-alist): Update definition for new
feature.
2021-09-03 Boruch Baum <[email protected]>
* w3m.el (w3m-user-agent-default-alist): Fix macro element.
2021-09-02 Boruch Baum <[email protected]>
New and improved filter for github (PR#105)
* w3m-filter.el (w3m-filter-github-repo-main-page): Delete obsolete
function.
(w3m-filter-github, w3m-filter-configuration): Replace with new one.
2021-08-17 Katsumi Yamaoka <[email protected]>
Add timeout to w3m-download
* w3m.el (w3m-download-timeout): New function.
(w3m-download): Use it.
2021-08-16 Katsumi Yamaoka <[email protected]>
Hard-code the shell used in `w3m-download' with "sh" ([emacs-w3m:13826])
* w3m.el (w3m-download): Replace `shell-file-name' with "sh".
2021-08-05 Boruch Baum <[email protected]>
Replace (progn (defvar VAR VAL "DOC") (make-variable-buffer-local 'VAR))
with (defvar-local VAR VAL "DOC") --- (PR#101)
* w3m.el: Do it.
2021-08-02 Boruch Baum <[email protected]>
Bugfix: db-history single-page advances point too far (PR#100)
* w3m.el (w3m--goto-url--handler-function): Do.
2021-07-29 Boruch Baum <[email protected]>
* w3m.el (w3m--goto-url--handler-function): Position point on the first
entry in the db history; add a docstring. (PR#99)
2021-07-28 Boruch Baum <[email protected]>
force-wide-display (PR#98)
* w3m.el (w3m--ignore-fill-column, w3m-force-wide-list): New variables.
(w3m-create-page, w3m-display-width): Use them.
(w3m-display-width): Logic bug fixes.
(w3m-about-db-history): Reverse layout so time/date are on left side.
Manually force variable w3m-fill-column to -1.
2021-06-15 Victor J. Orlikowski <[email protected]>
Bugfix: make w3m-select-buffer-toggle-style work properly (PR#95)
* w3m.el (w3m--setup-popup-window): Run selected-window each time
because it varies during the process (PR#95).
2021-05-07 Katsumi Yamaoka <[email protected]>
Move w3m-queries-log-file from w3m-util.el to w3m.el
* w3m-util.el (w3m-queries-log-file): Move it to w3m.el.
* w3m.el (w3m-queries-log-file): Move it from w3m-util.el.
2021-05-06 Boruch Baum <[email protected]>
* w3m-util.el (w3m-queries-log-file): Use expand-file-name for variable
default definition.
2021-05-04 Boruch Baum <[email protected]>
Tweaks to handling url query parts (PR#94)
* w3m-util.el (w3m-queries-log-file): Improve defcustom.
(w3m--url-get-queries): New function.
(w3m--url-strip-unwanted-queries): Improve name of function. was
w3m--url-strip-queries.
* w3m.el (w3m--retrieve-1--handler-function)
(w3m--goto-url--valid-url): Apply new function name.
2021-04-13 Boruch Baum <[email protected]>
* w3m.el (w3m-external-view): When a w3m buffer is created for the sole
purpose of opening a URI in an external program, delete the unnecessary
w3m buffer (PR#92).
2021-04-09 Boruch Baum <[email protected]>
Revert last change that made `w3m-process-stop' do kill page buffer
* w3m-proc.el (w3m-process-stop): Revert.
* w3m.el (w3m--goto-url--valid-url): Revert.
2021-04-08 Boruch Baum <[email protected]>
Fixes for w3m-current-url = NIL, loading images from ext program (PR#92)
* w3m-proc.el (w3m-process-stop):
Add optional arg to kill the current buffer.
* w3m.el (w3m--goto-url--valid-url): Use it.
(w3m-toggle-inline-images): Don't let user-error start a backtrace when
toggle-debug-on-error is set.
(w3m-image-page-displayed-p, w3m-view-previous-page)
(w3m--goto-url--handler-function): when w3m-current-url is NIL, don't
perform string operations on it.
(w3m-delete-buffer-if-empty): Only operate on live buffers.
2021-03-29 Katsumi Yamaoka <[email protected]>
Delete useless history warning
* w3m-hist.el (w3m-history-add-properties): Don't warn about null hist.
2021-03-21 Katsumi Yamaoka <[email protected]>
Silence the byte compiler on Emacs 28
* mew-w3m.el (mew-w3m-ext-url-fetch):
* w3m-proc.el (w3m-process-with-null-handler):
Init let-bound var `handler' to nil explicitly.
2021-02-26 Katsumi Yamaoka <[email protected]>
Don't show a backstage while performing `text-scale-adjust'
* w3m.el (w3m-text-scale-adjust): Don't show a halfway of redisplay.
2021-02-24 Katsumi Yamaoka <[email protected]>
Make text-scale-adjust work
* w3m.el (w3m-with-text-scale-mode): Fix way to refer remapped face.
Reported by Dan Jacobson.
2021-02-01 Katsumi Yamaoka <[email protected]>
Docfix so not to be wider than 80 chars
* w3m-filter.el (w3m-toggle-filtering):
* w3m-lnum.el (w3m-lnum-universal): Docfix.
* w3mhack.el (w3mhack-generate-load-file): Fold long `\(fn ' lines.
2021-02-01 Katsumi Yamaoka <[email protected]>
Bugfix 'w3m-previous-image doesn't work' ([emacs-w3m:13747])
* w3m.el (w3m-search-for-next-image-boundary)
(w3m-search-for-previous-image-boundary): Make it work for an image
on the bottom edge or the top edge of the page.
(w3m-goto-next-image): Refactor.
(w3m-next-image): Don't miss an image on the top edge of the page.
(w3m-goto-previous-image): Make sure an image exists at the position to
go to.
2021-01-05 Katsumi Yamaoka <[email protected]>
* w3m.el (w3m-download): Add option to w3m so to work for downloading
any kinds of contents ([emacs-w3m:13731]). Thanks to Kinoshita-san.
2021-01-03 Boruch Baum <[email protected]>
* w3m.el (w3m-view-previous-page): When currently in an "about://" url,
return to the calling url (PR#89 for upstream).
* w3m-hist.el (w3m-history-push): Don't put "about://" pages in the
history (PR#89 for upstream).
2020-12-28 Boruch Baum <[email protected]>
* w3m.el (w3m-select-buffer-mode):
* w3m-session.el (w3m-session-select-mode): Set variable
buffer-quit-function (PR#88).
2020-12-22 Boruch Baum <[email protected]>
* w3m-filter.el (w3m-filter-stackexchange): Update filter and correct
bound errors (PR#87).
2020-10-27 Boruch Baum <[email protected]>
Protect against the nil value for a history plist [emacs-w3m:13716]
Note: as the cause of it is not made clear yet, the one that should
be fixed might be in another place.
* w3m-hist.el (w3m-history-set-plist, w3m-history-modify-properties):
Protect against the nil value for a history plist.
2020-11-29 Katsumi Yamaoka <[email protected]>
* w3m.el: Display error that occurs when loading w3m-init-file.
2020-11-26 Katsumi Yamaoka <[email protected]>
* w3mhack.el (w3mhack-generate-load-file): Quote "Local Variables".
2020-11-26 Katsumi Yamaoka <[email protected]>
Silence the byte compiler
* w3m-util.el (w3m-easy-menu-add): New compat macro.
* w3m-bookmark.el (w3m-setup-bookmark-menu): Use it.
* w3m-session.el (w3m-setup-session-menu): Use it.
* w3m-tabmenu.el (w3m-setup-tab-menu): Use it.
* w3m.el (w3m-setup-menu): Use it.
* w3mhack.el (Local Variables): Set no-byte-compile and others.
2020-11-03 Katsumi Yamaoka <[email protected]>
Move cursor to target dir when browsing local dir (bug#973666 of debian)
* w3m.el (w3m--goto-url--handler-function): Move cursor to target dir.
2020-10-31 Boruch Baum <[email protected]>
* w3m-search.el (w3m-search-engine-alist): Update wikipedia search
urls.
2020-10-29 Boruch Baum <[email protected]>
* w3m-util.el (w3m-remove-face-property): Work as it should do.
([emacs-w3m:13684])
2020-10-21 Tsuyoshi CHO <[email protected]>
File author Tsuyoshi CHO's email address updated.
Old was non-reach to the latest.
* w3m.el: File author Tsuyoshi CHO's email address updated.
2020-09-16 Katsumi Yamaoka <[email protected]>
Remove youtube filter that no longer works
as it has gotten to use javascript ([emacs-w3m:13676] Boruch Baum).
* w3m-filter.el (w3m-filter-configuration): Remove youtube entry.
(w3m-filter-youtube): Remove.
2020-09-09 Katsumi Yamaoka <[email protected]>
* w3m-ems.el (w3m-tab-move-right, w3m-tab-move-left):
Do nothing if no room to move for given prefix argument.
(w3m-tab-make-keymap): Pass prefix arg to w3m-tab-move-right/left.
2020-09-09 Boruch Baum <[email protected]>
* w3m-ems.el (w3m-tab-move-right, w3m-tab-move-left): BUGFIX: moving
with prefix-arg > 1 was swapping tab positions instead of adjusting all
tab numbers in between (PR#82).
2020-09-09 Katsumi Yamaoka <[email protected]>
Real fix to bug#969744 of debian
* w3m.el (w3m--get-page-anchors):
Don't miss some of plural name anchors that point to the same place.
(w3m-search-name-anchor): Revert.
2020-09-08 Katsumi Yamaoka <[email protected]>
Work for a url like "...#36" (bug#969744 of debian)
but "#36" is a part of the url, not the name, and acutually
the name anchor is specified as "msg36" in the html source.
cf. <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=969744#5>
* w3m.el (w3m-search-name-anchor): Allow url as mentioned above.
2020-09-03 Katsumi Yamaoka <[email protected]>
Allow url like "file:foo.txt" (bug#969386 of debian)
emacs-w3m assumes the file to be existent in `w3m-default-directory'
(if specified), the current directory, or the home directory.
* w3m.el (w3m-url-to-file-name): Allow url like "file:foo.txt",
that doesn't specify server and/or directory.
* w3m-util.el (w3m-url-local-p): Check also if the file really exists.
2020-08-18 Katsumi Yamaoka <[email protected]>
* w3m-save.el (w3m-save-buffer-directory): Abolish.
2020-08-17 Boruch Baum <[email protected]>
* w3m-save.el (w3m-save-buffer-directory): Mark variable as deprecated
in favor of `w3m-default-save-directory'.
(w3m-save-buffer): Replace deprecated variable, and use function
`w3m-read-file-name' instead of `read-file-name'. This has the
consequence of updating a session's default save directory to the most
recent used save diretory. Update docstring.
* w3m.el (w3m-read-file-name): Rename and re-order args to be
consistent with underlying emacs function `read-file-name', and update
docstring.
(w3m-download): Remove unnecessary `condition-case'
(w3m-download, w3m-goto-ftp-url): update args for new version of
`w3m-read-file-name'
2020-08-16 Katsumi Yamaoka <[email protected]>
* .travis.yml (allow_failures): Temporarily add builds on emacs27
that doesn't seem to be available on Travis CI at this time.
(before_script): Fix melpa url.
2020-08-13 Katsumi Yamaoka <[email protected]>
Drop Emacs 25 support
* .travis.yml, aclocal.m4, w3m-ems.el, w3m-hist.el, w3m-proc.el,
* w3m-rss.el, w3m-save.el, w3m-search.el, w3m-session.el, w3m.el:
Drop Emacs 25 support because of Emacs 27.1 having been released.
2020-07-13 Katsumi Yamaoka <[email protected]>
Automatic refilling page according to `text-scale-mode'
* w3m.el (w3m-with-text-scale-mode): New macro.
(w3m-create-text-page): Use it.
(w3m-text-scale-adjust): New command that overrides text-scale-adjust.
(w3m-redisplay-this-page): Don't show progress message.
2020-07-01 Boruch Baum <[email protected]>
* w3m-search.el (w3m-search-engine-alist): Update url for duckduckgo.
2020-06-29 Katsumi Yamaoka <[email protected]>
* w3m.el (w3m-search-for-next-image-boundary): Fix a bug that it tried
to find only the `w3m-image-hseq' property ([emacs-w3m:13624]).
(w3m-fix-melpa-installation): Find the git revision hash in w3m-pkg.el
precedently than archive-contents.
2020-03-25 Katsumi Yamaoka <[email protected]>
* w3mhack.el (w3mhack-makeinfo): Override texinfo-do-itemize.
2020-03-18 Kazuhiro Ito <[email protected]>
* doc/emacs-w3m-ja.texi (Installing Emacs-w3m): Add dropped @samp
command for --without-compress-install option.
2020-03-18 Katsumi Yamaoka <[email protected]>
Make w3m-toggle-inline-image work properly when region is active
* w3m.el (w3m-search-for-previous-image-boundary): Refactor.
(w3m-toggle-inline-image): Work properly when region is active.
2020-03-17 Katsumi Yamaoka <[email protected]>
Fix how it works at just the image boundary (issue #76)
* w3m.el (w3m-search-for-next-image-boundary)
(w3m-search-for-previous-image-boundary): Rename from
w3m-search-for-next-image and w3m-search-for-previous-image.
(w3m-search-for-previous-image-boundary): Don't search for the one
previous image if it is at just the boundary position.
(w3m-toggle-inline-image): Turn off a single image, not all.
2020-03-17 Katsumi Yamaoka <[email protected]>
Abolish own horizontal scrolling stuff (bug#953768 of debian)
* w3m.el (w3m-auto-show, w3m-horizontal-on-screen): Abolish.
(w3m-after-cursor-move-hook): Remove w3m-auto-show.
(w3m-auto-show, w3m-horizontal-scroll-division)
(w3m-next-anchor, w3m-previous-anchor, w3m-next-form)
(w3m-previous-form, w3m-next-image, w3m-previous-image):
Don't run w3m-horizontal-on-screen.
(w3m-mode): Don't modify auto-hscroll-mode.
(w3m-horizontal-scroll): No need to move point.
2020-03-15 Katsumi Yamaoka <[email protected]>
Distinguish two or more consecutive same images (issue #76)
* w3m.el (w3m-fontify-images): Mark an image with seq#.
(w3m-search-for-next-image, w3m-search-for-previous-image):
New functions that use seq# for searching for an image boundary.
(w3m-toggle-inline-images-internal, w3m-toggle-inline-image)
(w3m-toggle-inline-image, w3m-resize-inline-image-internal)
(w3m-goto-next-image, w3m-goto-previous-image): Use them.
(w3m-next-image, w3m-previous-image): Simplify.
2020-03-12 Katsumi Yamaoka <[email protected]>
* w3m.el (w3m-anchor, w3m-arrived-anchor, w3m-current-anchor):
Improve the links visivility (bug#953631 of debian).
2020-01-11 Hideyuki SHIRAI <[email protected]>
Work for <img src="data:..."> ([emacs-w3m:13583])
cf. <https://groups.google.com/d/msgid/mew-ja/467DC098-3A95-40A5-960A-183492B7D717%40beaupix.com>
* mew-w3m.el (mew-w3m-safe-url-regexp): Add data:; make customizable.
* w3m.el (w3m-toggle-inline-images): Fix position to fetch safe-url.
2020-01-05 Katsumi Yamaoka <[email protected]>
New user option w3m-redisplay-pages-automatically-p (issue #75)
* w3m.el (w3m-redisplay-pages-automatically-p): New user option.
(w3m-mode): Don't modify window-configuration-change-hook and
window-size-change-functions if it is nil (issue #75).
(w3m-use-tab): Eval-and-compile.
2020-01-04 Katsumi Yamaoka <[email protected]>
* w3m.el (w3m-download): Temporarily add a url string that a query
part is not stripped to file-name-history (M-p command shows it);
create destination directory if not exists.
2019-12-25 Katsumi Yamaoka <[email protected]>
* w3m.el (w3m-download): Decompress downloaded file according to
Content-Encoding header.
2019-12-18 Boruch Baum <[email protected]>
Bugfix for changes to PR#50
* w3m.el (w3m-select-buffer-show-this-line): BUGFIX: Revert commit
69064d1e6e and 6dfac56d92 to prevent buffers being marked 'seen' when
performing fly-by scroll in select-buffer window.
2019-11-28 Katsumi Yamaoka <[email protected]>
Miscellaneous fixes
* w3m.el (w3m--prompt-for-unknown-content-type):
Don't use keyboard-quit as it causes "error in process sentinel: Quit".
(w3m-create-page): Noop if it does quit.
(w3m-redisplay-pages-automatically): Silence w3m-redisplay-this-page.
2019-11-27 Katsumi Yamaoka <[email protected]>
Improve unknown content-type handling
* w3m.el (w3m--prompt-for-unknown-content-type): Restore the page view
if the one of which the content-type is unknown tried to view; return
a cons of content-type and urls, where urls is a cons of a url to have
been restored and a url to download or external-view.
(w3m-create-page): Restore url and title after trying to view url of
unknown content-type.
(w3m-view-previous-page, w3m-redisplay-this-page): Don't store window
positions to history if the new arg `no-store-pos' is given.
2019-11-26 Katsumi Yamaoka <[email protected]>
* w3m.el (w3m-create-page): Check if image type is valid as well.
2019-11-25 Katsumi Yamaoka <[email protected]>
See major-mode rather than buffer name to test if it is in w3m-mode
* w3m-sesseion.el (w3m-session-goto-session): Test major-mode;
bind w3m-pop-up-windows and w3m-pop-up-frames to nil.
2019-11-25 Foo Bar <[email protected]>
Make regexp match buffer name that is arbitrary but begins with *w3m
* w3m-sesseion.el (w3m-session-goto-session): Fix regex used to detect
if there are visible w3m windows. Used when restoring a w3m session
(PR#74).
2019-11-22 Katsumi Yamaoka <[email protected]>
Enable image/webp, etc. to display
* w3m.el (w3m-image-type-alist): Build default value from image-types;
use defvar instead of defconst.
(w3m-image-type): Refer to ImageMagick variables; return `imagemagick',
`image-convert' or `convert' if image wants to be converted.
* w3m-ems.el (w3m-create-image, w3m-create-resized-image):
* w3m.el (w3m-create-image-page):
Don't use w3m-image-type-available-p redundantly with w3m-image-type.
* w3m-ems.el (w3m-create-image): Convert image if necessary, or pass
content-type to create-image when using image-convert.
2019-11-19 Katsumi Yamaoka <[email protected]>
* w3m.el (w3m-download): Check for downloading status.
2019-11-12 Katsumi Yamaoka <[email protected]>
Work for downloading empty file (bug#944574 of debian)
* w3m.el (w3m-download): Make awk create a file even if it is empty.
2019-11-12 Katsumi Yamaoka <[email protected]>
Quote lang spec defined in w3m-accept-languages (bug#944519 of debian)
Language specifications defined with the "accept_language" entry in
the ~/.w3m/config file may possibly be the one like "en;q=1.0", of
which ";" will break a shell command. This fix makes it quote such
a letter with `\'.
* w3m.el (w3m-download): Quote ; as well as whitespace in shell command.
2019-11-11 Katsumi Yamaoka <[email protected]>
Make it fast to load w3m.elc (issue #73)
Change the way to update the value of `w3m-content-type-alist' so to do
on demand instead of updating it fully according to `mailcap-mime-data'
at the startup. For example, the initial viewing method for the
content type "image/jpeg" is `(mailcap-mime-info "image/jpeg")', but
when viewing a jpeg image for the first time it will be replaced with
`("real-viewer" file)'.
* w3m.el (w3m-content-type-alist): Don't parse mailcap-mime-data.
(w3m-external-view): Parse mailcap-mime-data and update
w3m-content-type-alist.
2019-11-05 Katsumi Yamaoka <[email protected]>
Fix a bug that has been standing for 13.5 years
* w3m.el (w3m-reload-all-pages): Pass arg to w3m-reload-this-page.
2019-11-05 Katsumi Yamaoka <[email protected]>
Restore tab-line if it is broken
* w3m.el (w3m-restore-tab-line): New function.
(w3m-reload-this-page, w3m-redisplay-this-page): Use it.
2019-10-30 Katsumi Yamaoka <[email protected]>
Add w3m-mode to tab-line-exclude-modes when necessary
* w3m.el (w3m-use-tab, w3m-use-tab-line, w3m-display-mode):
Add w3m-mode to or remove it from tab-line-exclude-modes.
2019-10-27 Spenser Truex <[email protected]>
Improve perldoc with customizable variable, and saner default (PR#72)
* w3m-util.el (w3m-ensure-slash): New function.
* w3m-perldoc.el (w3m-perldoc-base-url): New user option.
(w3m-perldoc-pretty): New function.
(w3m-perldoc): Use them.
2019-10-02 Katsumi Yamaoka <[email protected]>
Abolish w3m-max-anchor-sequence (issue #71)
* w3m.el (w3m-max-anchor-sequence): Abolish.
* w3m-form.el (w3m-form-parse-and-fontify):
* w3m.el (w3m-clear-local-variables, w3m-copy-local-variables)
(w3m-fontify-anchors, w3m-next-anchor, w3m-previous-anchor):
Don't handle/use w3m-max-anchor-sequence.
2019-10-01 Katsumi Yamaoka <[email protected]>
w3m-next-anchor and w3m-previous-anchor return t if success (issue #71)
* w3m.el (w3m-next-anchor, w3m-previous-anchor): Return t if success.
2019-09-30 Katsumi Yamaoka <[email protected]>
Improve TAB command behavior in Gnus article
* w3m.el (w3m-make-help-echo): Truncate message so to fit window width
if backward-button or forward-button calls this function.
(w3m-fontify-anchors): Add a button widget to only the first anchor.
(w3m-next-anchor, w3m-previous-anchor): Rewrite.
(w3m-goto-next-anchor, w3m-goto-previous-anchor): Abolish.
2019-09-25 Katsumi Yamaoka <[email protected]>
Prevent echo area from being enlarged when a url is shown unintendedly
* w3m.el (w3m-print-this-url): Set message-truncate-lines if this
function is called non-interactively.
(w3m-fix-melpa-installation): Restore c9cdb7e change.
2019-09-25 Katsumi Yamaoka <[email protected]>
Make TAB key work again in Gnus article buffer (bug#37193)
* w3m.el (w3m-handle-non-anchor-buttons): Rename variable and function
names from w3m-imitate-widget-button.
(w3m-fontify-anchors): Add button and category text props to an anchor
so that forward-button may recognize it; remove widget-button stuff;
add a dummy widget to rendered area for Emacs <=26.
(w3m-next-anchor, w3m-previous-anchor): Run forward-button instead of
widget-forward.
2019-09-25 Katsumi Yamaoka <[email protected]>
* w3m.el (w3m-fix-melpa-installation): Eval-and-compile.
* doc/Makefile.in (PDFTEX): Default to XeTex instead of LuaTex.
2019-09-20 Katsumi Yamaoka <[email protected]>
Create w3m-load.el also when performing package-reinstall
* w3m.el (w3m-fix-melpa-installation): Run it also when performing
package-reinstall in the ccondition w3m.elc is already loaded.
2019-09-19 Katsumi Yamaoka <[email protected]>
* w3m.el (w3m-fix-melpa-installation): Fix criteria to check if
w3m-load.el should be created or updated; report it if it is done.
2019-09-18 Katsumi Yamaoka <[email protected]>
Create w3m-load.el file in melpa installation ([emacs-w3m:13542])
* w3m.el (w3m-fix-melpa-installation): New function;
add it to after-load-functions.
* w3m-bug.el (report-emacs-w3m-bug-system-informations): Always show
emacs-w3m-git-revision even if it is unbound; add (featurep 'w3m-load);
delete Meadow-version.
(report-emacs-w3m-bug): Don't error out when w3m-load.el is missing;
add autoload cookie; unset buffer-modified-p in mail buffer.
2019-09-12 Katsumi Yamaoka <[email protected]>
w3m-view-this-url-new-session work in background ([emacs-w3m:13543])
* w3m.el (w3m-view-this-url-new-session): Enable it to work in
background.
(w3m-goto-url-new-session): Disable background mode if there is no
other emacs-w3m buffer.
2019-09-12 Jose A. Ortega Ruiz <[email protected]>
Fix :set form of w3m-key-binding (issue #70)
* w3m.el (w3m-key-binding): Fix :set form so as to quote an operand
that could be the symbol `info', not only nil.
2019-09-11 Katsumi Yamaoka <[email protected]>
Declare some functions and variables for emacs-nox
* w3m-ems.el (image-size, image-types): Declare.
* w3m.el (mwheel): Require it when compiling.
2019-09-11 Katsumi Yamaoka <[email protected]>
Use tab-line if available instead of header-line ([emacs-w3m:13537])
* w3m.el (w3m-use-tab-line): New user option; default to t if
tab-line-format is available.
* w3m-ems.el (w3m-setup-tab-line): Rename w3m-setup-header-line;
use tab-line-format if w3m-use-tab-line is non-nil instead of
header-line-format.
(w3m-tab-map[w3m-tab-make-keymap], w3m-tab-separator-map): Use tab-line
for prefix key if w3m-use-tab-line is non-nil instead of header-line.
(w3m-tab-separator): Remove variable; move to w3m-tab-line.
(w3m-tab-line): Fix background color for the case w3m-use-tab is nil.
* w3m.el (w3m-show-graphic-icons-in-tab-line):
Rename w3m-show-graphic-icons-in-header-line.
(w3m-header-line-title): Rename w3m-header-line-location-title.
(w3m-header-line-content): Rename w3m-header-line-location-content.
(w3m-header-line-background): New face.
2019-09-10 Katsumi Yamaoka <[email protected]>
Don't kill external process that is running (issue #69)
* w3m.el (w3m-create-page): Fix PR#55; don't kill external process.
(w3m-external-view-file): Don't error out when deleting temp file.
2019-09-10 Katsumi Yamaoka <[email protected]>
* aclocal.m4 (AC_EMACS_LISP): Fix redirect spells.
2019-08-30 Katsumi Yamaoka <[email protected]>
Improve/fix custom type for some user options
* mime-w3m.el (mime-w3m-safe-url-regexp):
* w3m-antenna.el (w3m-antenna-refresh-interval)
(w3m-antenna-make-summary-function, w3m-antenna-make-summary-function)
(w3m-antenna-sort-changed-sites-function)
(w3m-antenna-sort-unchanged-sites-function):
* w3m-bookmark.el (w3m-bookmark-default-section):
* w3m-cookie.el (w3m-cookie-accept-domains, w3m-cookie-reject-domains):
* w3m-dtree.el (w3m-dtree-directory-depth, w3m-dtree-indent-strings)
(w3m-dtree-stop-strings):
* w3m-favicon.el (w3m-favicon-size, w3m-favicon-cache-file)
(w3m-favicon-type):
* w3m-filter.el (w3m-filter-configuration, w3m-filter-rules):
* w3m-form.el (w3m-form-textarea-edit-mode):
* w3m-image.el (w3m-imagick-convert-program)
(w3m-imagick-identify-program, w3m-resize-images):
* w3m-lnum (w3m-lnum-context-alist, w3m-lnum-actions-custom-type):
* w3m-mail.el (w3m-mail-subject):
* w3m-namazu.el (w3m-namazu-arguments, w3m-namazu-index-alist):
* w3m-perldoc.el (w3m-perldoc-pod2html-arguments):
* w3m-session.el (w3m-session-load-last-sessions)
(w3m-session-load-crashed-sessions):
* w3m-symbol.el (w3m-symbol-custom-type, w3m-symbol):
* w3m-util.el (w3m-strip-queries-alist):
* w3m.el (w3m-command, w3m-display-ins-del, w3m-user-agent-alist)
(w3m-user-agent-site-specific-alist, w3m-language)
(w3m-command-arguments, w3m-command-arguments-alist)
(w3m-no-proxy-domains, w3m-command-environment)
(w3m-mailto-url-function, w3m-mailto-url-popup-function-alist)
(w3m-pixels-per-character, w3m-image-default-background)
(w3m-coding-system-priority-list, w3m-url-coding-system-alist)
(w3m-default-directory, w3m-accept-languages, w3m-icon-directory)
(w3m-home-page, w3m-encoding-type-alist)
(w3m-charset-coding-system-alist, w3m-correct-charset-alist)
(w3m-view-recenter, w3m-edit-function-alist)
(w3m-url-local-directory-alist, w3m-new-session-url)
(w3m-horizontal-scroll-division, w3m-markdown-converter)
(w3m-dirlist-cgi-program, w3m-add-referer, w3m-puny-utf-16be)
(w3m-uri-replace-alist, w3m-process-modeline-format)
(w3m-ignored-image-url-regexp, w3m-select-buffer-window-ratio):
Improve/fix custom type.
Changes relation to custom type
* w3m-image.el (w3m-imagick-convert-program-available-p):
Return nil if noninteractive.
2019-08-29 Katsumi Yamaoka <[email protected]>
Make w3m-goto-url-new-session work correctly (issue #68)
* w3m.el (w3m-goto-url-new-session): Work correctly according to
w3m-use-tab w3m-pop-up-windows and w3m-pop-up-frames.
(w3m-display-mode(function)): Set w3m-pop-up-windows adequately.
2019-08-28 Katsumi Yamaoka <[email protected]>
Devote system-type on Cygwin platform to be cygwin, not windows-nt
* w3m.el (w3m-command-environment, w3m-use-cygdrive): Use cygwin, not
windows-nt to compare with system-type to check if running on Cygwin.
2019-08-26 Katsumi Yamaoka <[email protected]>
* w3m.el (w3m-anchor-list-filter-alist): Fix custom type so not to say
"CHANGED outside Customize" when customizing it initially.
2019-08-21 Katsumi Yamaoka <[email protected]>
Improve custom type for some user options
* w3m-antenna.el (w3m-antenna-sites):
* w3m-favicon.el (w3m-favicon-size, w3m-favicon-convert-args)
(w3m-favicon-default-background):
* w3m-filter.el (w3m-filter-configuration, w3m-filter-rules):
* w3m-namazu.el (w3m-namazu-default-index-customize-spec)
(w3m-namazu-index-alist):
* w3m-search.el (w3m-search-engine-alist, w3m-search-default-engine):
* w3m-util.el (w3m-strip-queries-alist):
* w3m.el (w3m-decoder-alist, w3m-popup-frame-parameters)
(w3m-anchor-list-filter-alist): Improve custom type.
2019-08-20 Hideyuki SHIRAI <[email protected]>
Fix position to be jumped to name anchor ([emacs-w3m:13526])
* w3m.el (w3m-anchor-list-filter-alist): Allow not-match regexp;
don't prune wikipedia's name anchor matching cite_.*[0-9] by default.
(w3m--filter-page-anchors): Handle not-match regexp.
(w3m--get-page-anchors): Fix name anchor potision to be jumped to.
2019-08-20 Katsumi Yamaoka <[email protected]>
Fix bug that caused issue #66
* w3m.el (w3m-toggle-inline-images-internal): Make lexical variable
`start' separate from the one with the same name used in synchronous
procedures while running asynchronous processes (issue #66).
(w3m-about): Renew home page address.
2019-08-19 Katsumi Yamaoka <[email protected]>
Bugfix: Don't break the value of w3m-content-type-alist
* w3m.el (w3m-external-view): Don't run nreverse on an element of
w3m-content-type-alist.
2019-08-14 Filipp Gunbin <[email protected]>
Fix saving and restoring of a session (PR#67)
* w3m-session.el (w3m-session-save): Fix session saving putting
previous position instead of current.
(w3m-session-goto-session): Add current page to history before
restoring w3m-history. Data is taken from the session itself.
2019-08-08 Katsumi Yamaoka <[email protected]>
Don't load cl for Emacs 26 and greater
* w3m-form.el, w3m-proc.el, w3m.el: Don't load cl.
* w3m-form.el (w3m-form-method):
* w3m.el (w3m-arrived-time, w3m-arrived-get):
Use gv-define-simple-setter or gv-define-setter instead of defsetf.
* w3m-proc.el (w3m-gensym): Remove.
(gensym): New compiler macro for Emacs 25.
(w3m-process-with-null-handler, w3m-process-with-wait-handler)
(w3m-process-do, w3m-process-do-with-temp-buffer): Use gensym instead
of w3m-gensym.