unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* changing font
@ 2005-08-21 21:06 Masrur Hossain
  2005-08-21 21:15 ` Matthieu Moy
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Masrur Hossain @ 2005-08-21 21:06 UTC (permalink / raw)


Hi guys
        I am trying to change fonts in a file from lowercase/uppercase 
mixed font to all uppercase.

I tried google search but couldn't find it.


thanks for help


Masrur

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

* Re: changing font
  2005-08-21 21:06 changing font Masrur Hossain
@ 2005-08-21 21:15 ` Matthieu Moy
  2005-08-21 21:22   ` Masrur Hossain
  2005-08-21 21:28 ` Eli Zaretskii
       [not found] ` <mailman.4525.1124660399.20277.help-gnu-emacs@gnu.org>
  2 siblings, 1 reply; 8+ messages in thread
From: Matthieu Moy @ 2005-08-21 21:15 UTC (permalink / raw)


Masrur Hossain <masrur@invl.com> writes:

> Hi guys
>         I am trying to change fonts in a file from lowercase/uppercase
>         mixed font to all uppercase.

M-u
(friend of M-c and M-l)

-- 
Matthieu

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

* Re: changing font
  2005-08-21 21:15 ` Matthieu Moy
@ 2005-08-21 21:22   ` Masrur Hossain
  2005-08-21 21:34     ` Michael Cadilhac
                       ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Masrur Hossain @ 2005-08-21 21:22 UTC (permalink / raw)


Matthieu Moy wrote:
> Masrur Hossain <masrur@invl.com> writes:
> 
> 
>>Hi guys
>>        I am trying to change fonts in a file from lowercase/uppercase
>>        mixed font to all uppercase.
> 
> 
> M-u
> (friend of M-c and M-l)
> 


Hi Matthieu
            Thanks for the quick reply. Apparently that only changes the 
next word. Trying to change all fonts in a file.


thanks

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

* Re: changing font
  2005-08-21 21:06 changing font Masrur Hossain
  2005-08-21 21:15 ` Matthieu Moy
@ 2005-08-21 21:28 ` Eli Zaretskii
       [not found] ` <mailman.4525.1124660399.20277.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2005-08-21 21:28 UTC (permalink / raw)


> From: Masrur Hossain <masrur@invl.com>
> Date: Sun, 21 Aug 2005 21:06:33 GMT
> 
>         I am trying to change fonts in a file from lowercase/uppercase 
> mixed font to all uppercase.

Is "C-x h C-x C-u" what you want?  ("C-x h" marks the whole buffer and
"C-x C-u" upcases the marked region.  It's in the manual, btw.)

> I tried google search but couldn't find it.

Try the manual search instead:

  "C-h i d m emacs RET i upcase RET"

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

* Re: changing font
  2005-08-21 21:22   ` Masrur Hossain
@ 2005-08-21 21:34     ` Michael Cadilhac
  2005-08-21 21:43     ` Matthieu Moy
  2005-08-21 21:54     ` Jochen Küpper
  2 siblings, 0 replies; 8+ messages in thread
From: Michael Cadilhac @ 2005-08-21 21:34 UTC (permalink / raw)
  Cc: help-gnu-emacs

Masrur Hossain <masrur@invl.com> writes:

> Matthieu Moy wrote:
>> Masrur Hossain <masrur@invl.com> writes:
>> 
>>>Hi guys
>>>        I am trying to change fonts in a file from lowercase/uppercase
>>>        mixed font to all uppercase.
>> M-u
>> (friend of M-c and M-l)
>> 
>
> Hi Matthieu
>             Thanks for the quick reply. Apparently that only changes
>             the next word. Trying to change all fonts in a file.
>
> thanks

  M-: (upcase-region (point-min) (point-max)) RET

  Try to help yourself with some C-h before :-)

-- 
    Michael Cadilhac, a.k.a. Micha [mika] |
                    Epita/LRDE promo 2007 |  Please note that you should
  2 rue de la Convention | 01.46.70.90.75 |  s/-@t-/@/ my mail address.
94270 Le Kremlin Bicetre | 06.23.20.31.30 |

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

* Re: changing font
  2005-08-21 21:22   ` Masrur Hossain
  2005-08-21 21:34     ` Michael Cadilhac
@ 2005-08-21 21:43     ` Matthieu Moy
  2005-08-21 21:54     ` Jochen Küpper
  2 siblings, 0 replies; 8+ messages in thread
From: Matthieu Moy @ 2005-08-21 21:43 UTC (permalink / raw)


Masrur Hossain <masrur@invl.com> writes:

> Hi Matthieu
>             Thanks for the quick reply. Apparently that only changes
>             the next word. Trying to change all fonts in a file.

I'll let it as an exercice.

C-h k M-u will give you the name of the command so that you know which
keyword is relevant.

M-x apropos RET will give you the list of commands containing the
keyword you found above.

C-h w the-command-you-found RET will even give you a keybinding for
that.


Hints: The command you're looking also contains "region", and the way
to select a full buffer is C-x h.

-- 
Matthieu

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

* Re: changing font
       [not found] ` <mailman.4525.1124660399.20277.help-gnu-emacs@gnu.org>
@ 2005-08-21 21:47   ` Masrur Hossain
  0 siblings, 0 replies; 8+ messages in thread
From: Masrur Hossain @ 2005-08-21 21:47 UTC (permalink / raw)


Eli Zaretskii wrote:
>>From: Masrur Hossain <masrur@invl.com>
>>Date: Sun, 21 Aug 2005 21:06:33 GMT
>>
>>        I am trying to change fonts in a file from lowercase/uppercase 
>>mixed font to all uppercase.
> 
> 
> Is "C-x h C-x C-u" what you want?  ("C-x h" marks the whole buffer and
> "C-x C-u" upcases the marked region.  It's in the manual, btw.)
> 
> 
>>I tried google search but couldn't find it.
> 
> 
> Try the manual search instead:
> 
>   "C-h i d m emacs RET i upcase RET"
> 
> 


Thanks a lot Eli
                 I wanted exactly that.

cheers

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

* Re: changing font
  2005-08-21 21:22   ` Masrur Hossain
  2005-08-21 21:34     ` Michael Cadilhac
  2005-08-21 21:43     ` Matthieu Moy
@ 2005-08-21 21:54     ` Jochen Küpper
  2 siblings, 0 replies; 8+ messages in thread
From: Jochen Küpper @ 2005-08-21 21:54 UTC (permalink / raw)


Masrur Hossain <masrur-5mEIrsN21e4@public.gmane.org> writes:

> Apparently that only changes the next word. Trying to change all
> fonts in a file.

,----[ C-h f upcase-word RET ]
| upcase-word is an interactive built-in function in `C source code'.
| It is bound to M-u.
| (upcase-word ARG)
| 
| Convert following word (or ARG words) to upper case, moving over.
| With negative argument, convert previous words but do not move.
| See also `capitalize-word'.
| 
| [back]
`----
So probably C-u 9999999 M-u or similar should do what you want.


You could have found out that M-u is actually running upcase-word via
C-h b. The C-h f upcase-word gives the above documentation. Or better
yet, read the manual somewhat.

Greetings,
Jochen
-- 
Einigkeit und Recht und Freiheit                http://www.Jochen-Kuepper.de
    Liberté, Égalité, Fraternité                GnuPG key: CC1B0B4D
        (Part 3 you find in my messages before fall 2003.)

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

end of thread, other threads:[~2005-08-21 21:54 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-21 21:06 changing font Masrur Hossain
2005-08-21 21:15 ` Matthieu Moy
2005-08-21 21:22   ` Masrur Hossain
2005-08-21 21:34     ` Michael Cadilhac
2005-08-21 21:43     ` Matthieu Moy
2005-08-21 21:54     ` Jochen Küpper
2005-08-21 21:28 ` Eli Zaretskii
     [not found] ` <mailman.4525.1124660399.20277.help-gnu-emacs@gnu.org>
2005-08-21 21:47   ` Masrur Hossain

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).