unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14813: 24.3.50; eww (Text areas): Improve aesthetics
@ 2013-07-08  5:19 Jambunathan K
  2013-07-08 15:01 ` Lars Magne Ingebrigtsen
  2013-11-15  5:00 ` Jambunathan K
  0 siblings, 2 replies; 8+ messages in thread
From: Jambunathan K @ 2013-07-08  5:19 UTC (permalink / raw)
  To: 14813

[-- Attachment #1: Type: text/plain, Size: 216 bytes --]


Eww is from Emacs  trunk.

See the attached screenshot.  

If you take keen look, you will see that as I type, the grey rectangular
area "shifts" to the right.

IMHO, Aesthetics of text areas needs to be improved.


[-- Attachment #2: eww-textareas.png --]
[-- Type: image/png, Size: 39033 bytes --]

[-- Attachment #3: Type: text/plain, Size: 372 bytes --]




In GNU Emacs 24.3.50.10 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2013-07-07 on debian-6.05
Bzr revision: 113313 jan.h.d@swipnet.se-20130707084109-gf7csgu4tkxzjn23
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Important settings:
  value of $LANG: en_IN
  locale-coding-system: iso-latin-1-unix
  default enable-multibyte-characters: t


^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#14813: 24.3.50; eww (Text areas): Improve aesthetics
  2013-07-08  5:19 bug#14813: 24.3.50; eww (Text areas): Improve aesthetics Jambunathan K
@ 2013-07-08 15:01 ` Lars Magne Ingebrigtsen
  2013-07-08 16:51   ` Jambunathan K
  2013-11-15  5:00 ` Jambunathan K
  1 sibling, 1 reply; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 2013-07-08 15:01 UTC (permalink / raw)
  To: Jambunathan K; +Cc: 14813

Jambunathan K <kjambunathan@gmail.com> writes:

> Eww is from Emacs  trunk.
>
> See the attached screenshot.  
>
> If you take keen look, you will see that as I type, the grey rectangular
> area "shifts" to the right.

Do you have a test URL that demonstrates this bug?  It's probably
something to do with front/rear-stickyness of the text properties
used...

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#14813: 24.3.50; eww (Text areas): Improve aesthetics
  2013-07-08 15:01 ` Lars Magne Ingebrigtsen
@ 2013-07-08 16:51   ` Jambunathan K
  2013-07-19 14:46     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Jambunathan K @ 2013-07-08 16:51 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: 14813

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Jambunathan K <kjambunathan@gmail.com> writes:
>
>> Eww is from Emacs  trunk.
>>
>> See the attached screenshot.  
>>
>> If you take keen look, you will see that as I type, the grey rectangular
>> area "shifts" to the right.
>
> Do you have a test URL that demonstrates this bug?  It's probably
> something to do with front/rear-stickyness of the text properties
> used...

Any Emacswiki page will do.  Try this link for example.

        http://www.emacswiki.org/emacs/?action=edit;id=EmacsNewbie

Textareas reminds me of my school days. Should I strictly type
between the "rules" :-)

I would rather prefer a border around the text area.  What if Text area
overflows horizontally or vertically.  Is there any support for
scrolling in that case :-)





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#14813: 24.3.50; eww (Text areas): Improve aesthetics
  2013-07-08 16:51   ` Jambunathan K
@ 2013-07-19 14:46     ` Lars Magne Ingebrigtsen
  2013-07-19 17:16       ` Jambunathan K
  0 siblings, 1 reply; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 2013-07-19 14:46 UTC (permalink / raw)
  To: Jambunathan K; +Cc: 14813

Jambunathan K <kjambunathan@gmail.com> writes:

> Any Emacswiki page will do.  Try this link for example.
>
>         http://www.emacswiki.org/emacs/?action=edit;id=EmacsNewbie

This should now work slightly better...

> Textareas reminds me of my school days. Should I strictly type
> between the "rules" :-)
>
> I would rather prefer a border around the text area.

Yes, but I'm not quite sure how to achieve that.  Currently it just uses

(defface eww-form-text
  '((t (:background "#505050"
		    :foreground "white"
		    :box (:line-width 1))))

which works perfectly for single-line inputs.

The vertical lines are elided when two characters with the same box face
are adjacent, but the horizontal lines are not.

Is this a bug in the face code, perhaps?

> What if Text area overflows horizontally or vertically.  Is there any
> support for scrolling in that case :-)

Nope.  But it'll extend if you type at the last character on the last
line.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#14813: 24.3.50; eww (Text areas): Improve aesthetics
  2013-07-19 14:46     ` Lars Magne Ingebrigtsen
@ 2013-07-19 17:16       ` Jambunathan K
  2013-07-20  4:25         ` Jambunathan K
  2013-07-30 15:03         ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 8+ messages in thread
From: Jambunathan K @ 2013-07-19 17:16 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: 14813

[-- Attachment #1: Type: text/plain, Size: 739 bytes --]

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Jambunathan K <kjambunathan@gmail.com> writes:
>
>> Any Emacswiki page will do.  Try this link for example.
>>
>>         http://www.emacswiki.org/emacs/?action=edit;id=EmacsNewbie
>
> This should now work slightly better...

Better, but still....

1. Place the cursor on the first line and type some letter - e -
   infinitely.  

   You will see that there is a single `e' that overshoots the right
   border of the text area.

   I am in Emacs right.  I would have expected that stuff wraps over and
   I move on to the next line.

2. Now C-k the first line and C-y to the first line and second line.

The attached screenshot is what results after 1 and 2.  Not pretty I
should say.


[-- Attachment #2: eww-textareas.png --]
[-- Type: image/png, Size: 43058 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#14813: 24.3.50; eww (Text areas): Improve aesthetics
  2013-07-19 17:16       ` Jambunathan K
@ 2013-07-20  4:25         ` Jambunathan K
  2013-07-30 15:03         ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 8+ messages in thread
From: Jambunathan K @ 2013-07-20  4:25 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: 14813


One more thing: Enable undo when a text box is shown.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#14813: 24.3.50; eww (Text areas): Improve aesthetics
  2013-07-19 17:16       ` Jambunathan K
  2013-07-20  4:25         ` Jambunathan K
@ 2013-07-30 15:03         ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 8+ messages in thread
From: Lars Magne Ingebrigtsen @ 2013-07-30 15:03 UTC (permalink / raw)
  To: Jambunathan K; +Cc: 14813

Jambunathan K <kjambunathan@gmail.com> writes:

>    I am in Emacs right.  I would have expected that stuff wraps over and
>    I move on to the next line.

Sure.  If somebody wants to implement that, go for it.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#14813: 24.3.50; eww (Text areas): Improve aesthetics
  2013-07-08  5:19 bug#14813: 24.3.50; eww (Text areas): Improve aesthetics Jambunathan K
  2013-07-08 15:01 ` Lars Magne Ingebrigtsen
@ 2013-11-15  5:00 ` Jambunathan K
  1 sibling, 0 replies; 8+ messages in thread
From: Jambunathan K @ 2013-11-15  5:00 UTC (permalink / raw)
  To: 14813-done


OP here.  Closed.





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-11-15  5:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-08  5:19 bug#14813: 24.3.50; eww (Text areas): Improve aesthetics Jambunathan K
2013-07-08 15:01 ` Lars Magne Ingebrigtsen
2013-07-08 16:51   ` Jambunathan K
2013-07-19 14:46     ` Lars Magne Ingebrigtsen
2013-07-19 17:16       ` Jambunathan K
2013-07-20  4:25         ` Jambunathan K
2013-07-30 15:03         ` Lars Magne Ingebrigtsen
2013-11-15  5:00 ` Jambunathan K

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).