Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Maybe easy for a elisp guru.
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
B. T. Raven  
View profile  
 More options Oct 4 2012, 1:56 pm
Newsgroups: gnu.emacs.help
From: "B. T. Raven" <btra...@nihilo.net>
Date: Thu, 04 Oct 2012 12:56:08 -0500
Local: Thurs, Oct 4 2012 1:56 pm
Subject: Maybe easy for a elisp guru.
I had an idea that seemed like it might have a natural Emacs solution:
I want to substitute the characters from a text file for the random
chars (upper and lower case) and punctuation in an ascii art file so
that the graphic is retained but the text composing the graphic comes
from a suitably large plain text file, (large enough so that it can
overwrite the image before it gets to eof).

This seems to need (buffer-string), (looking-at) and some non emacs
functions (is-big-glyph) = caps, numbers, \|!@#$%&(){}[]?/ which would
all be replaced by (upcase) of the characters in the plain text file.
Other punctuation and lower case chars in the ascii art would be
replaced by (downcase) of the plain text chars. Spaces in the ascii art
(and maybe periods) would be retained. Here is sample ascii art (a
detail from Manet's dejeuner):

http://www.asciipr0n.com/pr0n/morepr0n/pr0n13.txt

or for the same woman fully clothed, the top image here:

http://www.asciiworld.com/-Statue-of-Liberty-.html

A lot of the words would be camel-case and/or have holes in them but I
think the text would still be readable at least where the ascii art
wasn't too sparse. The image wouldn't lose too much resolution either at
least on a larger and denser text block.

Any ideas or even just some quick and dirty code I can play around with?
I can't seem to get anywhere with elisp if I have to start from scratch
(no comp. sci. training).

Tnx,

Ed


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »