[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Default input URL for w3m-goto-url without link around point
- From: "Jose A. Ortega Ruiz" <jao@xxxxxxx>
- Date: Sun, 23 Jun 2013 16:08:30 +0200
- X-ml-name: emacs-w3m
- X-mail-count: 12060
(BIn the CVS version of w3m-el, at least since a while ago, the prompt for
(Bw3m-goto-url when the cursor is not over a link defaults to the URL of
(Bthe current page.
(BIn my case, this is often a problem. When i hit 'g' in a w3m buffer to
(Bgo elsewhere, i almost never want to go to the current URL or some in
(Bthe same page. Often, i've got in the kill ring the URL i want to go
(Bto, and if i C-k the default contents of the prompt it gets added to the
(Bkill ring, displacing my last kill.
(BI see this behaviour is hard-coded, because w3m-goto-url is calling
(Bw3m-input-url which in turns calls (w3m-active-region-or-url-at-point
(Bt), with t forcing the return of the current URL.
(BIs there any chance we could make this behaviour customizable?
(BYou err by thinking simplicity and elegance are mostly
(Bcosmetic. Simplicity and elegance are overwhelmingly
(B - William D Clinger, comp.lang.scheme