unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#10559: perl-indent-command vs. perldoc parts
@ 2012-01-19 10:57 jidanni
  2022-09-19 20:36 ` Mauro Aranda
  0 siblings, 1 reply; 3+ messages in thread
From: jidanni @ 2012-01-19 10:57 UTC (permalink / raw)
  To: 10559

If one marks the following region, and then runs
   TAB (translated from <tab>) runs the command perl-indent-command,

=head2 _encode_word()

    Usage    : my $encoded_quintet_word = _encode_word($signed_floating_point_coordinate);
    Function : turn a signed float (either a full coordinate 
    or a delta) for the _encode() function
    Returns  : a string containing one encoded coordinate that
    will be added to a polyline string
    Args     : one data word made of ASCII characters carrying
    a five-bit number per character from an encoded 
    Google polyline string

=cut

one will get:

=head2 _encode_word()

    Usage    : my $encoded_quintet_word = _encode_word($signed_floating_point_coordinate);
Function : turn a signed float (either a full coordinate 
    or a delta) for the _encode() function
    Returns  : a string containing one encoded coordinate that
    will be added to a polyline string
    Args     : one data word made of ASCII characters carrying
    a five-bit number per character from an encoded 
    Google polyline string

    =cut

One also notes trailing whitespace is retained.





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

end of thread, other threads:[~2022-09-20 10:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-01-19 10:57 bug#10559: perl-indent-command vs. perldoc parts jidanni
2022-09-19 20:36 ` Mauro Aranda
2022-09-20 10:13   ` Lars Ingebrigtsen

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