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

Re: images with long URLs

In [emacs-w3m : No.11657] jidanni@xxxxxxxxxxx wrote:
> View an image with a long URL like
> http://maps.googleapis.com/maps/api/staticmap?sensor=false&language=zh-TW&size=600x400&markers=label:K|23.04108,120.23714&maptype=hybrid&markers=label:L|23.04171,120.24174&center=23.04171,120.24174&zoom=15
> Now hit q.
> Now do M-x w3m.
> Notice how the image is now far shifted to the left, and we need to type
> a C-a to move it back to where we can see it.

I realized Emacs lies about the column number in the results of
the functions `current-column', `window-hscroll', etc. if there
are images displayed.  So, I've made a change so as not to do
hscroll in the current line in which images are displayed when
restoring the window layout that a user used previously.  Thanks.