Skip to content

Conversation

@Boruch-Baum
Copy link
Contributor

This PR fixes several bugs in the handling of local file URLS:

  • Expands environment variables (eg. $HOME, $TEMPDIR, ~)

  • Respects documentation for w3m-local-find-file-regexps, in terms of
    what the included and excluded regexes do.

  • Doesn't hide a new find-file buffer when creating it using function
    w3m-goto-url-new-session.

+ Expand environment variables (eg. $HOME, $TEMPDIR, ~)

+ Respect documentation for w3m-local-find-file-regexps

+ Don't hide newly created buffer after find-file
+ The permutations were the combination of cases for default
  keybindings 'G', 'g', 'C-u g', C-u G' for urls of scheme "file://"
  that either pass or fail the conditions of variable
  w3m-local-find-file-regexps.
@yamaoka
Copy link
Contributor

yamaoka commented Jul 3, 2019

(w3m-goto-url-new-session): bugfix for local file urls: don't hide buffer after creating it.

Could you let me know the recipe? I tried find-file a local non-html file using w3m-goto-url-new-session on the current git master, however I couldn't reproduce the symptom that the buffer doesn't appear whatever w3m-pop-up-frames and w3m-pop-up-windows are. It is regardless of Emacs to run on X or TTY.

@Boruch-Baum
Copy link
Contributor Author

Boruch-Baum commented Jul 3, 2019 via email

@Boruch-Baum
Copy link
Contributor Author

Boruch-Baum commented Jul 3, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants